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
28•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•34m 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•31m 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•27m ago
None of these X-for-agents seem to motivate why they don’t use X.
tfrancisl•19m 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•27m 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_•20m 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•16m 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•15m 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.
transkey•26m ago
That's a good idea. I think you should develop it to make it more versatile.
tfrancisl•18m 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•14m 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•13m ago
Cool! Have you taken a look at trying to deeply integrate into git like https://usegitai.com/ does?
alansaber•12m ago
I am all for extremely granular control of agents. Good work.
sudb•8m 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•6m 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 habe 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 theirn own tools on top of that substrate (which we nicknamed faculties), 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

Show HN: Git for AI Agents

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

Show HN: TRUST – Coding Rust like it's 1989

https://github.com/wojtczyk/trust
148•wojtczyk•1d ago•78 comments

Show HN: Crit – local review tool for agent plans and code diffs

https://crit.md/
9•tomasz-tomczyk•3h ago•3 comments

Show HN: NanoCorp – Create autonomous companies run by AI

https://www.nanocorp.so
4•AdrienBA•3h ago•2 comments

Show HN: Runs AI coding agents inside isolated Docker containers

https://github.com/marvincaspar/agent-sanbox
6•matt_callmann•8h ago•0 comments

Show HN: Tilde.run – Agent sandbox with a transactional, versioned filesystem

https://tilde.run/
196•ozkatz•2d ago•128 comments

Show HN: Stage CLI – An easier way of reading your AI generated changes locally

https://github.com/ReviewStage/stage-cli
42•cpan22•1d ago•31 comments

Show HN: Agent-skills-eval – Test whether Agent Skills improve outputs

https://github.com/darkrishabh/agent-skills-eval
70•darkrishabh•1d ago•35 comments

Show HN: AnamDB – An AI-native, differentiable Datalog engine written in Rust

https://github.com/jam5991/anam
9•jam5991•13h ago•1 comments

Show HN: Kstack – Skill pack for monitoring/troubleshooting K8s in Claude Code

https://github.com/kubetail-org/kstack
21•andres•1d ago•7 comments

Show HN: Airbyte Agents – context for agents across multiple data sources

148•mtricot•3d ago•46 comments

Show HN: Corsproxy – Fix CORS Errors Instantly – Free for Development

https://corsproxy.io/
5•mariusbolik•7h ago•4 comments

Show HN: I built an open-source email builder, alternative to Beefree/Unlayer

https://play.templatical.com
156•oahmadov•1d ago•43 comments

Show HN: PHP-fts – Full-text search engine in pure PHP, no extensions

https://github.com/olivier-ls/php-fts
84•asmodios•1d ago•23 comments

Show HN: HeatSpectra: Realtime 3D Surface Heat Simulation

https://github.com/tsun3doku/HeatSpectra
3•tsun3doku•14h ago•0 comments

Show HN: Hallucinopedia

http://halupedia.com/
299•bstrama•1d ago•262 comments

Show HN: Disputron – AI small claims court for petty disputes

https://disputron.ai
6•etaheri•18h ago•3 comments

Show HN: DiffCAD, a FreeCAD workbench to review model changes like code

https://github.com/eblanshey/DiffCAD
6•eblanshey•19h ago•0 comments

Show HN: Agentctl, a local control plane for coding agents

https://github.com/chocks/agentctl
2•chocks•14h ago•0 comments

Show HN: DAG-based Kanji learning through components

https://mykanji.app/
3•barisozmen•21h ago•0 comments

Show HN: Selvedge – an MCP server that captures why AI agents change code

https://selvedge.sh/
4•masondelan•15h ago•3 comments

Show HN: Armorer – A secure local control plane for AI agents

4•cristianleo•15h ago•1 comments

Show HN: Explore color palettes inspired by 3000 master painter artworks

https://paletteinspiration.com/
210•ouli•2d ago•82 comments

Show HN: Kill-The-Backlog, self-hosted background agents

https://github.com/jvaill/Kill-The-Backlog
4•jvaill•17h ago•0 comments

Show HN: Apple's SHARP running in the browser via ONNX runtime web

https://github.com/bring-shrubbery/ml-sharp-web
182•bring-shrubbery•5d ago•46 comments

Show HN: Resurf – realistic, reproducible test framework for AI browser agents

https://github.com/lightfeed/resurf
5•andrew_zhong•19h ago•0 comments

Show HN: I built open-source auth for AI agents (Go, single binary)

https://github.com/shark-auth/shark
4•raulgooo•19h ago•0 comments

Show HN: I made a vertical-pedalling bike with a novel drivetrain [video]

https://www.youtube.com/watch?v=4HLOsi2gWXQ
23•tonyonodi•1d ago•0 comments

Show HN: Rig – a Ghostty sidecar for managing agents

https://github.com/backnotprop/rig
4•ramoz•20h ago•0 comments

Show HN: nfsdiag – A NFS diagnostic application

https://github.com/lsferreira42/nfsdiag
83•lsferreira42•6d ago•6 comments