Cohere built a controlled testbed to study how teams of coding agents should be organized to balance effectiveness and efficiency, the company said.[1] The testbed uses a minimal harness inspired by mini-SWE-agent, with agents working through a bash tool in a shared workspace, one lead delegating tasks to workers via a delegate_agent tool.[1] The lead dynamically decides how many workers to spawn, what each does, and how to consolidate results, and can resume workers to preserve context for follow-up tasks.[1]
Cohere said it varied five things, including where the lead uses workers.[1] Two prompts guide the lead: one minimal, leaving task decomposition to the agent; the other imposes a structured workflow of exploring and planning, implementing, and verifying, according to the company.[1] A blocking lead waits for workers to report back; an asynchronous lead continues working and can check on or wait for updates, Cohere reported.[1] In homogeneous teams, all agents run the same model; in heterogeneous teams, a strong model runs the lead and cheaper models run workers, resembling a senior engineer directing juniors, the company said.[1]
Cohere said agent teams can do more than a single agent, but they cost more to run and usually take longer.[1]