大语言模型 15 - Manus 超强智能体 开源版本 OpenManus 案例与原理深入解析

写在前面

Manus 是由中国初创公司 Monica.im 于 2025 年 3 月推出的全球首款通用型 AI 智能体(AI Agent),旨在实现“知行合一”,即不仅具备强大的语言理解和推理能力,还能自主执行复杂任务,直接交付完整成果。

什么是 Manus?

“Manus”一词源自拉丁语“Mens et Manus”,意为“心智与双手”,强调其不仅能思考,还能动手执行。与传统 AI 助手(如 ChatGPT)主要提供建议或回答问题不同,Manus 能够独立完成从任务规划到执行的全过程。例如,用户只需输入一句话,Manus 就能自动完成数据分析、代码编写、文档生成等任务,真正实现从想法到成果的闭环。

Manus AI

https://manus.im/

在这里插入图片描述
这里放几个用户的案例:
● https://manus.im/share/jr5CKBMJJZDxvU2S5VdZLw?replay=1
● https://manus.im/share/c3onakN6Iajcm1Vt1xAVG7?replay=1
● https://manus.im/share/xFgpHb15vKqfRPWIs3JJPJ?replay=1

应用场景

  • 数据分析与可视化:处理上传的数据,生成图表、趋势分析或仪表盘。
  • 市场调研:搜索网络信息,整合数据并输出结构化分析结果。
  • 旅行规划:根据用户偏好生成详细行程和旅行手册。
  • 代码编写与运行:生成代码并测试,提供可执行程序或脚本。
  • 文件操作与整理:解压文件、对比文档并生成比较表格。
  • 网页生成:根据需求设计并输出展示型网页。
  • 多任务并行处理:支持同时处理多个任务,提升工作效率。

案例测试

贪吃蛇

写的提示词如下:

用HTML+CSS+JS 实现一个经典的 贪吃蛇游戏

最终的任务计划总结:

The plan to develop a classic Snake game using HTML, CSS, and JavaScript has been successfully completed. All 10 steps of the plan have been accomplished, achieving a 100% completion rate. The project involved setting up the project structure and basic files, creating and styling the game canvas with HTML and CSS, and initializing game variables with JavaScript. The core functionalities implemented include the snake's movement logic, food generation, collision detection, and game-over conditions. Additionally, features for starting and restarting the game were added. The game underwent testing and debugging to ensure functionality, and the code was optimized with added comments for clarity. The project is now complete with no pending tasks.

实现效果如下:https://wzk.icu/manus/snake/index.html
在这里插入图片描述

PingPong

提示词是这样的:

用HTML+CSS+JS 实现一个经典的 PingPong 游戏

计划汇总:

The plan to develop a Classic PingPong Game using HTML, CSS, and JavaScript (ID: plan_1741672648) has been successfully completed. All 9 steps of the plan have been accomplished, resulting in a fully functional game. The project began with setting up the necessary project structure, followed by designing the game layout. The core game logic was implemented using JavaScript, including the mechanics for paddle and ball movement. Collision detection was added to ensure interactions between paddles and walls were accurately represented. A scoring system and game over conditions were established to enhance gameplay. The game underwent thorough testing to ensure functionality and any bugs were addressed. Performance and responsiveness were optimized to provide a smooth user experience. Finally, the game was deployed to a web server or platform, making it accessible for users to play. The project was completed efficiently with no steps left in progress or blocked.

实现结果如下:https://wzk.icu/manus/pingpong/index.html
在这里插入图片描述

TODO List

提示词如下:

用HTML+CSS+JS 实现一个经典的todolist 可以添加修改删除

计划汇总如下:

The plan to implement a TODO list using HTML, JavaScript, and CSS has been successfully completed. All nine steps outlined in the plan have been accomplished, achieving a 100% completion rate. The steps included setting up the basic HTML structure, styling the list with CSS, and implementing various JavaScript functionalities such as adding, deleting, editing, and clearing items. Additionally, the application was tested across different browsers to ensure compatibility, and the code was optimized for performance and readability. Finally, the TODO list application was deployed to a web server, marking the completion of the project. The plan was executed efficiently with no steps blocked or left in progress.

效果如下:https://wzk.icu/manus/todolist/index.html

在这里插入图片描述

原理分析

基本介绍

OpenManus 采用了一种 类似 Auto-GPT 的思考方式,即智能体不会直接输出答案,而是会:
● 分析任务需求
● 制定解决方案
● 分解任务并执行
● 检查结果并优化
● 返回最终答案

按照我之前的认知来看,是一种:ReACT 的模式。
除了 ReACT 以外,还有一个:CodeACT(Manus团队采访的时候说用的是 CodeACT):

  • https://github.com/xingyaoww/code-act

在这里插入图片描述

AutoGPT

● https://github.com/Significant-Gravitas/AutoGPT
● https://agpt.co/

(之前自动生成绘本的项目)在24年的时候,当时使用 AutoGPT做了一些实验,当时GPT-4还非常的昂贵,做了一个给定任务:写小红帽的故事,借助生图工具(DALLE),保持上下文统一风格,最终生成了一组故事。

在 LangChain 中有一个简单案例,可以轻松的实现 ReACT:

# 下面是提示词的模板,通过提示词来激发大模型的 ReACT 行为:
# Answer the following questions as best you can. You have access to the following tools:
#
# {tools}
#
# Use the following format:
#
# Question: the input question you must answer
# Thought: you should always think about what to do
# Action: the action to take, should be one of [{tool_names}]
# Action Input: the input to the action
# Observation: the result of the action
# ... (this Thought/Action/Action Input/Observation can repeat N times)
# Thought: I now know the final answer
# Final Answer: the final answer to the original input question
#
# Begin!
#
# Question: {input}
# Thought:{agent_scratchpad}# Construct the ReAct agent
# tools = [搜索引擎、绘图、SQL 等等]
agent = create_react_agent(llm, tools, prompt)
# Create an agent executor by passing in the agent and tools
agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)message = agent_executor.invoke({"input": "what is LangChain?"})
print(f"message1: {message}")

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/pingmian/81647.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

【node.js】安装与配置

个人主页:Guiat 归属专栏:node.js 文章目录 1. Node.js简介1.1 Node.js的特点1.2 Node.js架构 2. Node.js安装2.1 下载和安装方法2.1.1 Windows安装2.1.2 macOS安装2.1.3 Linux安装 2.2 使用NVM安装和管理Node.js版本2.2.1 安装NVM2.2.2 使用NVM管理Node…

Neo4j(一) - Neo4j安装教程(Windows)

文章目录 前言一、JDK与Neo4j版本对应关系二、JDK11安装及配置1. JDK11下载2. 解压3. 配置环境变量3.1 打开系统属性设置3.2 新建系统环境变量3.3 编辑 PATH 环境变量3.4 验证环境变量是否配置成功 三、Neo4j安装(Windows)1. 下载并解压Neo4j安装包1.1 下…

深信服golang面经

for range 中赋值的变量,这个变量指向的是真实的地址吗,还是临时变量 不是真实地址,是临时变量 package mainimport "fmt"func main() {slice : []int{4, 2, 3}for _, v : range slice {fmt.Println(v, &v) // 这里的 v 是临…

PLC双人舞:profinet转ethernet ip网关奏响施耐德与AB的协奏曲

PLC双人舞:ethernet ip转profinet网关奏响施耐德与AB的协奏曲 案例分析:施耐德PLC与AB PLC的互联互通 在现代工业自动化中,设备之间的互联互通至关重要。本案例旨在展示如何通过北京倍讯科技的EtherNet/IP转Modbus网关,将施耐德P…

链接家里电脑

要在外网访问家里的电脑(或NAS),主要有 5种主流方法,各有优缺点,适用于不同需求。以下是详细方案和操作指南: 一、方案对比速查表 方法适用场景速度安全性难度是否需要公网IP远程桌面(RDP&…

VS Code开源AI编辑器:一场编程革命的新起点

在2025年5月19日,微软发布了一则激动人心的消息——VS Code将开源其AI编辑器组件,特别是GitHub Copilot Chat扩展。正如微软官方博客所宣告的:“我们相信代码编辑器的未来应该是开放的,并由AI驱动。” 为什么现在开源&#xff1f…

51c嵌入式※~合集7~Linux

我自己的原文哦~ https://blog.51cto.com/whaosoft/13926843 一、u-boot和bootloader~区别 Bootloader 比Bootloader从字面上来看就是启动加载的意思。用过电脑的都知道,windows开机时会首先加载bios,然后是系统内核,最后启动完毕。那…

深度学习实战 04:卷积神经网络之 VGG16 复现三(训练)

在后续的系列文章中,我们将逐步深入探讨 VGG16 相关的核心内容,具体涵盖以下几个方面: 卷积原理篇:详细剖析 VGG 的 “堆叠小卷积核” 设计理念,深入解读为何 332 卷积操作等效于 55 卷积,以及 333 卷积操作…

Ubuntu 20.04之Docker安装ES7.17.14和Kibana7.17.14

你需要已经安装如下运行环境: Ubuntu 20.04 docker 28 docker-compose 1.25 一、手动拉取镜像 docker pull docker.elastic.co/kibana/kibana:7.17.14docker pull docker.elastic.co/elasticsearch/elasticsearch:7.17.14 或者手动导入镜像 docker load -i es7.17.14.ta…

实时技术方案对比:SSE vs WebSocket vs Long Polling

早期网站仅展示静态内容,而如今我们更期望:实时更新、即时聊天、通知推送和动态仪表盘。 那么要如何实现实时的用户体验呢?三大经典技术各显神通: SSE(Server-Sent Events):轻量级单向数据流WebSocket:双向全双工通信Long Polling(长轮询):传统过渡方案假设目前有三…

测试开发面试题:Python高级特性通俗讲解与实战解析

前言:为什么测试工程师必须掌握Python高级特性? 通俗比喻: 基础语法就像“锤子”,能敲钉子;高级特性就像“瑞士军刀”,能应对复杂场景(如自动化框架、高并发测试)。面试官考察点&a…

C语言-9.指针

9.1指针 9.1-1取地址运算:&运算符取得变量的地址 运算符& scanf(“%d”,&i);里的&获取变量的地址,它们操作数必须是变量int i;printf(“%x”,&i);地址的大小是否与int相同取决于编译器int i;printf(“%p”,&i); &不能取的地址不能对没有地址的…

【C++】Vcpkg 介绍及其常见命令

Vcpkg 简介 Vcpkg 是微软开发的一个跨平台的 C/C 依赖管理工具,用于简化第三方库的获取、构建和管理过程。 主要特点 跨平台支持:支持 Windows、Linux 和 macOS开源免费:MIT 许可证大型库集合:包含超过 2000 个开源库简化集成&…

Unity3D 动画文件优化总结

前言 在Unity3D中,动画文件的压缩和优化是提升性能的重要环节,尤其在移动端或复杂场景中。以下是针对Animation Clip和Animator Controller的优化方法总结: 对惹,这里有一个游戏开发交流小组,希望大家可以点击进来一…

前端工程的相关管理 git、branch、build

环境配置 标准环境打包 测试版:npm run build-test 预生产:npm run build-preview 正式版:npm run build 建议本地建里一个 .env.development.local 方便和后端联调时修改配置相关信息。 和 src 同级有一下区分环境的文件: .env.d…

VAPO:视觉-语言对齐预训练(对象级语义)详解

简介 多模态预训练模型(Vision-Language Pre-training, VLP)近年来取得了飞跃发展。在视觉-语言模型中,模型需要同时理解图像和文本,这要求模型学习二者之间的语义对应关系。早期方法如 VisualBERT、LXMERT 等往往使用预先提取的图像区域特征和文本词嵌入拼接输入,通过 T…

docker运行Redis

创建目录 mkdir -p /home/jie/docker/redis/{conf,data,logs}添加权限 chmod -R 777 /home/jie/docker/redis创建配置文件 cat > /home/jie/docker/redis/conf/redis.conf << EOF # 基本配置 bind 0.0.0.0 protected-mode yes port 6379# 安全配置 密码是root require…

初识 java

目录 前言 一、jdk&#xff0c;JRE和JVM之间的关系 二、JVM的内存划分 前言 初步了解 jdk&#xff0c;JRE&#xff0c;JVM 之间的关系&#xff0c;JVM 的内存划分。 一、jdk&#xff0c;JRE和JVM之间的关系 jdk 是 java 开发工具集&#xff0c;包含JRE&#xff1b; JRE 是…

关于百度地图JSAPI自定义标注的图标显示不完整的问题(其实只是因为图片尺寸问题)

下载了几个阿里矢量图标库里的图标作为百度地图的自定义图标&#xff0c;结果百度地图显示的图标一直不完整。下载的PNG图标已经被正常引入到前端代码&#xff0c;anchor也设置为了图标底部中心&#xff0c;结果还是显示不完整。 if (iconUrl) {const icon new mapClass.Icon(…

系统安全及应用深度笔记

系统安全及应用深度笔记 一、账号安全控制体系构建 &#xff08;一&#xff09;账户全生命周期管理 1. 冗余账户精细化治理 非登录账户基线核查 Linux 系统默认创建的非登录账户&#xff08;如bin、daemon、mail&#xff09;承担系统服务支撑功能&#xff0c;其登录 Shell 必…