SDK Reference
For developers, nothing has to change: the gateway is OpenAI-compatible and Anthropic-compatible, so existing provider SDKs work as-is. Point the base URL at the gateway and pass an Agent Router API key. For operators automating configuration management, typed Agent Router SDKs are published for Go, Python, and TypeScript.
Use an existing provider SDK
The lowest-friction path is to keep the SDK an application already uses. The OpenAI and Anthropic client libraries call the same API shapes the gateway serves, so only two things change: the base URL is set to the gateway endpoint, and the API key is an Agent Router key rather than a provider key. Existing request and response handling is untouched. This approach is covered end to end, with per-language snippets, in Integrate the gateway with an app.
Typed Agent Router SDKs
A typed client for Go, Python, or TypeScript can be downloaded when a generated, strongly typed surface over the management API is preferred. Each artifact is the Agent Router SDK source tree at the release shown above, distributed from https://tare.tetrate.ai/tools/sdks/stable/.
Go
Typed client, source tree.
Download .tar.gz
Python
Typed client, source tree.
Download .tar.gz
TypeScript
Typed client, source tree.
Download .tgz
Verify downloads
| Artifact | Version | Size | SHA-256 |
|---|---|---|---|
agentrouter-go-0.1.0.tar.gz | 0.1.0 | 438.8 KB | a83023263c0b… |
agentrouter-python-0.1.0.tar.gz | 0.1.0 | 132.7 KB | bef21b0a9585… |
agentrouter-typescript-0.1.0.tgz | 0.1.0 | 232.9 KB | d7889ef26ec4… |
Quickstarts
Each quickstart installs the client for one language, then makes a first read-only identity call to confirm the key and base URL are wired correctly. The curl quickstart needs no SDK at all.
Go
Install from the local tarball and run a first whoami call.
Python
Install the sdist and run a first whoami call.
TypeScript
Install the local pack and run a first whoami call.
curl
Make a first whoami call with no SDK, using only an API key.
API specifications
Machine-readable descriptions of the management API are available as a combined OpenAPI 3.1 document and a Postman v2.1 collection. The OpenAPI document supports client generation and contract tooling; the Postman collection supports interactive exploration and testing.
Verify downloads
| Artifact | Version | Size | SHA-256 |
|---|---|---|---|
agentrouter-openapi-0.1.0.yaml | 0.1.0 | 554.8 KB | 1dfa0ffd16bb… |
agentrouter-postman-0.1.0.json | 0.1.0 | 184.5 KB | 8be489ab856c… |
Versions, archive sizes, and full SHA-256 digests are published on the Agent Router developer portal, which is the authoritative source for the current release. The checksums above are abbreviated; the full digest is available there for integrity verification.
Related references