Expand description
A2A HTTP handlers
Axum handlers for A2A protocol endpoints.
§Endpoints
GET /.well-known/agent.json- Agent CardPOST /a2a/tasks- Create a new taskGET /a2a/tasks/:id- Get task status
§Security
- Authentication required for task endpoints
- Agent Card is public but can be rate-limited
- All responses include Merkle hashes
Structs§
- A2aState
- Shared state for A2A handlers
Functions§
- a2a_
routes - Build A2A routes for inclusion in the main router
- agent_
card_ handler - Handler: GET /.well-known/agent.json
- create_
task_ handler - Handler: POST /a2a/tasks
- get_
task_ handler - Handler: GET /a2a/tasks/:id