
AI A2AClient
CertifiedProxy prompts to a remote A2A agent
AI A2AClient
Certified
Proxy prompts to a remote A2A agent
Sends the prompt to a remote AI Agent over the A2A protocol and returns its text response. Requires serverUrl; ensure the endpoint is trusted and reachable.
yaml
type: io.kestra.plugin.ai.agent.A2AClientExamples
Call a remote AI agent via the A2A protocol.
yaml
id: a2a_agent
namespace: company.ai
inputs:
- id: prompt
type: STRING
tasks:
- id: agent
type: io.kestra.plugin.ai.agent.A2AClient
serverUrl: "http://localhost:10000"
prompt: "Summarize the following content: {{ inputs.prompt }}"Properties
prompt *Requiredstring
Text prompt
The input prompt for the language model
serverUrl *Requiredstring
Server URL
The URL of the remote agent A2A server
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
textOutput string
Remote agent output