Agent Approval • AI Agent SDK
AgentApproval: Delegates approval decisions to another AI agent.
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
ParamField
AnyNo description available.
ParamField
strNo description available.
Methods
request_approval()
Ask the approver agent to evaluate the request.
request_approval_sync()Synchronous wrapper.
Source
View on GitHubpraisonaiagents/approval/backends.py at line 324