Back to Claude Code hub
INTERMEDIATEsnapshot-basedVerified 2026-03-31core

Agents and Plan Mode

How Claude Code separates planning, coordination, and delegated execution

Understand the difference between the main thread, plan mode, coordinator behavior, and constrained sub-agents.

Plan mode is a workflow boundary, not just a UI toggle

Plan mode changes the permission context and is treated as a separate collaboration state.

The goal is to align on intent and implementation before the assistant starts mutating the codebase.

  • The plan can be shown, stored, and reopened in an editor.
  • Plan mode has dedicated enter and exit behaviors.
  • This state is part of how Claude Code manages non-trivial tasks.

The main thread and delegated agents have different responsibilities

The main thread keeps control over the user-facing workflow, permission-sensitive actions, and coordination state.

Sub-agents are narrower workers. They are useful for bounded work, not for inheriting the full conversation brain.

  • Some tools are disallowed entirely for async agents.
  • Coordinator mode focuses on orchestration rather than direct file work.
  • Task and messaging tools are treated differently for in-process teammates.

Good delegation is constrained delegation

The tool restrictions make the design philosophy visible: delegate bounded, concrete work and keep global state changes close to the main thread.

That is why plan state, recursive control, and some session-level behaviors stay centralized.

Learn next

These guides are adjacent to the current topic and make the learning path easier to follow.