Available Backends
How It Works
A risky tool call pauses until the chosen backend collects a human decision.Backend Matrix
| Backend | Where it runs | One-line meaning |
|---|---|---|
console (also true/yes/1) | Standalone | Ask on the terminal, y/N |
none (also false/no/0) | Standalone | Auto-approve everything (unsafe) |
auto | Standalone | Auto-approve safe read-only tools |
plan | Standalone | Coding-mode plan approval |
accept-edits | Standalone | Auto-accept file-edit tools |
bypass | Standalone | Approve without prompting (dev) |
agent | Standalone | Delegate to a reviewer agent (see below) |
slack | Wrapper | Approvals routed to Slack |
telegram | Wrapper | Approvals routed to Telegram |
discord | Wrapper | Approvals routed to Discord |
webhook | Wrapper | Custom outbound HTTP webhook |
http | Wrapper | Inbound HTTP approval endpoint |
secure | Wrapper | Secure-mode policy (audit-logged) |
presentation | Wrapper | Presentation/demo-safe policy |
Wrapper backends (
slack, telegram, discord, webhook, http, secure, presentation) require pip install praisonai.Quick Start
--approval-timeout
--approval-timeout takes seconds. Pass none to wait indefinitely.
Reviewer-Agent Mode (--approval agent)
When you pass --approval agent, a built-in LLM reviewer gates every tool call. The default reviewer instruction is:
“You are a security reviewer. Only approve low-risk read operations. Deny anything destructive. Respond with exactly one word: APPROVE or DENY”
APPROVE or DENY for each pending tool call. You can override the default instruction by passing a custom reviewer prompt via the API:
Unknown-Backend Error
If you pass an unrecognised backend name, the CLI raises:Best Practices
Use console in interactive dev, agent for unattended runs
Use console in interactive dev, agent for unattended runs
Use
console in interactive dev, agent for unattended runs where a reviewer LLM can gate tools.Pair accept-edits and plan with praisonai-code code
Pair accept-edits and plan with praisonai-code code
accept-edits and plan are the coding-mode fast paths — pair them with praisonai-code code.Never use none outside throwaway sandboxes
Never use none outside throwaway sandboxes
none disables approval entirely; only use it in throwaway sandboxes.Related
Local Tools Loading
Approval decides who says yes to your local tools.
Approval
The full approval system — dangerous tool gating, TTY detection, and safe defaults.

