Plan Mode

Plan mode is a read-only agent designed for safe code exploration, architecture analysis, and change planning.

Safe exploration

Plan mode can navigate your entire codebase without making any modifications. This makes it ideal for onboarding to new projects, understanding unfamiliar code, and performing code reviews.

Architecture analysis

The agent analyzes project structure, dependency graphs, module relationships, and code patterns. It can generate documentation, architecture diagrams, and dependency reports.

Code review

Use Plan mode to review pull requests, analyze code quality, suggest improvements, and identify potential issues — all without touching any files.