How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

A2A CLI

Apache-2.0

The official command-line client for Agent2Agent (A2A) agents, from the A2A project. Fetches an agent card, sends a message and streams the task to completion, and runs a local A2A server from any stdin/stdout program with `--echo` or `--exec`. Built on the A2A Go SDK, speaks protocol v1.0, and prints protocol-native JSON with predictable exit codes so a shell script, a CI step or a coding assistant can hand work to a remote agent without bespoke integration code.

Agent2Agent (A2A)

Specifications it implements

What this tool does to each specification, in the role vocabulary. Follow a standard through to standards.apievangelist.com for what it actually specifies.

StandardRoleWhat that means
Agent2Agent (A2A) runs
also serves, parses
`a2a card get` fetches an agent card, `a2a send` messages an agent and streams the task, and `a2a server --exec` turns any stdin/stdout program into an A2A server for testing. JSON output and predictable exit codes are the point.
Using this from an agent
Interfaces
cli
Install
brew a2aproject/a2a-cli/a2a
winget a2aproject.a2acli
go github.com/a2aproject/a2a-cli
Consumes
agent-card, http, text
Emits
json, text
Runtime
Needs network Non-deterministic Writes No credentials

Where it applies

Jobs this tool actually does, and the surface each one is exercised on.

Hand a task off to a remote A2A agent from a coding assistant, a shell script or a pipeline, and read the result back as JSON.
coding-agentci-pipeline

Sending a message creates a task on the remote agent, so treat `a2a send` as a write. Agents that require auth take it through the CLI's configuration; nothing is needed to read a public agent card.

Fetch and inspect an agent card before deciding whether to delegate to that agent.
coding-agent
Stand up a throwaway A2A server from a plain script (`a2a server --exec`) to test a client, a workflow or a card without an SDK.
coding-agentci-pipeline

The `--echo` and `--exec` server modes are for learning, demos and tests, not production.

Website
https://github.com/a2aproject/a2a-cli
Repository
https://github.com/a2aproject/a2a-cli
License
Apache-2.0 — reported by the GitHub API, verified 2026-10-06
Stars
152 · last commit 2026-10-01
Reading this as an agent? Don't scrape the page — this entry is published as structured data at /tools.json, against the tool.schema.json schema, using the roles.json vocabulary. Start at /llms.txt.
arrow_back All tools by adoption