Endpoints
Python setup
X-Agent-API-Key: bak_... through an
A2A client interceptor. Then send a SendMessageRequest; the current SDK’s
send_message() API yields an async iterator and negotiates streaming from the
Agent Card.
The A2A SDK evolves independently of BeeOS. Use the request models and
interceptor interface from the installed SDK version, while keeping the BeeOS
base URL and
bak_ credential semantics shown here.Lifecycle rules
- Keep the returned A2A task ID for
get,cancel, and resubscription. - Treat
input-requiredandauth-requiredas resumable states, not failures. - Use a stable message ID for idempotency.
- Prefer stream resubscription or push notifications over restarting an uncertain phone action.
- Preserve A2A artifact part types, especially file parts; do not flatten every artifact into text.