aisuite
16,392
Stars
1,741
Forks
183
Watchers
166
Open Issues
MIT
许可证
Python
语言
2024-06-30
创建时间
2026-09-18
最近更新
项目能做什么
统一接入多个 Generative AI 服务商的简洁接口。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
>  > ## OpenWorker > **A desktop AI coworker, built on aisuite — now in its own repository: [andrewyng/openworker](https://github.com/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**](https://github.com/andrewyng/openworker/releases/latest/download/OpenWorker-macos-arm64.dmg) <sub>macOS 13+ (Apple Silicon)</sub> · [**⬇ Download for Windows**](https://github.com/andrewyng/openworker/releases/latest/download/OpenWorker-windows-setup.exe) <sub>Windows 10/11 (x64)</sub> · [**Quickstart**](https://github.com/andrewyng/openworker#readme) > > *OpenWorker development has moved to the new repo. A historical snapshot of its source remains in [`openworker-archive/`](openworker-archive/README.md).* <br> # aisuite [](https://pypi.org/project/aisuite/) [](https://github.com/psf/black) `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](https://github.com/andrewyng/openworker): ```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](#chat-completions)** — 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](#agents)** — 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](https://github.com/andrewyng/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阅读完整原文
项目深度分析 AI 生成
企业级LLM智能路由与成本监控网关
| 产品构想 | 基于 aisuite 的统一接口层,封装一个轻量级的企业多模型路由中间件。提供按成本/延迟自动降级、容灾回退、多租户 API Key 配额与用量审计看板。 |
| 核心功能 | 动态智能路由(降本模型与高智商模型分流)、故障自动重试切换、Token成本统计与预算控制、统一鉴权网关。 |
| 目标用户 | 采用多个商用大模型API的中小企业CTO、全栈开发团队。 |
| 难度/周期 | 中等 · 4-6周 · 成本:极低(主要是轻量级服务器与数据库成本) |
| 收费模式 | 按月订阅制(SaaS)或开源核心+企业高级功能(Open-core)许可证收费。 |
| 竞争风险 | 市场上已有成熟竞争对手(如 LiteLLM、OneAPI),需在易用性、集成度和差异化分析上有明显优势。 |
| 依据 | 已验证事实 |
行业垂直领域的 OpenWorker 自动化技能与插件市场
| 产品构想 | 围绕 aisuite 的 Agents API、MCP 规范及 OpenWorker 桌面框架,开发面向特定岗位(如财务对账、跨境电商调研、法务初审)的即插即用工作流插件包和高级 MCP 服务端。 |
| 核心功能 | 开箱即用的专业格式报告生成(PDF/Excel)、特定行业软件/SaaS接口MCP适配器、开箱即用的桌面本地定时任务模板。 |
| 目标用户 | 非技术型专业白领、咨询顾问、独立创作者。 |
| 难度/周期 | 较低 · 2-4周 · 成本:极低(开发为主) |
| 收费模式 | 按套买断付费(Gumroad/独立站)或按年订阅专业工具包包年服务。 |
| 竞争风险 | OpenWorker 本身在快速迭代,上层插件与协议可能因底层接口重构而面临维护成本。 |
| 依据 | AI推测 |
私有化 Agent 部署咨询与定制集成方案
| 产品构想 | 提供基于 aisuite + Ollama/私有云模型的企业内网 Agent 交付服务,帮助重视数据隐私的传统企业打通内部知识库与业务系统工具链。 |
| 核心功能 | 全本地化部署交付、内部系统专属 MCP 工具开发、数据脱敏与调用鉴权策略审计、定制化 Agent 流程配置。 |
| 目标用户 | 有数据不出境/合规要求的企事业单位、金融/医疗初创公司。 |
| 难度/周期 | 中等 · 2-3周/单 · 成本:人力成本为主,基本无额外基建投入 |
| 收费模式 | 项目制交付实施费 + 年度技术维保服务费。 |
| 竞争风险 | 项目制交付难以标准化规模化复制,获客周期较长。 |
| 依据 | 尚需验证的假设 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| webconsulting/aisuite | 中文介绍暂未生成 Suite of open source tools for work with self hosted AI (Flo |
14 | Shell |
| ZebraDevs/AISuite_Android_Samples | 中文介绍暂未生成 Welcome to the Mobile Computing AISuite's Sample and Demo ap |
12 | Kotlin |
| cpunion/go-aisuite | 中文介绍暂未生成 A cross-platform Go library for interacting with multiple AI |
6 | Go |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建于 2024-06-30,最近推送 2026-09-18,发布过 5 个 Release |
| 社区活跃 | Star 16,392 / Fork 1,741 / Issue 166(数据支持,可自行核实) |
| 许可证 | MIT |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。