GitHub user AlexStocks edited a discussion: A2A Router
 ```mermaid graph TD A[用户] -- "HTTP Query: 今天中午12点到中关村吃面" --> B(Main Agent) B -- "Response: 返回结果、继续对话、继续执行" --> A B -- "Subscribe" --> C(Agent Hub) B -- "Query" --> C subgraph 服务治理 direction LR C -- "A-A" --> D(天气 Agent) C -- "A-A" --> E(餐饮 Agent) C -- "A-A" --> F(公交 Agent) end D -- "Register" --> C E -- "Register" --> C F -- "Register" --> C B --- |HTTP| D B --- |HTTP| E B --- |HTTP| F D --> G1[Agent Card] E --> G2[Agent Card] F --> G3[Agent Card] C -->|Response| B ``` 现状: 入口 Agent:SAA 实现 的 main agent 饭馆 Agent:SAA 实现 的 sub-agent,到 Nacos MCP Server 以 MCP 方式注册,伪装成一个 MCP Server 天气 Agent:SAA 实现 的 sub-agent,到 Nacos MCP Server 以 MCP 方式注册,伪装成一个 MCP Server 公交 Agent:SAA 实现 的 sub-agent,到 Nacos MCP Server 以 MCP 方式注册,伪装成一个 MCP Server 入口 Agent 对用户输入进行意图识别后,通过本地 Nacos MCP Router 按照关键字搜索 sub-agent,搜索后按照 MCP 协议进行通信。 诉求:sub-agent 以 A2A 方式注册到 Nacos A2A Registry,然后 main-agent 可以到 Nacos A2A Registry 以 A2A 方式动态搜索 sub-agent;搜索后用 Spring Cloud 的方式通过 OpenFeign 调用 sub-agent。 好处:对现有线上协议的通信方式不改变,只多一个使用 A2A 协议的成本。 GitHub link: https://github.com/apache/dubbo-go-pixiu/discussions/742 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
