haive.core.engine.agent.registry¶
Agent registry module for managing and resolving agent classes.
from typing import Any This module provides a registry for associating agent configurations with their implementing classes, allowing dynamic discovery and resolution.
Functions¶
|
Register an agent class with its configuration class. |
|
Register all agents from a module. |
|
Resolve an agent class for a given config class. |
Module Contents¶
- haive.core.engine.agent.registry.register_agent(config_class)[source]¶
Register an agent class with its configuration class.
- Parameters:
config_class (type) – The agent config class to register
- Returns:
A decorator function that registers the agent class
- haive.core.engine.agent.registry.register_agents_from_module(module_path)[source]¶
Register all agents from a module.