A lightweight Python library that provides a unified interface to multiple Generative AI providers, with a Chat Completions API and an Agents API.
- v0.1.3
- Published at
- Jul 20, 2026
- 16,319
- Stars
- 3,076
- Download
- Synced at
- Oct 4, 2026
Latest release
v0.1.3Jul 20, 2026, 08:16 PMDownloads slow? Switch the source anytime above
README
Project Overview
aisuite is a lightweight Python library for building with LLMs. It features two layers: a unified Chat Completions API across providers, and an Agents API with tools and toolkits on top.
Key Features
- Unified Chat Completions API: supports OpenAI, Anthropic, Google, Mistral, Hugging Face, AWS, Cohere, Ollama, OpenRouter, and more
- Agents API with toolkits: give models real Python functions as tools, run multi-turn loops, and attach MCP servers
- OpenWorker: a desktop AI coworker built using aisuite
- Switch providers by changing one string
Target Audience
- Developers integrating multiple LLM providers
- Engineers building AI agents and tool-calling applications
- Teams who want a unified LLM API interface
Quick Start
- Install the base package:
pip install aisuite - Install specific provider SDKs:
pip install 'aisuite[anthropic]' - Use the unified API to call different providers
- Build agents and tool-calling workflows
Core Advantages
- Single API covering multiple major LLM providers
- Agents API with MCP server integration
- Initiated by Andrew Ng, with quality assurance
- Open-source and free, continuously updated
System Requirements
- OS: Cross-platform (Python environment)
- Architectures: x86_64, arm64
- Additional Dependencies: Python, pip
Notes
- OpenWorker development has moved to andrewyng/openworker
- Bring your own API keys (OpenAI, Anthropic, Google) or run locally with Ollama
Release history
Sort