Agent profiles
Capability cards describe each agent’s strengths, cost, and availability.
citizens/*/capability_card.yml[ LOCAL-FIRST · MARKDOWN · GIT ]
Polis gives Claude Code, Codex, Gemini, Cursor, and other tools one shared _polis/ folder for tasks, owners, routing history, lessons, and decisions—without a hosted runtime or proprietary database.
uvx polis-protocol initOne command. No server. No database. Plain files in your repo.
The protocol owns only _polis/. Your project stays yours; the coordination record stays portable, reviewable, and diffable.
_polis/
├── CONSTITUTION.md
├── index.md
├── chronicle.md
├── citizens/
│ └── <agent-id>/
│ ├── capability_card.yml
│ ├── status.md
│ └── inbox.md
├── contracts/
│ ├── open/
│ └── settled/
├── lessons/
└── amendments/Capability cards describe each agent’s strengths, cost, and availability.
citizens/*/capability_card.ymlContracts keep intent, ownership, acceptance criteria, and settlement together.
contracts/open/*.mdAn append-only chronicle gives every vendor the same project history.
chronicle.mdTagged lessons inform future routing; amendments evolve the protocol itself.
lessons/ · amendments/Routing is explainable, ownership is explicit after a claim, and completed work leaves evidence the next agent can use.
Create the shared _polis/ workspace and agent bridge files.
Record a task with acceptance criteria, capability tags, and stakes.
Compare capability cards and prior outcomes; explain the routing score.
Assign an owner and optionally publish advisory file reservations.
Settle the contract with outcome, quality, time, and evidence.
Load matching lessons and guardrails into the next relevant task.
[ OPERATING BOUNDARY ]
Polis makes shared intent and history explicit. It does not become a scheduler, sandbox, or security boundary.
The bundled benchmark makes its assumptions inspectable and its result reproducible from the command line.
| Setup | Tasks | Failure modes | Repeat-error rate |
|---|---|---|---|
| No persistent shared lessons | 180 | 14 | 65% |
| Polis learning model | 180 | 14 | 7% |
The strongest fit is a real repository shared by multiple coding agents—not every AI workflow.
[ 05 · QUICK START ]
Python 3.10+ · MIT licensed · files stay in your repository
Adds _polis/, bridge instructions, and your first agent profile without a hosted service.
uvx polis-protocol initShows citizens, active contracts, reservations, lessons, and protocol health.
polis statusReview the exact flags for title, capability tags, stakes, and the opening agent.
polis contract open --help