Skip to main content

An A2A Protocol client TUI and CLI.

Project description

Handler

CI A2A Protocol GitHub release PyPI version GitHub stars

An A2A Protocol client TUI and CLI.

Handler TUI

Install

Install with uv:

uv tool install a2a-handler

Or run directly without installing:

uvx --from a2a-handler handler

Use

Then, you can use Handler:

handler

If you don't have an A2A server to connect to, Handler provides a local A2A server agent:

handler server

The server agent requires Ollama to be running locally. By default it connects to http://localhost:11434 and uses the qwen3 model.

  1. Install and run Ollama
  2. Pull the model: ollama pull qwen3
  3. (Optional) Configure via environment variables: OLLAMA_API_BASE and OLLAMA_MODEL

TUI

Interactive terminal user interface:

handler tui

CLI

Global Options

handler --verbose  # Enable verbose logging output
handler --debug    # Enable debug logging output
handler --help     # Show help for any command

Commands

Fetch agent card from A2A server:

handler card http://localhost:8000
handler card http://localhost:8000 --output json  # JSON output

Validate an agent card from a URL or file:

handler validate http://localhost:8000             # Validate from URL
handler validate ./agent-card.json                 # Validate from file
handler validate http://localhost:8000 --output json  # JSON output

Send a message to an A2A agent:

handler send http://localhost:8000 "Hello World"
handler send http://localhost:8000 "Hello" --output json    # JSON output
handler send http://localhost:8000 "Hello" --context-id abc # Conversation continuity
handler send http://localhost:8000 "Hello" --task-id xyz    # Reference existing task

Show version:

handler version

Contributing

See CONTRIBUTING.md for architecture and development instructions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

a2a_handler-0.1.8.tar.gz (31.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

a2a_handler-0.1.8-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

Details for the file a2a_handler-0.1.8.tar.gz.

File metadata

  • Download URL: a2a_handler-0.1.8.tar.gz
  • Upload date:
  • Size: 31.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for a2a_handler-0.1.8.tar.gz
Algorithm Hash digest
SHA256 e47b0bf5d9cfde83f189018a51fdde694c4746f279e41c8f428e7f15e6df95ff
MD5 c9b76261a9db8409a69fb79c31f4e12a
BLAKE2b-256 48be31f6d210cbbd70f31215fb170ab665cfb6b5f7f1fea58ab65efc93bcad2b

See more details on using hashes here.

File details

Details for the file a2a_handler-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: a2a_handler-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 36.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for a2a_handler-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6d04a3916c20309545e872a0b9921800277fbe5771ad3247188837f0dea0865d
MD5 3a474ba58eb951d3bd71ef224a2cccb2
BLAKE2b-256 2f37dc02d48d2bd292c52cd181b31afd555d23f72ca9030e2e04dfa738573cc7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page