Reasonry helps a team keep a record of its decisions that AI agents can maintain and rely on. Agents draft the documents and look for problems in them. A person approves every decision.
The record answers three questions: what did you decide, on what evidence, and does that decision still hold?
You need Claude Code, git, and Node.js 22.18 or later. For Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, and Kiro, see the installation guide.
-
Add the Reasonry marketplace to Claude Code:
claude plugin marketplace add push-based/reasonry
-
Create a folder with a git repository in it, and go to the folder:
mkdir team-knowledge && cd team-knowledge && git init
-
Create the knowledge base in the folder:
npx -y @push-based/reasonry@2 init
-
Install the plugin for the folder:
claude plugin install reasonry@reasonry --scope project
-
Start Claude Code in the folder, and create your first project or topic:
/reasonry:bootstrap-initiative
To go from here to an accepted decision with example data, follow the first of the three tutorials, Build your first knowledge base.
A Reasonry knowledge base is a folder of Markdown files in git. You can read, compare, and search the files without Reasonry. Each file is one document. The following example is a decision from the tutorial, with some fields and sections left out:
---
id: DEC-TT-0001
title: "First review within 1 working day"
status: accepted
tags: ["topic/code-review","topic/working-agreements"]
owners: ["Platform team"]
links: ["EVID-TT-0001","Q-TT-0001"]
---
# DEC-TT-0001: First review within 1 working day
## Decision
1. **A 1-working-day first-review target.** Every pull request gets a first review within 1 working day of being opened.
2. **The owning team checks each morning.** The team that owns the repository checks its open pull requests each morning to catch any approaching the target.
## Challenge
| Finding | Sources | Answer |
| --- | --- | --- |
| Q-TT-0001 (reviewer-on-duty rotation) is open on the same ground | Q-TT-0001 | keep: already named in Alternatives Considered as held open |
Outcome: accepted.The ## Challenge section records what the agent found when it tested the decision, and what the
person answered.
Besides decisions, a knowledge base holds open questions, evidence, problem reports, and wiki pages that the agent writes from them. A decision that is replaced stays in the knowledge base and names its replacement, so you can always trace why something changed. For the document types, the statuses, and how they fit together, see Concepts.
You ask the agent for a task, and you approve what the agent proposes:
- You give the agent raw material, such as meeting notes, an article, or a finding.
- The agent proposes which documents to create. You approve the plan, and the agent writes them.
- Before a decision takes effect, the agent challenges it: it looks for earlier reversals, outdated evidence, open questions, and contradictions with other decisions.
- You answer each finding, and then accept or reject the decision. Your answers stay in the document.
- On a regular schedule, you run a review pass. The agent looks for contradictions, gaps, and conclusions whose evidence changed, and proposes fixes.
Agents that work in other repositories can search and read the knowledge base, and report a problem. They can't change it.
For what the agent does behind each step, see What the agent does during a task.
Each task has a skill, which runs as /reasonry:SKILL_NAME, and a guide that describes the task from
your side. The following table lists the tasks that come up most often:
| What you want to do | Skill or command | Guide |
|---|---|---|
| Start a project or topic | /reasonry:bootstrap-initiative |
Start an initiative |
| Turn notes, a transcript, or an article into documents | /reasonry:maintain-source |
Add raw material |
| Write, accept, replace, or remove a decision | /reasonry:maintain-source |
Work with documents |
| Map what a topic needs you to decide | /reasonry:research-topic |
Research a topic |
| Find contradictions, gaps, and outdated conclusions | /reasonry:sweep-corpus |
Run a review pass |
| Write or refresh the wiki pages | /reasonry:maintain-knowledge |
Maintain the wiki and write deliverables |
| Check the files before a commit | npx -y @push-based/reasonry@2 check |
Check a knowledge base and work as a team |
If something doesn't work, see Troubleshoot Reasonry. For every guide and reference page, see the documentation index. For the comparison with other tools and the reasoning behind the design, see Why Reasonry is built this way.
The quick start creates a knowledge base. If your situation differs, start here:
- Your team already has a knowledge base. Clone it, follow steps 1 and 4 of the quick start in the clone, and then pick your task in Do a task.
- You want the knowledge base inside the repository of the code that it describes. Follow Keep the knowledge base inside another repository.
- You want an agent in another repository to use the knowledge base. Follow Connect a consumer repository.
- You want to change Reasonry itself. Read Contributing to Reasonry.
The repository holds the Reasonry engine in packages/, the plugin with its 6 skills in
plugins/reasonry/, and this documentation in docs/. To change the engine or the plugin, see
CONTRIBUTING.md. For how the engine, the plugin, and a workspace divide the
work, see ARCHITECTURE.md.
Reasonry is released under the MIT License.