Quick Start
Configuration Options
| Parameter | Type | Default | Description |
|---|---|---|---|
enabled | bool | True | Whether autonomy is enabled |
level | str | "suggest" | Autonomy level (suggest, auto_edit, full_auto) |
max_iterations | int | 20 | Maximum iterations before stopping |
doom_loop_threshold | int | 3 | Number of repeated actions to trigger doom loop |
auto_escalate | bool | True | Automatically escalate complexity when stuck |
completion_promise | str | None | None | Structured completion signal (e.g. "DONE") |
observe | bool | False | Emit observability events during loop |
clear_context | bool | False | Clear chat history between iterations |
verification_hooks | list | None | None | VerificationHook instances for output verification |
Autonomy Levels
| Level | Enum Value | Description |
|---|---|---|
suggest | AutonomyLevel.SUGGEST | Agent suggests actions, user approves |
auto_edit | AutonomyLevel.AUTO_EDIT | Agent edits files, user reviews critical changes |
full_auto | AutonomyLevel.FULL_AUTO | Agent operates fully autonomously |
Common Patterns
Pattern 1: Safe Autonomous Agent
Pattern 2: Full Autonomy with Completion Promise
Pattern 3: Multi-Agent Autonomy Propagation
Best Practices
Start with Suggest Level
Start with Suggest Level
Begin with
suggest level and increase autonomy as you gain confidence.Use Doom Loop Detection
Use Doom Loop Detection
Keep
doom_loop_threshold at 3-5 to prevent agents from repeating the same action.Enable Memory for Long Sessions
Enable Memory for Long Sessions
Combine
autonomy=True with memory=True and auto_save to persist progress between iterations.Use Completion Promises
Use Completion Promises
Use
completion_promise for structured completion signals instead of relying on keyword detection.Related
Autonomy Loop
Learn about the autonomy loop
Ralph Loops
Autonomous execution pattern

