OpenManus本地部署的圖文教程分享
1.OpenManus介紹
OpenManus,由 MetaGPT 團(tuán)隊(duì)精心打造的開源項(xiàng)目,于2025年3月發(fā)布。它致力于模仿并改進(jìn) Manus 這一封閉式商業(yè) AI Agent 的核心功能,為用戶提供無需邀請(qǐng)碼、可本地化部署的智能體解決方案。換句話說,OpenManus 就像一位全能的數(shù)字助手,能夠在你的本地設(shè)備上運(yùn)行,隨時(shí)聽候差遣,完成各種復(fù)雜任務(wù)。
它的出現(xiàn),打破了技術(shù)領(lǐng)域的高墻,讓每一位開發(fā)者都有機(jī)會(huì)站在同一起跑線上,快速實(shí)現(xiàn)諸如代碼生成、數(shù)據(jù)分析、網(wǎng)絡(luò)信息檢索等復(fù)雜任務(wù)的自動(dòng)化處理。無論你是獨(dú)立開發(fā)者,還是大型團(tuán)隊(duì)的一員,OpenManus 都能為你提供強(qiáng)大的支持,讓你專注于創(chuàng)造性的核心工作,而非將時(shí)間浪費(fèi)在重復(fù)性任務(wù)上。
1.1 本地智能體運(yùn)行
OpenManus 的一大亮點(diǎn)在于其本地智能體運(yùn)行能力。你只需通過簡(jiǎn)單的終端指令輸入任務(wù),它便能迅速調(diào)用預(yù)先配置的語言模型(LLM),為你實(shí)現(xiàn)自動(dòng)化的操作流程。無論是生成一段精妙的代碼,還是對(duì)復(fù)雜的數(shù)據(jù)進(jìn)行深度分析,亦或是執(zhí)行網(wǎng)頁交互任務(wù),OpenManus 都能輕松應(yīng)對(duì),讓你在數(shù)字化世界中游刃有余。
1.2 多工具鏈協(xié)同
為了更好地模擬人類的工作方式,OpenManus 搭建了一個(gè)強(qiáng)大的多工具鏈協(xié)同平臺(tái):
Python 代碼執(zhí)行器:它能夠?qū)崟r(shí)生成并運(yùn)行 Python 代碼,無論是進(jìn)行數(shù)學(xué)計(jì)算,還是編寫自動(dòng)化腳本,都能一氣呵成,大大提高了工作效率。
瀏覽器自動(dòng)化工具:這個(gè)工具就像你的網(wǎng)絡(luò)向?qū)?,能夠模擬人類操作,訪問各種網(wǎng)頁,提取你需要的信息,讓你無需手動(dòng)在海量的網(wǎng)絡(luò)數(shù)據(jù)中大海撈針。
文件處理系統(tǒng):文檔生成、管理以及格式化輸出(如生成精美的 HTML 報(bào)告)都不在話下,讓信息的整理和呈現(xiàn)變得更加專業(yè)和便捷。
網(wǎng)絡(luò)搜索工具:它能自動(dòng)檢索網(wǎng)絡(luò)上的最新數(shù)據(jù),為你的任務(wù)提供最前沿的實(shí)時(shí)支持,確保你的工作始終緊跟時(shí)代潮流。
1.3 實(shí)時(shí)反饋機(jī)制
在任務(wù)執(zhí)行的過程中,OpenManus 并非一味地悶頭苦干,而是通過實(shí)時(shí)反饋機(jī)制,將思考邏輯、進(jìn)度更新以及中間結(jié)果以可視化日志的形式呈現(xiàn)給你。這樣一來,你就能清晰地追蹤任務(wù)的每一步進(jìn)展,及時(shí)發(fā)現(xiàn)并解決問題,讓整個(gè)工作流程更加透明和可控。
2.技術(shù)架構(gòu)與實(shí)現(xiàn):靈活高效的智能引擎
2.1 模塊化設(shè)計(jì)
OpenManus 采用了先進(jìn)的模塊化設(shè)計(jì)理念,通過可插拔的工具(Tools)和系統(tǒng)指令(System Prompt)組合,實(shí)現(xiàn)了功能模塊的快速擴(kuò)展。就好比搭積木一樣,你可以根據(jù)自己的需求,輕松地添加或調(diào)整各種功能模塊,比如瀏覽器自動(dòng)化工具、數(shù)據(jù)分析工具等,讓智能體完美適配你的工作場(chǎng)景。
2.2 基于 LLM 的規(guī)劃系統(tǒng)
其規(guī)劃系統(tǒng)基于強(qiáng)大的語言模型(LLM),并采用了 ReAct(推理與行動(dòng))框架。這一框架能夠?qū)?fù)雜的任務(wù)巧妙地分解為一系列可執(zhí)行的子步驟,例如先收集信息,再進(jìn)行分析,最后生成報(bào)告,并且能夠動(dòng)態(tài)地協(xié)調(diào)各個(gè)工具的調(diào)用,確保任務(wù)的高效執(zhí)行。
2.3 多模型集成
OpenManus 默認(rèn)支持 GPT-4o 這一主流語言模型,但它的魅力不僅于此。通過簡(jiǎn)單的配置文件修改,你可以輕松切換到其他模型,如 Claude 3.5、Qwen VL Plus 等。這種多模型集成的方式,讓你能夠充分利用不同模型的優(yōu)勢(shì),根據(jù)具體任務(wù)選擇最合適的工具,從而達(dá)到最佳的效果。
3.應(yīng)用場(chǎng)景:無限可能的智能未來
OpenManus 的應(yīng)用場(chǎng)景幾乎涵蓋了我們工作和生活的方方面面:
自動(dòng)化辦公:無論是生成周計(jì)劃、整理會(huì)議紀(jì)要,還是處理 Excel 數(shù)據(jù),OpenManus 都能為你一鍵搞定,讓你從繁瑣的日常事務(wù)中解脫出來。
開發(fā)者輔助:對(duì)于開發(fā)者來說,它就像一位貼心的編程伙伴,能夠快速生成代碼片段、協(xié)助調(diào)試程序、規(guī)劃項(xiàng)目架構(gòu),讓開發(fā)過程更加順暢高效。
教育與研究:在教育領(lǐng)域,它能夠輔助編程教學(xué)、生成教學(xué)材料;在學(xué)術(shù)研究中,又能自動(dòng)整理文獻(xiàn)資料,為科研工作提供有力支持。
企業(yè)級(jí)工具:企業(yè)可以利用它定制專屬的數(shù)據(jù)分析工具、客戶支持系統(tǒng),甚至是 SEO 優(yōu)化報(bào)告生成器,助力企業(yè)在激烈的市場(chǎng)競(jìng)爭(zhēng)中脫穎而出。
創(chuàng)意實(shí)現(xiàn):如果你是一位創(chuàng)意工作者,OpenManus 能夠根據(jù)你的描述生成美觀的 HTML 頁面,或者對(duì)網(wǎng)站進(jìn)行深度技術(shù)分析,比如 SEO 審核,讓創(chuàng)意得以快速落地。
4.OpenManus部署
4.1 環(huán)境安裝
創(chuàng)建新的 conda 環(huán)境:
conda create -n open_manus python=3.12 conda activate open_manus
克隆倉(cāng)庫(kù):
git clone https://github.com/mannaandpoem/OpenManus.git
cd OpenManus安裝依賴:
安裝依賴:
pip install -r requirements.txt
4.2 配置
OpenManus 需要配置使用的 LLM API,請(qǐng)按以下步驟設(shè)置,我這里以本地部署的DeepSeek32B為例,如果使用官網(wǎng)滿血版本也是差不多的,將API秘鑰替換成LLM官網(wǎng)獲取的就行。
在 config
目錄創(chuàng)建 config.toml
文件(可從示例復(fù)制)
cp config/config.example.toml config/config.toml vi config/config.toml
編輯 config/config.toml
添加 API 密鑰和自定義設(shè)置(使用LLM官網(wǎng)的API方式)
# 全局 LLM 配置 [llm] model = "gpt-4o" base_url = "https://api.openai.com/v1" api_key = "sk-..." # 替換為真實(shí) API 密鑰 max_tokens = 4096 temperature = 0.0 # 可選特定 LLM 模型配置 [llm.vision] model = "gpt-4o" base_url = "https://api.openai.com/v1" api_key = "sk-..." # 替換為真實(shí) API 密鑰
QWQ32B (本地)接口驅(qū)動(dòng)
# 全局模型配置 [llm] model = "qwq:latest" base_url = "http://localhost:11434/v1" api_key = "local123" max_tokens = 4096 temperature = 0.0
確保ollama中的本地模型已經(jīng)啟動(dòng),如果是官網(wǎng)的不存在這個(gè)問題:
ollama run qwq:latest # 如果是QWQ32B
快速啟動(dòng)
python main.py
然后通過終端輸入你的創(chuàng)意!
我輸入了寫一個(gè)貪吃蛇的要求
本地部署版本的大模型,生成推理速度跟不上Agent要求,會(huì)出現(xiàn)報(bào)錯(cuò):
如需體驗(yàn)開發(fā)中版本,可運(yùn)行:
python run_flow.py
QWQ32B 官網(wǎng)驅(qū)動(dòng)
使用阿里百煉的接口,百煉當(dāng)前的規(guī)則是,只要首次登錄就會(huì)送100萬token,有效期半年。而針對(duì)QwQ模型是直接每天100萬 token。
# 全局模型配置 [llm] model = "qwen-plus" # 請(qǐng)換成自己的模型 base_url = "https://dashscope.aliyuncs.com/compatible-mode/v1" api_key = "填入自己的從平臺(tái)獲取的Key" max_tokens = 4096 temperature = 0.0
再次運(yùn)行Python main.py
提示:Please write a Sname Game in Python for me .
這就完全沒有障礙了,以下是Agent輸出信息
可以看到Agent自己調(diào)用工具編寫程序,自己測(cè)試和修改錯(cuò),這點(diǎn)是與用LLM不同的,雖然生成的內(nèi)容還有點(diǎn)問題,但整個(gè)過程自動(dòng)化。
(open_manus) aic@aic-System-Product-Name:~/OpenManus$ python main.py INFO [browser_use] BrowserUse logging setup complete with level info INFO [root] Anonymized telemetry enabled. See https://docs.browser-use.com/development/telemetry for more information. Enter your prompt (or 'exit' to quit): Please write a Sname Game in Python for me 2025-03-09 09:47:17.834 | WARNING | __main__:main:18 - Processing your request... 2025-03-09 09:47:17.835 | INFO | app.agent.base:run:137 - Executing step 1/30 2025-03-09 09:47:31.408 | INFO | app.agent.toolcall:think:53 - ? Manus's thoughts: To create a simple name game in Python, we don't need to use all the tools you've mentioned. We can just use `python_execute` to run the Python code for the game. The game will ask the user for their name and then greet them with a personalized message. Let's write a simple Python program that asks for the player's name and then plays a guessing game with them where they have to guess a number between 1 and 20. I'll use the `python_execute` function to run this Python script. 2025-03-09 09:47:31.408 | INFO | app.agent.toolcall:think:54 - ??? Manus selected 1 tools to use 2025-03-09 09:47:31.408 | INFO | app.agent.toolcall:think:58 - ?? Tools being prepared: ['python_execute'] 2025-03-09 09:47:31.408 | INFO | app.agent.toolcall:execute_tool:140 - ?? Activating tool: 'python_execute'... 2025-03-09 09:47:36.409 | INFO | app.agent.toolcall:act:113 - ?? Tool 'python_execute' completed its mission! Result: Observed output of cmd `python_execute` executed: {'observation': 'Execution timeout after 5 seconds', 'success': False} 2025-03-09 09:47:36.410 | INFO | app.agent.base:run:137 - Executing step 2/30 2025-03-09 09:47:47.882 | INFO | app.agent.toolcall:think:53 - ? Manus's thoughts: It seems that the execution timed out because the Python script tried to take input from stdin, which is not supported in this environment. To fix this, I will modify the game to use predefined inputs instead of waiting for user interaction. This way, I can demonstrate how the game works without requiring manual input during execution. Let's create a version of the name game that simulates user input and prints the results. 2025-03-09 09:47:47.882 | INFO | app.agent.toolcall:think:54 - ??? Manus selected 1 tools to use 2025-03-09 09:47:47.882 | INFO | app.agent.toolcall:think:58 - ?? Tools being prepared: ['python_execute'] 2025-03-09 09:47:47.882 | INFO | app.agent.toolcall:execute_tool:140 - ?? Activating tool: 'python_execute'... 2025-03-09 09:47:47.884 | INFO | app.agent.toolcall:act:113 - ?? Tool 'python_execute' completed its mission! Result: Observed output of cmd `python_execute` executed: {'observation': "name 'random' is not defined", 'success': False} 2025-03-09 09:47:47.884 | INFO | app.agent.base:run:137 - Executing step 3/30 2025-03-09 09:48:00.578 | INFO | app.agent.toolcall:think:53 - ? Manus's thoughts: It appears there was a mistake in the code snippet I provided. The `random` module wasn't imported properly within the scope of the function. Let's correct that and also make sure to simulate the guessing process correctly, ensuring that the guess attempts are valid for demonstration purposes. I will now fix the issue and rerun the game simulation. 2025-03-09 09:48:00.579 | INFO | app.agent.toolcall:think:54 - ??? Manus selected 1 tools to use 2025-03-09 09:48:00.579 | INFO | app.agent.toolcall:think:58 - ?? Tools being prepared: ['python_execute'] 2025-03-09 09:48:00.579 | INFO | app.agent.toolcall:execute_tool:140 - ?? Activating tool: 'python_execute'... 2025-03-09 09:48:00.581 | INFO | app.agent.toolcall:act:113 - ?? Tool 'python_execute' completed its mission! Result: Observed output of cmd `python_execute` executed: {'observation': "name 'random' is not defined", 'success': False} 2025-03-09 09:48:00.581 | INFO | app.agent.base:run:137 - Executing step 4/30 2025-03-09 09:48:18.701 | INFO | app.agent.toolcall:think:53 - ? Manus's thoughts: It seems there was a persistent issue with the execution environment recognizing the `random` module. Typically, this is a standard Python module and should be available without any issues. However, since we're encountering an unexpected problem, let's try defining the game logic again while ensuring that all used modules are properly imported. Let me correct the code once more to ensure that the random module is imported correctly and then simulate the game play. I will also limit the number of guesses to make sure the simulation does not run indefinitely. Let's try this corrected version of the name game. 2025-03-09 09:48:18.701 | INFO | app.agent.toolcall:think:54 - ??? Manus selected 1 tools to use 2025-03-09 09:48:18.701 | INFO | app.agent.toolcall:think:58 - ?? Tools being prepared: ['python_execute'] 2025-03-09 09:48:18.702 | INFO | app.agent.toolcall:execute_tool:140 - ?? Activating tool: 'python_execute'... 2025-03-09 09:48:18.703 | INFO | app.agent.toolcall:act:113 - ?? Tool 'python_execute' completed its mission! Result: Observed output of cmd `python_execute` executed: {'observation': "name 'random' is not defined", 'success': False} 2025-03-09 09:48:18.703 | INFO | app.agent.base:run:137 - Executing step 5/30 2025-03-09 09:48:47.581 | INFO | app.agent.toolcall:think:53 - ? Manus's thoughts: It appears that there is a persistent issue with the execution environment where it does not seem to recognize the `random` module despite it being part of Python's standard library and included in the import statement. This is unusual and may be due to an environment-specific problem. Since I am unable to execute the code with `python_execute`, I will provide you with the complete Python script for the name game, which you can run on your local machine. Additionally, I will save this script as a `.py` file using the `file_saver` function so that you can download it if you wish. Here is the Python script for the name game: ```python import random def play_game(): print('Hello! What is your name?') name = input() # When running locally, this will wait for user input. secret_number = random.randint(1, 20) print(f'Well, {name}, I am thinking of a number between 1 and 20.') guesses_taken = 0 while True: print('Take a guess.') try: guess = int(input()) # User provides a guess. guesses_taken += 1 if guess < secret_number: print('Your guess is too low.') elif guess > secret_number: print('Your guess is too high.') else: break # Correct guess; while loop ends. except ValueError: print('Please enter a valid number.') print(f'Good job, {name}! You guessed my number in {guesses_taken} guesses!') # Uncomment the following line to play the game when running the script: # play_game() ``` I will now proceed to save this script as a file. 2025-03-09 09:48:47.582 | INFO | app.agent.toolcall:think:54 - ??? Manus selected 1 tools to use 2025-03-09 09:48:47.582 | INFO | app.agent.toolcall:think:58 - ?? Tools being prepared: ['file_saver'] 2025-03-09 09:48:47.582 | INFO | app.agent.toolcall:execute_tool:140 - ?? Activating tool: 'file_saver'... 2025-03-09 09:48:47.584 | INFO | app.agent.toolcall:act:113 - ?? Tool 'file_saver' completed its mission! Result: Observed output of cmd `file_saver` executed: Content successfully saved to number_guessing_game.py 2025-03-09 09:48:47.584 | INFO | app.agent.base:run:137 - Executing step 6/30 2025-03-09 09:48:54.338 | INFO | app.agent.toolcall:think:53 - ? Manus's thoughts: The Python script for the name game has been successfully saved to a file named `number_guessing_game.py`. You can download this file and run it on your local machine. When you execute the script, it will prompt you to enter your name and then play a guessing game where you have to guess the number between 1 and 20. If you would like to proceed with any other task or need further assistance, please let me know! Otherwise, I'll conclude this interaction now. 2025-03-09 09:48:54.339 | INFO | app.agent.toolcall:think:54 - ??? Manus selected 1 tools to use 2025-03-09 09:48:54.339 | INFO | app.agent.toolcall:think:58 - ?? Tools being prepared: ['terminate'] 2025-03-09 09:48:54.339 | INFO | app.agent.toolcall:execute_tool:140 - ?? Activating tool: 'terminate'... 2025-03-09 09:48:54.339 | INFO | app.agent.toolcall:_handle_special_tool:172 - ?? Special tool 'terminate' has completed the task! 2025-03-09 09:48:54.339 | INFO | app.agent.toolcall:act:113 - ?? Tool 'terminate' completed its mission! Result: Observed output of cmd `terminate` executed: The interaction has been completed with status: success
沒有Manus邀請(qǐng)碼,玩不了Manus,用我自己搭的openManus嘗試一下Manus官網(wǎng)的例子
提示詞如下:
Can you help me plan a two-month family trip for three people during the upcoming summer break(July to September), including one month in Australia, then New Zealand, Argentina (and other parts of South America), and Antarctica? Please include itinerary arrangements, accommodation recommendations, budget estimates, and a food guide, and then generate a detailed travel handbook. Thank you.
從openManus的輸出可以看到agent主動(dòng)調(diào)用Google搜索去找攻略,但是被443了,其整個(gè)處理過程從輸出中可以概括如下:首先接收用戶指令,然后通過瀏覽器自動(dòng)化工具模擬人類操作訪問網(wǎng)頁、提取信息,利用網(wǎng)絡(luò)搜索工具自動(dòng)檢索網(wǎng)絡(luò)數(shù)據(jù),為任務(wù)提供實(shí)時(shí)支持。它采用ReAct(推理與行動(dòng))框架,將復(fù)雜任務(wù)分解為可執(zhí)行的子步驟,例如“收集信息→分析→生成報(bào)告”,并動(dòng)態(tài)協(xié)調(diào)工具調(diào)用。在處理過程中,它遇到了網(wǎng)絡(luò)連接問題,導(dǎo)致無法使用Google搜索工具獲取信息,于是調(diào)整策略,基于常見知識(shí)和用戶偏好,提供了旅行計(jì)劃的大綱,包括行程安排、住宿建議、預(yù)算估算和美食指南。最后,它使用文件處理系統(tǒng)將信息整理成詳細(xì)的旅行手冊(cè),保存為文本文件,并詢問用戶是否需要進(jìn)一步的準(zhǔn)備或等待網(wǎng)絡(luò)恢復(fù)以獲取更詳細(xì)的信息。
(open_manus) aic@aic-System-Product-Name:~/OpenManus$ python main.py INFO [browser_use] BrowserUse logging setup complete with level info INFO [root] Anonymized telemetry enabled. See https://docs.browser-use.com/development/telemetry for more information. Enter your prompt (or 'exit' to quit): Can you help me plan a two-month family trip for three people during the upcoming summer break(July to September), including one month in Australia, then New Zealand, Argentina (and other parts of South America), and Antarctica? Please include itinerary arrangements, accommodation recommendations, budget estimates, and a food guide, and then generate a detailed travel handbook. Thank you. 2025-03-09 10:07:05.843 | WARNING | __main__:main:18 - Processing your request... 2025-03-09 10:07:05.843 | INFO | app.agent.base:run:137 - Executing step 1/30 2025-03-09 10:07:07.781 | INFO | app.agent.toolcall:think:53 - ? Manus's thoughts: 2025-03-09 10:07:07.781 | INFO | app.agent.toolcall:think:54 - ??? Manus selected 1 tools to use 2025-03-09 10:07:07.781 | INFO | app.agent.toolcall:think:58 - ?? Tools being prepared: ['google_search'] 2025-03-09 10:07:07.781 | INFO | app.agent.toolcall:execute_tool:140 - ?? Activating tool: 'google_search'... 2025-03-09 10:07:12.849 | ERROR | app.agent.toolcall:execute_tool:162 - ?? Tool 'google_search' encountered a problem: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: /search?q=two-month+family+trip+itinerary+Australia+New+Zealand+Argentina+South+America+Antarctica&num=12&hl=en&start=0&safe=active (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f70974abe00>: Failed to establish a new connection: [Errno 101] Network is unreachable')) 2025-03-09 10:07:12.850 | INFO | app.agent.toolcall:act:113 - ?? Tool 'google_search' completed its mission! Result: Error: ?? Tool 'google_search' encountered a problem: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: /search?q=two-month+family+trip+itinerary+Australia+New+Zealand+Argentina+South+America+Antarctica&num=12&hl=en&start=0&safe=active (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f70974abe00>: Failed to establish a new connection: [Errno 101] Network is unreachable')) 2025-03-09 10:07:12.850 | INFO | app.agent.base:run:137 - Executing step 2/30 2025-03-09 10:07:14.637 | INFO | app.agent.toolcall:think:53 - ? Manus's thoughts: 2025-03-09 10:07:14.637 | INFO | app.agent.toolcall:think:54 - ??? Manus selected 1 tools to use 2025-03-09 10:07:14.637 | INFO | app.agent.toolcall:think:58 - ?? Tools being prepared: ['google_search'] 2025-03-09 10:07:14.637 | INFO | app.agent.toolcall:execute_tool:140 - ?? Activating tool: 'google_search'... 2025-03-09 10:07:19.647 | ERROR | app.agent.toolcall:execute_tool:162 - ?? Tool 'google_search' encountered a problem: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: /search?q=two-month+family+trip+itinerary+Australia+New+Zealand+Argentina+South+America+Antarctica&num=12&hl=en&start=0&safe=active (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f70974d99a0>: Failed to establish a new connection: [Errno 101] Network is unreachable')) 2025-03-09 10:07:19.647 | INFO | app.agent.toolcall:act:113 - ?? Tool 'google_search' completed its mission! Result: Error: ?? Tool 'google_search' encountered a problem: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: /search?q=two-month+family+trip+itinerary+Australia+New+Zealand+Argentina+South+America+Antarctica&num=12&hl=en&start=0&safe=active (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f70974d99a0>: Failed to establish a new connection: [Errno 101] Network is unreachable')) 2025-03-09 10:07:19.647 | INFO | app.agent.base:run:137 - Executing step 3/30 2025-03-09 10:07:29.691 | INFO | app.agent.toolcall:think:53 - ? Manus's thoughts: It seems there is a network issue preventing us from using the Google search function to find information on the web. I will attempt to use the Google search tool again shortly, but first let's outline the general steps we'll take to plan your family trip. 1. Break down the trip into segments based on location (Australia, New Zealand, Argentina and other parts of South America, Antarctica). 2. For each segment, research popular tourist destinations, activities suitable for families, and estimate travel time between locations. 3. Look up recommended accommodations that cater to families with children. 4. Create a rough budget for each country considering accommodation, food, transportation, and activities. 5. Compile a food guide that includes local cuisine recommendations and any dietary considerations for families. 6. Organize all the information into a detailed travel handbook. Since I cannot currently access online resources due to network issues, once the network is restored, I will be able to gather specific information for each part of the trip. In the meantime, if you have any preferences or specific interests for any of these locations, please let me know so I can tailor the itinerary accordingly. 2025-03-09 10:07:29.691 | INFO | app.agent.toolcall:think:54 - ??? Manus selected 1 tools to use 2025-03-09 10:07:29.691 | INFO | app.agent.toolcall:think:58 - ?? Tools being prepared: ['google_search'] 2025-03-09 10:07:29.692 | INFO | app.agent.toolcall:execute_tool:140 - ?? Activating tool: 'google_search'... 2025-03-09 10:07:34.701 | ERROR | app.agent.toolcall:execute_tool:162 - ?? Tool 'google_search' encountered a problem: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: /search?q=two-month+family+trip+itinerary+Australia+New+Zealand+Argentina+South+America+Antarctica&num=12&hl=en&start=0&safe=active (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f70974fc920>: Failed to establish a new connection: [Errno 101] Network is unreachable')) 2025-03-09 10:07:34.701 | INFO | app.agent.toolcall:act:113 - ?? Tool 'google_search' completed its mission! Result: Error: ?? Tool 'google_search' encountered a problem: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: /search?q=two-month+family+trip+itinerary+Australia+New+Zealand+Argentina+South+America+Antarctica&num=12&hl=en&start=0&safe=active (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f70974fc920>: Failed to establish a new connection: [Errno 101] Network is unreachable')) 2025-03-09 10:07:34.701 | INFO | app.agent.base:run:137 - Executing step 4/30 2025-03-09 10:07:37.375 | INFO | app.agent.toolcall:think:53 - ? Manus's thoughts: 2025-03-09 10:07:37.375 | INFO | app.agent.toolcall:think:54 - ??? Manus selected 1 tools to use 2025-03-09 10:07:37.375 | INFO | app.agent.toolcall:think:58 - ?? Tools being prepared: ['google_search'] 2025-03-09 10:07:37.375 | INFO | app.agent.toolcall:execute_tool:140 - ?? Activating tool: 'google_search'... 2025-03-09 10:07:42.384 | ERROR | app.agent.toolcall:execute_tool:162 - ?? Tool 'google_search' encountered a problem: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: /search?q=two-month+family+trip+itinerary+Australia+New+Zealand+Argentina+South+America+Antarctica&num=12&hl=en&start=0&safe=active (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7097511460>: Failed to establish a new connection: [Errno 101] Network is unreachable')) 2025-03-09 10:07:42.385 | INFO | app.agent.toolcall:act:113 - ?? Tool 'google_search' completed its mission! Result: Error: ?? Tool 'google_search' encountered a problem: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: /search?q=two-month+family+trip+itinerary+Australia+New+Zealand+Argentina+South+America+Antarctica&num=12&hl=en&start=0&safe=active (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7097511460>: Failed to establish a new connection: [Errno 101] Network is unreachable')) 2025-03-09 10:07:42.385 | INFO | app.agent.base:run:137 - Executing step 5/30 2025-03-09 10:08:20.080 | INFO | app.agent.toolcall:think:53 - ? Manus's thoughts: It appears that the network issue is persistent and preventing us from using the Google search function to gather information. In order to proceed with planning your trip, we can still make a general outline of what your two-month family trip might look like based on common itineraries for families visiting these destinations. Once the network issues are resolved, I will be able to provide more detailed and personalized information. ### General Itinerary Outline #### Month 1: Australia and New Zealand - **Australia (2 weeks)** - Sydney: Visit iconic sites such as the Opera House, Harbour Bridge, and Bondi Beach. - Great Barrier Reef: Explore one of the world's most beautiful coral reefs. - Uluru-Kata Tjuta National Park: Witness the stunning rock formations and learn about Aboriginal culture. - Melbourne: Enjoy arts, culture, and sports events. - **New Zealand (2 weeks)** - Auckland: Start in the city with museums and parks. - Rotorua: Experience geothermal wonders and Maori culture. - Queenstown: Adventure capital with activities like bungee jumping or scenic tours. - Fiordland National Park: Take a cruise through Milford Sound. #### Month 2: South America and Antarctica - **Argentina and Other Parts of South America (3 weeks)** - Buenos Aires: Explore the vibrant city life, tango, and cuisine. - Mendoza: Wine region and Andes Mountains. - Iguazu Falls: One of the world's largest waterfall systems. - Patagonia: Glacier viewing and trekking. - Optional: Machu Picchu in Peru or the Amazon Rainforest. - **Antarctica (1 week)** - Cruise: Visit penguins, seals, and whales in their natural habitat. - Zodiac excursions: Land on the continent to explore research stations. ### Accommodation Recommendations For each destination, consider booking: - Family-friendly hotels or resorts with amenities like pools and play areas. - Apartments or vacation rentals for more space and home-like comfort. - Eco-lodges in nature reserves for unique experiences. ### Budget Estimates The budget will depend on many factors including travel style, accommodation choices, and the number of activities you choose. Generally: - Australia and New Zealand can be quite expensive due to high living costs and long distances between attractions. - Argentina and other parts of South America tend to be more affordable except for flights. - Antarctica cruises vary widely in price but generally start at around $5,000 per person for a week-long trip. ### Food Guide Each country has its own culinary specialties: - Australia: Seafood, barbecue, meat pies, and multicultural dining options. - New Zealand: Fresh seafood, lamb, and kiwi fruit. - Argentina: Famous for its beef, empanadas, and Malbec wine. - South America: Diverse cuisines including Peruvian ceviche and Brazilian churrasco. - Antarctica: Meals are typically included on cruises and may feature international dishes. Once the network is operational again, I'll perform searches for more specific recommendations and current pricing. Meanwhile, if you have any preferences or specific requests for this trip, please let me know so I can incorporate them into the plan. If you would like to continue with creating a detailed travel handbook now with the available information, or wait until we can access online resources, please advise. 2025-03-09 10:08:20.080 | INFO | app.agent.toolcall:think:54 - ??? Manus selected 0 tools to use 2025-03-09 10:08:20.080 | INFO | app.agent.base:run:137 - Executing step 6/30 2025-03-09 10:09:04.420 | INFO | app.agent.toolcall:think:53 - ? Manus's thoughts: Given the ongoing network issues, I will proceed with creating a detailed travel handbook using the general outline provided. This handbook will be saved as a text file and can be expanded upon once we regain access to online resources for more specific details. I'll organize the information into sections for each part of your trip: Australia, New Zealand, Argentina and South America, and Antarctica. Each section will include a brief itinerary, accommodation recommendations, budget estimates, and a food guide based on common knowledge. Once this is done, you can review the content and let me know if any changes or additions are needed. Let's begin by drafting the text for the travel handbook. 2025-03-09 10:09:04.420 | INFO | app.agent.toolcall:think:54 - ??? Manus selected 1 tools to use 2025-03-09 10:09:04.421 | INFO | app.agent.toolcall:think:58 - ?? Tools being prepared: ['file_saver'] 2025-03-09 10:09:04.421 | INFO | app.agent.toolcall:execute_tool:140 - ?? Activating tool: 'file_saver'... 2025-03-09 10:09:04.423 | INFO | app.agent.toolcall:act:113 - ?? Tool 'file_saver' completed its mission! Result: Observed output of cmd `file_saver` executed: Content successfully saved to travel_handbook.txt 2025-03-09 10:09:04.423 | INFO | app.agent.base:run:137 - Executing step 7/30 2025-03-09 10:09:12.203 | INFO | app.agent.toolcall:think:53 - ? Manus's thoughts: The travel handbook has been successfully created and saved as `travel_handbook.txt`. This document includes a general itinerary for each destination, accommodation recommendations, budget estimates, and a food guide based on common knowledge. Once the network issues are resolved, I will be able to provide more detailed information and tailor the plan further according to your preferences. In the meantime, you can review the current content of the travel handbook and let me know if there's anything specific you'd like to add or modify. Would you like to proceed with any other preparations for your trip, or should we wait until the network is back up to access more detailed online resources? If you have any immediate questions or need assistance with another aspect of your travel planning, please let me know. 2025-03-09 10:09:12.203 | INFO | app.agent.toolcall:think:54 - ??? Manus selected 0 tools to use 2025-03-09 10:09:12.203 | INFO | app.agent.base:run:137 - Executing step 8/30 2025-03-09 10:09:26.233 | INFO | app.agent.toolcall:think:53 - ? Manus's thoughts: Given the ongoing network issues, let's focus on what we can do offline for now. Here are a few steps we can take: 1. **Review and Expand Travel Handbook**: We can review the travel handbook and expand it with more details that don't require online access, such as creating packing lists, planning activities suitable for children, or organizing entertainment for long flights. 2. **Create a Budget Template**: Develop a budget template where you can input costs as you find them. This can be done in a spreadsheet format which can later be filled with actual numbers once we have internet access. 3. **Prepare Travel Documents Checklist**: Make a checklist of all necessary travel documents such as passports, visas, travel insurance, and any other paperwork required for international travel. 4. **Research Offline Resources**: If you have any guidebooks or travel resources available offline, we can use those to add more information to your itinerary and travel handbook. 5. **Plan for Contingencies**: Think about potential challenges during the trip (e.g., lost luggage, medical emergencies) and prepare contingency plans. 6. **Draft an Itinerary Schedule**: Create a draft schedule for each day or week of the trip, leaving room for flexibility and spontaneous activities. Would you like to proceed with any of these steps? Or do you have another task in mind that we could work on while we wait for the network to be restored? If you have specific preferences or requests, please let me know so I can tailor the assistance accordingly. 2025-03-09 10:09:26.233 | INFO | app.agent.toolcall:think:54 - ??? Manus selected 0 tools to use 2025-03-09 10:09:26.233 | INFO | app.agent.base:run:137 - Executing step 9/30 2025-03-09 10:09:28.279 | INFO | app.agent.toolcall:think:53 - ? Manus's thoughts: 2025-03-09 10:09:28.280 | INFO | app.agent.toolcall:think:54 - ??? Manus selected 1 tools to use 2025-03-09 10:09:28.280 | INFO | app.agent.toolcall:think:58 - ?? Tools being prepared: ['terminate'] 2025-03-09 10:09:28.280 | INFO | app.agent.toolcall:execute_tool:140 - ?? Activating tool: 'terminate'... 2025-03-09 10:09:28.280 | INFO | app.agent.toolcall:_handle_special_tool:172 - ?? Special tool 'terminate' has completed the task! 2025-03-09 10:09:28.280 | INFO | app.agent.toolcall:act:113 - ?? Tool 'terminate' completed its mission! Result: Observed output of cmd `terminate` executed: The interaction has been completed with status: success
OpenManus的輸出雖然沒有Manus那驚艷,但三位大神3小時(shí)的作品確實(shí)讓人模版。從443錯(cuò)誤看出,Agent中的工具庫(kù)的多樣性增強(qiáng)以及智能選擇工具策略的強(qiáng)化才能極大提高其自動(dòng)化生產(chǎn)能力。
以上就是OpenManus本地部署的圖文教程分享的詳細(xì)內(nèi)容,更多關(guān)于OpenManus本地部署的資料請(qǐng)關(guān)注腳本之家其它相關(guān)文章!
相關(guān)文章
使用百度云加速后網(wǎng)站打開速度慢、廣告不顯示的解決方法
這篇文章主要介紹了使用百度云加速后網(wǎng)站打開速度慢、廣告不顯示的解決方法,需要的朋友可以參考下2015-09-09gradle+shell實(shí)現(xiàn)自動(dòng)系統(tǒng)簽名
這篇文章主要介紹了gradle+shell實(shí)現(xiàn)自動(dòng)系統(tǒng)簽名的相關(guān)資料,需要的朋友可以參考下2019-08-08Git撤銷&回滾操作(git reset 和 get revert)
這篇文章主要介紹了Git撤銷&回滾操作(git reset 和 get revert),文中通過示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧2020-07-07MobaXterm連接服務(wù)器如何在關(guān)閉會(huì)話的情況下依然執(zhí)行程序(最新推薦)
這篇文章主要介紹了MobaXterm連接服務(wù)器如何在關(guān)閉會(huì)話的情況下依然執(zhí)行程序,本文給大家介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下2023-06-06自動(dòng)駕駛技術(shù)之V2X技術(shù)的介紹
本章內(nèi)容介紹了如何利用車輛自身的智能,還可以借助外部環(huán)境實(shí)現(xiàn)信息的獲取,這一類技術(shù)統(tǒng)稱為V2X技術(shù)。接下來我們大家一起來學(xué)習(xí)吧2021-08-08win10環(huán)境下使用Hyper-V進(jìn)行虛擬機(jī)創(chuàng)建的教程(圖解)
這篇文章主要介紹了win10環(huán)境下使用Hyper-V進(jìn)行虛擬機(jī)創(chuàng)建的教程,本文圖文詳解給大家介紹的非常詳細(xì),具有一定的參考借鑒價(jià)值,需要的朋友可以參考下2019-11-11比特幣上的數(shù)獨(dú)游戲合約的實(shí)現(xiàn)代碼
這篇文章主要介紹了比特幣上的數(shù)獨(dú)游戲合約的實(shí)現(xiàn)代碼,本文給大家介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下2021-01-01有意思的數(shù)據(jù)結(jié)構(gòu)默克樹 Merkle tree應(yīng)用介紹
這篇文章主要為大家介紹了有意思的數(shù)據(jù)結(jié)構(gòu)默克樹 Merkle tree應(yīng)用介紹,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪2022-09-09