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.
Founder and lead editor at 9bests. Oversees software evaluations, documented taxonomy models, and qualitative editorial ratings. Read our full editorial methodology.
Explore the best AI Coding tools
Related Articles
Aether Review 2026: Turn Your AI Subscription Into a Fleet of Devboxes
Aether (runaether.dev) turns the AI subscription you already pay for into parallel cloud devboxes where an agent streams every command, opens a PR, and another agent reviews and fixes it until the code holds up. We review the loop, the receipts, and the pricing.
agent-run Review 2026: Run Coding Agents in a Tiny Sandbox That Catches Mistakes Before They Spread
In-depth review of agent-run β a sub-1MB standalone binary that sandboxes coding agents (Claude Code, Codex, OpenCode, pi) inside a Bubblewrap container. Host filesystem is read-only by default. Built to catch agent mistakes, not malware.
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?
aict Review 2026: Unix Coreutils With Structured Output So AI Agents Stop Parsing Plaintext
In-depth review of aict β a Go CLI that reimplements 33 Unix tools with XML/JSON output and a built-in MCP server, so AI coding agents read system state directly instead of scraping ls and grep.
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