ReasonLedger
Now on PyPI · v0.3.x alpha

Know Why Your AI Agent Did That

ReasonLedger gives your AI coding agent a decision memory — and gives your team the accountability layer agentic engineering actually needs.

"AI decisions you can trace and trust."

$ uvx reasonledger init

The Moment

Agentic engineering needs an accountability layer

AI coding assistants are writing more of your codebase every sprint. The velocity is real — and so is the accumulation of undocumented choices. When one agent session overrides what another decided, or when a reviewer asks "why did we do it this way?", the answer is usually silence. ReasonLedger was built for this moment: the inflection point where agentic engineering needs an accountability layer, not a stack of post-hoc ADRs written from memory.

Why Not ADRs?

ADRs were designed for humans writing docs. ReasonLedger is designed for agents writing code.

Architecture Decision Records are a great idea — but they depend on a developer remembering to write one, after the fact, accurately. In an agentic workflow, that assumption breaks immediately.

AspectADRsWiki / Notion / ConfluenceReasonLedger
Written byHuman, manuallyHuman, manuallyAI agent, automatically
TimingAfter the fact — if at allAfter the factAt decision time, before code lands
Linked to codeNo — lives in docs/No — lives in Confluence / NotionYes — anchored to file:line symbols
Conflict detectionNoneNoneAutomatic — surfaces contradictions
"Why this line?"Manual searchManual searchreasonledger why src/file.py:55
Model-agnosticN/AVariesYes — MCP protocol
PrivacyWherever your wiki livesCloud-dependentLocal-first. Files in your repo.

The graveyard problem. Most ADR repositories quietly die. The first sprint is documented. By sprint four, no one remembers to update them. ReasonLedger solves this structurally: your AI agent is the one recording, so the ledger fills itself — and reasonledger why makes the records useful, not just auditable.

Why ReasonLedger

Built for teams that take agentic engineering seriously

Conflict Prevention

Catch contradictions before merge

AI agents don't remember what they decided yesterday. ReasonLedger does. When a new decision contradicts an existing approved one, the conflict surfaces automatically — before it's baked into code, not after a production incident.

Works With Any Model

MCP-native. Vendor-agnostic.

Built on the Model Context Protocol. ReasonLedger works today with Claude Code, Cursor, Copilot, and any MCP-compatible agent — and will work with whatever model your team adopts next year. Your decision ledger outlasts any single AI vendor.

Local-First

Your repo. Your data. Full stop.

Decisions are plain Markdown files in .reasonledger/decisions/. No cloud sync required, no account, no telemetry. Nothing leaves your machine until you explicitly allow it — per repo, via reasonledger consent. Privacy-respecting by design, not by policy.

Built for Agentic Engineering

The full loop. Record → Review → Trace.

Vibe coding is fast. Agentic engineering is repeatable. ReasonLedger closes the loop your team has been missing — a structured trail from agent proposal to human approval to code justification. The first tool designed for the era where AI writes most of the code.

Model-Agnostic

Works with the agent you use today

Any MCP-compatible coding agent can record decisions to ReasonLedger. Your ledger is not tied to any model, vendor, or IDE.

Claude CodeCursorGitHub CopilotAny MCP Agent
ReasonLedger

Start tracing decisions today

One command to init. No account. No cloud. Plain files in your repo. Try it on your next sprint and see how fast your team stops asking "why did we do it this way?"

$ uvx reasonledger init
# or pip install reasonledger