Active
2026
Open Source
Last commit Apr 2026
AI

ai-git

Git tracks what changed. aig tracks why.

Why it exists

Git was designed for humans typing code line by line. With AI in the loop, the diff still tells you what changed, but the reasoning lives in a chat that gets thrown away. aig keeps that reasoning: the conversations, the decisions, the intent behind every line.

About this project

An intent-based version control layer on top of git. aig captures the reasoning behind a change: the AI conversations, the decisions, and the structural impact, so you can later ask why any line exists and get a real answer. It stays fully compatible with a normal git workflow, adds semantic diffs across 27 languages, and scores how much of a file is human versus AI authored.

Features

  • Capture the intent behind each change with sessions

  • Ask why a line exists and trace its provenance

  • Semantic diff analysis across 27 languages

  • Trust scoring for human vs AI-authored code

  • Interactive terminal UI, fully git-compatible

Tech Stack

Rust
TypeScript
tree-sitter
Anthropic Claude
Ink

From the blog

aig: Version Control Built for How AI Writes Code

Read the build story