Devtoolwatch BoardGet it every Monday

aisuite review

aisuite is a lightweight Python library offering a unified Chat Completions API across LLM providers plus an Agents API with tools and toolkits.

Updated Nov 1, 2026. Review written Oct 22, 2026 from the project's own sources; usage data refreshed every Monday.

TL;DR

aisuite is a lightweight Python library for building with LLMs. aisuite gives Python developers one OpenAI-style API across providers such as OpenAI, Anthropic, Google and Ollama, where you swap providers by changing one string. On top of that, aisuite adds an Agents API with Python-function tools, sandboxed toolkits, MCP support and tool policies.

aisuite at a glance

Category
Model SDKs and gateways
Maintained by
Andrew Ng (individual, @andrewyng on GitHub)
License
MIT
Language
Python, TypeScript, HTML
Repository
github.com/andrewyng/aisuite
PyPI package
aisuite 0.2.0
Latest release
aisuite 0.2.0 on PyPI, Sep 18, 2026
First published
Jun 30, 2024

What aisuite does

  • aisuite provides a unified, OpenAI-style chat API for OpenAI, Anthropic, Google, Mistral, Hugging Face, AWS, Cohere, Ollama, OpenRouter, Requesty and more.
  • aisuite streams OpenAI-shaped chunks with stream=True from supporting providers, with an async acreate variant.
  • aisuite turns plain Python functions into tools, generating schemas, executing calls and feeding results back when max_turns is set.
  • aisuite's Agents API runs declared agents with a Runner and attaches sandboxed toolkits for files, git and shell.
  • aisuite supports tool policies such as RequireApprovalPolicy and allow/deny lists to govern which tool calls run.
  • aisuite persists and resumes agent runs with in-memory, file or Postgres state stores, and captures artifacts and traces.
  • aisuite natively supports the Model Context Protocol, so any MCP server's tools can be passed to a model.

How it works

You install aisuite from PyPI, create an ai.Client(), and call client.chat.completions.create with a model string in provider:model format. aisuite routes the call to the right provider SDK with the right parameters. Provider support comes from adapters discovered by a naming convention, such as an OpenaiProvider class in openai_provider.py. Agents run through Agent and Runner, and MCP servers can be attached as tools.

How to install and start using aisuite

Base package (no provider SDKs)

pip install aisuite

With all provider SDKs

pip install 'aisuite[all]'

With MCP support

pip install 'aisuite[mcp]'

Requirements

  • Python 3.10 or later, below 4.0.
  • API keys for each LLM provider you call.
  • Provider SDKs installed via extras; the base package includes none.

First steps

  1. Install aisuite, adding the SDK extras for the providers you plan to call, such as 'aisuite[anthropic]'.
  2. Set up API keys for each provider, following the Chat Completions quickstart in docs/chat-completions-quickstart.md.
  3. Create a client with ai.Client() and call client.chat.completions.create using a model string like "openai:gpt-4o".
  4. Pass Python functions in tools with max_turns to let aisuite run the tool-calling loop for you.

Who aisuite is for

  • Python developers who want to call several LLM providers through one OpenAI-style interface.
  • Developers comparing models by swapping the provider string without rewriting code.
  • Teams building tool-using agents with approval policies, persistent state and MCP servers.

Limitations to know

  • aisuite is a Python library; the README shows no SDK for other languages.
  • aisuite streaming is manual tool calling and cannot be combined with max_turns.
  • aisuite streaming works only with supporting providers: OpenAI, Anthropic, Ollama and OpenAI-compatible endpoints.
  • The OpenWorker desktop app built on aisuite is developed in a separate repository, not in aisuite itself.

Is aisuite growing? Usage data

In the week of Oct 25–31, 2026, aisuite ranked #243 on the Devtoolwatch Board and #13 in Model SDKs and gateways, with a momentum score of 39 out of 100. Its main package had 21k downloads that week, +105% against its own 4-week average.

New GitHub stars per week for aisuite12 weeks from Aug 9, 2026: 40, 36, 86, 39, 30, 29, 33, 21, 12, 26, 21, 18 new stars, an average of 33 a week.Aug 9week of Oct 25
New GitHub stars per week for the last 12 weeks, from GitHub's stargazer history (today's stargazers by the week they starred).
Show the weekly numbers
New GitHub stars per week for aisuite
Week ofNew stars
Aug 9, 202640
Aug 16, 202636
Aug 23, 202686
Aug 30, 202639
Sep 6, 202630
Sep 13, 202629
Sep 20, 202633
Sep 27, 202621
Oct 4, 202612
Oct 11, 202626
Oct 18, 202621
Oct 25, 202618

On Hacker News

The Board ranks tools by four signals each week: new stars, new stars for the repo's size, added downloads and download growth beyond the market. How the ranking works.

aisuite alternatives

Other LLM SDKs and gateways on the Board in the week of Oct 25–31, 2026, by momentum:

Model SDKs and gateways ranked by momentum, the week of Oct 25–31, 2026
RankToolStarsDownloads/wk
#1thinking-orbsthinking-orbs is a React library of dotted, animated thought-orb loading indicators for AI and agent user interfaces.3.9k1.4M
#2HeadroomHeadroom compresses tool outputs, logs, files, and RAG chunks locally before they reach the LLM, as a library, proxy, or MCP server.78.5k125.8k
#3LiteLLMLiteLLM is an open source AI gateway and Python SDK that calls 100+ LLM providers through one OpenAI-format interface.62.5k23.1M
#4Honcho Memory library for building stateful agents7.9k–
#5Anthropic SDKAnthropic SDK is the official Python library for calling the Claude API from Python applications.4k111M
#6Hugging Face HubHugging Face Hub is the official CLI and Python client for downloading, uploading and managing models, datasets and Spaces on the…4k68.3M

All LLM SDKs and gateways, ranked

Recent aisuite releases

aisuite FAQ

Is aisuite free and open source?

Yes. aisuite's source code is on GitHub (andrewyng/aisuite) under the MIT license, so you can use it for free.

How do I install aisuite?

Run pip install aisuite. The aisuite package needs Python 3.10 or newer, below 4.0. The install section above has the other options from the project's README.

Is aisuite still maintained?

Yes. The andrewyng/aisuite repository was last updated on Sep 18, 2026, and the latest release, aisuite 0.2.0 on PyPI, came out on Sep 18, 2026.

How popular is aisuite?

aisuite has 16.4k GitHub stars as of Nov 1, 2026. It gained 18 new stars in the week of Oct 25–31, 2026, against a 12-week average of 33 a week. Its main package had 21k downloads that week, +105% against its own 4-week average. That made it #13 among LLM SDKs and gateways on the Devtoolwatch Board.

What are the best alternatives to aisuite?

Other LLM SDKs and gateways on the Devtoolwatch Board in the week of Oct 25–31, 2026, by momentum: thinking-orbs (#1), Headroom (#2), LiteLLM (#3), Honcho (#4), Anthropic SDK (#5). The alternatives table above has their numbers.

What is the aisuite library?

aisuite is a lightweight Python library for building with LLMs. aisuite has two layers: a unified Chat Completions API across providers, and an Agents API with tools, toolkits and MCP support on top.

How do I switch between LLM providers in aisuite?

aisuite selects the provider from the model string in provider:model format, such as "openai:gpt-4o" or "anthropic:claude-3-5-sonnet-20240620". Changing that one string routes the same call to a different provider.

Does aisuite support MCP servers?

Yes. aisuite natively supports the Model Context Protocol after installing the mcp extra. You can pass an MCP server as a tool entry, or use the explicit MCPClient for reusable connections, security filters and tool prefixing.

What is the relationship between aisuite and OpenWorker?

OpenWorker is a desktop AI coworker built on aisuite. It runs on macOS and Windows. OpenWorker development has moved to its own repository, andrewyng/openworker, and a historical snapshot remains in openworker-archive/.

Can I add a new provider to aisuite?

Yes. aisuite adds providers through a lightweight adapter. You create a module file named like openai_provider.py with a capitalized class such as OpenaiProvider extending BaseProvider. The naming convention enables automatic loading.

Sources

  1. andrewyng/aisuite on GitHub
  2. aisuite README
  3. aisuite on PyPI
  4. Release v0.1.3 (Jul 20, 2026)
  5. Release app-v0.1.1 (Jun 11, 2026)
  6. Release app-v0.1.0 (Jun 11, 2026)
  7. Hacker News: Andrew Ng ships Open CoWorker desktop AI agent
  8. Devtoolwatch Board, the week of Oct 25–31, 2026

aisuite README badge

Maintainers can show the tool's weekly Board rank in their README:

Devtoolwatch badge for aisuite

[![Devtoolwatch](https://index.devtoolwatch.com/badge/aisuite.svg)](https://index.devtoolwatch.com/tools/aisuite/)

How this page is made: Devtoolwatch writes each review from the project's README, releases, package metadata and website, with an AI model, then checks every claim against the source it cites and drops what the sources don't support. The numbers come from Devtoolwatch's daily GitHub snapshots, GitHub's stargazer history, and the npm and PyPI download APIs. Spotted an error? Email [email protected].