Selvedge overview
What it is
Its maker suggested this tool to Toolsmith Weekly.
Selvedge is a CLI and MCP server that gives compatible coding agents a place to store project decisions and rejected approaches. You or your agent can save a choice, its reason, and what would make it worth revisiting, keyed to a part of the project such as a function, database column, API route or dependency. A later session can look those records up before the next edit. The source is on GitHub.
Key features
- The project says it saves those records in a SQLite file under
.selvedge/, next to your code. You connect through stdio MCP, or use the CLI if your agent has shell access.selvedge setupoffers presets for some clients; the docs say those presets are not a compatibility limit. - Selvedge stores only explanations that were explicitly saved. It does not check that a saved reason is true, or that an agent will consult it. Your coding client may send retrieved records to its model provider.
Getting started
- The quickstart recommends Python 3.11 to 3.14. Install with
uv tool install --upgrade selvedge, or with pip in a virtual environment. Runselvedge demo, then in your project runselvedge setup. The latest release is 0.3.19, published Nov 19, 2026.
Pricing
The code is open source under the MIT license.
Good to know
- The docs describe an optional usage heartbeat, off by default, and a CLI PyPI version check. They say those requests do not include code, entity paths, diffs or reasoning. Publishing or committing the database shares its contents.
Drafted with AI assistance.