Skip to main content
All five AI Reserve SDKs — Python, TypeScript, Go, Java, and Rust — speak all three of the gateway’s wire formats from one client: the Bedrock Converse surface you’ve seen above, plus verbatim pass-throughs of the OpenAI and Anthropic formats. Same API key, same retries and exception taxonomy, no extra dependency — and no shape translation: requests go out exactly as you write them, responses come back exactly as the gateway returns them. Both formats work with every gateway model; the gateway bridges the wire format (GPT models answer Anthropic-format calls and vice versa).

OpenAI format

Anthropic format

Pass-through means future-proof. The SDK never renames or strips request fields, so any parameter the gateway supports — including ones added after your SDK version shipped — works immediately. Streaming follows each provider’s own protocol: OpenAI streams end at data: [DONE]; Anthropic streams end with a message_stop event. Mid-stream errors raise ModelStreamErrorException, and standard HTTP errors map through the same taxonomy as Converse calls (429 retried with backoff, budget errors never retried).
Available in all five SDKs from v0.5.0: audacity-sdk (Python), @audacity/sdk (TypeScript), audacity-sdk-go (Go), com.audacityinvestments:audacity-sdk (Java), and audacity-sdk (Rust). Prefer no new dependency at all? Point the official openai/anthropic packages at the gateway (guide).