agent_registry#

class baf.platforms.a2a.agent_registry.AgentRegistry[source]#

Bases: object

Keeps track of registered A2A agents by ID. Attributes: _agents: dictionary of registered agents

async call_agent_method(target_agent_id, method, params)[source]#
count()[source]#

provide total number of agents that are registered

get(agent_id)[source]#

Get the registered agent

list()[source]#

Return summary info for all registered agents.

register(agent_id, platform)[source]#

Register the provided agent (through agent_id) in the given platform