- Planning phase – The AI analyzes the codebase and creates a detailed plan in a markdown file.
- Execution phase – The AI reads the plan and executes it to accomplish the user’s goal.
Example: plan_then_excecute.py
Note:
- This example uses architect mode to leverage both a planner and an editor model for the task.
- Make sure to set your
CLOUD_CODE_API_KEY
environment variable before running.