Quick Start
Configuration Options
| Parameter | Type | Default | Description |
|---|---|---|---|
llm | str | None | None | Model for planning (defaults to agent’s model) |
tools | List[Any] | None | None | Tools available during planning phase |
reasoning | bool | False | Enable chain-of-thought reasoning |
auto_approve | bool | False | Skip approval step for plans |
read_only | bool | False | Restrict to read-only operations |
Common Patterns
Pattern 1: Planning with Tools
Pattern 2: Auto-Approved Planning
Pattern 3: Read-Only Planning
Best Practices
Enable Reasoning for Complex Tasks
Enable Reasoning for Complex Tasks
Use
reasoning=True for tasks that benefit from chain-of-thought planning.Review Plans Before Execution
Review Plans Before Execution
Keep
auto_approve=False for critical operations to review plans before execution.Use Read-Only for Safety
Use Read-Only for Safety
Enable
read_only=True when agents should only analyze but not modify data.
