The Core Problem
When two developers use AI coding agents in parallel, those agents have no awareness of each other. They make independent decisions, edit the same files simultaneously, and contradict each other’s architecture — all without knowing it. The conflict surfaces at merge time.The Three Layers
Enagrams solves this with three layers. Most teams never interact with layers 2 and 3 directly — the hooks do the work.1. Automatic coordination (hooks)
IDE hooks fire on every relevant event. No manual MCP calls needed.2. Explicit context (MCP tools)
Agents call 26 MCP tools when they need richer context or want to record something:sync, decide, search, ask, learn, plus workstream, task, convention, negotiation, and test-gate tools.
3. Auto-sync (enagrams watch)
Once a change clears the test gate on a workstream branch, enagrams watch on other developers’ machines fetches and applies it automatically. Nobody manually pulls a teammate’s in-progress branch.
What an agent knows at session start
A briefing like this is injected automatically:sessionStart provides it.
Conflict detection
Beyond file/symbol locking,sync returns advisory signals:
| Signal | Type | Description |
|---|---|---|
| Same file/symbol reserved by another session | Conflict | Hard block via preToolUse |
| Another agent working in same directory | Warning | Soft warning in sync |
| File recently edited by another agent on a different workstream | Warning | Soft warning in sync |
| Stale decision covering files you’re editing | Warning | Surfaced via decisions_stale |
Session model
Sessions are keyed byconversation_id (Cursor) or session_id (Claude Code/Codex), so:
- Multiple Cursor tabs → independent sessions, even when sharing one MCP process
- Sessions auto-expire after 5 minutes of inactivity (no hook events)
- Sessions appear in the dashboard with agent type, current task, workstream, and touched files/symbols