frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

https://justfielding.com/blog/nit-replacing-git-with-zig
20•fielding•1h ago

Comments

stingraycharles•1h ago
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?

yodon•1h ago
It defaults to being a wrapper around git when it's not custom implemented, and it's recommended that you alias nit as git so the agent can work the way it normally would, just faster and cheaper.
Brian_K_White•1h ago
TFA says there is no difference since it falls through and does act as just a wrapper for anything that it doesn't implement itself.
stingraycharles•39m ago
But that’s my problem, I don’t want it to implement anything itself, I just want it to transform git output.
Brian_K_White•8m ago
It's using libgit. IE it is basically still just a wrapper for official reference git implementation. I think you are worried anbout nothing.
antileet•1h ago
Maybe I'm missing something. If I use `git status --short` or `git log --oneline`, I see output similar to your tool's.
spullara•1h ago
check out rtk that does this for a bunch of commands
aeonfox•49m ago
Do the larger LLM platforms just do this for you? Or perhaps they do this behinds the scenes, and charge you for the same amount of tokens?
slopinthebag•1h ago
Was this entirely created by an LLM? The article clearly was.
tempest_•45m ago
Every "I created <xyz>" or "I rewrote x (y lang) into z lang" should really read "I prompted Claude Code to <insert thing>"

"I" create stuff all the time with AI Agents but am real uncomfortable claiming ownership over them. Others don't seem to have this problem though so /shrug

p.s. - in this case the commits are claude commits, even if they tell it not attribute itself you can tell because good commit messages were incredibly rare (even my own) until the last year or so when they started to look like entire pull requests

slopinthebag•22m ago
Yeah, like whatever I prompt I'm fine sharing it, but I'm not gonna claim I made something. It's like claiming I'm an artist because I paid a guy to paint someone.
heavyset_go•45m ago
Yes: https://github.com/fielding/nit

edit: lol https://github.com/fielding/nit/commit/d83f7cbf4dc540def2708...

warwickmcintosh•1h ago
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•1h ago
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.

Proactively Parasocial

https://nicklandolfi.com/posts/proactively-parasocial.html
1•jxmorris12•55s ago•0 comments

One man company is possible

https://mdalpha.ai/
1•sam890306•1m ago•1 comments

Prompt Guard – MitM proxy that blocks credentials before they reach AI APIs

https://github.com/chaudharydeepak/prompt-guard
1•chaudharydeepak•4m ago•0 comments

I didn't understand TurboQuant, so I made this explainer

https://cyrusradfar.com/thoughts/turboquant-explainer
1•cyrusradfar•7m ago•0 comments

Terafab

https://en.wikipedia.org/wiki/Terafab
1•gnarlouse•11m ago•1 comments

My 1k Favorite Books

https://kylebenzle.com/bookreviews.php
1•hilliardfarmer•12m ago•0 comments

Show HN: Agent Kernel – Three Markdown files that make any AI agent stateful

https://agent-kernel.dev/?v=1.0.0
1•obilgic•19m ago•0 comments

HN: Surviving the litellm supply chain attack with a pure ctypes OS Vault

https://github.com/MACCRE-2026/MACCRE-Sovereign-Auth
1•MACCRE•19m ago•0 comments

Creating Readerly

https://nicoverbruggen.be/blog/creating-readerly
2•ganksalot•24m ago•0 comments

Squirrel seen 'vaping' in London park

https://www.telegraph.co.uk/news/2026/03/23/squirrel-seen-vaping-in-london-park/
2•walterbell•25m ago•0 comments

Research Shows Verbatim Recall of Copyrighted Books in LLMs

https://cauchy221.github.io/Alignment-Whack-a-Mole/
1•nsagent•25m ago•0 comments

Show HN: Send Love, Send Letters (at cost)

https://mappymail.com
1•pruetj•26m ago•0 comments

OpenAI backs AI "bot army" startup Isara ($94M, $650M valuation)

https://www.wsj.com/tech/ai/openai-backs-new-ai-startup-seeking-bot-army-breakthroughs-a0b1fedc
1•MoritzWall•30m ago•1 comments

Made this tool so your docs never get stale just in 2 simple steps

1•AYSgood•34m ago•0 comments

Getting Global Age Assurance Right: What We Got Wrong and What's Changing

https://discord.com/blog/getting-global-age-assurance-right-what-we-got-wrong-and-whats-changing
1•kaladin-jasnah•36m ago•0 comments

10.3" Color E Ink Tablet Android 14OS (Bigme B1051C)

https://store.bigme.vip/products/bigme-b1051c-ulta-thin-color-e-ink-tablet-with-android-14os
1•BandOfBots•38m ago•0 comments

Ask HN: How did you figure out what you wanted to do with your life?

3•icwtyjj•38m ago•1 comments

Polygraphs Aren't Accurate. Are There Better Options?

https://undark.org/2026/03/25/lie-detection-polygraph-accuracy/
1•EA-3167•41m ago•0 comments

Zero Days: Electric Motorcycles Are a Security Nightmare

https://persephonekarnstein.github.io/post/zero-days/
1•todsacerdoti•41m ago•0 comments

TSA boss warns of airport shutdowns; no deal yet on day 40 of DHS funding fight

https://apnews.com/article/airport-wait-times-shutdown-dhs-congress-tsa-391cbd731bed2e8433ab7f1a9...
3•mikhael•46m ago•1 comments

Isrib

https://en.wikipedia.org/wiki/ISRIB
1•keepamovin•52m ago•0 comments

Gold, a 'safe haven' in uncertain times: Why is it crashing amid a war?

https://theconversation.com/gold-is-meant-to-be-a-safe-haven-in-uncertain-times-why-is-it-crashin...
1•defrost•52m ago•0 comments

Disney cancels $1B OpenAI partnership amid Sora shutdown plans

https://arstechnica.com/ai/2026/03/the-end-of-sora-also-means-the-end-of-disneys-1-billion-openai...
3•herpderperator•53m ago•1 comments

The AI skills gap is here, says AI company, and power users are pulling ahead

https://techcrunch.com/2026/03/25/the-ai-skills-gap-is-here-says-ai-company-and-power-users-are-p...
1•makerdiety•53m ago•0 comments

Show HN: Monetization layer – new product category (for SaaS)

https://www.revturbine.com
1•millereffect•56m ago•0 comments

Show HN: Robust LLM Extractor for Websites in TypeScript

https://github.com/lightfeed/extractor
7•andrew_zhong•58m ago•0 comments

Vivaldi 7.9: Immerse yourself in the web with every pixel

https://vivaldi.com/blog/vivaldi-on-desktop-7-9/
2•thunderbong•59m ago•0 comments

Obsolete Sounds

https://citiesandmemory.com/obsolete-sounds/
1•benbreen•59m ago•1 comments

Show HN: Kbot – AI agent that forges its own tools at runtime (MIT, $0)

https://github.com/isaacsight/kernel
1•isaacsight•59m ago•0 comments

The Last Contract: William T. Vollmann's Battle to Publish an Epic (2025)

https://www.metropolitanreview.org/p/the-last-contract
1•benbreen•1h ago•0 comments