POST, in the A2A (Agent2Agent) style: agent card, messages, tasks, and optional streaming. That is separate from MCP—there are no MCP tool-list or prompt endpoints on these routes. For tools, prompts, and resources, use MCP transport at /mcp.
How it fits next to MCP
| Surface | Path | Role |
|---|---|---|
| MCP | /mcp | Tools (search / execute), prompts, resources, completion, MCP session |
| A2A | /agent/{agentName} | Agent card, messaging, tasks, streaming, push config |
Endpoints
| Endpoint | Method(s) | Purpose |
|---|---|---|
/agent/{agentName}/.well-known/agent-card.json | GET | Public agent card for discovery |
/agent/{agentName} | POST | A2A JSON-RPC (messages, tasks, streaming, push config) |
{agentName} with your agent’s name (see Agents overview).
What the transport covers
- Discovery — clients fetch the agent card before calling the JSON-RPC endpoint.
- Messaging —
SendMessageandSendStreamingMessage(SSE when using streaming). - Tasks — create, poll, list, cancel, and subscribe to task updates when responses include trackable work.
- Push — list, create, or delete task push notification configuration when you use those flows.
Protocol
Requests use JSON-RPC 2.0 over HTTPPOST on /agent/{agentName}. The surface is A2A-compatible so standard agent clients can integrate without a custom protocol. For the exact methods Hyperterse exposes, see Runtime API.
Session and reload
- Task state is how you continue work across turns (not a legacy session-only API).
- After a model reload, agent routes match your latest config; see Runtime API for behavior notes.
CORS
Hyperterse applies CORS on agent routes so browser and cross-origin clients can call them in development. Tighten rules in production like any HTTP API (see Production hardening).Related docs
- MCP transport — Streamable HTTP MCP on
/mcp - Runtime API — Full A2A method list and examples
- Agents overview — Declarative agents and routing
- Tool access — Which tools an agent may call