Litellm Rust
Description
Minimal Rust SDK port of LiteLLM – unified async client for OpenAI, Anthropic, Gemini, and xAI
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
litellm-rust
[](https://github.com/avivsinai/litellm-rust/actions/workflows/ci.yml) [](https://crates.io/crates/litellm-rust) [](https://docs.rs/litellm-rust) [](LICENSE) [](https://www.rust-lang.org/)
Minimal Rust SDK port of [LiteLLM](https://github.com/BerriAI/litellm) (library only). Provides a unified interface for chat, embeddings, images, and video across multiple LLM providers.
**Note**: This project is under active development. APIs may change.
Features
- Unified client for OpenAI-compatible, Anthropic, Gemini, xAI, and Z.AI providers
- Chat completions with streaming (SSE) support
- Tool calling — model-requested function calls surfaced on
ChatResponse.tool_callsin OpenAI shape (Anthropictool_useand GeminifunctionCallnormalized through the same shape) - Text embeddings
- Image generation (OpenAI DALL-E / GPT Image)
- Video generation (Gemini Veo, OpenAI Sora)
- Model routing with
provider/modelformat - Automatic retry with exponential backoff
- Cost tracking via response headers
- Embedded model registry with pricing and context window data
- Daily model registry refreshes from LiteLLM's canonical catalog
Supported Providers
| Provider | Chat | Streaming | Embeddings | Images | Video |
|---|---|---|---|---|---|
| OpenAI-compatible | yes | yes | yes | yes | yes |
| Anthropic | yes | yes | - | - | - |
| Gemini | yes | - | - | yes | yes |
| xAI | yes | yes | - | - | - |
| Z.AI | yes | yes | - | - | - |
Installation
Prefer [crates.io](https://crates.io/crates/litellm-rust). The published crate is **litellm-rust** `0.3.0`.
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11