Skip to main content
Enable agents to create step-by-step plans before executing tasks, with optional approval workflows.

Quick Start

1

Simple Enable

Enable planning with defaults:
2

With Configuration

Configure planning behavior:

Configuration Options


Common Patterns

Pattern 1: Planning with Tools

Pattern 2: Auto-Approved Planning

Pattern 3: Read-Only Planning


Best Practices

Use reasoning=True for tasks that benefit from chain-of-thought planning.
Keep auto_approve=False for critical operations to review plans before execution.
Enable read_only=True when agents should only analyze but not modify data.

Planning Mode

Learn about planning mode features

ReflectionConfig

Configure self-reflection