Quick Start
Configuration Options
| Parameter | Type | Default | Description |
|---|---|---|---|
level | str | AutonomyLevel | "suggest" | Autonomy level (suggest, auto_edit, full_auto) |
escalation_enabled | bool | True | Enable escalation to human |
escalation_threshold | int | 3 | Failures before escalation |
doom_loop_detection | bool | True | Detect stuck agents |
max_consecutive_failures | int | 3 | Max failures before stopping |
require_approval_for_writes | bool | True | Approval for write operations |
require_approval_for_shell | bool | True | Approval for shell commands |
Autonomy Levels
| Level | Description |
|---|---|
suggest | Agent suggests actions, user approves |
auto_edit | Agent edits files, user reviews critical changes |
full_auto | Agent operates fully autonomously |
Common Patterns
Pattern 1: Safe Autonomous Agent
Pattern 2: Full Autonomy
Pattern 3: Escalation Pipeline
Best Practices
Start with Suggest Level
Start with Suggest Level
Begin with
suggest level and increase autonomy as you gain confidence.Enable Doom Loop Detection
Enable Doom Loop Detection
Always keep
doom_loop_detection=True to prevent stuck agents.Require Approval for Critical Operations
Require Approval for Critical Operations
Keep
require_approval_for_writes and require_approval_for_shell enabled for production.Set Reasonable Escalation Thresholds
Set Reasonable Escalation Thresholds
Lower thresholds escalate faster but may interrupt more; find the right balance.

