Rust Crate — crates.io

Unified AI Provider SDK
for Rust

A modular, type-safe Rust SDK for AI providers. One unified API across OpenAI, Anthropic Claude, Google Gemini, DeepSeek, xAI Grok, and any OpenAI-compatible endpoint.

Crates.io Version Crates.io Downloads docs.rs GitHub Stars Last Commit

6+ Providers

OpenAI, Anthropic, Google Gemini, DeepSeek, xAI Grok, and any OpenAI-compatible endpoint — all with one unified trait API.

Universal Agent

Multi-step tool calling with builder pattern, structured JSON output, and composable middleware — production-ready.

MCP Integration

Full Model Context Protocol support — JSON-RPC, Stdio/SSE transport, resources, prompts, and automatic tool bridge.

Provider Capability Matrix

CapabilityOpenAIClaudeGeminiDeepSeekxAI
Chat / LLM
Streaming
Tool Calling
Structured Output
Universal Agent
MCP
Vision
Embeddings
Image Gen
TTS / STT