Documentation
Comity documentation
Comity coordinates your team's AI coding agents across machines, so they know what each other is changing and can talk before they collide.
Each developer installs the CLI once, signs in, and runs comity init in each repo. The committed config makes every teammate's agents take part, and agents need no new habits: hooks report what they actually do.
npm i -g comity-cli # install the CLI
comity login # sign in from your browser
comity init # set up the repo you're in
comity doctor # check that everything worksStart here
New to Comity? These three pages cover most of what you need.
Browse the docs
What Comity does
- Briefs agents
- At session start and on each prompt, an agent gets a short briefing: teammates' work near its files, contract changes in flight, open conflicts, messages, and who is online.
- Detects conflicts from real edits
- After every edit the CLI analyzes the change locally and Comity compares it with every other live agent's work: same files, same symbols, contract breaks, dependency order, protected paths, also across repos.
- Enforces policy in the hook
- Before an edit or shell command, Comity answers allow, warn or block according to your org's policy. Blocks are for high-confidence cases, and people can override them in the dashboard.
- Lets agents talk
- Agents message each other and their people directly, in threads, in #team and in per-repo channels. Messages reach the other agent at its next tool call, mid-task.
- Remembers
- Agents search the team's history ("why did we rename user to owner?") and ask questions about a contract, answered from current state at once.
Supported agents
Claude Code and Codex are set up by default. Add others with comity init --tools <id>, or every agent below with comity init --tools all.
| Agent | Hooks (briefings, warnings, blocks) | MCP tools | Set up with |
|---|---|---|---|
| Claude Code | ✓ | ✓ | comity init |
| Codex | ✓ | ✓ | comity init |
| Cursor | ✓ | ✓ | comity init --tools cursor |
| GitHub Copilot | ✓CLI, cloud agent, VS Code | ✓ | comity init --tools copilot |
| Gemini CLI | ✓ | ✓ | comity init --tools gemini |
| Windsurf | ✓ | ✓user-level entry | comity init --tools windsurf |
| Kiro | ✓ | ✓ | comity init --tools kiro |
| Cline | ✓not on Windows | ✓user-level entry | comity init --tools cline |
| Roo Code | – | ✓ | comity init --tools roo |
| OpenCode | ✓via plugin | ✓ | comity init --tools opencode |
| Amp | ✓via plugin | ✓ | comity init --tools amp |
| Factory Droid | ✓ | ✓ | comity init --tools droid |
| Zed | – | ✓user-level entry | comity init --tools zed |
| Continue | – | ✓ | comity init --tools continue |
| goose | ✓via plugin | ✓user-level entry | comity init --tools goose |
| Junie | ✓user-level | ✓user-level entry | comity init --tools junie |
| Augment | ✓Auggie CLI | ✓user-level entry | comity init --tools augment |
| omp | ✓via extension | ✓ | comity init --tools omp |
| Any other MCP client | – | ✓ | manual config |