目录

-Manus平替开源项目

【 Manus平替开源项目】

https://i-blog.csdnimg.cn/direct/27a92513f90547e998cdd996f18534ee.png

Manus平替开源项目

1 OpenManus

1.1 简介

开发团队
MetaGPT 核心贡献者(5 人团队,3 小时完成开发)

特点 :

  • 无需邀请码 ,支持本地部署与实时反馈

  • 模块化 Agent 系统

    • 主代理(项目经理)
    • 规划代理(任务分解)
    • 工具调用代理(执行操作)
  • 多模型支持 :Claude 3.5、Qwen VL Plus 等,可扩展其他模型

  • 工具链 :浏览器自动化、Python 执行器、文件处理系统

    GitHub :

1.2 安装教程

1、 使用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

2、环境配置

OpenManus 需要配置 LLM APIs

(1)创建一个config.toml文件,也可以用以下命令创建文件:

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

(2)编辑 config/config.toml ,添加t API keys 和用户配置:

# Global LLM configuration
[llm]
model = "gpt-4o"
base_url = "https://api.openai.com/v1"
api_key = "sk-..."  # Replace with your actual API key
max_tokens = 4096
temperature = 0.0

# Optional configuration for specific LLM models
[llm.vision]
model = "gpt-4o"
base_url = "https://api.openai.com/v1"
api_key = "sk-..."  # Replace with your actual API key

1.3 运行

运行命令:

python main.py

也可以尝试运行非稳定版本,运行命令:

python run_flow.py

2 OWL

2.1 简介

开发团队
CAMEL-AI 团队

特点 :

  • 逆向工程工作流

    1. Ubuntu 容器启动
    2. 任务规划生成
    3. 工具链执行(共 6 步)
  • 跨平台操作 :支持 Ubuntu 容器、手机应用、浏览器控制

  • 记忆功能 :任务经验存储与知识召回

  • 性能优势 :GAIA 基准测试开源框架第一(平均分 58.18)

    GitHub :

    https://i-blog.csdnimg.cn/img_convert/4c7c01a600f637c6d19e0825d116a95c.png

2.2 安装教程

1、 使用Conda安装

# Clone github repo
git clone https://github.com/camel-ai/owl.git

# Change directory into project directory
cd owl

# Create a conda environment
conda create -n owl python=3.10

# Activate the conda environment
conda activate owl

# Option 1: Install as a package (recommended)
pip install -e .

# Option 2: Install from requirements.txt
pip install -r requirements.txt

# Exit the conda environment when done
conda deactivate

2、设置环境变量

OWL需要将变量 API keys 与不同的服务进行交互. 找到owl/.env_template文件,这个文件中包含了所有的 API keys接口。

(1)复制并重命名文件:

cd owl
cp .env_template .env

(2)配置API Keys

打开 .env 文件,插入你的 API keys 。

2.3 运行

尝试MCP(Model Context Protocal)交互

# Set up MCP servers (one-time setup)
npx -y @smithery/cli install @wonderwhy-er/desktop-commander --client claude
npx @wonderwhy-er/desktop-commander setup

# Run the MCP example
python owl/run_mcp.py

可以使用基础的命令运行:

python owl/run.py

3 OpenHands(原OpenDevin)

3.1 简介

定位
专注于软件开发的 AI Agent

特点 :

  • 全能开发能力

    • 代码修改
    • API 调用
    • 网页交互(支持 StackOverflow 代码复制)
  • 易部署 :基于 Docker 快速启动,提供详细文档

    GitHub :

3.2 安装教程和运行

在Docker中运行OpenHands:

docker pull docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaik

docker run -it --rm --pull=always \
    -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaik \
    -e LOG_ALL_EVENTS=true \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v ~/.openhands-state:/.openhands-state \
    -p 3000:3000 \
    --add-host host.docker.internal:host-gateway \
    --name openhands-app \
    docker.all-hands.dev/all-hands-ai/openhands:0.28

然后打开浏览器,输入 ,OpenHands运行。