大語言模型 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.pswp.cn/pingmian/81647.shtml
繁體地址,請注明出處:http://hk.pswp.cn/pingmian/81647.shtml
英文地址,請注明出處:http://en.pswp.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 必…