Skip to main content
Aion provides a helper function to create a Google ADK LiteLlm model instance that is automatically configured for use within the Aion framework. The helper handles authentication and bearer token refresh transparently, so you can focus on your agent logic.

Import

Overview

The model ID is the identifier from the Aion control-plane model catalog, not a raw provider model name.

aion_lite_llm(...)

Create a Google ADK LiteLlm instance configured for Aion. Aion resolves the bearer token and principal selector headers on every completion call, so the model always uses fresh credentials without any extra setup in your agent code. Parameters: Returns: A Google ADK LiteLlm instance backed by Aion’s model proxy. Raises:
  • ImportError — If google-adk with LiteLlm support is not installed
Example:

Usage with MCP Tools

aion_lite_llm is typically paired with aion_adk_mcp_toolset when the agent needs tools from Aion’s control plane: