How-To Series · Episode 38 / 59 · Module 6: Working While You Sleep

Hermes · Subagent Delegation

One agent spawns many. Each gets a fresh brain and a narrow job.

After this videoYou can now parallelize research and refactors across child agents.

delegate_task spawns child agents, each with isolated context, its own terminal, and a restricted toolset; only the final summary returns, so the parent context stays clean. The agent delegates automatically when a task is big enough. The one rule: subagents know nothing, the parent must pass everything in goal + context. Hand it a tasks array to run up to 3 in parallel (results in input order). Watch them with /agents in the TUI (live tree, cost rollups, pause/kill). It is synchronous and not durable, use cron or a background command for long-running work. Leaf children are blocked from memory, send_message, delegate, and code_execution.

About these resources. Every command in this video comes from the Subagent Delegation doc.

Sources · What this video distills

1 docs page · every command below traces to one of them
Primary · delegate_task, isolated context, goal+context briefing, parallel batches, /agents, synchronous lifetime, blocked toolsets
Subagent Delegation
Read ↗

Commands shown · Copy and paste

each shows the source doc it came from
Watch subagents (TUI)from source ↗
/agents (alias /tasks)
Tune (config.yaml)from source ↗
delegation.max_concurrent_children: 3 · delegation.model: google/gemini-3-flash-preview
Durable alternativesfrom source ↗
cronjob · terminal(background=True, notify_on_complete=True)

Going deeper · Related Hermes docs

further reading · not sources of facts shown above

Next in the series · Episodes that build on this

E39
Kanban Board
E37
Set a Goal
E41
Daily Briefing Bot