When an agent uses a subagent
Each handoff loses some context, so an agent hands work to a subagent only when one of these is true:- The work can run in parallel. For example, two searches in unrelated parts of a codebase, or several scoped changes at once.
- The work needs a fresh context. For example, a large search, long logs, or a browser or computer session whose details the agent doesn’t need to keep.
- The work needs different tools. For example, a browser or a computer that the agent doesn’t use itself.
If an agent still asks for
planner, debugger, docs-writer, scribe or plan, gizzi tells it to load the matching skill. Past runs of these types keep their faces in the run tree.
With Claude Code or Codex as the brain
When a session runs on an installed CLI such as Claude Code or Codex, that CLI uses its own subagent tool. gizzi gives it the same rules:- The built-in subagents, and your own subagents from gizzi config, become the CLI’s subagents.
- The CLI’s system prompt gets the delegation rule above.
- The CLI loads gizzi’s built-in skills, such as
planninganddebugging, through theskilltool on theallternitMCP server. - If the agent’s config denies
task, gizzi also turns off Claude Code’s ownAgenttool.
The built-in subagents
The older names still work:
general runs Builder and explore runs Explorer.
Model classes
- Small: the cheapest model your provider offers. Subagents with no class set use Small.
- Standard: the same model as the agent that started the subagent.
- Deep: the strongest model your provider offers.
task tool takes an optional model (small, standard, deep or inherit). It wins over the subagent type’s own model and class, so quick lookups can run small and hard reasoning deep in the same session.
See subagents at work
- Chat and bot threads. The agent run tree shows each subagent’s face, name, status, model, cost and time. The face blinks while the subagent runs.
- Steps. A step that starts a subagent shows its face and name.
- Sidebar. A working bot or code session shows the faces of its running subagents under its row, up to four, then “+N”.
- Chat session panel. The Agents group lists every subagent the session used, with its face.
Change a subagent’s look
- Open Settings → Subagents, or click any subagent’s face.
- Click the subagent.
- Change its name, or pick a face in Look.
- Click Save.
Add your own subagent
- Open Settings → Subagents and click New subagent.
- Give it a name. Its ID (what agents call it) is made from the name.
- Write When to use: one or two sentences that tell agents when to hand work to it.
- Pick a model class and a step cap.
- Pick its tools. With no tools picked, it can only read.
- Write its instructions.
- Pick a face, then click Save.
On the phone
On the ai.allternit.com phone layout and the m.allternit.com app, Settings → Subagents shows one column of cards. The editor opens as a bottom sheet: drag it down or tap outside it to close.For developers
- Custom subagents and look changes are stored per user through the subagent types API.
- gizzi config options for subagents: CLI configuration.
- To check whether a subagent type helps, run the subagent evals.