ADK.A2A.Server (ADK v0.0.1-alpha.1)

Copy Markdown View Source

A2A protocol server for ADK agents, implemented as a Plug.

Wraps A2A.Plug from the a2a package with ADK-specific handler logic (running agents via ADK.Runner).

Serves the Agent Card at GET /.well-known/agent-card.json and handles JSON-RPC 2.0 requests at POST /.

Usage

plug ADK.A2A.Server,
  agent: my_agent_spec,
  runner: %ADK.Runner{app_name: "my_app", agent: my_agent_spec},
  url: "http://localhost:4000/a2a"