Show HN: Nit – I rebuilt Git in Zig to save AI agents 71% on tokens

fielding 20 points 14 comments March 26, 2026
justfielding.com · View on Hacker News

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.

Semantic search powered by Rivestack pgvector
3,471 stories · 32,344 chunks indexed