链载Ai

标题: Manus开源平替 - LangManus [打印本页]

作者: 链载Ai    时间: 1 小时前
标题: Manus开源平替 - LangManus

引言

ingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 300;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;">在AI时代,如何让机器帮助我们自动化完成复杂任务?Manus 作为一款由中国团队开发的 AI Agent 产品,以其强大的自主研究与任务执行能力引起广泛关注。然而,它的访问权限限制了许多开发者的使用。

ingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 300;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;">幸运的是,社区已经提供了一款开源的替代方案——LangManus。它是一个 AI 自动化框架,能够通过智能规划、搜索、浏览器自动化和代码执行,帮助用户自动完成各种研究任务。

ingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 300;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;">在本篇文章中,我们将手把手教你安装、配置 LangManus,并实战演示如何用它自动化完成一个真实的研究任务。

ingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 300;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;">感兴趣的对本公众号点点关注,冰天雪地跪谢了?

LangManus:开源 AI 任务自动化框架

ingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 300;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;">Github地址:https://github.com/langmanus/langmanus

ingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 300;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;">

ingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 300;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;">LangManus的核心功能包括:

LangManus由两大核心模块组成:

接下来,我们进行安装与配置。


安装与配置 LangManus

安装LangManus核心


Step 1: 克隆代码仓库:

gitclonehttps://github.com/langmanus/langmanus.gitcdlangmanus

Step 2: 使用 uv 进行环境管理:

uvsyncuvpipinstallplaywright#安装浏览器自动化工具cp.env.example.env#复制环境变量文件

Step 3: 配置 .env,指定 AI 模型:

REASONING_MODEL_BASE_URL=https://api.deepseek.comREASONING_MODEL_NAME=deepseek-chatREASONING_MODEL_API_KEY=your_api_keyNON_REASONING_MODEL=deepseekVISION_MODEL=openai-gpt-4-vision

Step 4: 启动后端服务:

uvrunserver.py#默认运行在8000端口

安装 LangManus Web

Step 1: 克隆 Web 端代码:

gitclonehttps://github.com/langmanus/langmanus-web.gitcdlangmanus-web

Step 2: 复制并修改 .env:

NEXT_PUBLIC_API_URL=http://localhost:8000#指定后端API地址

Step 3: 运行前端:

pnpminstallpnpmrundev#运行在3000端口

至此,我们完成了 LangManus 的环境搭建,接下来进入实际应用场景!


实战演示:用 LangManus 自动化企业信息研究

在 Manus 官网,我们发现一个研究任务:获取 YC(Y Combinator)旗下 B2B 公司的信息。我们将用 LangManus 复现这一任务。


提出任务在 LangManus Web 界面,我们输入:

“获取 YC W25 批次下所有 B2B 公司的信息,并生成表格。”

任务执行流程LangManus 会自动完成以下步骤:

在后台日志中,我们可以看到

最终,我们获得了一份完整的企业信息研究报告!?

LangManus 的应用场景

除了上述案例,LangManus 还可以应用于:


总结

LangManus 作为一个 AI 任务自动化框架,为无法使用 Manus 的用户提供了一个强大的开源替代方案。它不仅能自动化执行研究任务,还可以通过不同的 AI 工具组合出各种智能工作流,大幅提升生产力。






欢迎光临 链载Ai (https://www.lianzai.com/) Powered by Discuz! X3.5