Skip to main content

praisonaiagents.approval

Core SDK Human Approval Framework for PraisonAI Agents This module provides a minimal human-in-the-loop approval system for dangerous tool operations. It extends the existing callback system to require human approval before executing high-risk tools.

Overview

This module provides components for approval.

Classes

Functions

Constants

NameValue
DEFAULT_DANGEROUS_TOOLS{'execute_command': 'critical', 'kill_process': 'critical', 'execute_code': 'critical', 'write_file': 'high', 'delete_file': 'high', 'move_file': 'high', 'copy_file': 'high', 'execute_query': 'high', ...