> ## Documentation Index
> Fetch the complete documentation index at: https://docs.geekai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenManus

在 Manus 因邀请码机制陷入争议时，MetaGPT 的 OpenManus 团队 3 小时之内以闪电战般的开发速度迅速推出了免费开源版 Manus —— [OpenManus](https://github.com/mannaandpoem/OpenManus)，无需邀请码，完全免费，以下是 OpenManus 的安装启动教程和演示视频：

### 安装教程

0、环境准备

由于 OpenManus 是基于 Python 开发的，这里我们基于 Python 环境管理工具 Conda 来快速安装 OpenManus。如果你的系统尚未安装，以 Ubuntu 为例，可以使用以下命令安装 Conda：

```
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
```

> 这里我们选择了轻量版的 [Miniconda](https://www.anaconda.com/docs/getting-started/miniconda/main)，如果你的系统已经安装了 Anaconda，可以跳过这一步。

1、创建新的 Conda 环境：

```
conda create -n open_manus python=3.12
conda activate open_manus
```

2、克隆仓库：

```
git clone https://github.com/mannaandpoem/OpenManus.git
cd OpenManus
```

3、安装依赖：

```
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
```

> 国内需要使用镜像源安装依赖加快速度。

安装过程中，遇到任何问题，请加入极客智坊[开发者群](https://docs.geekai.co/cn/docs/quick_start#开发者群)寻求帮助。

### 快速启动

完成以上安装步骤后，还需要配置使用的大语言模型 API 才能启动 OpenManus，首先在 `config` 目录创建 `config.toml` 文件：

```
cp config/config.example.toml config/config.toml
```

然后编辑 `config/config.toml` 配置 AI 模型、Base URL 及 API KEY，我们以极客智坊模型代理 API 为例进行演示：

```
# 全局 LLM 配置
[llm]
model = "gpt-4o-mini"
base_url = "https://geekai.dev/api/v1"
api_key = "sk-..."  # 替换为极客智坊用户后台 API KEY
max_tokens = 4096
temperature = 0.0

# 可选特定 LLM 模型配置
[llm.vision]
model = "gpt-4o-mini"
base_url = "https://geekai.dev/api/v1"
api_key = "sk-..."  # 替换为极客智坊用户后台 API KEY
```

> API KEY 可以去极客智坊用户后台[令牌管理](https://geekai.co/user/api_keys)页面复制，极客智坊支持上百种主流 AI 模型，且比官方价格更低，可用性更高，可以从[模型广场](https://geekai.co/models)任意选用。

完成以上配置后，就可以通过以下命令启动 OpenManus 了：

```
python main.py
```

接下来就可以从终端输入你的需求，开启 OpenManus 之旅了：

![通过控制台与OpenManus交互](https://static.geekai.co/storage/2025/03/07/image-20250307223239833.png)

### Web UI

社区贡献者还为 OpenManus 开发了 Web UI 项目 [OpenManusWeb](https://github.com/YunQiAI/OpenManusWeb)，以便开发者在浏览器中体验 OpenManus，如果你已经安装过 OpenManus，可以参考以下步骤快速启动，除了最后启动命令之外，其他和 OpenManus 完全一样。

1、下载项目并安装依赖：

```
git clone https://github.com/YunQiAI/OpenManusWeb.git
cd OpenManusWeb
conda activate open_manus
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
```

2、配置文件：

```
cp config/config.example.toml config/config.toml
```

配置文件内容和 OpenManus 完全一样，这里不再重复演示。

3、启动 Web 服务：

```
python web_run.py
```

启动成功会自动在浏览器打开 Web UI 页面：

![OpenManusWeb启动命令](https://static.geekai.co/storage/2025/03/12/image-20250312154720162.png)

如果没有自动打开，可以手动访问 `http://localhost:8000`：

![OpenManus Web UI](https://static.geekai.co/storage/2025/03/12/image-20250312154859628.png)

### 项目演示

以下是 OpenManus 官方提供的 SEO 网站项目演示视频：

<video controls className="w-full aspect-video" src="https://static.geekai.co/video/420168772-6dcfd0d2-9142-45d9-b74e-d10aa75073c6.mp4" />
