polytropos
aesop tells the fables; polytropos finds the way.
CLAUDE CODE · GITHUB COPILOT CLI · CODEX CLI
Policy-guided routing · evidence-gated recovery · maintained documentation
Polytropos is a cross-harness routing and workflow kit for coding agents. It helps you select an appropriate model before an expensive task, preserve a clear plan, and use independent verification with recovery based on evidence. Start in the CLI you already use.

Start here
Choose one harness. Install paths and model rosters are intentionally separate; each has its own configuration and pricing data.
| Harness | Install | First useful action |
|---|
| Claude Code | /plugin marketplace add /path/to/polytropos
/plugin install polytropos@polytropos-local CLI: claude plugin marketplace add /path/to/polytropos
claude plugin install polytropos@polytropos-local | Run /polytropos:route <task> before a substantial task. |
| GitHub Copilot CLI | python3 bin/harness_select.py detect
python3 bin/harness_select.py install --harness copilot | In Copilot, choose /agent → route, or run copilot --agent route --prompt "<task>". |
| Codex CLI | codex plugin marketplace add /path/to/polytropos
codex plugin add polytropos@polytropos-local | Open /skills and invoke $route <task>; do not rely on a bare /route alias. |
Claude Code can also use a one-off checkout with claude --plugin-dir /path/to/polytropos. Copilot’s installer refreshes only its unchanged managed files and preserves conflicting personal edits; use --dry-run to inspect destinations first. Codex packages are cached, so start a new task after installing. For Codex package preparation and optional project roles, use the Codex harness guide.
Once installed, discover the workflows in your host: Claude uses /polytropos:* commands; Copilot uses /skills reload, /skills list, and /agent (a skill name is not a native slash command); Codex uses /skills and $skill invocations. Claude’s /polytropos:setup manages its own status line; Codex’s $setup configures the native Codex status line, while $usage reads local activity. The Copilot installation guide and Codex skill guide explain the different discovery and setup paths.
The workflow in one screen

Routine work can go straight from routing to a suitable worker. Complex work gets a planning pass; failed verification carries evidence into targeted recovery and another check. Routing is advice and a policy boundary, not a claim that every host dispatch is observed. Each harness records what it can know, keeps direct user-selected runs outside the policy boundary, and leaves unverified runtime facts marked as unknown.
What you get
- A task-first router that compares suitable candidates and returns the next command.
- A plan → execute → independently verify loop for work that warrants it.
- Escalation that carries failure evidence instead of routinely starting at the most capable model.
- Local usage, freshness, graph-grounding, assessment, and benchmark-planning tools, with capability differences documented per harness.
The detailed mechanics, limits, and examples live in the documentation site, architecture guide, and complete guide & cookbook. For harness-specific behavior, see Claude skills, Copilot CLI, and Codex CLI. Why this is spec-driven development — the architect writes the spec, pinned cheaper models execute it, verification is against the spec — is in docs/SPEC-DRIVEN.md. A guide to spec-driven development itself, mapped to polytropos and back, is in docs/sdd/guide.md. The usual SDD pipeline beside polytropos's is in docs/sdd/pipelines.md, and every guardrail, with the code that implements it, the test that proves it and the stage where it acts, is in docs/sdd/guardrails.md; the documentation site carries all three.
Polytropos also has a Cursor headless harness. Its adapter and bundle are separate from the three quick starts above, and its usage remains unpriced where no rates are known.
Skills at a glance