Building
Handing work to other agents
An agent can give a task to another agent and use the answer as a tool result.
Set agents on an agent config to the ids it may hand work to. Each shows up to the model as a handoff__<name> tool that takes a task.
When the model calls it, keel starts a child run with a deterministic id, so a retried handoff finds the same child instead of starting another. The parent moves to waiting and releases its worker. When the child finishes, the parent is queued again and the child's answer comes back as the tool result.
Child runs are ordinary runs: they have their own log, show up in the dashboard and count toward your plan.