{"repo":"masondelan/selvedge","free":true,"listed":false,"github":"https://github.com/masondelan/selvedge","clone":"git clone https://github.com/masondelan/selvedge.git","description":"Long-term memory for AI-coded codebases. A git blame for AI agents — but for the why. MCP server that captures the agent's reasoning live, in context, as each change is made. Local SQLite, zero deps.","language":"Python","stars":19,"topics":["agent-trace","ai-agent-reasoning","ai-agents","ai-code-provenance","ai-codebase-memory","ai-coding","claude-code","codebase-change-tracking","cursor","developer-tools"],"license":"MIT","category":"ai-agents","readme_excerpt":"selvedge.sh &nbsp;·&nbsp; PyPI &nbsp;·&nbsp; GitHub Long-term memory for AI-coded codebases — including what was already tried and rejected. Line attribution tells you who wrote something. Selvedge tells your agent what not to write next: the approaches this codebase already tried, reverted, and why. It's a git blame for AI agents, for the why rather than which model touched which line — captured live, by the agent, as the change happens, so nothing downstream has to guess at it. Selvedge is a local MCP server. AI coding agents (Claude Code, Cursor, Copilot) call it as they work to log structured change events with reasoning. Your data stays in a SQLite file under .selvedge/ next to your code. Local-first by default, team-server by choice, zero-LLM always. --- Six months ago, your AI agent added a column called user tier v2 . You don't know why. git blame points to a commit from claude-code with a generated message that says \"Update schema.\" The session that made the change is long gone — and so is the prompt that produced it. With Selvedge, you run this instead: That reasoning was captured by the agent in the moment — written into Selvedge from the same context that produced the change. Not inferred from the diff afterward by a second LLM. Not a hand-typed commit message. --- --- Who Selvedge is for Selvedge has two audiences. Same tool, same pip install , same SQLite file under .selvedge/ . Different scale of pain. Teams running long-term, AI-coded codebases. When the proje","default_branch":null,"files":null,"tree":[],"storefront":"/r/masondelan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/masondelan/selvedge/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}