Multi Agent Hooks Config • AI Agent SDK

MultiAgentHooksConfig: Configuration for multi-agent orchestration hooks/callbacks.

MultiAgentHooksConfig

Defined in the Feature Configs module.

AI Agent

Configuration for multi-agent orchestration hooks/callbacks.

Consolidates: completion_checker, on_task_start, on_task_complete

Diagram

Input Data

Agent: MultiAgentHooksConfig

Output Result

Properties

ResponseField Optional[Callable]

No description available.

ResponseField Optional[Callable]

No description available.

ResponseField Optional[Callable]

No description available.

Internal & Generic Methods
  • to_dict: Convert to dictionary.

Usage

python
AgentManager(
        agents=[...],
        hooks=MultiAgentHooksConfig(
            on_task_start=my_start_callback,
            on_task_complete=my_complete_callback,
            completion_checker=my_checker,
        )
    )

Source

View on GitHub

praisonaiagents/config/feature_configs.py at line 1489


Related Documentation