Local servers
Handler ships with two useful local servers for development work:- a reference A2A agent for local testing
- a webhook receiver for task push notifications
Run the reference agent
0.0.0.0:8000.
Choose a model
The built-in agent uses Google ADK with LiteLLM against an Ollama-compatible endpoint. You can override the model directly:llama3.2:1b and
http://localhost:11434.
Protect the local agent with an API key
Run the push notification receiver
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.