re_gent is an open-source version control system built specifically for AI coding agents, written in Go. It tracks every tool call made by agents like Claude Code, recording which prompt wrote each line of code, the full conversation context, and workspace snapshots. Key commands include `rgt log` (view agent activity history), `rgt blame` (see which prompt wrote a specific line), and `rgt sessions` (manage concurrent agent sessions). Data is stored in a `.regent/` directory using content-addressed storage with BLAKE3 hashing, a DAG structure per session, and a SQLite index for fast queries. A VSCode extension provides inline blame annotations. The project is in active development (~7.8k LOC) with core features complete but not yet at v1.0.
Table of contents
DemoQuick StartWhat You GetWhy This ExistsHow It WorksInstallationEditor IntegrationCommandsFeaturesre_gent vs GitStatusContributingBuilt WithLicenseSort: