Delegation & Parallel Work
Delegation & Parallel Work
Start with meaning, then move to detail.
This lesson explains Delegation & Parallel Work as part of extending Hermes and connecting external tools. You will learn what it does, when it matters, and the smallest safe test that proves it works.
If you are new, do not memorize names. Focus on three questions: what problem does this solve, what access does it need, and how can you verify the result?
For practice, inspect the first example, identify its effects, run it on test data, and compare the result with the source claim.
For advanced readers, inspect When to Delegate, Pattern: Parallel Research, Pattern: Code Review, then verify failure modes and version compatibility.
Complete installation and one successful task before adding new capabilities.
A clear outcome before you read.
- Understand Delegation & Parallel Work without assumed prior knowledge.
- Separate the source description from what still needs testing in your environment.
- Read the first command and identify its inputs and outputs before copying it.
Short definitions before the details.
- Tool
- A structured action the agent can call to read or change something.
When and how to use subagent delegation — patterns for parallel research, code review, and multi-file work
What does the source say, and in what order?
- 01When to Delegate
Start here to understand the core idea or structure.
- 02Pattern: Parallel Research
Read this after the foundation, then connect it to the previous step.
- 03Pattern: Code Review
Read this after the foundation, then connect it to the previous step.
- 04Pattern: Compare Alternatives
Read this after the foundation, then connect it to the previous step.
- 05Pattern: Multi-File Refactoring
Read this after the foundation, then connect it to the previous step.
- 06Pattern: Gather Then Analyze
Read this after the foundation, then connect it to the previous step.
- 07Inherited Tool Access
Read this after the foundation, then connect it to the previous step.
- 08Constraints
Read this after the foundation, then connect it to the previous step.
- 09Tuning Concurrency and Depth
Read this after the foundation, then connect it to the previous step.
- 10Tips
Finish here to verify the result and special cases.
Copy only after you understand the effect.
Research these three topics in parallel:
1. Current state of WebAssembly outside the browser
2. RISC-V server chip adoption in 2025
3. Practical quantum computing applications
Focus on recent developments and key players.All three run concurrently. Each subagent searches the web independently and returns a summary. The parent agent then synthesizes them into a coherent briefing.
---
## Pattern: Code Review
Delegate a security review to a fresh-context subagent that approaches the code without preconceptions:The key is the `context` field — it must include everything the subagent needs:Read the first command and identify its inputs and outputs before copying it.
Match every command to your installed Hermes version, review the files and accounts it can reach, and use non-sensitive data for the first test. If this explanation differs from the source, the official source wins.