dataflow.api.registry¶
Attributes¶
Classes¶
Service that manages agent registration and discovery. |
Module Contents¶
- class dataflow.api.registry.AgentRegistryService¶
Service that manages agent registration and discovery.
- discover_agents(search_paths: list[str] | None = None) None ¶
Automatically discover and register all agent configurations from. multiple paths.
- get_agent_config(name: str) type[haive.core.engine.aug_llm.AugLLMConfig] | None ¶
Get agent configuration class by name.
- get_or_create_agent(name: str, thread_id: str | None = None, **config_kwargs) tuple[haive.agents.base.agent.Agent | None, str | None] ¶
Get a previously instantiated agent or create a new one. Returns the. agent and an error message if there was a problem.
- list_failed_agents() dict[str, str] ¶
List agents that failed to register with their error messages.
- register_agent_config(name: str, config_class: type[haive.core.engine.aug_llm.AugLLMConfig], agent_type: str = 'agent') None ¶
Register an agent configuration class.
- db_connection = None¶
- default_persistence_type = 'postgres'¶
- dataflow.api.registry.agent_registry¶
- dataflow.api.registry.logger¶