main • AI Agent SDK

Module reference for main

main

AI Agent

Import

python
from praisonaiagents import main

Classes

Functions

Constants

NameValue
MAX_ERROR_LOGS1000
PRAISON_COLORS{'agent': '#86A789', 'agent_text': '#D2E3C8', 'task': '#FF9B9B', 'task_text': '#FFE5E5', 'working': '#FFB347', 'working_text': '#FFF3E0', 'response': '#4A90D9', 'response_text': '#E3F2FD', 'tool': '#9...
WORKING_FRAMES['●○○', '○●○', '○○●', '○●○']
WORKING_PHASES['Analyzing query...', 'Processing context...', 'Generating response...', 'Finalizing output...']
SUPPORTED_CALLBACK_TYPES['tool_call', 'interaction', 'error', 'llm_start', 'llm_end', 'llm_content', 'autonomy_iteration', 'autonomy_stage_change', 'autonomy_doom_loop', 'autonomy_complete', 'retry']