by nacos · v0.0.1
Discover and invoke the A2A Agent, supporting standard A2A Agent URL discovery or Agent discovery from Nacos Agent Registry.
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
Author: Nacos
Version: 0.0.1
Type: Tool Plugin
A2A Agent Client is a Dify plugin that enables discovering and invoking remote A2A (Agent-to-Agent) agents. It supports multi-agent collaboration by allowing dynamic selection from pre-configured agents.
Two Discovery Modes
Multi-Agent Collaboration: Configure multiple agents and let LLM dynamically select the most suitable one based on task requirements
Two Tools
get_a2a_agent_information: Get information of all configured agents (name, description, skills)call_a2a_agent: Call a selected agent with a query message.difypkg file).difypkg file| Parameter | Description | Required |
|---|---|---|
nacos_addr | Nacos server address (e.g., 127.0.0.1:8848). Required for Nacos mode only. | No |
nacos_username | Nacos username | No |
nacos_password | Nacos password | No |
nacos_accessKey | Aliyun AccessKey (for MSE Nacos) | No |
nacos_secretKey | Aliyun SecretKey (for MSE Nacos) | No |
Get A2A Agent Information
| Parameter | Description | Form |
|---|---|---|
discovery_type | Discovery method: nacos or url | User Config |
available_agent_names | Comma-separated agent names (Nacos mode) | User Config |
available_agent_urls | JSON mapping of names to URLs (URL mode) | User Config |
namespace_id | Nacos namespace ID (default: public) | User Config |
Call A2A Agent
| Parameter | Description | Form |
|---|---|---|
discovery_type | Discovery method: nacos or url | User Config |
available_agent_names | Comma-separated agent names (Nacos mode) | User Config |
available_agent_urls | JSON mapping of names to URLs (URL mode) | User Config |
namespace_id | Nacos namespace ID (default: public) | User Config |
target_agent | Agent to call (selected by LLM) | LLM |
query | Message to send to the agent | LLM |
discovery_type: nacos
available_agent_names: translator_agent,search_agent,code_agent
namespace_id: public
discovery_type: url
available_agent_urls: {"translator_agent":"http://host1:8080/.well-known/agent.json","search_agent":"http://host2:8080/.well-known/agent.json"}
┌─────────────────────────────────────────────────────┐
│ 1. LLM calls get_a2a_agent_information │
│ → Returns all agents' name, description, skills │
└─────────────────────────┬───────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────┐
│ 2. LLM analyzes task requirements │
│ → Selects the most suitable agent │
└─────────────────────────┬───────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────┐
│ 3. LLM calls call_a2a_agent │
│ → target_agent + query │
└─────────────────────────┬───────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────┐
│ 4. Remote A2A Agent processes and responds │
└─────────────────────────────────────────────────────┘
Apache 2.0