Skip to main content
Charter gives a repository a lightweight constitution that both people and coding agents can use. It turns important engineering choices into version-controlled Decisions, makes those Decisions available to agents through MCP, and can require an explicit acknowledgment when governed code changes.
Charter is a governance tool, not a linter or an authorization system. It helps a team record, surface, and acknowledge decisions; repository permissions and code review remain the human approval boundary.

What Charter provides

  • Git-native Decisions. Each Decision is a Markdown file with YAML frontmatter in .charter/decisions/. Pull requests remain the review surface.
  • A generated index. .charter/DECISIONS.md is a committed, human-readable summary regenerated by charter sync.
  • Agent awareness. A small MCP server exposes tools to check applicable Decisions, search history, list Decisions, and draft proposals.
  • A CI gate. charter check maps changed files to accepted Decision scopes and, for blocking Decisions, requires a commit-trailer acknowledgment.
  • A local audit log. Mutation commands record an append-only derived SQLite log at .charter/events.db.

Architecture at a glance

The core workflow

  1. Capture a meaningful technical choice as a proposed Decision.
  2. Review it in a pull request or another human-controlled workflow.
  3. A human accepts, rejects, or later supersedes it.
  4. Agents call decision_check before significant work and cite the Decisions that apply.
  5. CI runs charter check --diff <base> and blocks uncited changes to blocking scopes.

Choose a path

Install Charter

Install the binary and initialize a repository.

Five-minute quickstart

Create, accept, and enforce your first Decision.

Decision lifecycle

Learn what proposed, accepted, rejected, and superseded mean.

Use with AI agents

Register the MCP server and establish the agent workflow.

Vocabulary

For exact command and data contracts, use the Reference.