
Anas Khan, December 2026
A few days ago I bumped experimental.subagent_depth to 2 in my OpenCode config, watched a sub-agent spin up its own sub-agents, and immediately wondered whether I had just turned a normal coding session into an expensive game of telephone (spoiler: I reverted it back to 1 on both my Mac and my Azure VM later that night).
A coding harness (Claude Code, OpenCode, Codex CLI, Hermes, Antigravity, Cursor) is the runtime loop wrapped around an LLM. The model supplies the reasoning; the harness reads files, executes shell commands, enforces approvals, manages the context window, and spawns other agents.
Every harness now advertises some mix of "sub-agents," "agent teams," or "swarms." From a dev's perspective, those labels blur four distinct setups: a single agent, a flat tree of workers, a recursive tree where workers spawn workers, and a swarm of peers coordinating through a shared board. Picking the wrong one shows up fast in your API bill, your merge conflicts, and how much time you spend cleaning up inconsistent diffs (a nightmare sometimes).
None of this meant I had the answer in advance. I read the docs and source code for eleven coding harnesses, checked the protocol specs connecting them, and dug through the public postmortems and benchmarks I could verify to see where each setup holds up and where it quietly burns tokens.
Four topologies: single agent, sub-agent trees, and swarms
Almost every coding agent setup in production falls into one of four shapes.
A single agent runs one context window in a linear loop. Every tool call and edit lands in the same history.
A flat sub-agent tree (depth 1) splits work under one parent. Your main session (depth 0) calls a spawn tool, and the harness starts a child session (depth 1) with a fresh context window, a scoped prompt, and optionally a cheaper model. The child does noisy legwork (grepping logs, reading thirty files, running tests) and hands a compressed summary back to the parent. In a basic parent-mediated setup, siblings do not talk to each other, though some harnesses (such as Claude Code) now also support named sibling messaging and inherited conversation forks.
A nested sub-agent tree (depth 2 or deeper) lets depth-1 children keep the spawn tool and launch grandchildren. Depth-1 agents become coordinators that wait on depth-2 leaves before reporting back to depth 0.
An agent swarm breaks the strict tree. Multiple peer agents run concurrently in their own sessions, claim tasks from a shared backlog, see what peers are working on, and exchange messages mid-flight. Some harnesses pair peers with a lightweight coordinator (Claude Code Agent Teams, Google Antigravity /swarm, Cline /team). Others skip the coordinator and let peers self-organize over git locks or a shared board.
| Dimension | Flat sub-agents (depth 1) | Agent swarm + shared board |
|---|---|---|
| Control flow | One parent session owns the plan | Shared task queue plus peer messaging |
| Context isolation | High by default (forked sessions optional) | Medium; peers read shared board state |
| Error containment | Strong; parent reviews before merging | Needs a verifier agent or strict locks |
| Mid-flight sync | Parent-mediated (unless sibling messaging is enabled) | Direct; peers warn and unblock each other |
| Parallel code edits | Safe only on disjoint files or separate worktrees | Built for multi-PR tracks in separate worktrees |
| Token overhead | Moderate (cold child cache, 1 summary hop) | High (N independent sessions loading full context) |
| Typical failure | Truncated summaries, slow batch joins | Conflicting patches, duplicate claims, chatter loops |
Parallel code writers break for a simple reason. As Cognition's Walden Yan laid out in Don't Build Multi-Agents (June 2025), every edit carries implicit assumptions. Two branches can merge cleanly in git and still disagree about an API, a type contract, or an error path.
From a serial loop to a planned tree
A plain chat session runs a serial loop: one context window executing step after step. That works well when every step depends on the previous one. When you hand a serial loop a bundle of independent lookups, it waits for each lookup before starting the next and fills one window with unrelated search output.
Turning your main agent into a coordinator that delegates scoped tasks to sub-agents lets independent lookups run in parallel while each worker holds only the context for its slice. Next question: what happens when a sub-agent hits a job too large for itself? You either stay flat at depth 1 (let the sub-agent explore, return its report, and wait for the main agent to spawn the next round) or raise the depth and plan the tree up front in your prompt, naming exact scopes and which sub-agents are allowed to spawn children.
Take a slightly silly non-coding example: researching every country's food and currency across the world. (Yes, if you only want a clean table of currencies, just write one script and call it a day instead of paying hundreds of LLM calls. Agents only earn their keep where sources need interpretation, like deciding what counts as a representative dish across conflicting pages.) For a planned tree across regions:
- Depth 0 (World Coordinator) spawns regional sub-agents (Americas, Europe, Asia, Africa & Oceania).
- Depth 1 (Regional sub-agents) each spawn one country sub-agent (Depth 2) per country in their region.
- Depth 2 (Country sub-agents) each spawn two leaf lookups at Depth 3 (Food and Currency) and wait for both to return. Note that running this exact three-hop tree requires
subagent_depth: 3; to stay at depth 2, combine Food and Currency inside each Depth-2 country worker.
Each parent waits on its children before returning. The USA agent finishes only after both of its leaves return. The Americas agent finishes only after every country in the Americas reports back. The World Coordinator finishes only after all regional agents return their roll-ups. If the leaves return structured summaries instead of raw pages, the World Coordinator receives only regional summaries rather than raw search scrapes.
Across all ~195 countries with separate food and currency leaves, that full tree implies roughly 591 spawned agents. The simulation below scales it down to a small subset (peaking at 36 active agents in a 5-region, 10-country, 20-leaf model) to illustrate parallel fan-out and upward roll-ups against a serial loop:
Three practical patterns to try before a swarm
Before spinning up a full swarm, three simpler setups handle most everyday multi-agent coding jobs without creating conflicting edits across the repo.
- Fresh-context review. Keep writes single-threaded, then give a second agent the
git diffin a clean session and let it read surrounding code when it needs to check a finding. In Cognition's April 2026 follow-up, Multi-Agents: What's Actually Working, Walden Yan reported that Devin Review catches an average of 2 bugs per PR on Devin-authored PRs, with roughly 58% classified as severe. A separate review history avoids inheriting the coder's earlier justifications and long-session attention drift. Google Antigravity's@verifierand Hermes Agent's/reviewalso run independent diff review in a fresh session. - Full-context advisor ("smart friend"). Instead of asking a stuck worker to summarize its own confusion (which often drops the exact clue needed), fork its full conversation to a stronger advisor model. Cognition found full-context forks useful, though its cheaper-primary experiment (using SWE-1.5 to escalate to a frontier model) remained an open problem because the weaker model was not strong enough to judge when to ask for help. The pattern worked better when both models were strong, or when the harness routes planning and execution explicitly (as in Google Antigravity's Orchestrator mode).
- Worktree-isolated parallel fan-out. When two or three agents must edit code at the same time, give each worker its own
git worktree(a separate checked-out folder linked to the same repository on its own branch) so they avoid accidental on-disk collisions, then run a verifier or CI gate before merging. Separate worktrees do not sandbox shared databases or prevent conflicting designs across branches, so review cross-branch diffs before integration. Claude Code (isolation: worktree), Hermes Agent (delegation.worktree_isolation: true), Cursor, and Antigravity (branchworkspace) all support worktree isolation.
How a common message board works
A common message board (classic AI calls it a blackboard) is an external state store where agents post tasks, claim work atomically, link artifacts, and message peers without stuffing every byte into one orchestrator's context window.
Each piece of the setup handles a different failure mode. Posting a commit hash or worktree path on the board lets a reviewer inspect the real patch instead of a truncated summary. Atomic task claims prevent two workers from grabbing the same ticket. Asynchronous scheduling avoids blocking an orchestrator on a single slow worker. In DeLM (arXiv:2606.10662, June 2026), wrapping Claude Code and Codex with a shared blackboard and async task queue improved scores by up to +17.5 percentage points over the strongest tested baseline and ran up to 2.49x faster than the underlying harness.
Harnesses build these boards out of plain local files, SQLite, or git:
- Google Antigravity
/swarm(docs) runs a shared team board for named workers (@parser,@api-tests,@docs), usually adds a@verifierper two to four workers, and includes a@monitorthat wakes if everyone stalls. Workers post on one ordered board rather than private DMs; idle workers sleep for zero tokens until mentioned with@name,@group, or@all. - Claude Code Agent Teams (docs) stores a file-locked task list in
~/.claude/tasks/{team-name}/(with dependency unblocking) and per-agent JSON mailboxes in~/.claude/teams/{team-name}/inboxes/{agent-name}.json. - Hermes Agent Kanban (docs) backs independent OS worker processes with a local SQLite database (
~/.hermes/kanban.db) supporting card claims, comment threads, PR completion contracts, and dedicated git worktrees. - Cline Multi-Agent Teams (docs) persists its task board, mailboxes, and mission log in
~/.cline/data/db/teams.dbso teams survive session restarts. - Anthropic's 16-agent C compiler run (report, Feb 2026) skipped an orchestrator altogether. Sixteen Claude Opus 4.6 containers coordinated through a bare git repo and text lock files under
current_tasks/, spending nearly $20,000 (2B input tokens) across two weeks to write a 100,000-line Rust C compiler. When all 16 hit one monolithic Linux kernel compile bug, they overwrote each other's fixes until the team added a GCC oracle to isolate independent subsets. - Gas Town and Beads (gastown, beads) replace markdown plans with a Dolt-backed (versioned SQL) dependency graph and git-backed mailboxes built for 20 to 30 concurrent agents.
The obvious question is how you keep a shared board from turning into yet another Jira to maintain. The short answer is that you never maintain it by hand: treat the board like a build cache or a temporary git branch, owned entirely by the harness. Antigravity /swarm spins up a fresh board per run and discards it when the coordinator finishes; Claude Code Agent Teams auto-creates ~/.claude/tasks/{team-name}/ and garbage-collects it after cleanupPeriodDays (30 days by default); Anthropic's C compiler agents deleted each current_tasks/ lock file in the same commit that landed the fix. Persistent SQLite boards like Hermes Kanban or Cline teams.db only make sense when a job spans days and restarts, and even there the agents create, claim, comment on, and close cards through tool calls rather than human grooming.
Sub-agents spawning sub-agents: production numbers
Nested delegation adds failure modes fast, especially when agents edit shared code.
In Hermes Agent's 1,393-agent postmortem (evals/postmortem/README.md, issue #103563, Sept 2026), one root session spawned 1,393 descendants and racked up $19,302.59 (yes, nineteen thousand dollars on one run). Depth-2 sessions accounted for 65% of that run's spend. Across 266 orchestrators, Hermes recorded 332 delegate_task timeouts across 234 sessions (all in nested delegations), with 93 results carried in its timeout analysis and 242.6 hours spent sleeping after the first timeout. Over half of rolled-up summaries (123 of 220) were truncated, and synchronous batch joins withheld finished child work for 300 child-hours at depth 1 and 52 child-hours at depth 2.
Controlled benchmarks point in the same direction. Google Research and MIT (arXiv:2512.08296, Kim et al., Dec 2025 / Apr 2026) tested 260 configurations across 6 benchmarks and observed an empirical threshold: once a single-agent baseline exceeded roughly 45%, adding multi-agent coordination yielded diminishing or negative returns. On their 20-instance SWE-bench Verified subset, every tested multi-agent topology averaged 2% to 15% lower than the single-agent baseline. On sequential planning (PlanCraft), multi-agent setups dropped 39% to 70%, and unchecked independent agents amplified trace-level errors by 17.2x versus 4.4x for centralized coordination. Separately, Anthropic's production Multi-Agent Research System stayed flat at depth 1, beating single-agent Opus 4 by 90.2% on internal research evaluations while noting that coding tasks with shared state and tight edit dependencies are a poor fit for multi-agent setups.
Where recursion and large fan-out have shown clear benchmark gains is on read-heavy workloads over millions of tokens or wide search spaces, driven by scripts or RL-trained orchestrators:
- Recursive Agent Harnesses (arXiv:2606.13643, June 2026) and Recursive Language Models (arXiv:2512.24601, Dec 2025 / May 2026) let a parent write an executable script that recursively fans out sub-harnesses over 1K to 4M+ token inputs. On Oolong-Synthetic (199 samples, a long-context reasoning benchmark), holding the model fixed at GPT-5, RAH raised the Codex baseline from 71.75% to 81.36% (and reached 89.77% on Claude Sonnet 4.5).
- Kimi K2.5 Agent Swarm (Moonshot AI) trained a Parallel-Agent Reinforcement Learning (PARL) orchestrator directly inside Kimi K2.5 to dynamically instantiate up to 100 frozen sub-agents across 1,500 tool calls with no predefined roles. On wide-search workloads, Moonshot reported up to a 4.5x wall-clock speedup (roughly 78% faster) compared to single-agent execution.
Contracts and protocols: ACP, MCP, A2A, and local boundaries
Local sub-agents do not require a network agent protocol like A2A. A harness coordinates local children through its own session APIs, subprocesses, sockets, or shared local files and SQLite databases (for example, OpenCode delivers child completions back into the parent session as <background-result> events). Standardized wire protocols sit at the boundaries around the harness.
Three protocols cover those boundaries:
- Zed ACP (Editor <-> Harness) is a JSON-RPC contract over
stdio(with HTTP/WebSocket remote support in progress) that gives editors one interface for any compliant coding agent, much like LSP did for language servers. It reuses MCP JSON representations where possible and adds coding UI types for streaming Markdown, structured diffs, permission prompts, and editor-managed sessions. Editors including Zed, JetBrains IDEs, Neovim (CodeCompanion,avante.nvim,agentic.nvim,hermes.nvim), Emacs (agent-shell.el), and VS Code (via Exo) speak ACP, while Claude Agent, Codex CLI, Cline, Cursor / Grok Build, Hermes Agent, and OpenCode expose ACP servers or adapters. (Quick naming sanity check, because tech loves reusing three-letter acronyms: IBM/BeeAI also had an "ACP" for agent-to-agent messaging, which has since merged into A2A.) - MCP (Harness <-> Tools & Data) connects an agent to external tools and data sources (git, databases, browsers, issue trackers, docs). An MCP server advertises its tools as JSON schemas, and the harness invokes them over
stdiolocally or Streamable HTTP remotely. - A2A (Agent <-> Remote Agent) standardizes delegation to an external agent hosted elsewhere over HTTP using JSON-RPC, gRPC, or HTTP+JSON/REST bindings. Remote agents advertise capabilities in a JSON Agent Card, and callers send messages or tracked tasks without needing access to the remote agent's internal prompts or memory.
| Layer | Protocol / Contract | Transport | What it standardizes | Primary spec |
|---|---|---|---|---|
| Editor <-> Harness | Zed ACP | JSON-RPC over stdio (HTTP/WS WIP) | Session lifecycle, diffs, Markdown, permissions | agentclientprotocol.com |
| Harness <-> Tools | MCP | JSON-RPC over stdio or Streamable HTTP | Typed tool schemas, resources, prompts | modelcontextprotocol.io |
| Harness <-> Local workers | Harness-internal API / Board | Session APIs, JSON mailboxes, SQLite, git | Optional output schemas, task claims, worktrees | Harness internals |
| Agent <-> Remote agent | A2A (v1.0) | HTTP (JSON-RPC, gRPC, or REST) + Agent Cards | Discovery, messages, and optional tracked tasks | a2a-protocol.org |
For call semantics inside custom agent code, OpenAI's move from the archived openai/swarm repo to the OpenAI Agents SDK settled on two patterns: agents-as-tools (Agent.as_tool(), where the parent keeps control) versus handoffs (transfer_to_<agent>, where the specialist takes over the turn).
One protocol cost to watch: Varshney's handshake benchmark (arXiv:2610.30151, Aug 2026) measured that capability metadata takes 24 to 107 tokens per capability. When all 200 schemas from a large MCP server are loaded into context for every spawned child, that metadata alone consumes 4.8k to 21.4k tokens (roughly 2.4% to 10.7%, up to ~11% of a 200k window) before the worker reads a line of code.
Models, prompt caches, and token cost
Anthropic measured single agents at roughly 4x chat tokens and flat multi-agent research runs at 15x (Anthropic). In Hermes Agent's $19,302.59 postmortem, cache_write alone accounted for $11,159.76 (57.8% of the bill) versus $3,587.17 for cache_read.
A fresh sub-agent usually starts with a different system prompt and tool list than its parent, so it misses the parent's KV prefix cache, pays a cold write on turn one, and often drops into a shorter TTL bucket (Claude Code's caching docs put sub-agents and teammates on a 5-minute TTL even on plans where the main thread gets 1 hour). By contrast, a same-model conversation fork (/subtask in Claude Code, context: "fork" in OpenClaw) can reuse a warm matching prefix, and Claude Code holds same-prefix workflow fan-outs for up to 5 seconds so siblings can hit the first worker's newly written cache. In Hermes's 20-worker concurrency probe, unpinned OpenRouter routes saw a 9.8% full cache collapse versus 0% (0 of 161) when pinned to one upstream provider.
The most effective cost lever is asymmetric model routing: spend frontier reasoning where ambiguity is high, and test smaller models on tightly scoped leaves.
Go back to the World Geography example. You do not have to write a custom scraper by hand, and you do not need a top-tier reasoning model running every leaf lookup. Let the main agent spend frontier reasoning once up front: pick the right dataset or API, write the small fetch-and-parse helper script, and pass that tool plus a strict brief down to the leaves. For deterministic leaf work, test a smaller model against the frontier model on a few samples before switching the whole batch.
Across the three major commercial lineups in December 2026, the tiers do not map one-to-one, and this is not a cross-vendor ranking, but each family exposes a top-to-bottom split:
- Anthropic Claude: Mythos / Fable and Opus at the top for planning, architecture, and hard debugging; Sonnet for everyday implementation and diff review; Haiku for simple, tightly scoped chores like renaming files or running a lookup script.
- OpenAI GPT: Astra and Sol at the top for planning and orchestration; Terra in the middle; Luna (
gpt-6-luna) for high-volume, narrowly scoped leaf workers. - Google Gemini: Argon and Carbon / Neon at the top for planning and multi-file reasoning; Hydrogen for fast, cheap execution (the pairing Antigravity's Orchestrator mode automates).
For specialized workloads, Kimi K2.5 provides RL-trained swarm orchestration, and local small language models can cut frontier API spend on routine scans: in Delegent (arXiv:2611.33098, Nov 2026), wiring a local 27B FP8 SLM under a frontier Claude Code orchestrator cut frontier API spend by 67% on its long-horizon coding tasks and 59% on agentic search without losing accuracy (a 2B laptop SLM cut coding frontier spend by 66%). Note that Delegent measures frontier API spend on those evaluated tasks rather than all-in local compute cost. Similarly, Hermes's 65% depth-2 spend share is a warning about that run's workload and implementation, not a guarantee that flattening any job cuts bills by 65%.
The December 2026 harness matrix
Here is what eleven coding harnesses ship as of December 2026, checked against their docs and source:
| Harness | Key depth / swarm knob | Primary docs & source |
|---|---|---|
| Claude Code | CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH (default 3) · Agent Teams |
Subagents, Teams |
| OpenCode (v2) | experimental.subagent_depth (default 1) · Code Mode agent() |
subagent-depth.ts, subagent.ts |
| OpenAI Codex CLI | agents.max_depth (default 1) · max_concurrent_threads_per_session |
Codex Subagents, openai/codex |
| Hermes Agent | delegation.max_spawn_depth (default 1) · SQLite kanban.db |
delegate_tool_config.py, Delegation |
| Google Antigravity | /swarm (@mention board, 0-token sleep) · /teamwork · Orchestrator |
Swarm, Teamwork, Subagents |
| Kimi K2.5 / Kimi Code | PARL model-native fan-out (up to 100 workers, 1,500 calls) | Kimi K2.5 Blog, Kimi Code |
| Cursor (Grok Build) | Fixed depth 2 · Cloud VMs & local worktrees | Subagents |
| OpenClaw | maxSpawnDepth (default 5) · Code Mode Swarm (32 concurrent / 200 cap) |
Nesting, Swarm |
| Cline | spawn_agent · /team SQLite teams.db board + mailbox |
Subagents, Teams |
| Amp | Parallel steerable Task (inherits thread model) |
Models & Subagents |
| Roo Code (archived May 2026) | Sequential Boomerang Tasks (new_task) |
Boomerang Tasks |
The missing features matter when choosing a harness:
- No shared board or peer messaging: OpenCode, Codex CLI, Cursor, OpenClaw, Amp, and archived Roo Code.
- Nesting off by default: OpenCode, Codex CLI, and Hermes allow nesting as an opt-in but default to depth 1 (OpenCode also has no concurrency cap on spawned sub-agents, so raising
subagent_depthglobally carries extra cost risk). - No cheaper worker routing on built-in sub-agents: Amp's
Taskalways inherits your main thread model, and Cline's CLIspawn_agentinherits your session model (per-session models require@cline/sdkteams).
What I run day to day
I set experimental.subagent_depth back to 1 in my OpenCode config on both my laptop and my Azure VM. Start with three choices: depth, worker model, and isolation.
Use a single agent for bug fixes, tight refactors, and sequential debugging where every edit depends on the last one. You skip inter-agent coordination overhead and keep one warm cache.
Use flat depth-1 sub-agents when work splits cleanly: exploring three parts of a repo in parallel, running a fresh-context diff review, comparing libraries, or editing disjoint files. Pin smaller models to read-only workers and test their output before scaling up.
Raise depth to 2+ only per project or inside scripted fan-outs (/run-workflow or Code Mode) when a worker has to process huge log collections or wide web search, and keep the leaves read-only or sandboxed.
Reach for a shared-board swarm (Antigravity /swarm, Claude Code Agent Teams, Hermes Kanban, Cline /team) when a project spans multiple interdependent PRs or packages where workers need separate git worktrees, atomic task claims, and a verifier checking diffs mid-flight.
Copy-paste config cheat sheet
Examples for limiting depth, choosing worker models, and isolating parallel writers (concurrency controls vary by harness; replace placeholder model IDs with what your provider exposes):
OpenCode v2 (~/.config/opencode/opencode.jsonc): omit experimental.subagent_depth (defaults to 1; OpenCode has no concurrency cap key) and pin a cheaper model on read-only agents:
{
"agents": {
"explore": {
"mode": "subagent",
"model": "<your-provider>/<fast-model-id>"
}
}
}
Claude Code (.claude/agents/ + env): cap depth and concurrency via env vars, keep a diff reviewer read-only without a worktree (since new Claude Code worktrees branch from the default branch and do not carry uncommitted changes), and reserve isolation: worktree for parallel code writers:
export CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH=1
export CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS=4
---
name: reviewer
description: Clean-context diff reviewer (pass the diff or commit range in the prompt)
model: sonnet
tools: Read, Grep, Glob, Bash
---
Review the provided git diff for logic bugs, edge cases, and security issues. Do not edit files. Return file and line references only.
---
name: parallel-writer
description: Isolated code editor running in its own git worktree
model: sonnet
isolation: worktree
---
Implement the scoped change in this worktree and run the relevant test suite before returning a summary and branch name.
OpenAI Codex CLI (~/.codex/config.toml): keep max_depth = 1, cap concurrent threads (max_threads is the legacy alias), and route leaf work to a fast model:
[agents]
max_depth = 1
max_concurrent_threads_per_session = 6
default_subagent_model = "gpt-6-luna"
Hermes Agent (~/.hermes/config.yaml): flat depth, bounded concurrency, worktree isolation, and a cheaper worker model:
delegation:
max_spawn_depth: 1
max_concurrent_children: 10
worktree_isolation: true
model: "<your-fast-worker-model>"
References
- Protocols: Agent Client Protocol (Zed ACP) (agents, clients); Model Context Protocol (MCP); Agent2Agent (A2A v1.0); IBM/BeeAI ACP -> A2A; Varshney, The Cost of Saying Hello: Handshake Overhead in AI Agent Protocols (arXiv:2610.30151, Aug 2026).
- Lab reports & postmortems: Anthropic, How we built our multi-agent research system (June 2025) and Building a C compiler with parallel Claudes (Feb 2026); Cognition (Walden Yan), Don't Build Multi-Agents (June 2025) and Multi-Agents: What's Actually Working (Apr 2026); Hermes Agent 1,393-agent postmortem (
evals/postmortem/README.md) (Sept 2026); Moonshot AI, Kimi K2.5 & Agent Swarm (PARL). - Engineering benchmarks: Kim et al. (Google Research / MIT), Towards a Science of Scaling Agent Systems (arXiv:2512.08296, 2025/2026); Mao et al., DeLM: Decentralized Multi-Agent Systems with Shared Context (arXiv:2606.10662, June 2026); Zhang et al., Recursive Language Models (arXiv:2512.24601, 2025/2026); Lumer et al., Recursive Agent Harnesses (arXiv:2606.13643, June 2026); Gu & Lin, Delegent (arXiv:2611.33098, Nov 2026).
- Harness docs & source: Claude Code subagents, agent teams, prompt caching; OpenCode
subagent-depth.tsandsubagent.ts; OpenAI Codex subagents and Agents SDK; Hermes delegation and Kanban; Google Antigravity/swarm,/teamwork,subagents; Kimi Code; Cursor subagents; OpenClaw nesting and swarm; Cline teams; Amp; Roo Code; Gas Town and Beads.
Comments
Join the discussionThe message-board idea is the part I'd want to see in practice — sub-agents are easy to spin up, but without a shared record of what each one tried, they just repeat each other's work. How do you keep that board from becoming another thing to maintain?
I just updated the post to cover this. The trick is treating the board like a build cache instead of a human Jira: Antigravity /swarm creates a fresh board per run and discards it at the end, Claude Code Agent Teams auto-cleans ~/.claude/tasks/ after 30 days, and Anthropic's C compiler agents deleted each lock file in the same commit as the fix. Even on persistent SQLite boards like Hermes Kanban or Cline, the agents create, claim, and close cards via tool calls so you never groom it by hand.



