Let your coding agent work with A2A agents

The a2a-cli plugin teaches Claude Code, Codex, Gemini CLI and other coding agents to hand tasks to A2A agents, follow them and collect the results. It drives a2a, a command-line client you can also use yourself.

Install the plugin Get started with the CLI

install a2a
brew tap a2aproject/a2a-cli https://github.com/a2aproject/a2a-cli
brew install a2a

a2a discovering an agent, sending it a message and streaming the reply

Install the plugin

The plugin carries the a2a-cli skill and is published in the a2aproject/agent-plugins marketplace. It runs the a2a binary, so install a2a first. Getting Started has the other ways to install it.

/plugin marketplace add a2aproject/agent-plugins
/plugin install a2a-cli@a2a-plugins
copilot plugin marketplace add a2aproject/agent-plugins
copilot plugin install a2a-cli@a2a-plugins
codex plugin marketplace add a2aproject/agent-plugins

Then run codex, open /plugins, pick the A2A Agent Plugins tab and install a2a-cli.

gemini skills install https://github.com/a2aproject/agent-plugins.git --path plugins/a2a-cli/skills/a2a-cli
npx skills add https://github.com/a2aproject/agent-plugins/tree/main/plugins/a2a-cli/skills/a2a-cli -g

The agent-plugins README covers OpenClaw, Hermes Agent and updates. Then ask your agent:

Ask the agent at https://review.example.com to review the diff on this branch,
and tell me what it says.

The agent reads the other agent's card, sends the task, follows it until it finishes, and keeps a log of the tasks it started so you can come back to them. Coding agents has more.

Use the CLI yourself

~
a2a card get https://agent.example.com                   # what can it do?
a2a send -a https://agent.example.com "Summarize this"   # ask and wait
a2a send -a https://agent.example.com --stream "..."     # watch it work

a2a speaks JSON-RPC, REST and gRPC, picks the transport from the agent card, and prints JSON for scripts. No agent to try it on? a2a-serve serves Claude Code, opencode or any ACP coding agent as an A2A agent, and Getting Started sets one up.

Learn more

  • User Guide

    Short pages on each task: agent cards, messages, streaming, tasks, configuration and credentials.

    → Read the guide

  • Lessons

    A course from your first message to conversations and credentials, with a recording of each lesson.

    → Start lesson 1

  • Examples

    Recorded recipes: scripting with jq, a credential helper, a command plugin, a transport plugin.

    → Browse examples

  • Advanced

    How discovery, transport choice, streaming timeouts, credential helpers and plugins work.

    → Read more

  • Reference

    Every command and flag, configuration keys, output formats and exit codes.

    → Look it up

  • AI Catalogs

    Find agents in an AI Catalog and talk to them by identifier. Experimental.

    → Read the guide