Build AI Agents with LiteLLM
Unified proxy across 100+ model providers
Available LiteLLM Models
| Model | ID |
|---|---|
| GPT-4o (via LiteLLM) | gpt-4o |
| Claude Sonnet 4.5 (via LiteLLM) | claude-sonnet-4-5-20250929 |
Quick start code
agent.py
from agno.agent import Agent
from agno.models.litellm import LiteLLM
agent = Agent(
name="My LiteLLM Agent",
model=LiteLLM(id="gpt-4o"),
instructions=["You are a helpful assistant."],
markdown=True,
)
agent.print_response("Hello! What can you help me with?")Install: pip install agno Then set LITELLM_API_KEY