Autonomy Levels
FERAL’s autonomy system controls how much freedom the agent has to act without human approval. Three modes — strict, hybrid, and loose — determine which tools auto-execute and which require explicit confirmation.Strict Mode
Every tool call requires user approval. The agent proposes an action and waits.Hybrid Mode
Safe actions (passive + active permission tiers) execute automatically. Risky actions (privileged + dangerous) require approval.
What Auto-Executes in Hybrid
| Action | Tier | Auto? |
|---|---|---|
| Search the web | passive | Yes |
| Read memory | passive | Yes |
| Get weather | passive | Yes |
| Send a chat message | active | Yes |
| Create a file | active | Yes |
| Run a shell command | privileged | No — asks first |
| Send an email | privileged | No — asks first |
| Delete files | dangerous | No — asks first |
| Make a purchase | dangerous | No — asks first |
Loose Mode
Everything exceptdangerous-tier tools auto-executes. The agent runs on full autopilot for most tasks.
dangerous tools still require approval even in loose mode. See Security Model for the hard-coded deny list.Configuration
Environment Variable
Config File
Per-Session Override
Clients can request an autonomy level during session initialization:hybrid, a session can request strict (more restrictive) but not loose (less restrictive).
ApprovalManager
TheApprovalManager handles approval requests and maintains a list of standing approvals — pre-authorized tool+argument patterns that skip the approval prompt.
Standing Approvals via CLI
Standing Approvals via API
Approval Flow
When a tool call needs approval, the following sequence occurs:enforce_safety()determines the call requires approval.- The Brain sends an
approval_requestmessage to the active channel. - The user responds with approve or deny.
- If approved, the tool executes and the result flows back normally.
- If denied, the agent receives a “tool denied” signal and re-plans.
Escalation Rules
| Server Setting | Session Request | Effective Level |
|---|---|---|
strict | strict | strict |
strict | hybrid | strict (capped) |
hybrid | strict | strict |
hybrid | hybrid | hybrid |
hybrid | loose | hybrid (capped) |
loose | any | as requested |
