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.

HooksConfig

Defined in the Feature Configs module.
AI Agent Configuration for agent hooks/callbacks. Consolidates: hooks, step_callback

Properties

on_step
Optional
No description available.
on_tool_call
Optional
No description available.
middleware
List
No description available.
  • to_dict: Convert to dictionary.

Usage

Agent(hooks=HooksConfig(
        on_step=my_step_callback,
        on_tool_call=my_tool_callback,
        middleware=[my_middleware],
    ))

Source

View on GitHub

praisonaiagents/config/feature_configs.py at line 713

Hooks Concept

Hook Events

Callbacks

Configuration Overview

Agent Config