Multi-Agent Orchestration in .NET Using A2A
Описание и применение
Показан пример оркестрации агентов в .NET с использованием протокола A2A и LLM для динамического маршрутизации запросов и агрегации результатов.
Задача
Existing agents support A2A but lack a system to route user requests and aggregate results across multiple agents.
Результат
The PoC demonstrates dynamic discovery of agents, LLM-driven routing, and seamless aggregation of results without code changes when adding new agents.
Рабочий процесс
- Discover AgentCards from each agent
- Register each AgentCard as an AIFunction tool
- Build a FunctionInvokingChatClient with all tools
- Send user message to LLM with system prompt
- LLM selects appropriate agent tool(s) and invokes them
- Collect responses from agents
- Aggregate and return final answer to user
Доказательства
We chose the last one because we want to have the possibility to add a new agent without any code changes.
Two agents: Assortment and SupplyChain that support A2A
- Дата записи: 2026-09-15T06:15:47.208Z