Overview

A session can start child agents with the task tool and the agent swarm. Wave B gives the parent a way to manage them: two tools, wait_agents and agent_control, plus new fields on task. An agent only acts on its own descendants. It cannot reach a sibling or a parent.

Names, fork and effort on task

Each agent_swarm item takes the same name, model and effort fields.

wait_agents

Blocks until something happens, then returns. It costs no model tokens while it waits. It returns woke (settled, steer or timeout), the children that settled (id, name, status, summary) and those still running. settled fires when the first target finishes. steer fires when the person sends a message while the parent waits, so waiting never makes the session deaf.

agent_control

One tool with an action. task_stop also cascades to descendants now.

In the apps

The task tree on Desktop, ai.allternit.com, the m.allternit.com PWA and iOS shows each child’s name, path and interrupted state. Pause sits next to Stop on a running row; Resume replaces it on an interrupted one. Gizzi Code shows wait_agents and agent_control (list, interrupt) as tool rows.

Routes

allternit-api proxies both next to cancel. A resume opens a new run row on the same child session; the earlier row keeps its history.