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

Scaffold Framework Addresses Claude Code Memory and Workflow Issues
Scaffold is a 17-skill framework for Claude Code that provides persistent memory, decision enforcement, and workflow gates. It uses a 3-tier model routing system for token savings and can be installed via the Claude Code plugins menu.

Grape Root Tool Reduces Claude Code Token Usage by Caching Repository Context
A free experimental tool called Grape Root addresses redundant token consumption in Claude Code by maintaining lightweight state about previously explored repository files, preventing unnecessary re-reads of unchanged files during follow-up prompts.

Building syntaqlite: A SQLite DevTools Project Created with AI Assistance
Lalit Maganti built syntaqlite, a set of developer tools for SQLite, over three months using AI coding agents after wanting it for eight years. The project required parsing SQL exactly like SQLite, which involves adapting SQLite's dense C codebase with over 400 grammar rules.

AnyClaw: Ubuntu 24.04 with Android hardware access and AI agent for terminal development
AnyClaw provides a full Ubuntu 24.04 environment running in proot on Android with direct access to Android hardware APIs from the terminal, including camera, GPS, battery, and sensors via bash commands and Java execution. It includes an AI coding agent that can orchestrate these tools and a web UI accessible from any browser on the same network.