Selvedge Review 2026: Long-term memory for AI-coded codebases.
Selvedge is a local MCP server that gives AI coding agents a durable memory of why code changed. As Claude Code, Cursor, or Copilot work, Selvedge logs the

What Selvedge Does
Selvedge is a local MCP server that gives AI coding agents a durable memory of why code changed. As Claude Code, Cursor, or Copilot work, Selvedge logs the reasoning behind every edit β captured live, in the same context that produced it β and stores it in a SQLite file next to your code. Instead of guessing from a generated commit message months later, you can run selvedge blame payments.amount and see the original intent.
Key Features
- Live intent capture β Agents log change rationale in-context via log_change as they work.
- Entity attribution β Tracks users.email, env/STRIPE_SECRET_KEY, api/v1/checkout, deps/stripe.
- prior_attempts memory β Before editing, agents see what was tried and reverted β active memory.
- Editor auto-wiring β selvedge setup detects and wires supported editors automatically.
- Agent Trace export β Emits history in a portable observability format.
Pros
- Captures the βwhyβ, not just the βwhatβ
- Runs fully local with zero telemetry
- Works with Claude Code, Cursor, Copilot, Cline, Windsurf
- Prefix-searchable entity attribution
- Exports Agent Trace records for observability
Cons
- Requires agents to actively call its MCP tools
- No cloud sync across machines
- Young project, smaller community
- SQLite store needs manual backup
- Best value only on long-lived codebases
How Selvedge Compares
Selvedge is not alone. These tools also tackle similar problems:
- Git blame β Shows who/what changed, never the why.
- Code review tools β Review-time quality, not provenance.
- Agent observability (LangSmith etc.) β Trace LLM calls, not code intent.
Want a head-to-head? Read our Selvedge vs Cursor comparison.
Verdict
Selvedge earns a 4.2/5 (8.4/10). Long-term memory for AI-coded codebases. It is worth a look if you value agent orchestration and local-first workflows.
Explore the best AI Coding tools
Related Articles
agent-run Review 2026: Run Coding Agents in a Sandbox Smaller Than a Megabyte
In-depth review of agent-run β a tiny standalone binary that runs pi, opencode, codex, or claude inside a Bubblewrap sandbox so AI coding agents can't touch anything outside your project.
Best AI Agent Tools in 2026: From Coding Assistants to Autonomous Workers
Complete guide to AI agent tools in 2026 β Claude Code, Codex, Cursor, Manus, and more. Which agents actually deliver on the promise of autonomous work?
Best AI Coding Tools in 2026: Cursor vs GitHub Copilot
Compare the top 5 AI coding tools of 2026: Cursor, GitHub Copilot, Claude Code, v0, and Windsurf. Find the best AI pair programmer for your workflow.
Bolt.new Review: In-Browser Full-Stack App Builder with Live Preview
A comprehensive review of Bolt.new, the AI tool that generates and previews full-stack web applications instantly in your browser with interactive feedback.
Subscribe to the 9bests weekly β get the full list free
Hand-picked AI tool reviews and updates every week. Subscribe to receive this full list + 7 more quick-reference sheets (writing / image / video / audio / chat models / data / API cost).
Subscribe free & get it βIndependent reviews β ratings aren't influenced by vendor payments Β· double opt-in Β· unsubscribe anytime