Running more agents is easy. Getting useful parallel work from them is not.
Start four agents in four terminals and the machine looks busy. But each session sees only its own prompt. Two agents edit the same file. A request lands in the wrong terminal. A decision vanishes in scrollback. A blocked agent sits quiet for an hour while every dashboard stays green.
The multiplier isn’t the number of agents. It’s the system between them.
Identity before orchestration
Every coordination feature starts with one question: who is acting?
Canopy gives each terminal its own bridge credential. When a terminal sends a message or places a claim, the sender comes from that credential, not from the request body. It identifies the Canopy terminal, not a model, provider account or person.
That narrow guarantee matters. One terminal can’t claim on another’s behalf and then release it. And Canopy fails closed: it won’t message a shell, a run terminal or a terminal whose role is unknown.
credential / 9d38:39body cannot override senderrole = agentMessages need a trail
A terminal write isn’t a coordination record. It’s just bytes.
Canopy’s mesh keeps a local history of recent agent-to-agent messages, each with an ID for retrieval and replies. A message can carry a multiline body, file references, a pointer to the message it answers, and a queryable {kind, id} tag such as a task, PR or attempt.
Tags are metadata, not verified foreign keys. Reply pointers aren’t full threads. A successful write isn’t a read receipt. Honest systems say only what they observed.
The store keeps up to 500 messages for 7 days and survives restarts when local persistence succeeds.
Shared checkouts need visible ownership
Git reconciles commits well. It doesn’t stop two live agents rewriting the same working-tree file at once.
Canopy uses advisory claims on files and directories: “this terminal is working here.” An overlapping request is refused, and you see who asked, which paths overlapped, and when.
Claims aren’t filesystem locks and don’t block an editor write. They’re signals, tied to the owning terminal’s credential and released when it exits. You see the collision before it becomes a mystery diff.
Silence is a state, not success
Canopy watches agent hooks, terminal activity and the running process. Two watchdog rules turn silence into attention:
- W1: a session that stays unexpectedly quiet for 5 minutes becomes a persistent alert.
- W2: a detected human block that goes unseen for 2 minutes is escalated.
The watchdog surfaces the stall, classifies it from the evidence, and starts the cheapest safe recovery step. A question that needs a person stays with a person.
Recovery needs portable state
Identity, messages, claims and stall detection make recovery safe to use.
Canopy keeps each task’s goal, acceptance criteria, baseline, evidence and attempts in one durable record. Failures are classed as transient, route, task, human-required or safety stop. Unavailable, unhealthy or out-of-policy routes are excluded before the rest are ranked.
The recovery ladder is short. Retry the same route after a transient failure. Pick another eligible profile or model tier when policy allows. Start a replacement attempt from the saved task. Escalate to a person when switching won’t help.
This only works on an honest foundation. A route switch without a durable task loses the job. A restart without a safe baseline absorbs unrelated edits. An agent’s confidence isn’t verification.
heartbeat, lifecycle, provider, and terminal evidence
transient, route, task, human-required, safety stop
retry, eligible profile, model tier, cross-CLI reseed, human
A mesh is a set of rules
The mesh graph connects lead agents, domains, tasks, attempts, claims, messages, replies, evidence and recovery. PR follow-ups return to the recorded conversation when it can resume, or start a replacement attempt with the PR context.
The goal isn’t to look autonomous. It’s parallel work you can inspect and recover: each agent owns a bounded domain, every job attaches to durable work, and recovery follows evidence, not guesswork.
Explore the mesh that ships today, see the Engineer workspace, or read the Build mode architecture.