> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# backends • AI Agent SDK

> Built-in approval backends for PraisonAI Agents.

# backends

<Badge color="blue">AI Agent</Badge>

Built-in approval backends for PraisonAI Agents.

Provides lightweight backends that ship with the core SDK:

* **AutoApproveBackend** — always approves (bots, trusted envs).
* **ConsoleBackend** — interactive Rich terminal prompt (CLI default).
* **AgentApproval** — delegates approval decision to another AI agent.

## Import

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents.approval import backends
```

## Classes

<CardGroup cols={2}>
  <Card title="AutoApproveBackend" icon="brackets-curly" href="../classes/AutoApproveBackend">
    Always approves.  Use for bots or trusted unattended environments.
  </Card>

  <Card title="ConsoleBackend" icon="brackets-curly" href="../classes/ConsoleBackend">
    Interactive Rich terminal prompt.  Default for CLI usage.
  </Card>

  <Card title="AgentApproval" icon="brackets-curly" href="../classes/AgentApproval">
    Delegates approval decisions to another AI agent.
  </Card>

  <Card title="CallbackBackend" icon="brackets-curly" href="../classes/CallbackBackend">
    Wraps a legacy `(function_name, arguments, risk_level) - ApprovalDecision` callback
  </Card>
</CardGroup>
