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.

registry

AI Agent Hook Registry for PraisonAI Agents. Manages registration and lookup of hooks for different events.

Import

from praisonaiagents.hooks import registry

Classes

HookRegistry

Registry for managing hooks.

Functions

get_default_registry()

Get the default global hook registry.

set_default_registry()

Set the default global hook registry.

add_hook()

Register a hook callback. Simplified API.

remove_hook()

Remove a hook by ID. Simplified API.

has_hook()

Check if any hooks are registered for an event. Simplified API.