What each card shows
- Face and name of the subagent type, for example Explorer or Code Reviewer. The face blinks while the agent runs. Click it to change the type’s look (see Subagents).
- Model the agent ran on, as
provider/model. - Status: Running, Done, Failed or Stopped.
- Task: the short description the parent gave it.
- Cost, or tokens in and out when the run has no dollar cost (see below).
- Elapsed time, counting up while the agent runs.
Where it appears
- In chat. When a reply runs two or more agents, an “Agents” row appears with the reply. Click it to open the tree.
- Code mode. The Tasks pane shows the tree for the current session, next to shells and other background tasks.
- Bot threads. A bot that delegates work shows the same row and tree in its thread.
- Phones. On the ai.allternit.com phone layout and the m.allternit.com app, the tree draws as an indented list, one row per agent, with the same status, model, cost and time.
Retry a failed agent
A failed card shows the error and a Retry button. Retry asks the parent agent to run that task again. The request appears in the chat as a normal message, and the parent gets the new result, so it can carry on with its work.Cost on subscription brains
Brains that run on a subscription (a provider plan you signed in to through Connections) report $0 per run. Their cards show tokens in and out instead of a dollar amount, and the header total counts only metered cost.For developers
The tree is drawn from one call:GET /v1/session/{sessionID}/tasks on gizzi-code (proxied by allternit-api as GET /agent-sessions/{id}/tasks). Surfaces poll it every few seconds while tasks run. Source: cmd/gizzi-code/src/runtime/session/session-tasks.ts.
Each item (SessionTaskItem) has the existing fields (id, kind, status, background, description, agent, childSessionID, output, error, time) plus these fields, added without breaking older clients:
Status rules:
- Background tasks (shells, background subagents) keep the status and error stored on their task row, and also carry
model,cost,tokensandchildrenfrom theirchildSessionID. - Foreground subagents (child sessions without a task row) are
runningwhile busy. When idle, they arefailedif the latest assistant message has an error, witherrorset to a short message taken from it (data.message, thenmessage, then the error name);cancelledif that error is a user stop (MessageAbortedError); otherwisecompleted. - Surfaces map
completedto Done,failedandinterruptedto Failed, andcancelledto Stopped.