How could I reorganize a series of Agents, Teams, etc. exposed by multiple AgentOS instances into a new Team?

I’ve built several AgentOS instances, each containing multiple agents, teams, workflows, etc. My marketplace displays all these agents, and every user can pick the ones they’re interested in. In the background, I automatically create a Team based on their selections, and every time the user asks a question, this Team is invoked to answer it.

I’ve seen the A2A protocol; the code below might help clarify what I mean.

python

from agno.os.interfaces.a2a import A2AAgent


shopping_agent = A2AAgent(
    name="shopping_agent",
    a2a_url="https://shopping-codelabs.example.com/a2a",
    agent_id="purchasing concierge"
)


team = Team(
    name="helpdesk",
    agents=[local_agent, shopping_agent],
    mode="route"
)

Does agno have a better implementation?

Hi @starqiujx, thank you for reaching out and supporting Agno. I’ve shared this with the team, we’re working through all queries one by one and will get back to you soon. If it’s urgent, please let us know. We appreciate your patience!

1 Like