the-open-agent /openagent

⚡️next-generation personal AI assistant powered by LLM, RAG and agent loops, supporting computer-use, browser-use and coding agent, demo: https://demo.openagentai.org

★ 5,745⑂ 673👁 47⑃ 0● 0▤ 1,207
GoApache-2.0Created 2020-05-29openagentai.org
下载:v2.89.2v2.89.2 ↓2.89.22026-09-01
+2
日增长
5,745
stars
673
forks
47
watchers
0
prs
0
issues
1,207
releases

README

基于 LLM、RAG 和 Agent 循环的下一代个人 AI 助手 — 单一二进制文件,无需安装

支持计算机操控、浏览器操控和编程 Agent
















在线演示 · 试用场 · 文档 · Discord



---

English | 中文

---

 什么是 OpenAgent?

OpenAgent 是一个开源个人 AI 助手,将强大的大语言模型、私有知识库和自主 Agent 循环融为一体,形成可自托管的一站式平台。你可以接入任意模型提供商、从文档构建 RAG 知识库,并让 Agent 代替你浏览网页、执行代码、调用任何兼容 MCP 的工具。




|                                               使用量统计                                                |                                                 活动监控                                                  |
|:------------------------------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------------------------------------------------:|
| !使用量统计 | !活动监控 |
|                                             工具管理                                              |                                                  详细日志                                                   |
| !工具管理  |       !详细日志       |




---

 赞助商

 想出现在这里?

---

 快速开始

提供 Linux、macOS 和 Windows(x86_64 / arm64)预编译二进制文件。安装脚本会自动下载最新版本并在 14000 端口启动 OpenAgent。

macOS / Linux / WSL
bash
curl -fsSL https://raw.githubusercontent.com/the-open-agent/openagent/master/scripts/install.sh | bash


Windows(PowerShell)
powershell
irm https://raw.githubusercontent.com/the-open-agent/openagent/master/scripts/install.ps1 | iex


 Windows 原生支持 — 无需 WSL,无需 Docker。

打开 http://localhost:14000 即可使用。

 可选环境变量:OPENAGENT_VERSION、INSTALL_DIR、BIN_DIR

从源码构建
bash
 后端
go build

 前端
cd web && yarn install && yarn start


Docker
bash
docker-compose up


容器启动后访问 http://localhost:14000。

---

 功能特性

 🤖 30+ 模型提供商

接入所有主流 LLM 提供商,无需修改代码即可在对话中随时切换。



OpenAI · Azure OpenAI · Anthropic Claude · Google Gemini · DeepSeek · Mistral · Grok · 通义千问 · 豆包 · 月之暗面 · 智谱 ChatGLM · 百川 · 文心一言 · 讯飞星火 · HuggingFace · Cohere · Amazon Bedrock · OpenRouter · Ollama · 以及更多



---

 🔄 自主 Agent 循环

| 能力                   | 说明                                                                                        |
|:-----------------------|:--------------------------------------------------------------------------------------------|
| 浏览器操控         | 驱动真实浏览器 — 导航、点击、填表、抓取页面内容和截图                                      |
| 网页搜索与抓取     | 搜索互联网并将实时页面内容纳入 Agent 上下文                                                 |
| Shell 执行         | 在 Agent 循环中直接运行 Shell 命令和脚本                                                    |
| Office 自动化      | 读写 Word、Excel 和 PowerPoint 文件                                                         |
| MCP 集成           | 接入任意兼容 MCP 的服务器(SSE / Stdio / StreamableHTTP),将其工具暴露给 Agent 使用        |
| 透明工具调用       | 逐步查看每次工具调用的名称、参数和返回值                                                    |

---

 📚 RAG 与知识库

| 能力               | 说明                                                                                   |
|:-------------------|:---------------------------------------------------------------------------------------|
| 文档导入       | 上传 PDF、Word、Excel 等文件 —

Discussions

Latest release

v2.89.2 v2.89.2 2026-09-01
Changelog
 45c53053eccf4d82f4e22a718ae87edc82fbff66 fix: avoid deleting all of an owner's messages when cleaning up empty chats

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON