Show HN: Nit – I rebuilt Git in Zig to save AI agents 71% on tokens
fielding
20 points
14 comments
March 26, 2026
Related Discussions
Found 5 related stories in 57.5ms across 3,471 title embeddings via pgvector HNSW
- Ziggit: A Reimplementation of Git in Zig jedisct1 · 13 pts · April 02, 2026 · 68% similar
- Show HN: GitAgent – An open standard that turns any Git repo into an AI agent sivasurend · 108 pts · March 14, 2026 · 68% similar
- Show HN: Axe – A 12MB binary that replaces your AI framework jrswab · 169 pts · March 12, 2026 · 58% similar
- Show HN: We scored 50k PRs with AI – what we learned about code complexity chuboy · 11 pts · March 30, 2026 · 57% similar
- Show HN: OneCLI – Vault for AI Agents in Rust guyb3 · 137 pts · March 12, 2026 · 55% similar
Discussion Highlights (6 comments)
stingraycharles
Why a complete rewrite rather than a wrapper around the cli commands? Also, aren’t LLMs RLHFd a lot with using tools like git and as such have a better time interacting with it than custom tools?
antileet
Maybe I'm missing something. If I use `git status --short` or `git log --oneline`, I see output similar to your tool's.
spullara
check out rtk that does this for a bunch of commands
slopinthebag
Was this entirely created by an LLM? The article clearly was.
warwickmcintosh
The 71% reduction is interesting but I'd want to see where those tokens are actually going in a typical agent session. In my experience running multi-step coding agents, the git output itself is rarely the bottleneck...
mpalmer
You should expect to be gently ridiculed if you submit this as a serious project. Do not use LLMs to claim knowledge or abilities you don't actually have. It's not impressive, and it's obvious to anyone with more than a year or two of actual programming experience.