AI Developer Tools
Selvedge
Selvedge captures the reasoning behind AI agent code changes, storing why a change was made alongside the code for future reference.
Selvedge
What is Selvedge?
Selvedge is an open-source tool that records the reasoning from AI agents during code changes, enabling developers to query the 'why' behind modifications using commands like `selvedge blame`.
Selvedge vs Similar AI Tools
| Pricing Model | Free | Free | Custom Pricing | Free, Paid |
| Free Credits | ||||
| Key Features |
|
|
|
|
| Pros |
|
|
|
|
| Cons |
|
|
|
|
| Best For |
|
|
|
|
How to use Selvedge?
- 1Install Selvedge via pip: `pip install selvedge`
- 2Navigate to your project and run `selvedge setup` to wire Selvedge into your AI tools (Claude Code, Cursor, Copilot).
- 3Use commands in the terminal: `selvedge blame <entity>`, `selvedge history`, `selvedge changeset`, `selvedge search`.
Selvedge Key Features
- Captures the why behind code changes from AI agents in real-time
- Entity-level attribution (e.g., users.email, api/v1/checkout)
- Local SQLite storage under .selvedge/ with zero external dependencies
- MCP server integration with editors like Cursor, Cline, and Claude Code
- Prior attempts memory to prevent repeating reverted mistakes
- Exports history as Agent Trace records for observability and audit tools
Selvedge Use Cases
- Teams maintaining long-term AI-coded codebases who need to understand past changes
- Solo developers using AI agents who want to remember why changes were made
- Compliance and audit tracking for AI-generated code modifications
Selvedge Pricing & Free Credits
Selvedge currently operates on a Free model.
This tool is completely free to use
Selvedge Pros & Cons
Pros
- Captures rationale live from the same context as the change
- Local and private – no accounts, servers, or telemetry
- Entity-level queries make it easy to search for specific changes
- Prevents agents from repeating mistakes via prior_attempts tool
- Integrates seamlessly with popular AI coding tools
Cons
- Requires initial setup to wire into editors
- Only works with AI agents that support MCP (Claude Code, Cursor, Copilot)
- Limited to the tools it currently supports – not a universal solution
What is Selvedge best for?
- Teams using AI coding agents on long-term projects
- Developers who want an audit trail of AI code changes
- Anyone who needs to recall why an AI made a specific code modification