OperationsAutomation

Multi-agent teams, clones, and handoffs

Run several agents or long-lived sessions with clear ownership, shared context, and safe handoffs—not one confused chat.

In short

In CoWork OS you can split one prompt into parallel lanes with /multitask, or run a saved agent team with a lead, members and a shared checklist. Each worker is a child task with its own timeline, and it never gets more access than the task that started it. To move unfinished work to another session or machine, you export a handoff package and import it.

What you build

Parallel and specialized agents people describe when they mention multiple instances, “agents talking to each other,” or splitting “research vs execution”:

  • Role separation: planner vs implementer vs reviewer—each with explicit inputs and outputs.
  • Handoff packets: state summaries the next agent (or human) needs—no telepathy.
  • Long-running work that survives context limits because artifacts (files, tickets, notes) carry truth.

This is about coordination discipline, not stacking models for hype.

How it works in CoWork OS

  • Multitask command: /multitask 3 <request> splits one prompt into 2 to 8 lanes (4 by default). Bullets in your prompt become the lanes. Each lane runs as a child task that stays in its lane, reports files changed and calls out blockers. A lead then merges the results.
  • Agent Teams: saved teams with a lead role, members with their own guidance, a max-parallel limit and a shared checklist. Each item is todo, in progress, blocked, done or failed, and keeps the result summary of the child task that did it.
  • Mission Control: create teams under Agent teams, watch the global runtime queue, and see pending approvals in Needs you. When two tasks change the same file in one folder, the later task's writes are refused until the first one finishes.
  • Agent messaging: pick a worker in the live agent strip and send it a correction. It is queued until the worker's next turn, and you see whether it was delivered.
  • Session handoffs: Export handoff saves the goal, requirements, decisions, evidence, pending approvals and files to .cowork/handoffs/. Importing it starts a new session that asks again for every approval.
  • Session forks: Fork session copies a task's history into a new draft task, so you can try a second approach without touching the original.
  • Access profiles: a child task can narrow the parent's sandbox, network and file scope, never widen it.

Worked example

Say you need a renewal recommendation for your analytics vendor, with the inputs already in your workspace:

/multitask 3 Prepare a renewal recommendation for our analytics vendor.
- Summarize 2026 spend and seat usage from finance/analytics-spend.csv
- Compare the three quotes in renewal/quotes/ on price, term length and exit clauses
- List risks and open questions for Thursday's vendor call
  1. CoWork saves the task with a Multitask label and creates a temporary team run.
  2. Your three bullets become three checklist items, one per lane.
  3. Each lane starts as a child task with the shared context plus its own brief. Lanes wait for free slots in the global queue.
  4. Halfway through, you message the quotes lane: "Use the 36-month term as the baseline." It picks that up at its next turn.
  5. The lead merges the three lane reports into one answer. A lane that ended partial or failed is not counted as a success.

Reading files inside the workspace runs without approval cards under the default Ask for approval profile. A sub-agent has nobody to answer an approval card, so a lane action that needs one is denied instead of waiting. Nothing is sent to anyone.

You end up with one recommendation in the parent task, three lane timelines you can open and check, and a checklist showing which lane produced what. To continue on another machine, choose Export handoff in Mission Control.

Why CoWork OS is a strong fit

  • Mission Control and timelines make parallel runs legible—who did what, when.
  • Multi-LLM and collaborative modes map to “use the right brain for the subtask.”
  • Skills give each lane consistent rules (style, tools, forbidden actions).
  • Approvals prevent one agent from undoing another’s destructive change.

How to use

  1. Name roles in one sentence each; avoid overlapping mandates.
  2. Write the handoff schema: checklist + links + open risks.
  3. Single source of truth in repo or ticket—never two competing summaries.
  4. Serialize writes to shared resources (one merger for the main branch).
  5. Review handoffs like code reviews—bad handoffs compound.

Prerequisites

  • Branch or workspace isolation so parallel experiments do not collide.
  • Identity clarity: which token or session owns which action.
  • Agreement on when humans must enter the loop.

Steps

  1. Pilot two roles on a toy task; measure duplicate work.
  2. Add explicit stop conditions (“stop after plan approval”).
  3. Introduce a reviewer pass before merge or send.
  4. Log decisions that override prior agent output—audit trail.
  5. Only then add parallelism where it truly saves wall time.

Suggested prompts

  • “Produce a handoff block the next agent needs—nothing else.”
  • “List conflicts between agent A’s plan and agent B’s edits.”
  • “What single artifact should be canonical for this task?”

Launch readiness

  • Chaos test: two agents edit the same file—what prevents corruption?
  • Rollback story exists for merged bad output.
  • Humans can pause all automated lanes in one action.

Common pitfalls

  • Duplicate work because roles were vague.
  • Gossip chains of summaries—error balloons.
  • Unbounded parallel API spend.
  • Attribution blur: who is accountable for a bad customer email?

Frequently asked questions

How do I run multiple AI agents in parallel on one task?

In CoWork OS, start your prompt with /multitask, optionally followed by a lane count from 2 to 8. Put each sub-task on its own bullet and each bullet becomes a lane. Lanes run as child tasks under the global queue limit, and a lead merges their reports. For code, turn on Git worktree isolation so lanes can get separate branches.

How do you hand off work from one AI agent session to another?

Export a handoff package from Mission Control or with cowork handoff export. It holds the goal, requirement status, decisions, pending approvals, evidence, changed files checked by sha256, and up to 200 recent messages, with likely secrets removed. Import it with cowork handoff import. The new session marks imported claims as unverified and asks again for every approval.

What happens when two AI agents edit the same file?

In CoWork OS, if two tasks in the same folder change one file, the later task's writes to it are refused until the first task finishes, and Mission Control lists the overlap under Needs attention. If the tasks run in separate git worktrees, the overlap becomes a review you do before either branch is merged.