Prerequisites
Installation
Use SDK adapter
Use theAurikoLlm adapter:
AurikoLlm is a native BaseLlm implementation that doesn’t use LiteLLM as an intermediary. It converts directly between ADK (Gemini) types and OpenAI message format, supporting text and function calling.
Configure options
| Parameter | Type | Default | Description |
|---|---|---|---|
model | str | (required) | Model ID |
api_key | str | "" (reads AURIKO_API_KEY at first use) | API key |
routing | RoutingOptions | None | None | Routing configuration |
base_url | str | "https://api.auriko.ai/v1" | API base URL |
Configure routing
Configure routing options:Configure manually
Alternative: configure ADK with LiteLlm manually
Alternative: configure ADK with LiteLlm manually
If you prefer to use Google’s Note: routing options and Auriko error mapping aren’t available with manual configuration.
LiteLlm class directly:Notes
- Supports text and function calling. Inline data (
inline_data) and file data (file_data) aren’t yet supported and raiseNotImplementedError. - OpenAI API errors are automatically mapped to typed Auriko error classes.
- The adapter uses
AsyncOpenAIinternally; the client is lazily initialized on first use.