- A subagent handles one delegated investigation or task and reports back to the parent conversation.
- An Agent Team runs an approved implementation plan with up to three workers editing disjoint paths in parallel.
Use subagents for isolated work
Ask Embedder to delegate work when an investigation would consume substantial context or when several independent questions can run at the same time:Subagent types
codebase-explorerreads and searches the codebase.document-explorersearches uploaded hardware documentation and datasheets.web-searcherresearches current information on the web.planning-agentreads the project and prepares an implementation plan.generalcan read, search, edit files, run shell commands, and use the web. It cannot access hardware by default.
Control subagent hardware access
General subagents start without hardware tools. They are also instructed not to reach devices through shell commands. Toggle hardware access with:Use Agent Teams for parallel implementation
Agent Team execution is disabled at the start of a session. Enable it with:Plan and launch a team
1
Enable Agent Teams
Run
/agent-team before planning the change.2
Enter Plan mode
Ask Embedder to divide the work only when files can be owned independently.
3
Review the team plan
Each worker must have an ID, a title, a goal, one or more owned paths, and
explicit success criteria. A plan can contain one to three workers.
4
Approve the plan
Embedder stores the structured team plan beside the approved Markdown plan.
5
Run the plan
After switching to Act mode, the first mutating action launches the approved
team. The agent can read briefly before launch, but it cannot edit files or
run shell commands first.
6
Integrate and verify
The parent agent reviews all worker results, resolves cross-worker issues,
and runs the final checks.
Worker boundaries
Agent Team workers run concurrently in the same project workspace. They do not receive separate worktrees. Each worker can:- Read any project file needed for context
- Search code, documents, schematics, and the web
- Read project memory
- Load an available skill
- Write or edit only its approved paths
- Write outside the project
- Write a path owned by another worker
- Run shell commands
- Access hardware, serial, flashing, trace, plots, or debuggers
- Delegate again or ask you a question
Choose the right execution model
Use a read-only subagent when you need evidence or a plan without file changes. Use a general subagent for one autonomous task that does not need a pre-approved multi-worker file split. Use an Agent Team when all of these conditions hold:- The implementation has two or three independent path groups.
- Each group has a clear completion check.
- Workers can make progress without shell commands, hardware, or user input.
- The parent can integrate and verify the combined result after the parallel run.
If a team worker fails, Embedder preserves the workspace changes and returns
control to the parent. It does not silently replace the failed team with
ordinary subagents.

