Skip to content
BENIBIX Learn

delegate_task Tool

AI🪽 Hermes AgentHermes Tools

Also known as Hermes subagents, Hermes delegation

The Hermes tool that gives work to helper agents and gets back short notes.

Think of it like

It is like a team boss who hands out jobs and reads short notes back.

Example

Mia asks Hermes to compare five libraries. It starts five children, one per library, and reads back five short reports.

Why it matters

Each child's searching and reading stays out of the main chat, so the main context stays small.

Definition

delegate_task is the Hermes Agent tool that starts child agents to do work on their own. Each child gets a fresh context, its own terminal and the parent's tools. Only its final summary comes back into the parent's chat. Up to 10 children can run at once by default. The parent can keep talking while they work, and gets their results as a new message.

Example code

python
delegate_task(tasks=[
    {"goal": "Research topic A"},
    {"goal": "Research topic B"},
])
Two children work at once, one per topic.
delegate_task beside execute_code.

Common mistake

Expecting a child to keep a server running after it ends. Its processes stop when it finishes.

Key takeaways

  1. 1
    Fresh context each. Summary returns.
  2. 2
    10 at once. By default.
  3. 3
    Runs in the background. Chat goes on.

Compare