SDKs overview
Official libraries for the server, the browser and mobile apps. One contract, the same names and behaviour everywhere.
Server SDKs
Use a workspace API key (cb_…) from backend code. Full access to agents, conversations and sources.
Web & mobile SDKs
Run in apps your users install, so they are keyless: they need only the agent id, plus an identity token from your backend for signed-in users.
What every SDK does
- Chat in one call, or stream token-by-token with a native idiom (async iterators, Flow, AsyncSequence, Stream, callbacks).
- Auto-paginating lists, typed errors with status, code and request id.
- Automatic retries with back-off and Retry-After support; per-request timeouts and cancellation.
- Identity: sign tokens on the server, identify on the client.
- Zero or minimal dependencies.
Don’t see your language?
Generate a client from the OpenAPI spec, or call the REST API directly — it is a handful of JSON endpoints plus Server-Sent Events.