Run local A2A servers
Handler ships with two useful local servers for development work:- a documentation-aware embedded A2A agent for local testing and Handler help
- a webhook receiver for task push notifications
Run the embedded agent
Start Handler’s bundled local A2A agent:0.0.0.0:8000.
In the TUI, Handler includes this local agent as the built-in Handler Agent
server. Selecting it and pressing CONNECT auto-starts the embedded agent if
nothing is already listening at http://localhost:8000.
The embedded agent is Handler-aware: it uses Google ADK tools to connect to
Handler’s hosted documentation MCP server at
https://handler.alduncanson.com/mcp. That lets it answer questions about the
Handler CLI, TUI, MCP bridge, authentication, local servers, and common A2A
workflows from the current docs instead of only relying on model memory.
Choose a model
The built-in agent uses Google ADK with LiteLLM against an Ollama-compatible endpoint. You can override the model directly:gemma4:e2b and
http://localhost:11434.
Protect the local agent with an API key
Require API key auth with a generated key:Run the push notification receiver
Start the local webhook receiver on the default port:127.0.0.1:9000 and exposes these endpoints:
POST /webhookreceives task notificationsGET /webhookreturns a simple validation responseGET /notificationslists received notificationsPOST /notifications/clearclears stored notifications
End-to-end push notification test
- Start the webhook receiver with
handler server run push. - Start or connect to an agent.
- Send a message that creates a long-running task.
- Point that task at
http://127.0.0.1:9000/webhookwithhandler task notification set. - Inspect received events at
http://127.0.0.1:9000/notifications.