Quick Start
How It Works
AutonomyConfig
Configuration for agent autonomy and approval behavior.Methods
| Method | Description |
|---|---|
new() | Create with defaults (approval required) |
level(AutonomyLevel) | Set autonomy level |
no_approval() | Disable approval requirement |
max_actions(usize) | Set max actions before pause |
allow_tool(name) | Add tool to allowed list |
block_tool(name) | Add tool to blocked list |
Configuration Options
| Option | Type | Default | Description |
|---|---|---|---|
require_approval | bool | true | Require approval for actions |
level | AutonomyLevel | Default | Autonomy level |
max_actions | Option<usize> | None | Max actions before pause |
allowed_tools | Vec<String> | [] | Tools allowed autonomously |
blocked_tools | Vec<String> | [] | Tools never run autonomously |
Best Practices
Use for destructive operations
Use for destructive operations
Enable approval for delete, write, and modify operations.
Skip for read-only operations
Skip for read-only operations
Don’t require approval for search, read, or analyze.

