Delegation and parallel tasks
Delegate independent work, specify inputs, review results and manage concurrency.
Choose independent work
Delegate code discovery, testing, reading or review that can proceed independently. Specify the objective, allowed files, output format and required evidence. Sequence dependent edits to the same files to avoid overwriting changes.
Define roles
Use /agents for built-in, user and project roles, or create .crabcode/agents/<name>.md. See agent configuration for names, descriptions, tools and models. The management menu does not launch work by itself.
Observe and steer
Use the desktop task panel for main tasks, subagents and background tools; use /tasks and conversation cards in the terminal. Inspect output, provide additional instructions or stop work as needed, then have the main task integrate results. Queued work is neither failed nor complete.
Concurrency and cost
CRABCODE_MAX_CONCURRENT_AGENTS controls the client Agent-tool concurrency budget, defaulting to 3. More concurrency can increase requests, cost and rate limiting. Verify subagent results rather than relying on a completion message.
SubagentStart and SubagentStop support hooks. Stopping a task does not undo completed edits or external actions. See tasks, permissions and sessions.