本文最后更新于18 天前,其中的信息可能已经过时,如有错误请发送邮件到likethedramaallthetime@gmail.com
OpenManus项目地址
mannaandpoem/OpenManus: No fortress, purely open ground. OpenManus is Coming.
Manus的一夜爆火,许多人想要尝试,但是申请码一直不下来,蒟蒻也是。不过社区已经有大佬三小时“复刻”了manus,并在一天内狂揽8k star。
只需要根据项目地址中的操作步骤,即可复现。
使用体验
通过数次的使用,个人感觉此项目就是一个大型的爬虫,通过playwright模块爬取信息后进行处理,最后返回。如果想要的效果很好,还是很需要写prompt的功底的,并非一句话就可以出现很好的反馈。还有就是,API消耗的太快啦(〃>目<)。
安装指南
创建新的 conda 环境:
conda create -n open_manus python=3.12
conda activate open_manus
克隆仓库:
git clone https://github.com/mannaandpoem/OpenManus.git
cd OpenManus
安装依赖:
pip install -r requirements.txt
配置说明
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
如需体验开发中版本,可运行:
python run_flow.py