u/Miserable-Chris

HypGo: An AI-Human Collaborative Go Framework - Schema-First + Huge Tokens Savings for AI Coding (Taiwan-made)
▲ 0 r/golang

HypGo: An AI-Human Collaborative Go Framework - Schema-First + Huge Tokens Savings for AI Coding (Taiwan-made)

Hey r/golang,

I just open-sourced HypGo — the Go framework built from the ground up for AI-Human collaboration in 2026. It developed independently by me(and Claude Code).

Traditional frameworks force AI to read hundreds of lines of handler code.
HypGo flips it: Schema-First + single Project Manifest. AI only reads 6 lines of metadata + 1 YAML (~500 tokens) instead of 5,000+.

Key features:

  • Schema-first routes with Input/Output types
  • .hyp/manifest.yaml (AutoSync) — AI’s single source of truth
  • contract.TestAll(t, router) — one-line full contract testing
  • CLI tools: hyp impact, hyp ai-rules, auto migration diff
  • Zero runtime overhead (Radix Tree + zero-alloc Context Pool)

>Quick start:

go install github.com/maoxiaoyue/hypgo/cmd/hyp@latest
hyp api myservice && cd myservice

And I haven't finished writing the English version of the wiki yet.

I will prepared for these pages for few days.
Thanks for your read.

u/Miserable-Chris — 18 hours ago