Browse docs
--- title: "Anthropic SDK Integration" description: "Use the Anthropic Python and TypeScript SDKs with Aurora as a drop-in replacement." icon: "asterisk" ---
Anthropic SDK Integration
Aurora supports the Anthropic Messages API format through its passthrough endpoint. Route Anthropic SDK calls through Aurora to unlock model routing, caching, and governance.
Configuration
Point the Anthropic SDK at Aurora's Anthropic-compatible endpoint:
python
import anthropic
client = anthropic.Anthropic(
base_url="http://your-aurora-host/anthropic",
api_key="sk-aurora-key"
)
message = client.messages.create(
model="claude-sonnet-4-20250514",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello, Claude"}]
)
print(message.content[0].text)Passthrough Mode
For full Anthropic format support, use the passthrough API. This gives you:
- Native Anthropic request/response format
- Streaming support
- Tool use and function calling
- Vision and file uploads
Model Routing
When using the Anthropic passthrough endpoint, you can route to any model configured in Aurora by setting the model field. Aurora handles the provider routing based on your workflow configuration.