Introducing LiteAgents
For new projects, use litellm.agent(), included in the LiteLLM Python SDK. This launch post describes the separate LiteAgents package. Its source and reference remain in the LiteAgents repository.

You've built an agent with your own tools, prompts, and model configuration. Now you want to try a different harness on the same task.
LiteAgents lets you switch agent harnesses without rewriting your application. Its interface is modeled after the Claude Agent SDK, including the query() pattern and typed messages. Choose Deep Agents, Pydantic AI, Claude Agent SDK, Codex, or OpenCode while keeping your tools, MCP connections, model configuration, and client code. Each selected harness runs its own agent loop.
LiteLLM gives you a common interface to models. LiteAgents brings that approach to agent harnesses, with native controls and optional durability through Temporal.


