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.

events

AI Agent Event-specific input types for the hook system. Each event type has its own input class with relevant fields.

Import

from praisonaiagents.hooks import events

Classes

BeforeToolInput

Input for BeforeTool hooks.

AfterToolInput

Input for AfterTool hooks.

BeforeAgentInput

Input for BeforeAgent hooks.

AfterAgentInput

Input for AfterAgent hooks.

SessionStartInput

Input for SessionStart hooks.

SessionEndInput

Input for SessionEnd hooks.

BeforeLLMInput

Input for BeforeLLM hooks.

AfterLLMInput

Input for AfterLLM hooks.

OnErrorInput

Input for OnError hooks.

OnRetryInput

Input for OnRetry hooks.