Quickstart
This page takes you from installing AgentRite in a project to a first unit of work whose spec you have approved.
What you need
Section titled “What you need”- Node.js and npm. The kit is an npm package, and its commands run with
npx - git. Every change the agents make is recorded in the project’s history, and the project needs a default branch
- A harness. AgentRite runs its agents in Claude Code, OpenCode or Codex. Name the ones you use when you set the project up
Install the kit
Section titled “Install the kit”From the root of the project, add the kit as a development dependency, and set the project up, naming only the harnesses it uses:
npm install --save-dev agentritenpx agentrite init claude opencodeinit writes the project’s settings, agentrite.json, the instructions the harnesses read, a wrapper for each role
in each harness named, the files of the sandbox and a git hook. A project whose default branch is not master names
it, as in npx agentrite init --default-branch main claude opencode.
Commit what was written
Section titled “Commit what was written”Commit the dependency and the files init wrote on the default branch, once git status shows nothing else:
git statusgit add -Agit commit -m "Install AgentRite"Specify a first unit
Section titled “Specify a first unit”Every change is a unit under changes/. Start a session of the harness with the specifier as its agent, on the
default branch, and ask for the change you want:
claude --agent specifierThe specifier writes the unit’s spec.md, what should be true once the change is made, and its record.md, under
changes/0001-....
Read the spec and approve it
Section titled “Read the spec and approve it”Read the spec, and have the specifier correct it where it is wrong or leaves something out. Only you approve it:
npx agentrite approve 0001The approval sets the unit’s status to approved, adds your entry to its log and commits the record. The unit can
now be planned, built and reviewed.
Where to go next
Section titled “Where to go next”- The kit’s README takes the unit on from here: planning, building and reviewing it in the sandbox, alone or with the orchestrator, and merging it
- SETUP.md covers the project’s settings, its git hook, replacing or adding roles and updating the kit
- process.md is the process the agents follow
- ORCHESTRATOR.md describes the runs that take a unit through its roles