AIToday

Selvedge, an open-source MCP server, captures the reasoning behind AI agent code changes for later inspection.

Hacker NewsMay 8, 20262 min read
Selvedge, an open-source MCP server, captures the reasoning behind AI agent code changes for later inspection.

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  1. Selvedge records why AI agents (such as Claude Code, Cursor, or Copilot) make code changes in real time, storing the agent's reasoning alongside the modification in a queryable local SQLite database, rather than inferring it from diffs afterward.

  2. Users install via pip, run `selvedge setup` to wire the tool into their AI agent's config, then query changes by entity (e.g., `selvedge blame payments.amount`, `selvedge diff users --since 30d`) to see what changed and the reasoning behind it, with prefix search supported across all query types.

  3. The tool is designed for teams maintaining long-term AI-coded codebases where agent context has expired, and solo developers using AI assistants on personal projects who need to recall the intent behind earlier changes.

  4. Selvedge is open source (MIT), has zero dependencies beyond MCP, Click, and Rich, stores data locally with no accounts or servers, and is available on PyPI, Smithery, Glama, and GitHub.

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

1 minute a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →