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
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
AgentManager(
agents=[...],
hooks=MultiAgentHooksConfig(
on_task_start=my_start_callback,
on_task_complete=my_complete_callback,
completion_checker=my_checker,
)
)Source
View on GitHubpraisonaiagents/config/feature_configs.py at line 1489