One charter. Every agent. A context that keeps improving.
The charter — the codified context of your repository — lives in one
place, .agents/, indexed at .keystone/INDEX.json. It is the
first level of the habitat your agent works in: keystone manages the
context; it never runs the agent.
Your standards for coding agents live in CLAUDE.md,
.cursorrules, Copilot instructions, and whatever the next agent reads.
Those copies drift apart. Everything in a root file loads into every
session, relevant or not. And a check you wrote as a hook blocks the agent on one host
and does nothing on the next.
Keystone keeps the charter in one indexed place under .agents/ (plus the
repo docs you adopt with charter.roots). Agents query it on demand through
the CLI or MCP; people browse it in the dashboard. Nothing loads eagerly but the index.
Agent-agnostic
Claude Code, Cursor, Copilot, Codex, opencode, Continue, Cline, Goose, Pi, and Aider all
read the same charter — through the CLI (keystone charter query), the MCP
server (keystone_charter_query), or the dashboard (keystone web
serve). Host-native files are an opt-in compat layer via
keystone target add.
Easy to manage — especially for teams
The context stays in one manageable place regardless of which host each developer
prefers. At the team level, a policy is the plugin: vendor a versioned
bundle once (keystone policy add org/charter@v2) and every adopting repo gets
its rules, references, corpus, skills, and hooks through the cascade.
The charter is dynamic
Keystone keeps the context honest and improving: keystone drift names stale
primitives; keystone learn → synthesize promotes accepted findings
into rules; keystone audit reports pruning candidates; and
keystone charter move / promote / demote relocates context to the layer where it
belongs (a rule that is really a check becomes a hook). All of it is on the CLI and MCP, so
scripts and agents drive it too.
Your agent's habitat, level one
Keystone is not a harness — it never runs the model or acts as an engine. It manages the codified context (rules, references, corpus, hooks, permissions, evals, skills, commands, agents, documents) that whatever harness you run reads. What must execute deterministically belongs to hosts and CI, which the charter can name but never replace.
Install, init, query
One Homebrew tap, one init, then ask the charter what applies to the task at hand.
$ brew install tacoda/tap/keystone # or grab a release binary $ keystone init # writes .agents/, .keystone/, keystone.json, AGENTS.md $ keystone charter query cmd/... # what context applies here? $ keystone mcp install --agent claude-code # same reads over MCP $ keystone web serve # dashboard: primitives, drift, flywheels