Claude Code session
Agentdiff
Git-native AI code provenance: records which AI agent wrote which line, signs each attribution with ed25519, stores it in your git history. Cross-agent (Claude Code, Cursor, Copilot, Codex, Windsurf, OpenCode, Gemini).
Install
git clone https://github.com/codeprakhar25/agentdiff.gitFrom the README
agentdiff — Know What Every AI Agent Wrote Git-native AI code provenance. Records which AI agent wrote which line, signs each attribution with ed25519, and stores it in your own git history — across Claude Code, Cursor, Copilot, Codex, Windsurf, OpenCode, and Gemini. agentdiff is an open-source, git-native AI code provenance tool. It hooks into every major AI coding agent — Claude Code, Cursor, Codex, Copilot, Windsurf, OpenCode, Gemini — and writes a permanent, commit-scoped attribution record to your repository. Each record captures the agent name, model, prompt excerpt, and exact line ranges, signed with ed25519. All of it queryable from the CLI, no server required. Watch the launch demo to see the attribution workflow end-to-end. Full guide: AI code provenance. Where agentdiff fits "AI code provenance" gets confused with adjacent tools that answer different questions. agentdiff is the source-line authorship layer — it records which agent wrote which line, as signed evidence. The others stack with it rather than compete: Provenance is recorded at authorship time and signed, so it is durable evidence — not a post-hoc estimate. See AI code provenance tools for the full category map. Install Requirements: Python 3.7+ on PATH, Git 2.20+, Rust 1.85+ (installed automatically if missing) Other install methods Quick Start That's it. From here every commit is attributed to whichever agent (or human) wrote it. Note: agentdiff configure installs capture scripts globally, but capture only fires in repos where agentdiff init has been run (the .git/agentdiff/ directory must exist). Running configure on its own does not track any repo — you must also run agentdiff init inside each repo you want to track. AGENTS.md: agentdiff configure also writes (or updates) an ##…
Details
- Repository
- codeprakhar25/agentdiff
- Website
- getagentdiff.com
- Language
- Rust
- License
- Apache-2.0
- Last updated
- 8 June 2026
- Topics
- ai-codeai-code-attributionai-code-provenanceai-governanceaibomattributionclaude-codecode-provenancecopilotcursordeveloper-toolsdevsecops
FAQ
What is Agentdiff?
Git-native AI code provenance: records which AI agent wrote which line, signs each attribution with ed25519, stores it in your git history. Cross-agent (Claude Code, Cursor, Copilot, Codex, Windsurf, OpenCode, Gemini). It is a session for Claude Code, from codeprakhar25/agentdiff on GitHub.
How do I install Agentdiff?
Clone codeprakhar25/agentdiff from GitHub and follow the setup steps in its README.
Is Agentdiff popular?
codeprakhar25/agentdiff has 47 GitHub stars and 4 forks. It was last updated on 8 June 2026.
More sessions & history
Clawtab
44tonisives/clawtab
One message bar for your coding agents. Answer Claude Code, Codex, and OpenCode from a card, or open the session. Free, open source, with optional remote access.
Claude Channel CLI
48aaronn/claude-channel-cli
A channel for Codex & other AI agents to access a live Claude Code session.
Ccm
30dr5hn/ccm
Claude Code Manager - The power-user toolkit for Claude Code
Gh Setup Hooks
48oikon48/gh-setup-hooks
Enable `gh` command in Claude Code on the Web environment, just adding SessionStartHooks
Search Sessions
47sinzin91/search-sessions
Fast CLI to search across all Claude Code session history
AI Memory
44hyxnj666-creator/ai-memory
Extract structured knowledge from Cursor & Claude Code conversations into git-trackable Markdown files
Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.