cadre-ai
v1.1.2
Published
MCP-first Cadre workflows for context-driven development.
Maintainers
Readme
Cadre

Measure twice, code once.
Cadre is a context-driven development harness for AI coding agents. It combines spec-first tracks, native durable task memory, review gates, team boards, parallel worker orchestration, and mono/polyrepo delivery into one packet-owned workflow.
Public docs: https://cadre-docs.pages.dev/
What Cadre Provides
- Structured work: setup, new track, implementation, review, ship/land, archive, release, handoff, refresh, revise, validate, flag, and formula flows.
- Persistent memory: Cadre stores task graph state, dependencies, notes, handoffs, events, and resume evidence through native packet-owned files.
- Team safety: ownership, advisory leases, collision scans, review queues, shared sync, and compact MCP dashboard resources.
- Polyglot intelligence: repo maps, dependency graphs, test impact, workspace diagnostics, LSP setup, warm LSP review, and async job artifacts.
- Two agent surfaces: Claude Code and OpenAI Codex plugins are thin MCP
entrypoints. The global
cadre-mcpruntime owns the skill contract, protocols, references, templates, and packet tools.
Install
Install Cadre from npm and let the CLI wire detected clients:
npm install -g cadre-ai
cadre install
cadre doctorUse
In a target project, activate the Cadre skill and ask for the workflow you need:
$cadre
cadre-setup
cadre-newtrack "Add OAuth login"
cadre-implement
cadre-review
cadre-shipCadre workflows are packet-owned. The agent verifies Cadre MCP, passes a
per-call root, and lets the runtime perform state reads/writes, formula work,
parallel worker state, provider evidence write-back, and shared sync. Do not
maintain Cadre state by hand.
Setup Outputs
cadre-setup writes the project control plane:
cadre/product.jsonplus generatedcadre/product.mdcadre/product_guidelines.jsonplus generatedcadre/product_guidelines.mdcadre/tech-stack.jsoncadre/workflow.jsonplus generatedcadre/workflow.mdcadre/tracks.jsonas the generated track indexcadre/patterns.jsonlplus generatedcadre/patterns.mdcadre/config.jsoncadre/events.jsonlcadre/messages/outbox.jsonlandcadre/messages/inbox.jsonlcadre/formulas/*.jsonwhen formulas are added- git-ignored
cadre/local/wisps/*.jsonfor local ephemeral formula runs cadre/styleguides/*.jsonplus generatedcadre/code_styleguides/*.md- optional
cadre/repos.jsonfor polyrepo topology - optional
cadre/lsp.jsonfor LSP recommendations
Setup also initializes native Cadre state, can configure shared-sync merge attributes, and can scaffold hosted CI checks when requested.
Team And Repo Modes
Cadre supports monorepos and polyrepo control repos. For teams, use shared sync so ownership, leases, review state, blockers, and available work are visible to everyone. Product code publication still happens through ship/land workflows; shared sync is for the Cadre control plane.
Compact MCP resources provide bounded views for larger teams:
- team board and next actions
- review queue and handoff inbox
- quality gate and parallel worker state
- repo topology, repo map, workspace diagnostics, test impact, and LSP status
- provider action plans and async job results
Harness Development
This repository is the Cadre harness/package repo. Runtime sources live in
src/, master skill/protocol sources live in skills/cadre/, references live
in scripts/agent-refs/, and templates live in templates/.
Run package commands from the repository root:
pnpm --filter cadre-ai generate
pnpm --filter cadre-ai checkGenerated plugin bundles under .agents/, .claude/, and plugins/ are
rebuilt from master sources. They contain only platform manifests, MCP config,
and SKILL.md; the embedded MCP runtime is built under scripts/.
Public documentation lives in the repo-root docs/ Next.js app. Markdown page
source is in docs/content/:
