DocsSub-agents

Sub-agents

Delegate parallel sub-tasks to independent agents.

How Sub-agents work

Sub-agents let Enter Code delegate independent work to parallel agents while the main agent orchestrates the overall task.

Each Sub-agent runs in an isolated context, has access to built-in tools, and returns a summarized result to the main agent.

When Sub-agents are used

  • Searching multiple parts of a codebase simultaneously
  • Running independent analyses in parallel
  • Implementing independent features at once
  • Large refactors across separate modules

Viewing active Sub-agents

/agents

Isolation

Sub-agents do not inherit the full main conversation history. They operate with focused context and report back.