Skip to main content

runner

AI Agent Hook Runner for PraisonAI Agents. Executes hooks registered in the registry, supporting both Python functions and shell commands.

Import

from praisonaiagents.hooks import runner

Classes

Constants

NameValue
EXIT_CODE_SUCCESS0
EXIT_CODE_BLOCKING_ERROR2
EXIT_CODE_NON_BLOCKING_ERROR1