A2A interoperability
Use the A2A HTTP+JSON adapter when the caller is another Agent system that needs Agent Cards, messages, Tasks and conversation contexts.
Publish an A2A Agent
An administrator publishes a pinned Agent/Environment binding through POST /api/v1/a2a/agents. An Agent Deployment and an A2A publication have different identifiers; creating one does not create the other.
Discover /a2a/v1/{publication_id}/.well-known/agent-card.json and inspect its interface, media types, authentication and capabilities. Card skills describe remote capabilities, not executable Skill bundles.
Version and identity
The implemented HTTP+JSON wire version is 1.0. Operation requests require A2A-Version: 1.0 or a matching version query parameter. An upstream source release's patch number is not the negotiation value; do not send 1.0.1 instead.
Use an accepted Bearer identity with Task permissions. The A2A path/request tenant is the publication ID, a routing handle distinct from the OrbitSpace tenant UUID and your product customer ID.
Send a message
curl --fail-with-body \
"https://api.orbitspace.dev/a2a/v1/$PUBLICATION_ID/message:send" \
-H "Authorization: Bearer $ORBITSPACE_ACCESS_TOKEN" \
-H 'A2A-Version: 1.0' \
-H 'Content-Type: application/json' \
-d '{
"tenant":"REPLACE_WITH_PUBLICATION_ID",
"message":{
"messageId":"PERSISTED_MESSAGE_UUID",
"role":"ROLE_USER",
"parts":[{"text":"Review these project requirements."}]
},
"configuration":{"returnImmediately":true}
}'Replace the placeholders and persist the message ID, Task and context ID. Same-ID identical messages recover idempotently; changed content or context conflicts.
Continue a conversation
To continue an input-waiting Task, include its matching taskId and context in the user message. It must be INPUT_REQUIRED with no unresolved internal Tool Call owning that wait. Working or terminal Tasks reject this continuation.
After terminal completion, retain contextId and omit taskId for a new Task. Do not force every conversational message into one terminal task.
Streaming and cancellation
| Operation | Path suffix |
|---|---|
| Stream a message | /message:stream |
| Read Task | /tasks/{task_id} |
| Subscribe | /tasks/{task_id}:subscribe |
| Cancel | /tasks/{task_id}:cancel |
All are under /a2a/v1/{publication_id} and carry the protocol routing tenant. SDK A2AClient supplies routing and version headers; a raw HTTP caller must do so explicitly.
Current limits
The Card does not advertise A2A push notifications or extended-card support. Platform outgoing Webhooks are a separate subscription contract. A2A errors use its google.rpc.Status representation, distinct from native REST Problem Details; use separate decoders.