Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

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

HookRunner

Executes hooks from a registry.

Constants

NameValue
EXIT_CODE_SUCCESS0
EXIT_CODE_BLOCKING_ERROR2
EXIT_CODE_NON_BLOCKING_ERROR1