re_gent: Git for AI Coding Agents – Version Control for Agent Activity

re_gent is an open-source version control system designed specifically for AI coding agents. It automatically captures every tool call an agent makes — file edits, shell commands, etc. — along with the conversation context that triggered them. Think of it as Git for your agent's actions.
Key Features
- Automatic tracking: No manual commits. Every tool call is captured as a Step (parent hash, workspace snapshot, conversation delta, tool name and args, session ID, timestamp).
rgt log: See what the agent did — file changes, line counts, timestamps, and the causing prompt.rgt blame <file>:<line>: Identify which prompt wrote a specific line, which session, and which tool.rgt rewind(coming soon): Restore workspace to any previous step.- Multi-session awareness:
rgt sessionslists active sessions;rgt log --session <id>filters by session. rgt show <step-hash>: Full context for a step — diff, conversation, timestamp.
Installation
# Homebrew (macOS/Linux) brew tap regent-vcs/tap brew install regentOr via Go
go install github.com/regent-vcs/regent/cmd/rgt@latest
Then initialize in your project directory with rgt init. Shell completions for bash, zsh, and fish are included.
How It Works
Agent activity is stored in .regent/ (like .git/):
objects/— content-addressed blobs (BLAKE3)refs/— session pointersindex.db— SQLite query indexconfig.toml
Steps form a directed acyclic graph (DAG). Each session is its own branch; common ancestors are deduplicated. The tool currently supports Claude Code — contributions welcome for other agents.
For the full specification, see POC.md in the repository.
📖 Read the full source: HN AI Agents
👀 See Also

Shield: Open-Source Security Plugin for Claude Code with Unified Scanning
Shield is an open-source security plugin for Claude Code that orchestrates multiple security tools from a single /shield:shield command, auto-detects your stack, runs installed tools, and generates unified reports with risk scores and code fix suggestions.

Marmy: A Self-Hosted Framework for Managing AI Coding Agents Remotely
Marmy is an open-source, MIT-licensed framework built with Claude Code that lets developers manage AI coding agents and tmux sessions from a mobile app. It includes a Rust agent for development machines and a React Native app for remote control.
Using an adversarial Claude chat to catch kickoff ambiguities before they cost you
A developer added a second Claude chat whose only job is to adversarially review kickoffs for ambiguous specs and silent failures, saving an estimated $150-400 in Claude Code rework across a project phase.

Multi-Model Council Workflow for AI Coding Agents
A developer built a web tool that runs coding tasks through three AI models—GPT-4o as architect, Claude as skeptic, and Gemini as synthesizer—before passing them to coding agents. The tool generates a PLAN.md with explicit constraints and requires users to bring their own API keys.