Manage AI models in a single interface
Developed by Andrew Ng, aisuite is a Python library that allows managing different generative AI providers through a single interface. It allows developers to switch between various model services without making code changes.
Updates
- August 2, 2026: Stars 14,220 → 15,888, latest release v0.1.3 (July 20, 2026).
What you get
- Manage different AI providers with a single interface
- Ability to switch between models without changing the code
- Defining Python functions as tools for artificial intelligence
Installation
pip install aisuite # base package, no provider SDKspip install 'aisuite[all]' # with all provider SDKsIf you don't write code
How can I manage different artificial intelligence models through a single interface using the Aisuite library? How should I set up my code structure and introduce my Python functions as tools into the model, especially when switching between different providers like OpenAI and Anthropic? Please create a simple example using the Chat Completions and Agents API structures provided by the aisuite library.
Repository: https://github.com/andrewyng/aisuite. Follow the official instructions in the README of this repository for setup and execution.
Before starting, check which OS we are on and if the necessary tools (e.g., Python, Node.js, Git, Docker) are installed. Install any missing ones step-by-step according to this system.
Create a new, empty folder to work in. Do not touch any files outside this folder and do not delete anything. Tell me what you are going to do in one sentence before running each command.
Tell me what I should see on the screen at the end of each step. If an error occurs, I will paste the error message to you exactly as it is, and we will fix it together.
Related dictionary terms
Links
TreScout did not build this tool · we found it in GitHub trends and wrote it up. This page describes the repository as of 2026-06-14: The star count and our text belong to that day, the repository may have changed since. Check the repository link for the current state. The introductory text was prepared with AI from the repository's own documentation, and this page was machine-translated from the Turkish original · the Turkish version prevails.