SDKs¶
Agora provides generated clients in four languages, all built from the same OpenAPI contract.
Interactive API reference → docs.agoraai.tech/api
Available SDKs¶
-
Python
pip install agora-public-api· Requires Python 3.8+ -
TypeScript / JavaScript
npm install @agora-ai/public-api -
Java
Maven:
ai.agora:agora-public-api· Requires Java 11+ -
Go
go get github.com/AGORA-AI-Software/sdk/sdks/go· Requires Go 1.21+
How authentication works¶
All SDKs use a two-credential model:
- Your API key is a long-lived secret — only ever sent to the token exchange endpoint.
- The exchange returns a short-lived bearer token (JWT) used for all subsequent calls.
- The bearer token expires; re-exchange when needed.
Keep your API key secret
Never log, commit, or embed your API key in client-side code. Store it in environment variables or a secrets manager.
Environments¶
| Environment | Base URL |
|---|---|
| Production | https://core.agoraai.tech/api/v1 |
| Development | https://core-dev.agoraai.tech/api/v1 |
Found a bug or have a feature request?¶
Open an issue in the sdk repo — that's where SDK bugs, feature requests, and OpenAPI contract changes are tracked.
For docs corrections, open an issue here.