andrewyng / aisuite
A lightweight, unified Python interface that lets you swap between OpenAI, Anthropic, Google, Ollama, and more LLM providers by changing a single string — with an agent layer on top.
星标趋势
AI 分析
项目摘要
aisuite is a lightweight Python library that provides a unified Chat Completions API across multiple LLM providers (OpenAI, Anthropic, Google, Mistral, Ollama, and more) and an Agents API with tools, toolkits, and MCP support on top. It enables developers to swap LLM providers by changing a single string while building agentic applications.
为什么值得关注
Backed by Andrew Ng's team, aisuite has rapidly gained 15k+ stars by offering a clean, minimal abstraction over the fragmented LLM provider landscape. Its two-layer design — unified chat completions plus an agent framework with MCP support — makes it a compelling choice for developers who want provider flexibility without heavy dependencies.
优势
- Clean, minimal unified API across 10+ LLM providers with single-string provider switching
- Two-layer architecture: simple chat completions plus full Agents API with toolkits and MCP support
- Strong traction with 15k+ stars, 52 contributors, active releases, CI, and tests
局限性
- Core unified-API value proposition overlaps with established alternatives like litellm
- Relatively new project (mid-2024) with evolving API surface
使用场景
- Building LLM applications that need to switch between or support multiple providers
- Rapid prototyping and benchmarking across different LLM providers
- Developing AI agents with tool use, MCP server integration, and multi-turn loops