Skip to content
HermesGrowth

Sub-Agents & Delegation

Complex problems require division of labor. Hermes Agent can spawn specialized sub-agents that work in parallel, each focused on a specific domain or task.

What is Hierarchical Agent Delegation?

Hierarchical agent delegation is an architecture where a parent agent breaks complex tasks into subtasks and assigns them to specialized child agents. Each sub-agent operates autonomously within its domain, reporting results back to the parent for synthesis. This pattern mirrors how human organizations scale expertise.

Delegation Patterns

Domain Specialization

Create sub-agents for specific domains — one for frontend code, one for database queries, one for API design. Each develops deep expertise in its area.

Parallel Research

Spawn multiple sub-agents to research different aspects of a problem simultaneously, then synthesize their findings into a comprehensive answer.

Quality Assurance

Use a sub-agent as a reviewer that checks another sub-agent's work for errors, security issues, or style violations before presenting results.

Learn More

Frequently Asked Questions

What is a sub-agent in Hermes?

A sub-agent is a specialized instance of Hermes that handles a specific task or domain. The parent agent delegates work to sub-agents, monitors their progress, and synthesizes results into a coherent output.

Can sub-agents run in parallel?

Yes. Hermes supports parallel sub-agent execution, enabling multiple tasks to proceed simultaneously. Results are aggregated and deduplicated before being presented to the user.

Do sub-agents share memory?

Sub-agents inherit read access to the parent agent's persistent memory but write to isolated scratch spaces. This prevents conflicts while enabling context-aware delegation.

Can sub-agents use different models?

Yes. Each sub-agent can be configured with its own model backend, context window, and temperature. Use lightweight models for simple tasks and powerful models for complex reasoning.