LiteLlm model wrapper, enabling ADK agents to execute any Neosantara model using the neosantara/<model> prefix.
Setup
Install the Google ADK and LiteLLM packages:Basic Agent Initialization
Use thegoogle.adk.models.lite_llm.LiteLlm class with the neosantara/ provider prefix to connect Neosantara models to your ADK agent. Credentials are automatically loaded from the NEOSANTARA_API_KEY environment variable.
Function and Tool Calling
Google ADK supports standard Python functions as agent tools. Passallowed_openai_params=["tools"] to your LiteLlm instance to propagate tool schema declarations:
Multi-Agent Hierarchies (Sub-Agents)
ADK coordinates multi-agent workflows using thesub_agents parameter. A root agent orchestrates and delegates specialized queries to sub-agents: