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
aion_lite_llm(...)
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:
| Parameter | Type | Description |
|---|---|---|
model | str | Model ID from the Aion control plane model catalog |
**kwargs | Any | Additional keyword arguments forwarded to ADK’s LiteLlm |
LiteLlm instance backed by Aion’s model proxy.
Raises:
ImportError— Ifgoogle-adkwithLiteLlmsupport is not installed
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: