Plan Mode & Cascade Flow

Multi-step AI orchestration with plan generation, cascade flow, and debug mode

Plan mode lets the AI break complex tasks into steps before executing them.

Plan Mode

When you ask the AI to perform a complex task, it can generate a plan first:

  1. Generate — AI analyzes the task and creates a step-by-step plan
  2. Review — you read the plan and suggest modifications
  3. Accept — approve the plan to begin execution
  4. Execute — AI follows the plan, requesting tool approvals as needed

Cascade Flow

Cascade flow chains multiple AI operations together. Each step feeds its output into the next, creating a pipeline of AI actions.

Debug Mode

When something goes wrong, debug mode helps the AI:

  • Analyze error messages and stack traces
  • Read relevant source files for context
  • Suggest and apply fixes
  • Verify the fix resolves the issue

Workflow Markers

The AI uses workflow markers to communicate its current phase:

  • Brainstorm — exploring approaches and trade-offs
  • TDD — test-driven development (red/green/refactor)
  • Verification — checking that changes work correctly

These markers appear in both VS Code and the mobile app.

Next Steps

  • Settings — configure plan mode behavior
  • AI Modes — choose the right mode for your task