Overview
Jean provides three execution modes that control how the AI can interact with your codebase. Each mode offers different levels of automation and safety.Plan Mode
Read-only exploration and planning.What Plan Mode Does
- Read files: AI can read any file in your worktree
- Run read-only commands:
git status,ls,cat, etc. - Propose plans: AI creates detailed implementation plans
- Cannot modify: No file edits, no destructive commands
When to Use Plan Mode
Exploring unfamiliar code
Let AI read and analyze without making changes
Debugging
Investigate issues without modifying files
Planning complex changes
Get a detailed plan before implementation
Learning
Understand how code works without side effects
Plan Mode Workflow
- Send a message describing what you want to accomplish
- AI explores the codebase (reads files, checks git status, etc.)
- AI writes a plan to a file (usually
.ai/todo.mdor similar) - Plan appears in chat with an Approve button
- Click Approve to switch to build mode and execute
- Or stay in plan mode and refine the plan further
Exit Plan Mode Tool
In Claude CLI, when the AI is ready to implement:- Approve: Switch to build mode and run the plan
- Reject: Stay in plan mode for more discussion
Codex and OpenCode use a different mechanism: they set
waiting_for_input: true with waiting_for_input_type: 'plan' after writing a plan in plan mode.Build Mode
Auto-approve file edits only.What Build Mode Does
- Auto-approve file edits: AI can create, edit, and delete files without prompts
- Requires approval for commands:
git commit,npm install, etc. need confirmation - Safer than yolo: Prevents accidental destructive commands
- Faster than plan: Implements without waiting for approval on every edit
When to Use Build Mode
Implementing features
Let AI edit files freely while controlling commands
Refactoring
Auto-approve file changes, but review git operations
Approved plans
Execute a plan from plan mode
Most day-to-day work
Balance between speed and safety
Build Mode Permissions
Auto-approved:Read- Read any fileEdit- Edit filesWrite- Create new filesBash(read-only commands) -ls,cat,git log, etc.
Bash(destructive commands) -rm,git commit,npm install, etc.- Web tools -
WebFetch,WebSearch(unless enabled in settings)
You can approve commands once per session. After approval, similar commands are auto-approved for the rest of the session.
Model Override (Build Mode)
You can configure a different model for build mode:Yolo Mode
Full automation, no prompts.What Yolo Mode Does
- Auto-approve everything: All tools run without prompts
- Maximum speed: No interruptions, no confirmations
- Maximum risk: AI can accidentally delete files, commit unwanted changes, etc.
- Best for trusted workflows: When you’re confident in what the AI will do
When to Use Yolo Mode
Repetitive tasks
Formatting code, fixing lints across many files
Routine updates
Dependency bumps, config updates
Trusted agents
When you’ve built a reliable workflow
Time-sensitive work
When speed matters more than review
Safety Tips for Yolo Mode
- Review changes after: Check git diff before pushing
- Use in isolated worktrees: Don’t yolo on main branch
- Start with plan mode: Let AI write a plan, then approve with yolo
- Set model overrides: Use a cheaper model for yolo to reduce cost
Model Override (Yolo Mode)
Execution Mode Indicators
The UI shows the current mode:- Plan: Blue border, read-only badge
- Build: Yellow border, “Auto-edit” badge
- Yolo: Red border, “Full auto” badge
Mode Cycling (Shift+Tab)
Press Shift+Tab to cycle through modes:Execution Mode Persistence
Each session remembers its mode:Permission Denials
When a tool requires approval (in plan or build mode):- Approve: Run this command
- Deny: Skip this command
- Approve All: Approve this pattern for the session
Session-Scoped Approved Tools
Web Tools in Plan Mode
By default,WebFetch and WebSearch tools require approval in plan mode. You can auto-approve them:
Why auto-approve web tools? They’re read-only and often needed for documentation lookups during planning.
Best Practices
Recommended Workflow
-
Start in Plan Mode
- Describe your goal
- Let AI explore and plan
- Review the proposed plan
-
Approve to Build Mode
- Click “Approve” on the plan
- AI implements automatically
- Commands still require approval
-
Use Yolo for Cleanup
- After main work, switch to yolo
- Let AI run linters, formatters, tests
- Review changes before pushing
When to Skip Plan Mode
- Quick fixes: Typo corrections, simple bugs
- Repetitive tasks: Formatting, renaming across files
- Trusted prompts: You know exactly what will happen
When to Use Plan Mode
- Complex changes: Multi-file refactors, new features
- Unfamiliar code: Exploring new projects or libraries
- High risk: Changes that could break production
- Learning: Understanding how something works
Comparison Table
| Feature | Plan Mode | Build Mode | Yolo Mode |
|---|---|---|---|
| Read files | ✅ Auto | ✅ Auto | ✅ Auto |
| Edit files | ❌ Denied | ✅ Auto | ✅ Auto |
| Read-only commands | ✅ Auto | ✅ Auto | ✅ Auto |
| Destructive commands | ❌ Denied | ⚠️ Requires approval | ✅ Auto |
| Write plans | ✅ Yes | ✅ Yes | ✅ Yes |
| Approve plans | ✅ Required | N/A | N/A |
| Speed | 🐢 Slow | 🏃 Fast | 🚀 Fastest |
| Safety | 🛡️ Safest | ⚖️ Balanced | ⚠️ Risky |
Related
AI Chat
Configure AI backends, models, and thinking levels
Sessions
Learn about session management and lifecycle