Skip to main content

What is Handler?

Handler is an open-source A2A protocol client for software engineers building, testing, and operating agentic systems. It gives you a terminal-native control surface for A2A services: an interactive TUI for exploration, a scriptable CLI with structured output for automation, and an MCP server so other agents can call A2A services through Handler. Use Handler when you need to:
  • inspect and validate agent cards before debugging deeper protocol issues
  • send messages, stream events, and manage tasks from shell scripts or CI
  • configure global or repo-scoped A2A servers with bearer, API key, mTLS, or OAuth2 client credentials auth
  • expose A2A operations as MCP tools for agent harnesses such as Amp or Pi

Install

Install Handler from the PyPI package as a uv tool:
Or with pipx:
Or with pip:

First commands

Open the interactive terminal UI:
Inspect an A2A server’s agent card:
Send a message from the CLI:
Open the full documentation:
If you want another agent to use Handler through MCP, add handler mcp to that agent’s MCP server configuration. See MCP server.

Choose your path