# SDK Reference

> Use existing OpenAI and Anthropic SDKs against the gateway, or download a typed Agent Router client for Go, Python, or TypeScript.

# SDK Reference

  Because the gateway is OpenAI-compatible and Anthropic-compatible, the existing provider SDKs work unchanged: point the SDK's base URL at the gateway and pass an Agent Router API key. No Agent Router-specific SDK is required. For teams that prefer a first-class client, typed Agent Router SDKs are also published for Go, Python, and TypeScript.

  Release v0.1.1
  Stable channel

## 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](/agent-router-service/guides/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 <code>.tar.gz</code>
  
  
    Python
    Typed client, source tree.Download <code>.tar.gz</code>
  
  
    TypeScript
    Typed client, source tree.Download <code>.tgz</code>
  

Verify downloads

| Artifact | Version | Size | SHA-256 |
| :---- | :---- | :---- | :---- |
| `agentrouter-go-0.1.1.tar.gz` | 0.1.1 | 438.8 KB | `a83023263c0b…` |
| `agentrouter-python-0.1.1.tar.gz` | 0.1.1 | 132.7 KB | `bef21b0a9585…` |
| `agentrouter-typescript-0.1.1.tgz` | 0.1.1 | 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.

  <Link to="/reference/sdk/quickstart-go" className="tare-nav-card">
    Go
    Install from the local tarball and run a first whoami call.
  </Link>
  <Link to="/reference/sdk/quickstart-python" className="tare-nav-card">
    Python
    Install the sdist and run a first whoami call.
  </Link>
  <Link to="/reference/sdk/quickstart-typescript" className="tare-nav-card">
    TypeScript
    Install the local pack and run a first whoami call.
  </Link>
  <Link to="/reference/sdk/quickstart-curl" className="tare-nav-card">
    curl
    Make a first whoami call with no SDK, using only an API key.
  </Link>

## 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.

  
    OpenAPI spec
    OpenAPI 3.1, YAML.Download <code>.yaml</code>
  
  
    Postman collection
    Postman v2.1, JSON.Download <code>.json</code>
  

Verify downloads

| Artifact | Version | Size | SHA-256 |
| :---- | :---- | :---- | :---- |
| `agentrouter-openapi-0.1.1.yaml` | 0.1.1 | 554.8 KB | `1dfa0ffd16bb…` |
| `agentrouter-postman-0.1.1.json` | 0.1.1 | 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

  <Link to="/reference/api/" className="tare-nav-card">
    Management API reference
    The HTTP APIs the gateway exposes, which the provider SDKs and typed clients call.
  </Link>
  <Link to="/agent-router-service/guides/integrate-the-gateway-with-an-app" className="tare-nav-card">
    Integrate the gateway with an app
    Point SDKs, frameworks, and code assistants at the gateway.
  </Link>
