Skip to main content
Use Arbytra as your LLM provider in Google’s Agent Development Kit (ADK). This integration is Python-only. For TypeScript, use the Vercel AI SDK integration.

Prerequisites

Install

Use SDK adapter

Use the ArbytraLlm adapter:
ArbytraLlm is a native BaseLlm implementation that supports text and function calling. It maps OpenAI API errors to typed Arbytra error classes.
inline_data and file_data parts raise NotImplementedError.

Configure options

Configure routing

Pass a RoutingOptions instance to control routing:

Configure manually

If you prefer to use Google’s LiteLlm class directly:
LiteLLM ignores api_base for model names containing provider keywords (like gpt or claude). Always include custom_llm_provider="openai" to force LiteLLM to respect your custom base URL.
For routing options and typed error mapping, use ArbytraLlm.