项目文件夹
Updates the requirements on [tenacity](https://github.com/jd/tenacity), [pyyaml](https://github.com/yaml/pyyaml), [datasets](https://github.com/huggingface/datasets), [html2text](https://github.com/Alir3z4/html2text), [gymnasium](https://github.com/Farama-Foundation/Gymnasium), [pillow](https://github.com/python-pillow/Pillow), [uvicorn](https://github.com/Kludex/uvicorn), [duckduckgo-search](https://github.com/deedy5/duckduckgo_search), [aiofiles](https://github.com/Tinche/aiofiles), [pytest](https://github.com/pytest-dev/pytest), [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio), [mcp](https://github.com/modelcontextprotocol/python-sdk), [boto3](https://github.com/boto/boto3), [requests](https://github.com/psf/requests), [beautifulsoup4](https://www.crummy.com/software/BeautifulSoup/bs4/), [crawl4ai](https://github.com/unclecode/crawl4ai), [huggingface-hub](https://github.com/huggingface/huggingface_hub) and [setuptools](https://github.com/pypa/setuptools) to permit the latest version. Updates `tenacity` to 9.1.2 - [Release notes](https://github.com/jd/tenacity/releases) - [Commits](https://github.com/jd/tenacity/compare/9.0.0...9.1.2) Updates `pyyaml` to 6.0.3 - [Release notes](https://github.com/yaml/pyyaml/releases) - [Changelog](https://github.com/yaml/pyyaml/blob/6.0.3/CHANGES) - [Commits](https://github.com/yaml/pyyaml/compare/6.0.2...6.0.3) Updates `datasets` to 4.2.0 - [Release notes](https://github.com/huggingface/datasets/releases) - [Commits](https://github.com/huggingface/datasets/compare/3.4.1...4.2.0) Updates `html2text` to 2025.4.15 - [Release notes](https://github.com/Alir3z4/html2text/releases) - [Changelog](https://github.com/Alir3z4/html2text/blob/master/ChangeLog.rst) - [Commits](https://github.com/Alir3z4/html2text/compare/2024.2.26...2025.4.15) Updates `gymnasium` to 1.2.1 - [Release notes](https://github.com/Farama-Foundation/Gymnasium/releases) - [Commits](https://github.com/Farama-Foundation/Gymnasium/compare/v1.1.1...v1.2.1) Updates `pillow` to 11.3.0 - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/11.1.0...11.3.0) Updates `uvicorn` to 0.37.0 - [Release notes](https://github.com/Kludex/uvicorn/releases) - [Changelog](https://github.com/Kludex/uvicorn/blob/main/docs/release-notes.md) - [Commits](https://github.com/Kludex/uvicorn/compare/0.34.0...0.37.0) Updates `duckduckgo-search` to 8.1.1 - [Release notes](https://github.com/deedy5/duckduckgo_search/releases) - [Commits](https://github.com/deedy5/duckduckgo_search/compare/v7.5.3...v8.1.1) Updates `aiofiles` to 25.1.0 - [Release notes](https://github.com/Tinche/aiofiles/releases) - [Changelog](https://github.com/Tinche/aiofiles/blob/main/CHANGELOG.md) - [Commits](https://github.com/Tinche/aiofiles/compare/v24.1.0...v25.1.0) Updates `pytest` to 8.4.2 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.3.5...8.4.2) Updates `pytest-asyncio` to 1.2.0 - [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) - [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.25.3...v1.2.0) Updates `mcp` to 1.17.0 - [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases) - [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md) - [Commits](https://github.com/modelcontextprotocol/python-sdk/compare/v1.5.0...v1.17.0) Updates `boto3` to 1.40.50 - [Release notes](https://github.com/boto/boto3/releases) - [Commits](https://github.com/boto/boto3/compare/1.37.18...1.40.50) Updates `requests` to 2.32.5 - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.32.3...v2.32.5) Updates `beautifulsoup4` to 4.14.2 Updates `crawl4ai` to 0.7.4 - [Release notes](https://github.com/unclecode/crawl4ai/releases) - [Changelog](https://github.com/unclecode/crawl4ai/blob/main/CHANGELOG.md) - [Commits](https://github.com/unclecode/crawl4ai/compare/v0.6.3...v0.7.4) Updates `huggingface-hub` to 0.35.3 - [Release notes](https://github.com/huggingface/huggingface_hub/releases) - [Commits](https://github.com/huggingface/huggingface_hub/compare/v0.29.2...v0.35.3) Updates `setuptools` to 80.9.0 - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v75.8.0...v80.9.0) --- updated-dependencies: - dependency-name: tenacity dependency-version: 9.1.2 dependency-type: direct:production dependency-group: version-all - dependency-name: pyyaml dependency-version: 6.0.3 dependency-type: direct:production dependency-group: version-all - dependency-name: datasets dependency-version: 4.2.0 dependency-type: direct:production dependency-group: version-all - dependency-name: html2text dependency-version: 2025.4.15 dependency-type: direct:production dependency-group: version-all - dependency-name: gymnasium dependency-version: 1.2.1 dependency-type: direct:production dependency-group: version-all - dependency-name: pillow dependency-version: 11.3.0 dependency-type: direct:production dependency-group: version-all - dependency-name: uvicorn dependency-version: 0.37.0 dependency-type: direct:production dependency-group: version-all - dependency-name: duckduckgo-search dependency-version: 8.1.1 dependency-type: direct:production dependency-group: version-all - dependency-name: aiofiles dependency-version: 25.1.0 dependency-type: direct:production dependency-group: version-all - dependency-name: pytest dependency-version: 8.4.2 dependency-type: direct:production dependency-group: version-all - dependency-name: pytest-asyncio dependency-version: 1.2.0 dependency-type: direct:production dependency-group: version-all - dependency-name: mcp dependency-version: 1.17.0 dependency-type: direct:production dependency-group: version-all - dependency-name: boto3 dependency-version: 1.40.50 dependency-type: direct:production dependency-group: version-all - dependency-name: requests dependency-version: 2.32.5 dependency-type: direct:production dependency-group: version-all - dependency-name: beautifulsoup4 dependency-version: 4.14.2 dependency-type: direct:production dependency-group: version-all - dependency-name: crawl4ai dependency-version: 0.7.4 dependency-type: direct:production dependency-group: version-all - dependency-name: huggingface-hub dependency-version: 0.35.3 dependency-type: direct:production dependency-group: version-all - dependency-name: setuptools dependency-version: 80.9.0 dependency-type: direct:production dependency-group: version-all ... Signed-off-by: dependabot[bot] <support@github.com>
👋 OpenManus
Manus 非常棒,但 OpenManus 无需邀请码即可实现任何创意 🛫!
我们的团队成员 @Xinbin Liang 和 @Jinyu Xiang(核心作者),以及 @Zhaoyang Yu、@Jiayi Zhang 和 @Sirui Hong,来自 @MetaGPT团队。我们在 3 小时内完成了开发并持续迭代中!
这是一个简洁的实现方案,欢迎任何建议、贡献和反馈!
用 OpenManus 开启你的智能体之旅吧!
我们也非常高兴地向大家介绍 OpenManus-RL,这是一个专注于基于强化学习(RL,例如 GRPO)的方法来优化大语言模型(LLM)智能体的开源项目,由来自UIUC 和 OpenManus 的研究人员合作开发。
项目演示
安装指南
我们提供两种安装方式。推荐使用方式二(uv),因为它能提供更快的安装速度和更好的依赖管理。
方式一:使用 conda
- 创建新的 conda 环境:
conda create -n open_manus python=3.12
conda activate open_manus
- 克隆仓库:
git clone https://github.com/FoundationAgents/OpenManus.git
cd OpenManus
- 安装依赖:
pip install -r requirements.txt
方式二:使用 uv(推荐)
- 安装 uv(一个快速的 Python 包管理器):
curl -LsSf https://astral.sh/uv/install.sh | sh
- 克隆仓库:
git clone https://github.com/FoundationAgents/OpenManus.git
cd OpenManus
- 创建并激活虚拟环境:
uv venv --python 3.12
source .venv/bin/activate # Unix/macOS 系统
# Windows 系统使用:
# .venv\Scripts\activate
- 安装依赖:
uv pip install -r requirements.txt
浏览器自动化工具(可选)
playwright install
配置说明
OpenManus 需要配置使用的 LLM API,请按以下步骤设置:
- 在
config目录创建config.toml文件(可从示例复制):
cp config/config.example.toml config/config.toml
- 编辑
config/config.toml添加 API 密钥和自定义设置:
# 全局 LLM 配置
[llm]
model = "gpt-4o"
base_url = "https://api.openai.com/v1"
api_key = "sk-..." # 替换为真实 API 密钥
max_tokens = 4096
temperature = 0.0
# 可选特定 LLM 模型配置
[llm.vision]
model = "gpt-4o"
base_url = "https://api.openai.com/v1"
api_key = "sk-..." # 替换为真实 API 密钥
快速启动
一行命令运行 OpenManus:
python main.py
然后通过终端输入你的创意!
如需使用 MCP 工具版本,可运行:
python run_mcp.py
如需体验不稳定的多智能体版本,可运行:
python run_flow.py
添加自定义多智能体
目前除了通用的 OpenManus Agent, 我们还内置了DataAnalysis Agent,适用于数据分析和数据可视化任务,你可以在config.toml中将这个智能体加入到run_flow中
# run-flow可选配置
[runflow]
use_data_analysis_agent = true # 默认关闭,将其改为true则为激活
除此之外,你还需要安装相关的依赖来确保智能体正常运行:具体安装指南
贡献指南
我们欢迎任何友好的建议和有价值的贡献!可以直接创建 issue 或提交 pull request。
或通过 📧 邮件联系 @mannaandpoem:mannaandpoem@gmail.com
注意: 在提交 pull request 之前,请使用 pre-commit 工具检查您的更改。运行 pre-commit run --all-files 来执行检查。
交流群
加入我们的飞书交流群,与其他开发者分享经验!
Star 数量
赞助商
感谢PPIO 提供的算力支持。
PPIO派欧云:一键调用高性价比的开源模型API和GPU容器
致谢
特别感谢 anthropic-computer-use 和 browser-use 为本项目提供的基础支持!
此外,我们感谢 AAAJ,MetaGPT,OpenHands 和 SWE-agent.
我们也感谢阶跃星辰 (stepfun) 提供的 Hugging Face 演示空间支持。
OpenManus 由 MetaGPT 社区的贡献者共同构建,感谢这个充满活力的智能体开发者社区!
引用
@misc{openmanus2025,
author = {Xinbin Liang and Jinyu Xiang and Zhaoyang Yu and Jiayi Zhang and Sirui Hong and Sheng Fan and Xiao Tang},
title = {OpenManus: An open-source framework for building general AI agents},
year = {2025},
publisher = {Zenodo},
doi = {10.5281/zenodo.15186407},
url = {https://doi.org/10.5281/zenodo.15186407},
}

