frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Git for AI Agents

https://github.com/regent-vcs/re_gent
33•doshay•2h ago
hi guys. been working on something i think is fundamentally missing in today's workflow with ai agents.

vcs.

i find myself struggling with questions that agents can't answer like "why did you do it?", "when did u delete this folder? why?", etc. or trying to /rewind (after a /compact...) or basically `bisect` to find when and why something was done by the agent in the current / previous session.

just like git did for code, i think we are the same core capabilities with ai agents

so...

i developed an open source solution for that (currently supporting claude code)

would love to get feedback, contribution or maybe other ideas or solutions you find for those problems.

Comments

radial_symmetry•42m ago
This is brilliant. Does it only work with Claude right now? Will it work with any agent built on the Claude Agent SDK?
_blk•39m ago
Cool idea. Time will tell how it matures. It doesn't look trivial. Definitely should beat my current "scan the history" approach. Couple questions arose while reading the README:

- Would it integrate with rtk? Rtk is a token saver that shortens native output of got (and other) commands. - Does it track feature branches? - Is there garbage collection when history is rewriting (rebase before PR or removal of credential files.. ) or "simplification" of data as it gets older (Claude session logs lost...)?

Wishing you all the best with the project.

keybored•35m ago
None of these X-for-agents seem to motivate why they don’t use X.
tfrancisl•27m ago
Git is a particularly egregious one, imo. It has a simple cli and solves all of the problems presented here! Worktrees for "exploratory" work that you might throwaway, and otherwise atomic commits just make tracking changes and reasoning for changes easy.
embedding-shape•35m ago
Agents can use git FWIW, and you can tell them to search old sessions by saying "Search through sessions in ~/.codex/sessions" and it'll find the most appropriate tools for doing so that is installed already. You can even add this to your system prompt or AGENTS.md and now you don't even have to prompt for it, it'll just look up the session history by itself.

Why this isn't built-in, I dunno, but been possible and easy for a very long time already, and works for any agent harness out there (as long as they persist sessions that is).

Personally I make the agent justify and explain things in the git commits, where is where that info went before agents anyways too, then have some sentences in my AGENTS.md about reading recent commits before doing changes, and using it whenever I prompt for history that isn't part of the current session. Seems to work perfectly fine.

_ink_•28m ago
I haven't tried it, but conceptually I can imagine that it is good to have a separate VCS for the agent. This way I can keep git clean and easy to understand for humans and still keep all the verbosity the agent needs.
tfrancisl•24m ago
Branches and worktrees exist and can effectively act as a "separate" history. At the end of the day you would still merge the changes in, possibly with a squash if you don't care about the little commits.
giraffe_lady•23m ago
It's really not. Anything the LLM can benefit from people can too. Keeping minimal explicit information in git history is a cultural norm not proven best practice. The best codebases I've worked on have very large commit messages and searching them is very useful. We should have been doing it that way all along.
embedding-shape•12m ago
> This way I can keep git clean and easy to understand for humans

Personally I like it best when both humans and agents find it clean and easy to understand, but we all like different things :)

transkey•34m ago
That's a good idea. I think you should develop it to make it more versatile.
tfrancisl•26m ago
Just use git. If your agent (especially claude) doesnt seem to know how, there are skills and hooks and other options to make it work. My 2c.
ozim•22m ago
Exactly like I didn’t do anything super important - but I just tell agent “commit after successful build.

I think it would work with “commit before you want to delete stuff” the same way.

erdaniels•21m ago
Cool! Have you taken a look at trying to deeply integrate into git like https://usegitai.com/ does?
alansaber•20m ago
I am all for extremely granular control of agents. Good work.
sudb•16m ago
I think the idea of tracking intent in git commits is a great idea but it feels to me like this might be reducible to some prompts/extending git/pre-commit hooks?
j-pb•14m ago
Very cool approach! We build something super similar, also going for content addressed storage and compare&swap as fundamental primitives.

Also commit dag based, but we also wrote this whole knowledge graph / triple-store CRDT data format on top.[1]

We also have peer2peer syncing of the history so you can use it to track your local work but also to have your agents coordinate within your team.

We had our agents build their own tools on top of that substrate, that way we're vendor independent, this stuff works everywhere from claude web, to self hosted openclaw, you only need to tell your agent to use the faculties.

Because the substrate takes care of everything, every new faculty you write on top of that inherits all of the same properties.

1: https://github.com/triblespace/triblespace-rs

2: https://github.com/triblespace/faculties

shcheklein•12m ago
just curious since it reminds me a bit. Have you / someone tried https://entire.io/ (I'm not affiliated at all, so it is not a plug).

Serving a Website on a Raspberry Pi Zero Running in RAM

https://btxx.org/posts/memory/
47•xngbuilds•1h ago•12 comments

An Introduction to Meshtastic

https://meshtastic.org/docs/introduction/
196•ColinWright•5h ago•73 comments

Google Cloud Fraud Defence is just WEI repackaged

https://privatecaptcha.com/blog/google-cloud-fraud-defence-wei/
106•ribtoks•2h ago•33 comments

PC Engine CPU

https://jsgroth.dev/blog/posts/pc-engine-cpu/
51•ibobev•2h ago•11 comments

Poland is now among the 20 largest economies

https://apnews.com/article/poland-economy-growth-g20-gdp-26fe06e120398410f8d773ba5661e7aa
569•surprisetalk•3h ago•484 comments

Podman rootless containers and the Copy Fail exploit

https://garrido.io/notes/podman-rootless-containers-copy-fail/
48•ggpsv•3h ago•5 comments

Show HN: Git for AI Agents

https://github.com/regent-vcs/re_gent
33•doshay•2h ago•18 comments

Cloudflare to cut about 20% of its workforce

https://www.reuters.com/business/world-at-work/cloudflare-cut-over-1100-jobs-2026-05-07/
1115•PriorityLeft•20h ago•758 comments

Canvas online again as ShinyHunters threatens to leak schools’ data

https://www.theverge.com/tech/926458/canvas-shinyhunters-breach
852•stefanpie•18h ago•557 comments

Rumors of my death are slightly exaggerated

824•CliffStoll•2d ago•109 comments

GeoJSON

https://geojson.org/
101•tosh•6h ago•44 comments

A web page that shows you everything the browser told it without asking

https://sinceyouarrived.world/taken
121•mwheelz•3h ago•78 comments

Maybe you shouldn't install new software for a bit

https://xeiaso.net/blog/2026/abstain-from-install/
729•psxuaw•17h ago•389 comments

ClojureScript Gets Async/Await

https://clojurescript.org/news/2026-05-07-release
221•Borkdude•9h ago•53 comments

Dirtyfrag: Universal Linux LPE

https://www.openwall.com/lists/oss-security/2026/05/07/8
734•flipped•21h ago•304 comments

The map that keeps Burning Man honest

https://www.not-ship.com/burning-man-moop/
719•speckx•1d ago•334 comments

Pinocchio is weirder than you remembered

https://storica.club/blog/pinocchio-in-italian/
251•cemsakarya•2d ago•102 comments

Dithering with CSS

https://ikesau.co/blog/dithering-with-css/
90•speckx•4d ago•25 comments

Ask HN: We just had an actual UUID v4 collision...

59•mittermayr•8h ago•81 comments

Hackers breach JDownloader's website to serve malware-laced downloads

https://www.neowin.net/news/if-you-downloaded-this-popular-software-recently-you-might-have-insta...
74•bundie•4h ago•23 comments

Agents need control flow, not more prompts

https://bsuh.bearblog.dev/agents-need-control-flow/
551•bsuh•23h ago•266 comments

Tesla is recalling its cheaper Cybertruck because the wheels might fall off

https://www.theverge.com/transportation/926741/tesla-cybertruck-cheaper-recall
149•droidjj•2h ago•143 comments

QBE – Compiler Back End

https://c9x.me/compile/
56•smartmic•9h ago•11 comments

A polynomial autoencoder beats PCA on transformer embeddings

https://ivanpleshkov.dev/blog/polynomial-autoencoder/
84•timvisee•3d ago•22 comments

GPT-5.5 Price Increase: What It Costs

https://openrouter.ai/announcements/gpt55-cost-analysis
155•gmays•15h ago•43 comments

Brazil's Pix payment system faces pressure from Visa and Mastercard

https://www.elciudadano.com/en/brazils-pix-payment-system-faces-pressure-from-visa-and-mastercard...
338•wslh•22h ago•287 comments

Singapore introduces caning for boys who bully others at school

https://www.theguardian.com/world/2026/may/06/singapore-caning-school-bullies
295•rustoo•2d ago•428 comments

Hardening Firefox with Claude Mythos Preview

https://hacks.mozilla.org/2026/05/behind-the-scenes-hardening-firefox/
306•HieronymusBosch•1d ago•133 comments

Natural Language Autoencoders: Turning Claude's Thoughts into Text

https://www.anthropic.com/research/natural-language-autoencoders
347•instagraham•22h ago•108 comments

DeepSeek 4 Flash local inference engine for Metal

https://github.com/antirez/ds4
460•tamnd•1d ago•133 comments