andrewyng /aisuite
Simple, unified interface to multiple Generative AI providers
★ 16,403⑂ 1,743👁 183⑃ 319● 107▤ 5
+3
日增长
+28
周增长
+84
月增长
16,403
stars
1,743
forks
183
watchers
319
prs
107
issues
5
releases
README
!OpenWorker OpenWorker A desktop AI coworker, built on aisuite — now in its own repository: andrewyng/openworker. OpenWorker chats, does deep research, and carries out real tasks on your computer — reading files with permission, connecting to Slack/email, producing PDFs, documents, and spreadsheets, and running scheduled automations. Bring your own API key (OpenAI, Anthropic, Google) or run fully local with Ollama; your data stays on your machine. ⬇ Download for macOS macOS 13+ (Apple Silicon) · ⬇ Download for Windows Windows 10/11 (x64) · Quickstart OpenWorker development has moved to the new repo. A historical snapshot of its source remains in openworker-archive/. aisuite aisuite is a lightweight Python library for building with LLMs, in two layers: a unified Chat Completions API across providers, and an Agents API with tools and toolkits on top. aisuite also powers OpenWorker, a desktop AI coworker developed in its own repository: text ┌───────────────────────────────────────────────┐ │ OpenWorker (separate repo) │ agent harness for doing everyday tasks ├───────────────────────────────────────────────┤ │ Agents API · Toolkits · MCP │ build agents across multiple LLMs ├───────────────────────────────────────────────┤ │ Chat Completions API │ one API across multiple LLM providers ├────────┬───────────┬────────┬────────┬────────┤ │ OpenAI │ Anthropic │ Google │ Ollama │ Others │ └────────┴───────────┴────────┴────────┴────────┘ Chat Completions API — a unified, OpenAI-style interface for OpenAI, Anthropic, Google, Mistral, Hugging Face, AWS, Cohere, Ollama, OpenRouter, Requesty, and more. Swap providers by changing one string. Agents API · Toolkits · MCP — give models real Python functions as tools, run multi-turn loops, attach ready-made toolkits (files, git, shell) or any MCP server, and govern it all with tool policies. OpenWorker — a desktop AI coworker built using aisuite, shipped as an app for everyday tasks. Developed in its own repository. --- Installation Install the base package, or include the SDKs of the providers you plan to use: shell pip install aisuite base package, no provider SDKs pip install 'aisuite[anthropic]' with a specific provider's SDK pip install 'aisuite[all]' with all provider SDKs You'll also need API keys for the providers you call — the Chat Completions quickstart covers key setup and your first calls. Looking for the OpenWorker desktop app? Downloads are on its releases page. --- Chat Completions — one API across providers The chat API provides a high-level abstraction for model interactions. It supports all core parameters (temperature, max_tokens, tools, etc.) in a provider-agnostic way, and standardizes request and response structures so you can focus on logic rather than SDK differences. Model names use the format :; aisuite routes the call to the right p
Top issues
#61Request for Python Asyncio Support16 comments · 2024-11-26#169Azure Open AI request need a version query parameter9 comments · 2024-12-28#66Structured Responses8 comments · 2024-11-26#134LLMError: Hugging Face request failed: Server error '500 Internal Server Error' for url 'https://api-inference.huggingface.co/models/mistralai/Pixtral-Large-Instruct-2411/v1/chat/completions' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/5007 comments · 2024-12-05#156Add support for Google's `generativeai`5 comments · 2024-12-17#132ImportError: Could not import module aisuite.providers.mistral_provider: No module named 'mistralai'. Please ensure the provider is supported by doing ProviderFactory.get_supported_providers()5 comments · 2024-12-05#50Add token usage information5 comments · 2024-11-24#125Using locally downloaded Hugging Face models4 comments · 2024-12-02
Latest release
OpenWorker 0.1.3 v0.1.3 2026-07-20What's Changed Integration with Nebius AI Studio added by @Aktsvigun in https://github.com/andrewyng/aisuite/pull/138 Nebius AI Studio brief documentation added by @Aktsvigun in https://github.com/andrewyng/aisuite/pull/173 Added support for deepseek LLMs by @Riddhimaan-Senapati in https://github.com/andrewyng/aisuite/pull/175 Tool calling support. Part I by @rohitprasad15 in https://github.com/andrewyng/aisuite/pull/102 Add the Azure api-version query parameters by @gongmingqm10 in https://github.com/andrewyng/aisuite/pull/186 Add support for reasoning content. by @rohitprasad15 in http