Subagents and todos
In the chat the model has two more tools: task hands a job to a subagent, and todo_write keeps a task list you see above the input box.
The task list
For work with three or more steps the model writes a list with todo_write: each item is pending (☐), in progress (◐, shown with its "-ing" form, like "Running the tests") or completed (☑). The list shows above the input box while any item is open, at most six rows. It is saved with the session (todos.json in the run folder), so /resume brings it back; /new starts with none.
Subagents
A subagent works in its own context window and returns one report, so a search through many files or a side job does not fill the conversation. It does not see the conversation: the model writes the whole job into the task's prompt.
- In the foreground the model waits for the report. The transcript shows
▸ explore agent: Find the parserwhen it starts and✓ … finished (12s)when it ends. Esc stops the turn and the subagents it waits on. - In the background (
run_in_background) the tool returns at once and the model goes on. The report arrives as the next message: after the turn that is running, or at once when the chat is idle.
A subagent has the chat's tools, permissions and hooks, less task, todo_write and exit_plan_mode. In plan mode it can only read, like the chat. Its session and ledger are in .anu/runs/<run>/agents/<id>/.
Background subagents share the work tree with the chat and with each other: give two of them jobs that do not edit the same files.
/agents lists the agents and the ones started in this chat; /agents stop <id> stops one.
Built-in agents
| Agent | Tools | For |
|---|---|---|
general-purpose | all | research and multi-step work that would fill the conversation |
explore | read, glob, grep, lookup, skill, docs | fast, read-only search of the codebase |
Agent files
An agent file is <name>.md with frontmatter and the agent's instructions below it. The same files work in Claude Code.
---
name: reviewer
description: Reviews a diff for bugs. Use after a change, before committing.
tools: Read, Grep, Glob, Bash
model: sonnet
---
Review the diff you are given. Report bugs with file:line and a one-line fix. Say nothing about style.name: lowercase letters, digits and dashes (default: the file name).description(required): when to use it. The model reads it in the task tool's description.tools: a comma list,[a, b]or a YAML list. Claude Code's names (Read,Write,Edit,MultiEdit,Glob,Grep,LS,Bash) become parmanu's; other names (mcp__server__tool) are kept. Leave it out, or write*, for every tool.model: a model from your models.json. A hosted model runs the agent on that provider; a local model,inheritor none uses the chat's model (a second local model would have to load beside it).
parmanu reads agent files from, first name wins:
.anu/agents/(trusted projects only).claude/agents/~/.anu/agents/~/.claude/agents/- installed packages and plugins (
agents/) - the built-in agents
An agent file with the name of a built-in agent replaces it. A file without a description, or with a bad name, is skipped with a warning when the chat opens.
Hooks
A SubagentStop hook runs when a subagent ends its run. If it blocks, its reason goes back to the subagent as the next message, up to three times; stop_hook_active is true after the first. See hooks.
This page is built from docs/agents.md in parmanu 0.4.14.