GitHub 项目:aisuite
仓库地址:https://github.com/andrewyng/aisuite
星级:16304 | 作者:安德鲁温
项目描述:与多个生成式人工智能提供商的简单、统一的接口
===================================================
自述文件内容:
> 
> ## OpenWorker
> **基于 aisuite 构建的桌面 AI 同事 — 现在位于其自己的存储库中:[andrewyng/openworker](https://github.com/andrewyng/openworker)。**
>
> OpenWorker 在您的计算机上聊天、进行深入研究并执行实际任务 - 使用
> 许可、连接到 Slack/电子邮件、生成 PDF、文档和电子表格以及运行计划的
> 自动化。带上您自己的 API 密钥(OpenAI、Anthropic、Google)或使用 Ollama 完全在本地运行;你的数据
> 保留在您的机器上。
>
> [**⬇ 下载 macOS 版**](https://github.com/andrewyng/openworker/releases/latest/download/OpenWorker-macos-arm64.dmg) macOS 13+ (Apple Silicon) · [**⬇ 下载 Windows 版**](https://github.com/andrewyng/openworker/releases/latest/download/OpenWorker-windows-setup.exe) Windows 10/11 (x64) · [**快速入门**](https://github.com/andrewyng/openworker#readme)
>
> *OpenWorker 开发已转移到新的存储库。其来源的历史快照保留在 [`openworker-archive/`](openworker-archive/README.md) 中。*
#爱套件
[](https://pypi.org/project/aisuite/)
[](https://github.com/psf/black)
`aisuite` 是一个轻量级 Python 库,用于使用 LLM 进行构建,分为两层:跨提供商的统一 **Chat Completions API**,以及顶部带有工具和工具包的 **Agents API**。 aisuite 还为 **OpenWorker** 提供支持,这是在[其自己的存储库](https://github.com/andrewyng/openworker)中开发的桌面 AI 同事:
````文本
┌────────────────────────────────────────────────┐
│ OpenWorker(单独的存储库) │ 用于执行日常任务的代理工具
├────────────────────────────────────────────────┤
│ 代理 API · 工具包 · MCP │ 跨多个法学硕士构建代理
├────────────────────────────────────────────────┤
│ 聊天完成 API │ 跨多个 LLM 提供商的一个 API
├────────┬────────────┬────────┬────────┬────────┤
│ OpenAI │ Anthropic │ Google │ Ollama │ 其他 │
└────────┴──────────┴────────┴────────┴────────┘
````
* **[Chat Completions API](#chat-completions)** — 统一的 OpenAI 风格界面,适用于 *OpenAI、Anthropic、Google、Mistral、Hugging Face、AWS、Cohere、Ollama、OpenRouter、Requesty* 等。通过更改一个字符串来交换提供商。
* **[Agents API · 工具包 · MCP](#agents)** — 为模型提供真正的 Python 函数作为工具,运行多轮循环,附加现成的工具包(文件、git、shell)或任何 MCP 服务器,并使用工具策略对其进行管理。
* **[OpenWorker](https://github.com/andrewyng/openworker)** — 使用 aisuite 构建的桌面 AI 同事,作为日常任务的应用程序提供。在自己的存储库中开发。
---
## 安装
安装基础包,或包含您的提供商的 SDK
开源推荐
morning
GitHub 热门项目:aisuite
摘要
GitHub项目:aisuite 仓库地址:https://github.com/andrewyng/aisuite Stars:16304 | 作者:andrewyng 项目描述:Simple, unified interface to multiple Generative AI providers ===============================================...
https
OpenWorker
andrewyng
aisuite
github
com
openworker
API
and
for
2026-09-25
1 阅读
约7分钟阅读
GitHub Trending
字号:
这篇文章对您有帮助吗?
订阅66必读
每日精选科技资讯,直达你的邮箱