Skip to main content

AgentApproval

Defined in the backends module.
AI Agent Delegates approval decisions to another AI agent. The approver agent receives a structured prompt describing the tool call and responds with APPROVE or DENY. This enables autonomous multi-agent approval workflows without human intervention. Lives in the core SDK because it only depends on the Agent class which is already in core — no external dependencies.

Constructor

Any
No description available.
str
default:"'gpt-4o-mini'"
No description available.

Methods

request_approval()

Ask the approver agent to evaluate the request.

request_approval_sync()

Synchronous wrapper.

Source

View on GitHub

praisonaiagents/approval/backends.py at line 169

Agents Concept

Single Agent Guide

Multi-Agent Guide

Agent Configuration

Auto Agents