Overview
Active chats
Leases
Files
.agentcollision/ directory, and acquires a lease on that specific file. Different files never conflict.
Events
Messages
agc msg send (or the legacy agentcollision.handoff.send tool). The recipient sees the message on its next PreToolUse hook, naturally, no human in the loop. Click any thread to view the full conversation.
Team
Roles
Help & reference
docs.agentcollision.comA brief reservation on a part of your codebase. When an AI chat is about to edit a file, AgentCollision checks if any other chat is currently editing in the same area. If yes, the edit is blocked (preventing a collision). If no, the reservation is granted and the edit proceeds. Reservations last only as long as the edit — typically under a second — then automatically release. A chat with "21 edits" simply means it made 21 file changes, not that it held 21 reservations simultaneously.
Each file in your repo is an independent lease. Two chats editing different files run in parallel; two chats editing the same file serialize. No configuration needed.
A single Claude Code session (or Cline, Windsurf, Cursor -- any tool that's wired up to AgentCollision's hook). Each session has a unique agent_id the daemon uses to track who holds what.
Claude Code's PreToolUse mechanism. Before any Edit/Write/Bash tool call fires, Claude Code calls AgentCollision. AgentCollision decides allow or deny. The hook is installed via agc install-hooks.
Reservations only exist during the instant a file is being written. Between edits — while the AI is thinking, reading code, or waiting for you — nothing is reserved. If Edits coordinated is non-zero, AgentCollision is working. Your chats just aren't writing at this exact moment.
Team Analytics
Account
agc login may need to be re-linked too.Machines
curl -fsSL https://install.agentcollision.com | sh
agc login
~/.agentcollision/team.toml as hmac_key_b64. Or run agc team dashboard to auto-fill.Daemon
Set company standards for the whole workspace on the Team page — lock a coordination or governance setting there and every member's daemon is forced to use it. Per-machine preferences (and any unlocked settings) are still configured locally at localhost:7777/ui/settings.
- Lease TTL
- Cooldown duration
- Orphan detection threshold
- Log level, auto-start, telemetry
- Git context injection
- Worktree allocation & cleanup
- Track reads, allow revoke
agc daemon manually each session.gh CLI. Skipped if not installed.Worktrees
agc worktree clean to garbage-collect.
Policy
~/.agentcollision/policy.yaml + <repo>/.agentcollision/policy.yaml.
Most-restrictive wins. Use the builder below to author new rules — they save to your machine policy and apply immediately. For repo policy, copy the exported YAML into your repo's .agentcollision/policy.yaml and commit it.
Priority
Protection
ac proxy (API-key agents).
Coordination
ac msg send). Click a message row to open its thread.
Sessions
agent_id) or remove a session that's gone stale.