{"id":78840,"date":"2026-02-28T11:05:42","date_gmt":"2026-02-28T03:05:42","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/78840.html"},"modified":"2026-02-28T11:05:42","modified_gmt":"2026-02-28T03:05:42","slug":"%e5%bf%85%e5%ad%a6%e6%94%b6%e8%97%8f%ef%bc%81ai-agent%e6%a1%86%e6%9e%b6%e4%bb%8e%e7%90%86%e8%ae%ba%e5%88%b0%e5%ae%9e%e8%b7%b5%ef%bc%9a279%e8%a1%8c%e4%bb%a3%e7%a0%81%e5%b8%a6%e4%bd%a0%e5%85%a5%e9%97%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/78840.html","title":{"rendered":"\u5fc5\u5b66\u6536\u85cf\uff01AI Agent\u6846\u67b6\u4ece\u7406\u8bba\u5230\u5b9e\u8df5\uff1a279\u884c\u4ee3\u7801\u5e26\u4f60\u5165\u95e8\u5927\u6a21\u578b\u667a\u80fd\u4f53\u5f00\u53d1"},"content":{"rendered":"<p>\u5e74\u521d\u706b\u7206\u73b0\u5728\u70ed\u5ea6\u4f9d\u65e7\u7684OpenClaw\u4e3aAI Agent\u5e26\u6765\u4e86\u65b0\u7684\u60f3\u8c61\u3002\u5982\u679c\u8bf42025\u662fAI Agent\u667a\u80fd\u4f53\u5143\u5e74&#xff0c;\u60f3\u5fc52026\u5c06\u4f1a\u662fAI Agent\u771f\u6b63\u5546\u7528\u5316\u7684\u5f00\u7aef&#xff0c;\u800cAI Agent\u5546\u7528\u5316\u7684\u524d\u63d0\u662f\u5404\u884c\u5404\u4e1a\u5f00\u59cb\u843d\u5730\u5b9e\u9645\u5546\u4e1a\u9886\u57df\u7684AI Agent\u3002<\/p>\n<p>\u4f5c\u4e3a\u4e00\u540d\u7a0b\u5e8f\u5458\/\u5de5\u7a0b\u5e08&#xff0c;\u601d\u8003\u7684\u66f4\u591a\u7684\u53ef\u80fd\u662f\u5982\u4f55\u5c06AI Agent\u843d\u5730\u5b9e\u73b0\u7684\u5c42\u9762\u3002\u5de5\u7a0b\u6846\u67b6\u5f80\u5f80\u662f\u5de5\u7a0b\u5e94\u7528\u5b9e\u73b0\u7684\u57fa\u77f3&#xff0c;\u6846\u67b6\u9009\u578b\u4e5f\u662f\u67b6\u6784\u5e08\u4eec\u8bbe\u8ba1\u4e0e\u5b9e\u73b0\u4e00\u4e2aAI Agent\u667a\u80fd\u4f53\u7684\u9996\u8981\u5de5\u4f5c\u3002\u7531\u4e8e\u7bc7\u5e45\u8fc7\u957f&#xff0c;\u672c\u6587\u5c06\u5206\u6587\u4e24\u4e2a\u90e8\u5206\u6765\u5199&#xff1a;\u4e00\u7406\u8bba\u7bc7 \u4e0e \u4e8c\u5b9e\u8df5\u7bc7\u3002<\/p>\n<h2>AI Agent \u6846\u67b6\u7406\u8bba\u7bc7<\/h2>\n<p>Agent &#061; Reasoning &#043; Acting<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030530-69a25b7a35714.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>1.1 AI Agent \u6846\u67b6\u57fa\u7840\u7406\u8bba<\/p>\n<p>AI \u667a\u80fd\u4f53\u662f\u4f7f\u7528 AI \u6765\u5b9e\u73b0\u76ee\u6807\u5e76\u4ee3\u8868\u7528\u6237\u5b8c\u6210\u4efb\u52a1\u7684\u8f6f\u4ef6\u7cfb\u7edf\u3002\u5176\u8868\u73b0\u51fa\u4e86\u63a8\u7406\u3001\u89c4\u5212\u548c\u8bb0\u5fc6\u80fd\u529b&#xff0c;\u5e76\u4e14\u5177\u6709\u4e00\u5b9a\u7684\u81ea\u4e3b\u6027&#xff0c;\u80fd\u591f\u81ea\u4e3b\u5b66\u4e60\u3001\u9002\u5e94\u548c\u505a\u51fa\u51b3\u5b9a\u3002<\/p>\n<p>Google Cloud<\/p>\n<p>\u5173\u4e8eAI Agent\u8fd9\u91cc\u5f15\u7528\u4e86Google Cloud\u7684\u5b9a\u4e49&#xff0c;\u8a00\u7b80\u610f\u8d45\u3002<\/p>\n<p>1&#xff09;ReAct \u6a21\u5f0f<\/p>\n<p>\u5728\u5f53\u524dAI Agent\u7406\u8bba\u4e2d&#xff0c;\u6700\u5177\u6709\u57fa\u7840\u6027\u4e0e\u4ee3\u8868\u6027\u7684\u8981\u6570ReAct\u6a21\u5f0f&#xff0c;\u5b83\u662fYao\u7b49\u4eba\u4e8e2022\u5e74\u5728\u300aReAct: Synergizing Reasoning and Acting in Language Models\u300b\u8bba\u6587\u4e2d\u63d0\u51fa&#xff0c;\u6838\u5fc3\u601d\u60f3\u5c06\u63a8\u7406&#xff08;Reasoning&#xff09;\u548c\u884c\u52a8&#xff08;Acting&#xff09;\u76f8\u7ed3\u5408\u3002CoT\u63d0\u5347\u7684\u662fLLM\u7684\u63a8\u7406\u80fd\u529b&#xff0c;\u4f46\u5b83\u7684\u7f3a\u70b9\u5728\u4e8e\u7f3a\u5c11\u4e0e\u5916\u90e8\u4e16\u754c\u7684\u4ea4\u4e92\u4ece\u800c\u7f3a\u5c11\u5916\u90e8\u53cd\u9988\u6765\u62d3\u5c55\u81ea\u8eab\u7684\u77e5\u8bc6\u7a7a\u95f4&#xff0c;ReAct\u5f25\u8865\u4e86\u8fd9\u4e00\u7f3a\u9677\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030530-69a25b7ae3d3c.png\" alt=\"\" \/><\/p>\n<p>ReAct\u667a\u80fd\u4f53\u7684\u8fd0\u4f5c\u57fa\u4e8e\u4e00\u4e2a\u5faa\u73af\u8fc7\u7a0b&#xff08;\u4e0d\u65ad\u8fed\u4ee3\u66f4\u65b0&#xff09;&#xff0c;\u5305\u62ec\u4ee5\u4e0b\u4e09\u4e2a\u6b65\u9aa4&#xff1a;<\/p>\n<ul>\n<li>\u63a8\u7406&#xff08;Reasoning&#xff09;&#xff1a;\u4f9d\u8d56LLM&#xff0c;\u5206\u6790\u5f53\u524d\u4efb\u52a1\u72b6\u6001&#xff0c;\u751f\u4ea7\u5185\u90e8\u63a8\u7406&#xff0c;\u51b3\u5b9a\u4e0b\u4e00\u6b65\u884c\u52a8&#xff0c;\u6838\u5fc3\u601d\u60f3\u662fCoT&#xff08;Chain of Thought&#xff09;<\/li>\n<li>\u6267\u884c&#xff08;Acting&#xff09;&#xff1a;\u6839\u636e\u4e0a\u4e00\u6b65\u7684\u63a8\u7406\u7ed3\u679c&#xff0c;\u6267\u884c\u5177\u4f53\u7684\u64cd\u4f5c&#xff0c;\u4f8b\u5982\u67e5\u8be2\u4fe1\u606f\u6216\u8c03\u7528\u5916\u90e8\u5de5\u5177&#xff08;Function Tool&#xff0c;MCP&#xff0c; Shell\u547d\u4ee4&#xff0c;\u4ee3\u7801\u6267\u884c\u7b49&#xff09;&#xff0c;\u5177\u4f53\u4f9d\u8d56\u5bbf\u4e3b\u673a\u7684\u6267\u884c\u73af\u5883\u4e0e\u5e94\u7528\u573a\u666f<\/li>\n<li>\u89c2\u5bdf&#xff08;Observation&#xff09;&#xff1a;\u89c2\u5bdf\u884c\u52a8\u7684\u7ed3\u679c&#xff0c;\u5c06\u53cd\u9988\u7528\u4e8e\u4e0b\u4e00\u8f6e\u7684\u601d\u8003&#xff1b;\u6216\u8005\u89c2\u5bdf\u5230\u5df2\u7ecf\u5224\u65ad\u662f\u6700\u7ec8\u7684\u7b54\u6848&#xff0c;\u5219\u6574\u7406\u8f93\u51fa\u7ed3\u679c<\/li>\n<\/ul>\n<p>2&#xff09;Plan-and-Execute \u6a21\u5f0f<\/p>\n<p>2023\u5e745\u6708&#xff0c;Langchain\u56e2\u961f\u57fa\u4e8eLei Wang\u7b49\u53d1\u8868\u7684\u300aPlan-and-Solve Prompting\u300b\u8bba\u6587\u548c\u5f00\u6e90\u7684BabyAGI Agent\u9879\u76ee\u7684\u5de5\u4f5c&#xff0c;\u63d0\u51fa\u4e86Plan-and-Execute \u6a21\u5f0f\u3002<\/p>\n<ul>\n<li>\u300aPlan-and-Solve Prompting\u300b\u6838\u5fc3\u601d\u60f3&#xff1a;\u8ba9LLM\u5148\u5236\u5b9a\u5b8c\u6574\u7684\u5206\u6b65\u8ba1\u5212&#xff0c;\u518d\u6309\u6b65\u9aa4\u6267\u884c&#xff0c;\u800c\u975e\u8fb9\u505a\u8fb9\u60f3&#xff08;ReAct&#xff09;<\/li>\n<li>BabyAGI\u9879\u76ee&#xff1a;\u9996\u4e2a\u6d41\u884c\u7684\u4efb\u52a1\u9a71\u52a8\u578b\u81ea\u4e3bAgent&#xff0c;\u5b9e\u73b0\u4e86&#034;\u751f\u6210\u4efb\u52a1\u5217\u8868\u2192\u6267\u884c\u2192\u518d\u89c4\u5212&#034;\u7684Agent Loop<\/li>\n<\/ul>\n<p>Plan-and_Execute\u6a21\u5f0f\u5f3a\u8c03\u5148\u5236\u5b9a\u591a\u6b65\u8ba1\u5212&#xff0c;\u518d\u9010\u6b65\u6267\u884c&#xff0c;\u5c5e\u4e8e\u7ed3\u6784\u5316\u5de5\u4f5c\u6d41\u7a0b&#xff08;Planing -&gt; Task1 -&gt; Task2 -&gt; Task3 -&gt; Summary&#xff09;&#xff0c;\u6bd4\u8f83\u9002\u5408\u590d\u6742\u4e14\u4efb\u52a1\u5173\u7cfb\u4ee5\u6765\u660e\u786e\u7684\u957f\u671f\u4efb\u52a1\u3002\u7f3a\u70b9\u5219\u662f\u503e\u5411\u4e8eworkflow&#xff0c;\u7f3a\u4e4f\u52a8\u6001\u8c03\u6574\u80fd\u529b\u3002<\/p>\n<p>3&#xff09;Reflection \u6a21\u5f0f<\/p>\n<p>\u6700\u65e9\u7cfb\u7edf\u6027\u7684\u63d0\u51fa\u5728Agent\u4e2d\u5f15\u5165\u53cd\u601d\u6982\u5ff5\u7684\u662fNoah Shinn\u3001Shunyu Yao&#xff08;\u5bf9&#xff0c;\u8fd8\u662fReAct\u4f5c\u8005&#xff09;\u7b49\u7684\u300aReflexion: Language Agents with Verbal Reinforcement Learning\u300b\u8bba\u6587&#xff0c;\u8bba\u6587\u91cc\u63d0\u51fa\u4e86Reflexion\u6846\u67b6&#xff0c;\u901a\u8fc7\u8bed\u8a00\u53cd\u9988\u800c\u975e\u6743\u91cd\u66f4\u65b0\u6765\u5f3a\u5316\u8bed\u8a00Agent\u3002Agent\u901a\u8fc7\u5bf9\u4efb\u52a1\u53cd\u9988\u4fe1\u53f7\u8fdb\u884c \u53e3\u5934\u53cd\u601d&#xff0c;\u7136\u540e\u5728\u60c5\u8282\u8bb0\u5fc6\u7f13\u51b2\u533a\u4e2d\u7ef4\u62a4\u81ea\u5df1\u7684\u53cd\u601d\u6587\u672c&#xff0c;\u4ee5\u5728\u540e\u7eed\u8bd5\u9a8c\u4e2d\u505a\u51fa\u66f4\u597d\u7684\u51b3\u7b56\u3002<\/p>\n<p>\u53e6\u5916&#xff0c;Aman Madaan\u7b49\u53d7\u4eba\u7c7b\u6539\u8fdb\u6587\u672c\u65b9\u5f0f\u7684\u542f\u53d1&#xff0c;\u5728\u300aSelf-Refine: Iterative Refinement with Self-Feedback\u300b\u8bba\u6587\u63d0\u51fa\u4e86\u4e00\u79cd\u540dSelf-Refine\u7684\u65b9\u6cd5&#xff0c;\u901a\u8fc7\u8fed\u4ee3\u53cd\u9988\u548c\u6539\u8fdb\u6765\u63d0\u5347 LLM \u7684\u521d\u59cb\u8f93\u51fa&#xff1a;\u5148\u8ba9LLM\u8f93\u51fa&#xff0c;\u7136\u540e\u518d\u6839\u636e\u8f93\u51fa\u63d0\u4f9b\u53cd\u9988&#xff0c;\u4e0d\u65ad\u8fed\u4ee3\u3002\u5728\u6240\u6709\u8bc4\u4f30\u7684\u4efb\u52a1\u4e2dSelf-Refine\u65b9\u6cd5\u53ef\u4ee5\u4f7f\u5f97\u4efb\u52a1\u6027\u80fd\u5e73\u5747\u63d0\u5347\u7ea6 20%\u3002<\/p>\n<p>\u6e05\u534e\u5927\u5b66\u4e0e\u5fae\u8f6f\u8054\u5408\u53d1\u5e03\u7684\u300aCRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquing\u300b\u8bba\u6587\u5219\u7ed3\u5408\u5916\u90e8\u5de5\u5177&#xff08;\u5982\u641c\u7d22\u5f15\u64ce\u3001\u4ee3\u7801\u6267\u884c\u5668&#xff09;\u9a8c\u8bc1\u8f93\u51fa&#xff0c;\u518d\u57fa\u4e8e\u9a8c\u8bc1\u7ed3\u679c\u81ea\u6211\u4fee\u3002<\/p>\n<p>\u8fd9\u4e9b\u91cc\u7a0b\u7891\u8bba\u6587\u90fd\u662fReflection\u6a21\u5f0f\u7684\u7406\u8bba\u57fa\u7840&#xff0c;\u5f53\u524d\u4e3b\u6d41\u7684Agent\u6846\u67b6\u867d\u7136\u6709\u5404\u79cd\u6f14\u7ece\u4e0e\u53d8\u5f62&#xff0c;\u4e5f\u90fd\u662f\u5728ReAct\u63d0\u51fa\u4e4b\u540e\u53d1\u5c55\u51fa\u6765\u7684\u6269\u5c55\u548c\u8865\u5145&#xff0c;Agent\u6838\u5fc3\u5b9e\u8df5\u4f9d\u65e7\u79bb\u4e0d\u5f00ReAct&#xff1a;\u5c06\u63a8\u7406\u4e0e\u6267\u884c\u7ed3\u5408\u8d77\u6765\u3002<\/p>\n<p>1.2 \u4e3b\u6d41 AI Agent \u6846\u67b6\u5bf9\u6bd4<\/p>\n<p>\u5f53\u524d\u4e3b\u6d41Agent\u6846\u67b6\u4e3b\u8981\u5305\u542b\u4ee5\u4e0b\u51e0\u79cd&#xff1a;<\/p>\n<ul>\n<li>LangChain &#8211; \u6700\u6210\u719f\u548c\u6d41\u884c\u7684\u6846\u67b6\u4e4b\u4e00&#xff0c;\u63d0\u4f9b\u4e30\u5bcc\u7684\u5de5\u5177\u94fe\u548c\u96c6\u6210&#xff0c;\u9002\u5408\u5feb\u901f\u6784\u5efa\u590d\u6742\u7684AI\u5e94\u7528\u3002\u652f\u6301\u591a\u79cdLLM\u3001\u5411\u91cf\u6570\u636e\u5e93\u548c\u5de5\u5177\u8c03\u7528&#xff0c;\u6709\u5b8c\u5584\u7684\u6587\u6863\u548c\u793e\u533a\u652f\u6301\u3002<\/li>\n<li>LlamaIndex &#8211; \u4e13\u6ce8\u4e8e\u6570\u636e\u7d22\u5f15\u548c\u68c0\u7d22&#xff0c;\u7279\u522b\u64c5\u957fRAG&#xff08;\u68c0\u7d22\u589e\u5f3a\u751f\u6210&#xff09;\u573a\u666f\u3002\u63d0\u4f9b\u9ad8\u6548\u7684\u6587\u6863\u5904\u7406\u548c\u67e5\u8be2\u80fd\u529b&#xff0c;\u9002\u5408\u77e5\u8bc6\u5bc6\u96c6\u578b\u5e94\u7528\u3002<\/li>\n<li>AutoGPT\/AutoGen &#8211; \u5fae\u8f6f\u63a8\u51fa\u7684\u591aAgent\u534f\u4f5c\u6846\u67b6&#xff0c;\u652f\u6301\u591a\u4e2aAgent\u4e4b\u95f4\u7684\u5bf9\u8bdd\u548c\u534f\u4f5c&#xff0c;\u53ef\u4ee5\u5904\u7406\u66f4\u590d\u6742\u7684\u4efb\u52a1\u5206\u89e3\u548c\u6267\u884c\u3002<\/li>\n<li>CrewAI &#8211; \u4e13\u6ce8\u4e8e\u89d2\u8272\u626e\u6f14\u578bAgent\u7684\u534f\u4f5c\u6846\u67b6&#xff0c;\u6bcf\u4e2aAgent\u6709\u660e\u786e\u7684\u89d2\u8272\u548c\u76ee\u6807&#xff0c;\u9002\u5408\u6a21\u62df\u56e2\u961f\u534f\u4f5c\u573a\u666f\u3002<\/li>\n<li>LangGraph &#8211; LangChain\u56e2\u961f\u5f00\u53d1\u7684\u72b6\u6001\u56fe\u6846\u67b6&#xff0c;\u63d0\u4f9b\u66f4\u7cbe\u7ec6\u7684\u6d41\u7a0b\u63a7\u5236&#xff0c;\u9002\u5408\u6784\u5efa\u590d\u6742\u7684\u3001\u9700\u8981\u660e\u786e\u72b6\u6001\u7ba1\u7406\u7684Agent\u5e94\u7528\u3002<\/li>\n<li>Semantic Kernel &#8211; \u5fae\u8f6f\u7684\u8f7b\u91cf\u7ea7\u6846\u67b6&#xff0c;\u4e0eAzure\u670d\u52a1\u96c6\u6210\u826f\u597d&#xff0c;\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00&#xff0c;\u5f3a\u8c03\u63d2\u4ef6\u5316\u8bbe\u8ba1\u3002<\/li>\n<\/ul>\n<p>\u9009\u62e9\u5efa\u8bae<\/p>\n<ul>\n<li>\u5982\u679c\u662f\u60f3\u5feb\u901f\u51faAgent\u539f\u578b&#xff0c;\u53ef\u4ee5\u8bd5\u8bd5LangChain&#xff1b;<\/li>\n<li>\u5982\u679c\u662f\u6784\u5efaRAG\u5e94\u7528&#xff0c;\u5219\u5f3a\u70c8\u5efa\u8baeLlamaIndex&#xff1b;<\/li>\n<li>\u5982\u679c\u4e1a\u52a1\u573a\u666f\u4e3a\u591aAgent\u534f\u4f5c&#xff0c;\u63a8\u8350AutoGen\u6216CrewAI&#xff0c;\u5b83\u4eec\u662f\u4e13\u4e3a\u591a\u667a\u80fd\u4f53\u534f\u4f5c\u800c\u751f\u7684&#xff1b;<\/li>\n<li>\u5982\u679c\u4e1a\u52a1\u4e2d\u6d89\u53ca\u590d\u6742\u7684\u6d41\u7a0b\u63a7\u5236&#xff0c;\u5efa\u8bae\u4f7f\u7528LangGraph&#xff0c;\u901a\u7528\u6027\u597d&#xff0c;\u57fa\u4e8e\u72b6\u6001\u7ba1\u7406\u7684workflow\u7075\u6d3b\u6027\u9ad8&#xff1b;<\/li>\n<li>\u5982\u679c\u5de5\u4f5c\u73af\u5883\u56f4\u7ed5.NET\u751f\u6001\u5c55\u5f00\u7684&#xff0c;\u90a3\u642d\u914dSemantic Kernel\u662f\u6700\u4f73\u9009\u9879\u3002<\/li>\n<\/ul>\n<p>\u53e6\u5916&#xff0c;\u968f\u7740Anthropic\u516c\u53f8\u7684Claude Cowork AI\u901a\u7528Agent\u5174\u8d77&#xff0c;\u4e00\u4e9b\u57fa\u4e8e\u901a\u7528Code Agent SDK\u7684\u5957\u58f3Agent\u4e5f\u5f00\u59cb\u6d41\u884c&#xff08;\u5982\u516c\u53f8CodeBuddy\u56e2\u961f\u57fa\u4e8eCodeBuddy Agent SDK\u7b49\u751f\u6210\u7684WorkBuddy\u5e94\u7528&#xff09;&#xff0c;\u8fd9\u4e9bAgent\u7684\u521b\u65b0\u4e4b\u5904\u5728\u4e8e\u53ef\u4ee5\u9488\u5bf9\u5404\u7c7b\u7528\u6237\u573a\u666f\u63d0\u4f9b\u66f4\u597d\u7684\u4ea4\u4e92\u8bbe\u8ba1\u4e0e\u5de5\u4f5c\u6d41\u573a\u666f\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<p>1.3 AI Agent \u6846\u67b6\u6838\u5fc3<\/p>\n<p>\u5728Agent\u5e94\u7528\u53d1\u5c55\u4e0e\u5b9e\u8df5\u8fc7\u7a0b\u4e2d&#xff0c;\u6709\u4e00\u5bb6\u516c\u53f8\u7684\u4e00\u6b3eAgent\u5e94\u7528\u4e0d\u5f97\u4e0d\u63d0&#xff0c;\u90a3\u5c31\u662fAI\u521d\u521b\u516c\u53f8Monica\u53d1\u5e03\u7684Agent C\u7aef\u4ea7\u54c1&#xff1a;Manus&#xff0c;\u5b83\u7684\u7206\u706b\u8ba9\u8ba9Agent\u4ea7\u54c1\u8fdb\u5165\u5927\u4f17\u89c6\u91ce\u3002<\/p>\n<ul>\n<li>\u5728Agent\u4ea7\u54c1\u4eba\u673a\u4ea4\u4e92\u65b9\u9762&#xff1a;\u5b83\u6a21\u7cca\u5730\u52fe\u52d2\u51fa\u4e86Agent\u5e94\u7528\u7684\u4eba\u673a\u4ea4\u4e92\u7684\u96cf\u578b\u3002\u60f3\u8c61\u4e00\u4e0b&#xff0c;\u952e\u76d8\u548c\u9f20\u6807\u7684\u51fa\u73b0&#xff0c;\u7b2c\u4e00\u4ee3iPhone\u7684\u51fa\u73b0&#xff0c;\u56de\u8fc7\u5934\u6765\u770b\u90fd\u662f\u53d8\u9769\u6027\u7684\u5386\u53f2\u4e8b\u4ef6\u3002<\/li>\n<li>\u5728Agent\u5de5\u7a0b\u5b9e\u8df5\u65b9\u9762&#xff1a;\u5f53MCP\u98ce\u9761\u4e00\u65f6\u65f6&#xff0c;Mnaus\u9996\u5e2d\u79d1\u5b66\u5bb6Peak\u5728\u793e\u4ea4\u5a92\u4f53\u76f4\u63a5\u56de\u590d&#034;Actually, Manus doesn\u2019t use MCP&#034;&#xff1b;4\u4e2a\u6708\u540e&#xff08;2025\u5e747\u6708&#xff09;&#xff0c;Manus\u5de5\u7a0b\u535a\u5ba2\u53d1\u8868\u300aAI Agent\u7684\u4e0a\u4e0b\u6587\u5de5\u7a0b&#xff1a;\u6784\u5efaManus\u7684\u7ecf\u9a8c\u6559\u8bad\u300b&#xff0c;\u5206\u4eabManus\u4e3a\u4f55\u653e\u5f03\u5fae\u8c03&#xff08;Fine-tuning&#xff09;\u8def\u7ebf&#xff0c;\u8f6c\u800c\u9009\u62e9\u57fa\u4e8e\u5df2\u6709\u901a\u7528\u5927\u6a21\u578b\u6df1\u8015\u4e0a\u4e0b\u6587\u5de5\u7a0b&#xff08;Context Engineering&#xff09;&#xff0c;\u5176\u4e2d\u7684\u4e00\u6761\u7ecf\u9a8c\u6559\u8bad\u4e3a&#xff1a;\u4f7f\u7528\u6587\u4ef6\u7cfb\u7edf\u4f5c\u4e3a\u4e0a\u4e0b\u6587\u30023\u4e2a\u6708\u540e&#xff0c;Anthropic \u57282025\u5e7410\u6708\u63a8\u51faClaude Skills&#xff0c;\u4ece\u6b64&#034;\u4f7f\u7528\u6587\u4ef6\u7cfb\u7edf\u4f5c\u4e3a\u4e0a\u4e0b\u6587&#034;\u7684\u7406\u5ff5\u5f00\u59cb\u6df1\u5165\u4eba\u5fc3\u3002<\/li>\n<\/ul>\n<p>&#034;Actually, Manus doesn\u2019t use MCP&#034;\u8fd8\u6709\u540e\u534a\u53e5&#xff1a;\u201cinspired by CodeAct\u201d\u3002CodeAct\u662f\u4e00\u4e2aAgent\u8bbe\u8ba1\u67b6\u6784&#xff0c;\u6765\u81ea\u4e8eUIUC\u7684\u738b\u661f\u5c27\u535a\u58eb\u57282024\u5e74\u521d\u53d1\u8868\u7684\u4e00\u7bc7\u8bba\u6587\u300aExecutable Code Actions Elicit Better LLM Agents\u300b&#xff0c;\u5b83\u63d0\u51fa\u901a\u8fc7\u751f\u6210\u53ef\u6267\u884c\u7684Python\u4ee3\u7801\u6765\u7edf\u4e00LLM Agent\u7684\u884c\u52a8\u7a7a\u95f4&#xff0c;\u4e5f\u5c31\u662fActing\u4e0d\u4ec5\u53ef\u4ee5\u6709Fucntion Call\u548cMCP&#xff0c;\u8fd8\u53ef\u4ee5\u6267\u884c\u4ee3\u7801\u5b8c\u6210\u4efb\u52a1&#xff0c;\u800c\u4e14\u6548\u679c\u66f4\u597d\u30022025\u5e7411\u6708&#xff0c;Anthropic\u5b98\u65b9\u535a\u5ba2\u66f4\u65b0\u6280\u672f\u6587\u7ae0\u300aCode execution with MCP: Building more efficient agents\u300b&#xff0c;\u63d0\u51fa\u5c06 MCP \u670d\u52a1\u5668\u4f5c\u4e3a\u4ee3\u7801 API&#xff08;\u800c\u975e\u76f4\u63a5\u7684\u5de5\u5177\u8c03\u7528&#xff09;\u6765\u63d0\u4f9b&#xff0c;\u7136\u540e&#xff0c;Agent\u5c31\u53ef\u4ee5\u7f16\u5199\u4ee3\u7801\u6765\u4e0e MCP \u670d\u52a1\u5668\u4ea4\u4e92&#xff0c;\u8fd9\u6837Agent\u53ef\u4ee5\u6309\u9700\u52a0\u8f7d&#xff0c;\u66f4\u9ad8\u6548\u5730\u5229\u7528\u4e0a\u4e0b\u6587\u3002CodeAct\u8fd9\u4e2a\u89c2\u70b9\u4e0e\u672c\u6587\u5f00\u5934\u7684Shunyu Yao\u7684&#034;\u4eba\u7c7b\u6700\u91cd\u8981\u7684 affordance \u662f\u624b&#xff0c;\u800c AI \u6700\u91cd\u8981\u7684 affordance \u53ef\u80fd\u662f\u4ee3\u7801&#034;\u4e5f\u4e0d\u8c0b\u800c\u5408\u3002<\/p>\n<p>\u4eceManus\u7684\u6545\u4e8b&#xff0c;\u6211\u4eec\u53ef\u4ee5\u5f97\u51fa\u5f53\u524d\u5173\u4e8eAgent\u5de5\u7a0b\u7684\u4e24\u5927\u4e1a\u5185\u5171\u8bc6&#xff1a;<\/p>\n<ul>\n<li>\u4f7f\u7528\u6587\u4ef6\u7cfb\u7edf\u4f5c\u4e3a\u4e0a\u4e0b\u6587&#xff08;\u5982\u4f7f\u7528\u6587\u4ef6\u4fdd\u5b58Agent\u957f\u671f\u8bb0\u5fc6&#xff0c;\u5982OpenClaw\u7684SOUL.md\/TOOLS.md\/MEMORY.md\u7b49&#xff09;<\/li>\n<li>\u7f16\u7a0b\u662f\u89e3\u51b3\u901a\u7528\u95ee\u9898\u7684\u4e00\u79cd\u666e\u9002\u65b9\u6cd5&#xff08;AI\u66f4\u64c5\u957f\u4f7f\u7528\u4ee3\u7801\u89e3\u51b3\u95ee\u9898&#xff1a;\u95ee\u9898-&gt;\u751f\u6210\u4ee3\u7801-&gt;\u6267\u884c\u4ee3\u7801-&gt;Again-&gt;\u76f4\u5230\u95ee\u9898\u89e3\u51b3&#xff09;<\/li>\n<\/ul>\n<p>\u867d\u7136\u5f53\u524dAgent\u6846\u67b6\u53d1\u5c55\u4eceReAct\u6a21\u5f0f\u9010\u6e10\u878d\u5408CodeAct\u6a21\u5f0f&#xff0c;\u4f46\u662fAgent\u6846\u67b6\u672c\u8d28\u7684\u63a8\u7406\u4e0e\u6267\u884c\u529f\u80fd\u5e76\u6ca1\u6709\u53d8\u5316\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030531-69a25b7b1d1ee.png\" alt=\"\" \/><\/p>\n<p>\u5728\u5de5\u7a0b\u5c42\u9762\u6765\u8bf4&#xff0c;\u63a8\u7406\u672c\u8d28\u5c31\u662fLLM Call&#xff0c;\u6267\u884c\u672c\u8d28\u5219\u662fTools Call&#xff08;\u4ee3\u7801\u53ef\u8ba4\u4e3a\u662fTools\u7684\u4e00\u79cd&#xff09;&#xff0c;\u800c\u8fde\u63a5\u8fd9\u4e8c\u8005\u7684\u4e0a\u4e0b\u6587\u5de5\u7a0b&#xff08;Context Engineering&#xff09;\u5219\u662fAgent\u6846\u67b6\u7684\u6838\u5fc3\u3002<\/p>\n<p>1.3.1 Agent \u6846\u67b6\u4e09\u5927\u90e8\u5206<\/p>\n<p>\u4e0b\u9762\u6211\u4eec\u6765\u62c6\u89e3\u4e00\u4e0bAgent\u6846\u67b6\u5728\u5de5\u7a0b\u4e0a\u7684\u89e3\u6cd5&#xff0c;\u4e3b\u8981\u5305\u62ec\u4e09\u5927\u90e8\u5206<\/p>\n<ul>\n<li>LLM Call&#xff1a;\u8fd9\u90e8\u5206\u4e3aAPI\u7ba1\u7406\u7684\u8303\u7574&#xff0c;\u901a\u5e38\u60c5\u51b5\u4e0b&#xff0c;\u4e3b\u8981\u5de5\u4f5c\u662f\u517c\u5bb9\u5404\u5927LLM\u5382\u5546\u7684API\u5b9e\u73b0\u7ec6\u8282\u4ee5\u53ca\u6d41\u5f0f\u8f93\u51fa\u7b49\u57fa\u7840\u80fd\u529b&#xff0c;\u4e3aAgent\u6846\u67b6\u63d0\u4f9b\u4e00\u4e2a\u6807\u51c6\u5316\u7684API\u8c03\u7528\u3002<\/li>\n<li>Tools Call&#xff1a;\u8fd9\u90e8\u5206\u4e3b\u8981\u662fLLM\u5982\u4f55\u4f7f\u7528\u5916\u90e8\u5de5\u5177&#xff0c;\u4ece\u6700\u65e9\u7684Function Call\u5230\u540e\u6765\u7684MCP\u4ee5\u53ca\u5f53\u524d\u7684Skill\u90e8\u5206\u5185\u5bb9&#xff08;\u6d89\u53ca\u5de5\u5177\u8c03\u7528\u7684\u90a3\u90e8\u5206&#xff09;\u90fd\u5c5e\u4e8e\u8fd9\u4e00\u8303\u7574\u3002\u5f53\u524dTools\u7684\u4e3b\u6d41\u5f62\u5f0f\u5305\u62ec\u6587\u4ef6\u64cd\u4f5c\u3001\u7f51\u7edc\u641c\u7d22\u3001Shell\u547d\u4ee4\/\u4ee3\u7801\u6267\u884c\u4ee5\u53caAPI\/MCP\u8c03\u7528\u7b49&#xff0c;\u6839\u636eAgent\u5177\u4f53\u4f7f\u7528\u573a\u666f\u800c\u5b9a&#xff0c;\u4e5f\u53ef\u4ee5\u540e\u7eed\u589e\u5220\u6539\u3002<\/li>\n<li>Context Engineering&#xff1a;\u72ed\u4e49\u7684\u4e0a\u4e0b\u6587\u5de5\u7a0b\u7279\u6307\u63d0\u793a\u8bcdPrompt\u7684\u5de5\u7a0b\u5b9e\u73b0&#xff08;\u5982Rules\u3001Claude.md\u4ee5\u53caAGENTS.md\u7b49&#xff09;&#xff0c;\u800c\u5e7f\u4e49\u4e0a\u7684\u4e0a\u4e0b\u6587\u5de5\u7a0b\u5176\u5b9e\u4e5f\u5305\u542bLLM\u4f7f\u7528\u5916\u90e8\u5de5\u5177\u8fd9\u90e8\u5206&#xff08;\u6bd4\u5982Skills&#xff0c;\u5b83\u662f\u5de5\u5177\u4e0e\u63d0\u793a\u8bcd\u7ed3\u5408\u7684\u5178\u8303&#xff09;\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0aAgent\u4e09\u5927\u90e8\u5206\u4e2d&#xff0c;\u7b2c1\u90e8\u5206\u7684LLM Call\u57fa\u672c\u4e0a\u6ca1\u6709\u5565\u5de5\u7a0b\u53d8\u91cf&#xff0c;\u8fd9\u5757\u7684\u5de5\u7a0b\u5b9e\u8df5\u4e2dLiteLLM\u5e93&#xff08;\u5b83\u662f\u4e00\u4e2aPython \u5e93&#xff0c;\u65e8\u5728\u7b80\u5316\u591a\u79cd\u5927\u578b\u8bed\u8a00\u6a21\u578b&#xff08;LLM&#xff09;API \u7684\u96c6\u6210&#xff09;\u5df2\u7ecf\u662f\u4f7c\u4f7c\u8005\u4e86&#xff1b;\u7b2c2\u90e8\u5206\u7684Tools\u4f7f\u7528&#xff0c;\u5305\u542b\u7684\u5de5\u5177\u5217\u8868\u8303\u56f4\u4e5f\u6709\u4e1a\u5185\u6700\u4f73\u5b9e\u8df5&#xff0c;\u5177\u4f53\u53d6\u51b3\u4e8eAgent\u4f7f\u7528\u7684\u4e1a\u52a1\u573a\u666f\u3002<\/p>\n<p>\u5269\u4e0b\u7684\u6700\u5927\u7684\u4e00\u4e2a\u53d8\u91cf\u662f\u7b2c3\u90e8\u5206\u7684\u4e0a\u4e0b\u6587\u5de5\u7a0b&#xff0c;\u8fd9\u4e5f\u662fAgent\u6846\u67b6\u667a\u80fd\u7684\u6838\u5fc3\u6240\u5728\u3002OpenClaw\u7684\u7206\u706b\u51fa\u5708\u9664\u4e86\u5c06\u624b\u673a\u5373\u65f6\u5e94\u7528\u4e0eAgent\u7ed3\u5408\u8fd9\u70b9\u4e4b\u5916&#xff0c;\u5b83\u7684\u4e0a\u4e0b\u6587\u5de5\u7a0b\u7684\u7ba1\u7406\u4e5f\u975e\u5e38\u6709\u521b\u65b0\u3002<\/p>\n<p>\u8fd1\u65e5&#xff0c;Shunyu Yao\u56e2\u961f\u5728\u817e\u8baf\u6df7\u5143\u5b98\u7f51\u53d1\u8868\u4e86\u4e00\u7bc7\u540d\u4e3a\u300a\u4ece Context \u5b66\u4e60&#xff0c;\u8fdc\u6bd4\u6211\u4eec\u60f3\u8c61\u7684\u8981\u96be\u300b\u7684\u6587\u7ae0&#xff0c;\u63d0\u51fa\u201c\u6a21\u578b\u60f3\u8981\u8fc8\u5411\u9ad8\u4ef7\u503c\u5e94\u7528&#xff0c;\u6838\u5fc3\u74f6\u9888\u5c31\u5728\u4e8e\u80fd\u5426\u7528\u597d Context\u3002\u201d\u7684\u89c2\u70b9\u3002\u6b63\u5982\u6587\u4e2d\u6240\u8a00&#034;\u5728\u4e0d\u63d0\u4f9b\u4efb\u4f55 Context \u7684\u60c5\u51b5\u4e0b&#xff0c;\u6700\u5148\u8fdb\u7684\u6a21\u578b GPT-5.1 (High) \u4ec5\u80fd\u89e3\u51b3\u4e0d\u5230 1% \u7684\u4efb\u52a1&#034;\u3002\u5982\u679c\u8bf4Agent\u5e94\u7528\u4e2d&#xff0c;\u73b0\u5728\u54ea\u91cc\u8fd8\u662f\u4f4e\u5782\u7684\u679c\u5b9e\u53ef\u4ee5\u6458\u53d6&#xff0c;\u90a3\u53ef\u80fd\u662f\u4e0a\u4e0b\u6587\u5de5\u7a0b&#xff08;Context Engineering&#xff09;\u3002<\/p>\n<p>\u7b80\u5355\u603b\u7ed3\u4e3a\u4e00\u53e5\u8bdd&#xff1a;Agent\u5e94\u7528\u4e2d\u4e0a\u4e0b\u6587\u5de5\u7a0b\u5927\u6709\u53ef\u4e3a&#xff08;\u4ecd\u6709\u5f88\u5927\u4f18\u5316\u7a7a\u95f4&#xff09;\u3002<\/p>\n<p>1.3.2 Agent Loop<\/p>\n<p>\u57281.3.1\u5c0f\u8282\u4e2d\u6211\u4eec\u8ba8\u8bba\u4e86Agent\u6846\u67b6\u7684\u6838\u5fc3\u662f\u4e0a\u4e0b\u6587\u5de5\u7a0b&#xff0c;\u800c\u4e0a\u4e0b\u6587\u5de5\u7a0b\u7684\u6838\u5fc3\u5f15\u64ce\u6216\u8005\u79f0\u4e4b\u4e3a\u8fd0\u884c\u6846\u67b6\u5219\u662fAgent Loop\u3002<\/p>\n<p>Agent Loop\u4e5f\u4e0d\u795e\u79d8&#xff0c;\u672c\u8d28\u662f\u4e00\u4e2aWhile\u5faa\u73af&#xff0c;\u6bcf\u4e00\u6b21\u8fed\u4ee3\u662f\u4e00\u6b21LLM\u63a8\u7406\u5916\u52a0\u5de5\u5177\u8c03\u7528\u548c\u4e0a\u4e0b\u6587\u5904\u7406&#xff0c;\u4e5f\u5c31\u662f\u8bf4\u6240\u6709Agent\u884c\u4e3a\u7684\u53d1\u751f\u90fd\u662f\u5728\u8fd9\u4e2aWhile\u5faa\u73af\u91cc\u9762&#xff0c;\u76f4\u5230\u4efb\u52a1\u5b8c\u6210\u9000\u51fa\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030531-69a25b7b5d866.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5178\u578b\u7684\u5de5\u4f5c\u6d41\u7a0b\u5982\u4e0b&#xff1a;<\/p>\n<p>\u521d\u59cb\u4e0a\u4e0b\u6587&#xff08;\u7cfb\u7edf\u63d0\u793a\u8bcd&#043;\u7528\u6237\u8bf7\u6c42&#xff09;<br \/>\n\u2193<br \/>\n[agent loop\u5f00\u59cb]<br \/>\n\u2193<br \/>\nagent\u8bfb\u53d6\u4e0a\u4e0b\u6587 \u2192 \u601d\u8003 \u2192 \u51b3\u5b9a\u884c\u52a8<br \/>\n\u2193<br \/>\n\u6267\u884c\u5de5\u5177\/\u884c\u52a8 \u2192 \u83b7\u5f97\u7ed3\u679c<br \/>\n\u2193<br \/>\n\u7ed3\u679c\u8ffd\u52a0\u5230\u4e0a\u4e0b\u6587<br \/>\n\u2193<br \/>\n[\u5faa\u73af\u7ee7\u7eed\u6216\u7ed3\u675f]<\/p>\n<p>\u7ec6\u5206\u5230While\u5faa\u73af\u5230\u6bcf\u4e00\u6b21\u8fed\u4ee3&#xff08;Turn&#xff09;\u53ef\u7b80\u5355\u8868\u793a\u4e3a&#xff1a;<\/p>\n<p>\u521d\u59cb\u5316\u4e0a\u4e0b\u6587&#xff08;\u7528\u6237\u8bf7\u6c42&#xff09;<br \/>\n\u2193<br \/>\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502  Agent Loop                     \u2502<br \/>\n\u2502                                 \u2502<br \/>\n\u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510        \u2502<br \/>\n\u2502  \u2502 Turn 1              \u2502        \u2502<br \/>\n\u2502  \u2502  LLM Call \u63a8\u7406 #1            \u2502<br \/>\n\u2502  \u2502  \u2192 \u89e3\u6790LLM\u54cd\u5e94        \u2502        \u2502<br \/>\n\u2502  \u2502  \u2192 \u6267\u884c\u5de5\u51771          \u2502        \u2502<br \/>\n\u2502  \u2502  \u2192 \u8fd4\u56de\u7ed3\u679c&#xff0c;\u66f4\u65b0\u4e0a\u4e0b\u6587 \u2502        \u2502<br \/>\n\u2502  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518        \u2502<br \/>\n\u2502           \u2193                     \u2502<br \/>\n\u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510        \u2502<br \/>\n\u2502  \u2502 Turn 2              \u2502        \u2502<br \/>\n\u2502  \u2502  LLM Call \u63a8\u7406 #2    \u2502        \u2502<br \/>\n\u2502  \u2502  \u2192 \u6267\u884c\u5de5\u51772          \u2502        \u2502<br \/>\n\u2502  \u2502  \u2192 \u8fd4\u56de\u7ed3\u679c&#xff0c;\u66f4\u65b0\u4e0a\u4e0b\u6587 \u2502        \u2502<br \/>\n\u2502  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518        \u2502<br \/>\n\u2502           &#8230;.                  \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n\u2193<br \/>\n\u5b8c\u6210(\u5f53\u67d0\u4e00\u6b21Turn\u4e0d\u518d\u6267\u884c\u5de5\u5177\u5373\u8868\u793a\u5b8c\u6210&#xff0c;\u8fd4\u56de\u6240\u6709\u7ed3\u679c\u4fe1\u606f&#xff09;<\/p>\n<p>Agent Loop\u901a\u8fc7\u5728\u6bcf\u6b21\u8fed\u4ee3\u4e2d\u8bfb\u53d6\u3001\u5229\u7528\u548c\u66f4\u65b0\u4e0a\u4e0b\u6587\u6765\u5b8c\u6210\u4efb\u52a1&#xff1b;\u4e0a\u4e0b\u6587\u5de5\u7a0b\u5219\u662f\u8bbe\u8ba1\u5982\u4f55\u7ec4\u7ec7\u3001\u7ba1\u7406\u548c\u4f18\u5316\u8fd9\u4e9b\u4e0a\u4e0b\u6587\u4fe1\u606f\u4ee5\u63d0\u5347Agent\u7684\u51b3\u7b56\u8d28\u91cf\u548c\u6548\u7387\u3002<\/p>\n<p>\u56de\u5230\u672c\u8282\u7684\u4e3b\u9898&#xff0c;\u53ef\u603b\u7ed3\u4e3a\u4e00\u53e5\u8bdd&#xff1a;Agent\u6846\u67b6\u8bbe\u8ba1\u7684\u6838\u5fc3\u5c31\u662f\u5728Agent Loop\u8fd9\u4e2aWhile\u5faa\u73af\u4e2d\u8bbe\u8ba1\u5982\u4f55\u7ba1\u7406\u4e0a\u4e0b\u6587\u3002<\/p>\n<h2>AI Agent \u6846\u67b6\u5b9e\u8df5\u7bc7<\/h2>\n<p>\u627f\u63a5\u4e0a\u7bc7&#xff1a;Agent\u6846\u67b6\u8bbe\u8ba1\u7684\u6838\u5fc3\u662f\u5728Agent Loop\u8fd9\u4e2aWhile\u5faa\u73af\u4e2d\u8bbe\u8ba1\u5982\u4f55\u7ba1\u7406\u4e0a\u4e0b\u6587&#xff0c;\u672c\u7bc7\u5373\u56f4\u7ed5\u8fd9\u4e2a\u6838\u5fc3\u8bba\u70b9\u5c55\u5f00\u3002<\/p>\n<p>2.1 Agent \u6846\u67b6\u67b6\u6784\u56fe\u4e00\u89c8<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502                User Interface&#xff08;CLI REPL Layer &#xff09;                     \u2502<br \/>\n\u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510   \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510   \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502<br \/>\n\u2502  \u2502  User Input  \u2502   \u2502    Exit\/     \u2502   \u2502   Message History        \u2502 \u2502<br \/>\n\u2502  \u2502   Handler    \u2502   \u2502   Clear Cmd  \u2502   \u2502   Management             \u2502 \u2502<br \/>\n\u2502  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518   \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518   \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502<br \/>\n\u2502         \u2502                                                           \u2502<br \/>\n\u2502         \u25bc                                                           \u2502<br \/>\n\u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510   \u2502<br \/>\n\u2502  \u2502                      Agent Loop Core                         \u2502   \u2502<br \/>\n\u2502  \u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510   \u2502   \u2502<br \/>\n\u2502  \u2502  \u2502   LLM Call   \u2502\u2500\u2500\u2500\u25b6\u2502 Tool Call    \u2502\u2500\u2500\u2500\u25b6\u2502   Tool Exec  \u2502   \u2502   \u2502<br \/>\n\u2502  \u2502  \u2502   (DeepSeek) \u2502    \u2502   Parser     \u2502    \u2502   Engine     \u2502   \u2502   \u2502<br \/>\n\u2502  \u2502  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518    \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518    \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518   \u2502   \u2502<br \/>\n\u2502  \u2502         \u2502                                              \u2502     \u2502   \u2502<br \/>\n\u2502  \u2502         \u2502\u25c0\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518     \u2502   \u2502<br \/>\n\u2502  \u2502         \u2502 (Tool Results Feedback)                            \u2502   \u2502<br \/>\n\u2502  \u2502         \u25bc                                                    \u2502   \u2502<br \/>\n\u2502  \u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510                       \u2502   \u2502<br \/>\n\u2502  \u2502  \u2502   Response   \u2502\u2500\u2500\u2500\u25b6\u2502   Context    \u2502                       \u2502   \u2502<br \/>\n\u2502  \u2502  \u2502   Formatter  \u2502    \u2502   Manager    \u2502                       \u2502   \u2502<br \/>\n\u2502  \u2502  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518    \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518                       \u2502   \u2502<br \/>\n\u2502  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518   \u2502<br \/>\n\u2502                              \u2502                                      \u2502<br \/>\n\u2502                              \u25bc                                      \u2502<br \/>\n\u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510   \u2502<br \/>\n\u2502  \u2502                    Tools Registry (TOOLS)                    \u2502   \u2502<br \/>\n\u2502  \u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510            \u2502   \u2502<br \/>\n\u2502  \u2502  \u2502 shell_  \u2502 \u2502 file_   \u2502 \u2502 file_   \u2502 \u2502 python_ \u2502            \u2502   \u2502<br \/>\n\u2502  \u2502  \u2502 exec    \u2502 \u2502 read    \u2502 \u2502 write   \u2502 \u2502 exec    \u2502            \u2502   \u2502<br \/>\n\u2502  \u2502  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518            \u2502   \u2502<br \/>\n\u2502  \u2502      \u2502            \u2502            \u2502            \u2502                \u2502   \u2502<br \/>\n\u2502  \u2502      \u25bc            \u25bc            \u25bc            \u25bc                \u2502   \u2502<br \/>\n\u2502  \u2502  [Function]   [Function]   [Function]   [Function]          \u2502   \u2502<br \/>\n\u2502  \u2502  [Schema]     [Schema]     [Schema]     [Schema]            \u2502   \u2502<br \/>\n\u2502  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518   \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u518dreview\u4e00\u4e0b\u5de5\u4f5c\u6d41&#xff1a;<\/p>\n<p>\u521d\u59cb\u4e0a\u4e0b\u6587&#xff08;\u7cfb\u7edf\u63d0\u793a\u8bcd&#043;\u7528\u6237\u8bf7\u6c42&#xff09;<br \/>\n\u2193<br \/>\n[agent loop\u5f00\u59cb]<br \/>\n\u2193<br \/>\nagent\u8bfb\u53d6\u4e0a\u4e0b\u6587 \u2192 \u601d\u8003 \u2192 \u51b3\u5b9a\u884c\u52a8<br \/>\n\u2193<br \/>\n\u6267\u884c\u5de5\u5177\/\u884c\u52a8 \u2192 \u83b7\u5f97\u7ed3\u679c<br \/>\n\u2193<br \/>\n\u7ed3\u679c\u8ffd\u52a0\u5230\u4e0a\u4e0b\u6587<br \/>\n\u2193<br \/>\n[\u5faa\u73af\u7ee7\u7eed\u6216\u7ed3\u675f]<\/p>\n<p>2.2 Agent \u6846\u67b6\u4e09\u5927\u8981\u7d20\u8bbe\u8ba1<\/p>\n<p>2.2.1 LLM Call<\/p>\n<p>\u91c7\u7528\u6781\u7b80\u8bbe\u8ba1&#xff0c;\u4ee5DeepSeek\u6a21\u578b\u793a\u4f8b\u8bf4\u660e<\/p>\n<ul>\n<li>LLM Provider&#xff1a;\u4f7f\u7528DeepSeek deepseek-chat \u6a21\u578b<\/li>\n<li>LLM Call API&#xff1a;\u4f7f\u7528\u6807\u51c6\u5316OpenAI SDK<\/li>\n<\/ul>\n<p>\u4e3a\u4fdd\u8bc1\u4ee3\u7801\u7684\u6700\u5927\u53ef\u8bfb\u6027&#xff0c;\u8fd9\u91cc\u4f7f\u7528\u540c\u6b65\u975e\u6d41\u5f0f\u8c03\u7528\u3002<\/p>\n<p>2.2.2 Tools Call<\/p>\n<p>\u91c7\u7528\u6781\u7b80\u7684\u5de5\u5177\u96c6&#xff0c;\u64cd\u4f5c\u5bf9\u8c61\u5305\u542b\u6587\u4ef6\u3001Shell\u548cPython\u4ee3\u7801\u6267\u884c<\/p>\n<p>1&#xff09;Tools \u5b9e\u73b0&#xff1a;\u603b\u5171\u652f\u63014\u4e2a\u5de5\u5177\u51fd\u6570<\/p>\n<ul>\n<li>shell_exec&#xff1a;\u6267\u884cshell\u547d\u4ee4\u5e76\u8fd4\u56de\u8f93\u51fa<\/li>\n<li>file_read&#xff1a;\u8bfb\u53d6\u6587\u4ef6\u5185\u5bb9<\/li>\n<li>file_write&#xff1a;\u5199\u5165\u6587\u4ef6\u5185\u5bb9&#xff08;\u81ea\u52a8\u521b\u5efa\u76ee\u5f55&#xff09;<\/li>\n<li>python_exec&#xff1a;\u5728\u5b50\u8fdb\u7a0b\u4e2d\u6267\u884cPython\u4ee3\u7801\u5e76\u8fd4\u56de\u8f93\u51fa<\/li>\n<\/ul>\n<p>2&#xff09;Tools \u6ce8\u518c&#xff1a;\u8fd9\u91cc\u9009\u62e9\u7684\u662f\u624b\u52a8\u7ef4\u62a4\u5b57\u5178\u6620\u5c04\u7684\u65b9\u5f0f name \u2192 (function, OpenAI function schema) &#xff0c;\u8fd9\u4e00\u6b65\u662f\u4e3a\u4e86\u89e3\u6790llm call \u7684response\u65f6\u53ef\u4ee5\u6839\u636ename\u5339\u914d\u9700\u8981\u5177\u4f53\u6267\u884c\u54ea\u4e2atool<\/p>\n<p>Tools \u7684\u5b9a\u4e49\u9075\u5faa\u7684\u662f OpenAI Function Calling \u7684\u6807\u51c6\u683c\u5f0f&#xff08;\u4e5f\u79f0 OpenAI Tools API schema&#xff09;<\/p>\n<p>2.2.3 Context Engineering<\/p>\n<ul>\n<li>\n<p>System Prompt&#xff1a;\u6781\u7b80\u7cfb\u7edf\u63d0\u793a\u8bcd&#xff0c;\u544a\u77e5LLM\u53ef\u7528\u5de5\u5177\u548cReAct\u601d\u8003\u65b9\u5f0f<\/p>\n<\/li>\n<li>\n<p>\u7528\u6237Session\u7ba1\u7406&#xff1a;\u4f7f\u7528messages \u5217\u8868\u65b9\u5f0f&#xff08;OpenAI chat \u683c\u5f0f&#xff09;&#xff0c;\u5b83\u662f\u6838\u5fc3\u72b6\u6001&#xff0c;\u7d2f\u79ef\u7cfb\u7edf\u63d0\u793a\u8bcd\u3001\u7528\u6237\u6d88\u606f\u3001\u52a9\u624b\u54cd\u5e94\u548c\u5de5\u5177\u7ed3\u679c<\/p>\n<p>2.3 Agent \u6846\u67b6\u4ee3\u7801\u5b9e\u73b0<\/p>\n<p>2.3.1 \u7b2c\u4e00\u90e8\u5206&#xff1a;Agent Loop \u4e0e \u4e0a\u4e0b\u6587<\/p>\n<\/li>\n<li>\n<p>\u57fa\u7840\u6d41\u7a0b&#xff1a; LLM call \u2192 parse tool_calls \u2192 execute \u2192 append results to messages \u2192 loop or exit<\/p>\n<\/li>\n<li>\n<p>\u5b89\u5168\u8bbe\u7f6e&#xff1a;\u4e3awhile\u5faa\u73af\u8bbe\u7f6e\u4e86\u4e00\u4e2a\u8fed\u4ee3\u7684\u5b89\u5168\u4e0a\u9650&#xff1a;20 \u8f6e&#xff08;MAX_TURNS&#061;200&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528\u5168\u5c40\u53d8\u91cfmessage\u4f5c\u4e3a\u4e0a\u4e0b\u6587\u7684\u8f7d\u4f53&#xff0c;\u7d2f\u79ef\u7cfb\u7edf\u63d0\u793a\u8bcd\u3001\u7528\u6237\u6d88\u606f\u3001\u52a9\u624b\u54cd\u5e94\u548c\u5de5\u5177\u7ed3\u679c<\/p>\n<\/li>\n<\/ul>\n<p>\u5176\u4e2d&#xff0c;\u53d8\u91cfmessage\u6309\u5982\u4e0b\u89c4\u5219\u66f4\u65b0<\/p>\n<ul>\n<li>\u4f7f\u7528System Prompt\u521d\u59cb\u5316&#xff1a;{\u201crole\u201d: \u201csystem\u201d, \u201ccontent\u201d: system_prompt}<\/li>\n<li>\u8ffd\u589eUser Message&#xff1a;{\u201crole\u201d: \u201cuser\u201d, \u201ccontent\u201d: user_message}<\/li>\n<li>\u8ffd\u52a0Tool Results&#xff1a;{\u201crole\u201d: \u201ctool\u201d, \u201ccontent\u201d: result}<\/li>\n<\/ul>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n# Agent Loop \u2014 \u6838\u5fc3<br \/>\n# &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nMAX_TURNS &#061; 20<br \/>\ndef agent_loop(user_message: str, messages: list, client: OpenAI) -&gt; str:<br \/>\n&#034;&#034;&#034;<br \/>\nAgent Loop&#xff1a;while \u5faa\u73af\u9a71\u52a8 LLM \u63a8\u7406\u4e0e\u5de5\u5177\u8c03\u7528\u3002<br \/>\n\u6d41\u7a0b&#xff1a;<br \/>\n1. \u5c06\u7528\u6237\u6d88\u606f\u8ffd\u52a0\u5230 messages<br \/>\n2. \u8c03\u7528 LLM<br \/>\n3. \u82e5 LLM \u8fd4\u56de tool_calls \u2192 \u9010\u4e2a\u6267\u884c \u2192 \u7ed3\u679c\u8ffd\u52a0\u5230 messages \u2192 \u7ee7\u7eed\u5faa\u73af<br \/>\n4. \u82e5 LLM \u76f4\u63a5\u8fd4\u56de\u6587\u672c&#xff08;\u65e0 tool_calls&#xff09;\u2192 \u9000\u51fa\u5faa\u73af&#xff0c;\u8fd4\u56de\u6587\u672c<br \/>\n5. \u5b89\u5168\u4e0a\u9650 MAX_TURNS \u8f6e<br \/>\n&#034;&#034;&#034;<br \/>\nmessages.append({&#034;role&#034;: &#034;user&#034;, &#034;content&#034;: user_message})<br \/>\ntool_schemas &#061; [t[&#034;schema&#034;] for t in TOOLS.values()]<br \/>\nfor turn in range(1, MAX_TURNS &#043; 1):<br \/>\n# &#8212; LLM Call &#8212;<br \/>\nresponse &#061; client.chat.completions.create(<br \/>\nmodel&#061;&#034;deepseek-chat&#034;,<br \/>\nmessages&#061;messages,<br \/>\ntools&#061;tool_schemas,<br \/>\n)<br \/>\nchoice &#061; response.choices[0]<br \/>\nassistant_msg &#061; choice.message<br \/>\n# \u5c06 assistant \u6d88\u606f\u8ffd\u52a0\u5230\u4e0a\u4e0b\u6587<br \/>\nmessages.append(assistant_msg.model_dump())<br \/>\n# &#8212; \u7ec8\u6b62\u6761\u4ef6&#xff1a;\u65e0 tool_calls &#8212;<br \/>\nif not assistant_msg.tool_calls:<br \/>\nreturn assistant_msg.content or &#034;&#034;<br \/>\n# &#8212; \u6267\u884c\u6bcf\u4e2a tool_call &#8212;<br \/>\nfor tool_call in assistant_msg.tool_calls:<br \/>\nname &#061; tool_call.function.name<br \/>\nraw_args &#061; tool_call.function.arguments<br \/>\nprint(f&#034;  [tool] {name}({raw_args})&#034;)<br \/>\n# \u89e3\u6790\u53c2\u6570\u5e76\u8c03\u7528\u5de5\u5177<br \/>\ntry:<br \/>\nargs &#061; json.loads(raw_args)<br \/>\nexcept json.JSONDecodeError:<br \/>\nargs &#061; {}<br \/>\ntool_entry &#061; TOOLS.get(name)<br \/>\nif tool_entry is None:<br \/>\nresult &#061; f&#034;[error] unknown tool: {name}&#034;<br \/>\nelse:<br \/>\nresult &#061; tool_entry[&#034;function&#034;](**args)<br \/>\n# \u5c06\u5de5\u5177\u7ed3\u679c\u8ffd\u52a0\u5230\u4e0a\u4e0b\u6587<br \/>\nmessages.append(<br \/>\n{<br \/>\n&#034;role&#034;: &#034;tool&#034;,<br \/>\n&#034;tool_call_id&#034;: tool_call.id,<br \/>\n&#034;content&#034;: result,<br \/>\n}<br \/>\n)<br \/>\nreturn &#034;[agent] reached maximum turns, stopping.&#034;<\/p>\n<p>\u6ce8&#xff1a;\u8fd9\u91cc\u4f7f\u7528\u7684\u6a21\u578b\u4e3adeepseek-chat&#xff0c;\u4e3b\u8981\u8003\u91cf\u56e0\u7d20\u662f\u6a21\u578b\u652f\u6301Tool Calls&#xff0c;\u5e76\u4e14\u5b8c\u5168\u517c\u5bb9OpenAI\u7684SDK\u3002<\/p>\n<p>2.3.2 \u7b2c\u4e8c\u90e8\u5206&#xff1a;Tools \u5b9e\u73b0\u4e0e\u6ce8\u518c<\/p>\n<p>\u8fd9\u91cc\u4e3b\u8981\u5b9e\u73b0\u56db\u4e2a\u5de5\u5177\u51fd\u6570: shell_exec, file_read, file_write, python_exec<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n# Tools \u5b9e\u73b0 \u2014 4 \u4e2a\u5de5\u5177\u51fd\u6570<br \/>\n# &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\ndef shell_exec(command: str) -&gt; str:<br \/>\n&#034;&#034;&#034;\u6267\u884c shell \u547d\u4ee4\u5e76\u8fd4\u56de stdout &#043; stderr\u3002&#034;&#034;&#034;<br \/>\ntry:<br \/>\nresult &#061; subprocess.run(<br \/>\ncommand,<br \/>\nshell&#061;True,<br \/>\ncapture_output&#061;True,<br \/>\ntext&#061;True,<br \/>\ntimeout&#061;30,<br \/>\n)<br \/>\noutput &#061; result.stdout<br \/>\nif result.stderr:<br \/>\noutput &#043;&#061; &#034;\\\\n[stderr]\\\\n&#034; &#043; result.stderr<br \/>\nif result.returncode !&#061; 0:<br \/>\noutput &#043;&#061; f&#034;\\\\n[exit code: {result.returncode}]&#034;<br \/>\nreturn output.strip() or &#034;(no output)&#034;<br \/>\nexcept subprocess.TimeoutExpired:<br \/>\nreturn &#034;[error] command timed out after 30s&#034;<br \/>\nexcept Exception as e:<br \/>\nreturn f&#034;[error] {e}&#034;<br \/>\ndef file_read(path: str) -&gt; str:<br \/>\n&#034;&#034;&#034;\u8bfb\u53d6\u6587\u4ef6\u5185\u5bb9\u3002&#034;&#034;&#034;<br \/>\ntry:<br \/>\nwith open(path, &#034;r&#034;, encoding&#061;&#034;utf-8&#034;) as f:<br \/>\nreturn f.read()<br \/>\nexcept Exception as e:<br \/>\nreturn f&#034;[error] {e}&#034;<br \/>\ndef file_write(path: str, content: str) -&gt; str:<br \/>\n&#034;&#034;&#034;\u5c06\u5185\u5bb9\u5199\u5165\u6587\u4ef6&#xff08;\u81ea\u52a8\u521b\u5efa\u7236\u76ee\u5f55&#xff09;\u3002&#034;&#034;&#034;<br \/>\ntry:<br \/>\nos.makedirs(os.path.dirname(path) or &#034;.&#034;, exist_ok&#061;True)<br \/>\nwith open(path, &#034;w&#034;, encoding&#061;&#034;utf-8&#034;) as f:<br \/>\nf.write(content)<br \/>\nreturn f&#034;OK \u2014 wrote {len(content)} chars to {path}&#034;<br \/>\nexcept Exception as e:<br \/>\nreturn f&#034;[error] {e}&#034;<br \/>\ndef python_exec(code: str) -&gt; str:<br \/>\n&#034;&#034;&#034;\u5728\u5b50\u8fdb\u7a0b\u4e2d\u6267\u884c Python \u4ee3\u7801\u5e76\u8fd4\u56de\u8f93\u51fa\u3002&#034;&#034;&#034;<br \/>\ntry:<br \/>\nwith tempfile.NamedTemporaryFile(<br \/>\nmode&#061;&#034;w&#034;, suffix&#061;&#034;.py&#034;, delete&#061;False, encoding&#061;&#034;utf-8&#034;<br \/>\n) as tmp:<br \/>\ntmp.write(code)<br \/>\ntmp_path &#061; tmp.name<br \/>\nresult &#061; subprocess.run(<br \/>\n[sys.executable, tmp_path],<br \/>\ncapture_output&#061;True,<br \/>\ntext&#061;True,<br \/>\ntimeout&#061;30,<br \/>\n)<br \/>\noutput &#061; result.stdout<br \/>\nif result.stderr:<br \/>\noutput &#043;&#061; &#034;\\\\n[stderr]\\\\n&#034; &#043; result.stderr<br \/>\nreturn output.strip() or &#034;(no output)&#034;<br \/>\nexcept subprocess.TimeoutExpired:<br \/>\nreturn &#034;[error] execution timed out after 30s&#034;<br \/>\nexcept Exception as e:<br \/>\nreturn f&#034;[error] {e}&#034;<br \/>\nfinally:<br \/>\ntry:<br \/>\nos.unlink(tmp_path)<br \/>\nexcept OSError:<br \/>\npass<\/p>\n<p>\u5de5\u5177\u5b9e\u73b0\u597d\u4e86\u4e0b\u4e00\u6b65\u5c31\u662f\u6ce8\u518c&#xff0c;\u65b9\u4fbfAgent Loop\u53ef\u4ee5\u6839\u636eLLM\u7684\u8fd4\u56de\u7ed3\u679c\u6267\u884c\u5177\u4f53\u7684\u5de5\u5177\u65b9\u6cd5&#xff08;\u5b9e\u9645\u4e0a\u5c31\u662f\u4e00\u4e2a\u5b57\u5178\u6620\u5c04name \u2192 {function, OpenAI schema}&#xff09;<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n# Tools \u6ce8\u518c \u2014 name \u2192 (function, OpenAI function schema)<br \/>\n# &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nTOOLS &#061; {<br \/>\n&#034;shell_exec&#034;: {<br \/>\n&#034;function&#034;: shell_exec,<br \/>\n&#034;schema&#034;: {<br \/>\n&#034;type&#034;: &#034;function&#034;,<br \/>\n&#034;function&#034;: {<br \/>\n&#034;name&#034;: &#034;shell_exec&#034;,<br \/>\n&#034;description&#034;: &#034;Execute a shell command and return its output.&#034;,<br \/>\n&#034;parameters&#034;: {<br \/>\n&#034;type&#034;: &#034;object&#034;,<br \/>\n&#034;properties&#034;: {<br \/>\n&#034;command&#034;: {<br \/>\n&#034;type&#034;: &#034;string&#034;,<br \/>\n&#034;description&#034;: &#034;The shell command to execute.&#034;,<br \/>\n}<br \/>\n},<br \/>\n&#034;required&#034;: [&#034;command&#034;],<br \/>\n},<br \/>\n},<br \/>\n},<br \/>\n},<br \/>\n&#034;file_read&#034;: {<br \/>\n&#034;function&#034;: file_read,<br \/>\n&#034;schema&#034;: {<br \/>\n&#034;type&#034;: &#034;function&#034;,<br \/>\n&#034;function&#034;: {<br \/>\n&#034;name&#034;: &#034;file_read&#034;,<br \/>\n&#034;description&#034;: &#034;Read the contents of a file at the given path.&#034;,<br \/>\n&#034;parameters&#034;: {<br \/>\n&#034;type&#034;: &#034;object&#034;,<br \/>\n&#034;properties&#034;: {<br \/>\n&#034;path&#034;: {<br \/>\n&#034;type&#034;: &#034;string&#034;,<br \/>\n&#034;description&#034;: &#034;Absolute or relative file path.&#034;,<br \/>\n}<br \/>\n},<br \/>\n&#034;required&#034;: [&#034;path&#034;],<br \/>\n},<br \/>\n},<br \/>\n},<br \/>\n},<br \/>\n&#034;file_write&#034;: {<br \/>\n&#034;function&#034;: file_write,<br \/>\n&#034;schema&#034;: {<br \/>\n&#034;type&#034;: &#034;function&#034;,<br \/>\n&#034;function&#034;: {<br \/>\n&#034;name&#034;: &#034;file_write&#034;,<br \/>\n&#034;description&#034;: &#034;Write content to a file (creates parent directories if needed).&#034;,<br \/>\n&#034;parameters&#034;: {<br \/>\n&#034;type&#034;: &#034;object&#034;,<br \/>\n&#034;properties&#034;: {<br \/>\n&#034;path&#034;: {<br \/>\n&#034;type&#034;: &#034;string&#034;,<br \/>\n&#034;description&#034;: &#034;Absolute or relative file path.&#034;,<br \/>\n},<br \/>\n&#034;content&#034;: {<br \/>\n&#034;type&#034;: &#034;string&#034;,<br \/>\n&#034;description&#034;: &#034;Content to write.&#034;,<br \/>\n},<br \/>\n},<br \/>\n&#034;required&#034;: [&#034;path&#034;, &#034;content&#034;],<br \/>\n},<br \/>\n},<br \/>\n},<br \/>\n},<br \/>\n&#034;python_exec&#034;: {<br \/>\n&#034;function&#034;: python_exec,<br \/>\n&#034;schema&#034;: {<br \/>\n&#034;type&#034;: &#034;function&#034;,<br \/>\n&#034;function&#034;: {<br \/>\n&#034;name&#034;: &#034;python_exec&#034;,<br \/>\n&#034;description&#034;: &#034;Execute Python code in a subprocess and return its output.&#034;,<br \/>\n&#034;parameters&#034;: {<br \/>\n&#034;type&#034;: &#034;object&#034;,<br \/>\n&#034;properties&#034;: {<br \/>\n&#034;code&#034;: {<br \/>\n&#034;type&#034;: &#034;string&#034;,<br \/>\n&#034;description&#034;: &#034;Python source code to execute.&#034;,<br \/>\n}<br \/>\n},<br \/>\n&#034;required&#034;: [&#034;code&#034;],<br \/>\n},<br \/>\n},<br \/>\n},<br \/>\n},<br \/>\n}<\/p>\n<p>Tools \u7684\u5b9a\u4e49\u9075\u5faa\u7684\u662f OpenAI Function Calling \u7684\u6807\u51c6\u683c\u5f0f&#xff08;\u4e5f\u79f0 OpenAI Tools API schema&#xff09;\u3002<\/p>\n<p>\u5177\u4f53\u6765\u8bf4&#xff0c;Agent \u4e2d\u6bcf\u4e2a\u5de5\u5177\u7684 schema \u5b57\u6bb5\u7684\u7ed3\u6784\u5982\u4e0b&#xff1a;<\/p>\n<p>{<br \/>\n&#034;type&#034;: &#034;function&#034;,<br \/>\n&#034;function&#034;: {<br \/>\n&#034;name&#034;: &#034;&#8230;&#034;,<br \/>\n&#034;description&#034;: &#034;&#8230;&#034;,<br \/>\n&#034;parameters&#034;: {<br \/>\n&#034;type&#034;: &#034;object&#034;,<br \/>\n&#034;properties&#034;: { &#8230; },<br \/>\n&#034;required&#034;: [ &#8230; ],<br \/>\n},<br \/>\n},<br \/>\n}<\/p>\n<p>2.3.3 \u7b2c\u4e09\u90e8\u5206&#xff1a;System Prompt<\/p>\n<p>\u8fd9\u91cc\u5b9a\u4e49System Prompt&#xff0c;\u6bcf\u4e00\u6b21\u4e0eLLM\u4ea4\u4e92\u90fd\u9700\u8981\u5e26\u4e0a\u5b83\u3002<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n# System Prompt<br \/>\n# &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nSYSTEM_PROMPT &#061; &#034;&#034;&#034;You are a helpful AI assistant with access to the following tools:<br \/>\n1. shell_exec \u2014 run shell commands<br \/>\n2. file_read \u2014 read file contents<br \/>\n3. file_write \u2014 write content to a file<br \/>\n4. python_exec \u2014 execute Python code<br \/>\nThink step by step. Use tools when you need to interact with the file system, \\\\<br \/>\nrun commands, or execute code. When the task is complete, respond directly \\\\<br \/>\nwithout calling any tool.&#034;&#034;&#034;<\/p>\n<p>\u660e\u786e\u544a\u77e5&#xff1a;\u4f60\u662f\u4e00\u4e2aAI\u52a9\u624b&#xff0c;\u5f53\u9700\u8981\u7684\u65f6\u5019\u53ef\u4ee5\u4f7f\u7528\u54ea\u4e9b\u5de5\u5177\u3002<\/p>\n<p>\u81f3\u6b64\u4e00\u4e2a\u6781\u7b80\u7684Agent\u6846\u67b6\u5c31\u6b64\u5b9e\u73b0\u5b8c\u6210&#xff0c;\u5355\u6587\u4ef6\u641e\u5b9a&#xff0c;\u5168\u90e8\u4ee3\u7801279\u884c\u3002<\/p>\n<p>2.4 \u57fa\u4e8e\u6781\u7b80 Agent \u6846\u67b6\u7684\u6781\u7b80 Agent \u5e94\u7528<\/p>\n<p>2.4.1 \u7528\u6237\u4ea4\u4e92\u754c\u9762\u8bbe\u8ba1 &#8211; Python CLI REPL<\/p>\n<p>\u6846\u67b6\u5b9e\u73b0\u5b8c\u6210\u4e4b\u540e&#xff0c;\u8ddd\u79bbAgent\u5e94\u7528\u5c31\u5269\u4e0b\u6700\u540e\u4e00\u4e2a\u7528\u6237\u4ea4\u4e92\u754c\u9762\u4e86\u3002<\/p>\n<p>\u907f\u514d\u589e\u52a0\u8bfb\u8005\u8ba4\u77e5\u8d1f\u62c5&#xff0c;\u4ece\u6781\u7b80\u601d\u60f3\u51fa\u53d1&#xff0c;\u8fd9\u91cc\u4f7f\u7528Python CLI REPL \u5373Python\u7684\u4ea4\u4e92\u5f0f\u547d\u4ee4\u884c\u4f5c\u4e3aAgent\u7684\u5165\u53e3&#xff1a;<\/p>\n<p>def main():<br \/>\napi_key &#061; os.environ.get(&#034;DEEPSEEK_API_KEY&#034;)<br \/>\nif not api_key:<br \/>\nprint(&#034;Error: please set DEEPSEEK_API_KEY environment variable.&#034;)<br \/>\nsys.exit(1)<br \/>\nclient &#061; OpenAI(api_key&#061;api_key, base_url&#061;&#034;https:\/\/api.deepseek.com&#034;)<br \/>\nmessages: list &#061; [{&#034;role&#034;: &#034;system&#034;, &#034;content&#034;: SYSTEM_PROMPT}]<br \/>\nprint(&#034;Agent ready. Type your message (or &#039;exit&#039; to quit, &#039;clear&#039; to reset).\\\\n&#034;)<br \/>\nwhile True:<br \/>\ntry:<br \/>\nuser_input &#061; input(&#034;You&gt; &#034;).strip()<br \/>\nexcept (EOFError, KeyboardInterrupt):<br \/>\nprint(&#034;\\\\nBye.&#034;)<br \/>\nbreak<br \/>\nif not user_input:<br \/>\ncontinue<br \/>\nif user_input.lower() &#061;&#061; &#034;exit&#034;:<br \/>\nprint(&#034;Bye.&#034;)<br \/>\nbreak<br \/>\nif user_input.lower() &#061;&#061; &#034;clear&#034;:<br \/>\nmessages.clear()<br \/>\nmessages.append({&#034;role&#034;: &#034;system&#034;, &#034;content&#034;: SYSTEM_PROMPT})<br \/>\nprint(&#034;(context cleared)\\\\n&#034;)<br \/>\ncontinue<br \/>\nreply &#061; agent_loop(user_input, messages, client)<br \/>\nprint(f&#034;\\\\nAgent&gt; {reply}\\\\n&#034;)<\/p>\n<p>2.4.2 DeepSeek \u6ce8\u518c&#xff0c;\u83b7\u53d6 API Key<\/p>\n<p>\u7531\u4e8e\u672c\u6587Agent\u6846\u67b6\u7684LLM Provider\u662f\u57fa\u4e8eDeepSeek\u5b9e\u73b0\u7684&#xff0c;\u6240\u4ee5\u9700\u8981\u83b7\u53d6DeepSeek\u6a21\u578b&#xff08;deepseek-chat\u6a21\u578b&#xff09;\u7684API key\u624d\u80fd\u4f7f\u7528\u3002<\/p>\n<ul>\n<li>\u6ce8\u518c&#xff1a; https:\/\/platform.deepseek.com<\/li>\n<li>\u83b7\u53d6API Keys&#xff1a; https:\/\/platform.deepseek.com\/api_keys<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030532-69a25b7c99515.png\" alt=\"\" \/><\/p>\n<p>2.4.3 \u6781\u7b80 Agent \u5e94\u7528\u4f53\u9a8c<\/p>\n<p>\u4f7f\u7528\u4e4b\u524d\u8bbe\u7f6eAPI key<\/p>\n<p>export DEEPSEEK_API_KEY&#061;&#034;sk-xxxxx&#034;<\/p>\n<p>\u5148\u6765\u95ee\u5019\u4e00\u4e0b&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030532-69a25b7cce4fb.png\" alt=\"\" \/><\/p>\n<p>\u8f93\u51fa\u7684\u57fa\u672c\u4e0a\u662fSystem Prompt\u4e2d\u7684\u5185\u5bb9&#xff0c;\u7b26\u5408\u9884\u671f\u3002<\/p>\n<p>1&#xff09;\u7b2c1\u4e2a\u95ee\u9898<\/p>\n<p>\u5e2e\u6211\u67e5\u4e00\u4e0b\u5f53\u524d\u76ee\u5f55\u90fd\u6709\u54ea\u4e9b\u6587\u4ef6<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030533-69a25b7d06b45.png\" alt=\"\" \/><\/p>\n<p>2&#xff09;\u7b2c2\u4e2a\u95ee\u9898<\/p>\n<p>\u8ba9\u5b83\u6267\u884c\u4e00\u4e2a\u7edf\u8ba1\u4efb\u52a1&#xff1a;\u5e2e\u6211\u7edf\u8ba1\u4e0b\u5f53\u524d\u76ee\u5f55\u4e0b\u7684\u4ee3\u7801\u884c\u6570\u4ee5\u53catoken\u6570<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030533-69a25b7d85027.png\" alt=\"\" \/><\/p>\n<p>\u53ef\u4ee5\u770b\u5230Agent Loop\u91cc\u5728\u6301\u7eed\u5730\u8c03\u7528Tools\u3001\u5199\u4ee3\u7801\u4ee5\u53ca\u6267\u884c\u4ee3\u7801<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030533-69a25b7dca758.png\" alt=\"\" \/><\/p>\n<p>\u6700\u7ec8\u7684\u7edf\u8ba1\u7ed3\u679c&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030534-69a25b7e22076.png\" alt=\"\" \/><\/p>\n<p>\u505a\u5b8c\u4efb\u52a1&#xff0c;\u4f7f\u7528exit\u547d\u4ee4\u9000\u51fa\u5f53\u524dsession<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030534-69a25b7e89821.png\" alt=\"\" \/><\/p>\n<p>\u53ef\u4ee5\u770b\u5230\u5b9e\u73b0\u7684Agent\u5e94\u7528&#xff0c;\u867d\u7136\u5b9e\u73b0\u6781\u7b80&#xff0c;\u4f46\u662f\u529f\u80fd\u53ef\u4ee5\u4e00\u70b9\u4e0d\u7b80\u5355&#xff08;\u5f53Agent\u62e5\u6709\u6587\u4ef6\u8bfb\u5199\u6743\u9650&#xff0c;\u5916\u52a0Shell\u5de5\u5177\u4ee5\u53ca\u4ee3\u7801\u751f\u6210\u4e0e\u6267\u884c\u6743\u9650&#xff0c;\u5b83\u5728\u672c\u673a\u4e0a\u771f\u7684\u53ef\u4ee5&#034;\u4e3a\u6240\u6b32\u4e3a&#034;)\u3002<\/p>\n<p>\u8981\u77e5\u9053OpenClaw\u7684\u5e95\u5c42Agent Core&#xff08;Pi Agent&#xff09;\u7684Tools\u5c42\u4e5f\u662f\u6709\u4e14\u4ec5\u5305\u542b\u56db\u4e2a\u5de5\u5177\u65b9\u6cd5&#xff1a;\u8bfb\u6587\u4ef6&#xff08;Read&#xff09;\u3001\u5199\u6587\u4ef6&#xff08;Write&#xff09;\u3001\u7f16\u8f91\u6587\u4ef6&#xff08;Edit&#xff09;\u3001\u547d\u4ee4\u884c&#xff08;Shell&#xff09;&#xff0c;\u5176\u4ed6\u7684\u4e30\u5bcc\u4e14\u5f3a\u5927\u80fd\u529b\u5747\u9760\u4e8b\u4ef6\u673a\u5236\u53caSkills\u6269\u5c55\u800c\u6765\u3002<\/p>\n<h2>\u5199\u5728\u540e\u9762\u7684\u8bdd<\/h2>\n<ul>\n<li>\u6beb\u65e0\u7591\u95ee&#xff0c;\u5f53\u524d\u6781\u7b80\u7248\u7684AI Agent\u6846\u67b6\u5728\u7a0b\u5e8f\u5065\u58ee\u6027\u3001\u5b89\u5168\u6027\u3001\u529f\u80fd\u6027&#xff08;\u5982\u6d41\u5f0f\u8f93\u51fa&#xff09;\u4ee5\u53ca\u4f18\u96c5\u6027&#xff08;\u5982Tools\u6ce8\u518c&#xff09;\u90fd\u6709\u5f88\u5927\u6539\u8fdb\u7a7a\u95f4&#xff0c;\u4f46\u662f\u4e0d\u5bb9\u5426\u8ba4\u7684\u662f\u5b83\u4e94\u810f\u4ff1\u5168&#xff0c;\u7b80\u5355\u6e05\u6670&#xff0c;\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u6452\u9664\u90a3\u4e9b\u590d\u6742\u5197\u957f\u7684\u7ec4\u4ef6\u5e93&#xff0c;\u770b\u6e05Agent\u7684\u672c\u8d28\u3002<\/li>\n<li>\u4e3a\u4ec0\u4e48\u9700\u8981\u6781\u7b80&#xff1f;\u4e00\u65b9\u9762\u662f\u4e3a\u4e86\u65b9\u4fbf\u8bba\u8ff0\u6e05\u695aAgent\u7684\u5173\u952e\u70b9&#xff1b;\u53e6\u4e00\u65b9\u9762\u662f\u73b0\u5b9e\u8003\u91cf&#xff0c;\u4ee3\u7801\u5e93&#xff08;\u672c\u8d28\u4e5f\u662f\u6587\u4ef6&#xff09;\u4e5f\u5c06\u9010\u6e10\u6210\u4e3a\u4e0a\u4e0b\u6587\u5de5\u7a0b\u7684\u4e00\u90e8\u5206&#xff0c;\u4ee3\u7801\u5e93\u8d8a\u7b80\u5355\u4e0a\u4e0b\u6587\u8d8a\u6e05\u6670&#xff08;\u4fe1\u606f\u566a\u58f0\u8d8a\u5c11&#xff09;&#xff0c;Agent\u5219\u8d8a\u667a\u80fd\u3002<\/li>\n<li>Agent\u6846\u67b6\u4e4b\u5916&#xff0c;Agent\u5e94\u7528\u4e4b\u5185&#xff0c;\u4e0a\u4e0b\u6587\u5de5\u7a0b\u662f\u667a\u80fd\u7684\u6838\u5fc3&#xff08;\u77ed\u671f\/\u957f\u671f\u8bb0\u5fc6\u3001\u4e3b\u52a8\/\u88ab\u52a8\u8bb0\u5fc6\u3001\u7528\u6237Session\u7ba1\u7406\u3001\u52a8\u6001RAG\u7b49\u7b49&#xff09;&#xff0c;\u4e5f\u662fAgent\u5546\u4e1a\u4e0a\u5e94\u7528\u7684\u5173\u952e\u3002\u6846\u67b6\u63d0\u4f9b\u57fa\u7840\u5de5\u5177&#xff0c;\u4e0a\u4e0b\u6587\u5de5\u7a0b\u63d0\u4f9b\u73af\u5883&#xff0c;\u642d\u914d\u5546\u4e1a\u9886\u57df\u7684Skills&#xff0c;Agent\u5c31\u80fd\u53d1\u6325\u51fa\u5de8\u5927\u7684\u6f5c\u529b\u3002<\/li>\n<\/ul>\n<h2>\u666e\u901a\u4eba\u5982\u4f55\u6293\u4f4fAI\u5927\u6a21\u578b\u7684\u98ce\u53e3&#xff1f;<\/h2>\n<p>\u9886\u53d6\u65b9\u5f0f\u5728\u6587\u672b<\/p>\n<h3>\u4e3a\u4ec0\u4e48\u8981\u5b66\u4e60\u5927\u6a21\u578b&#xff1f;<\/h3>\n<p>\u76ee\u524dAI\u5927\u6a21\u578b\u7684\u6280\u672f\u5c97\u4f4d\u4e0e\u80fd\u529b\u57f9\u517b\u968f\u7740\u4eba\u5de5\u667a\u80fd\u6280\u672f\u7684\u8fc5\u901f\u53d1\u5c55\u548c\u5e94\u7528 &#xff0c; \u5927\u6a21\u578b\u4f5c\u4e3a\u5176\u4e2d\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206 &#xff0c; \u6b63\u9010\u6e10\u6210\u4e3a\u63a8\u52a8\u4eba\u5de5\u667a\u80fd\u53d1\u5c55\u7684\u91cd\u8981\u5f15\u64ce \u3002\u5927\u6a21\u578b\u4ee5\u5176\u5f3a\u5927\u7684\u6570\u636e\u5904\u7406\u548c\u6a21\u5f0f\u8bc6\u522b\u80fd\u529b&#xff0c; \u5e7f\u6cdb\u5e94\u7528\u4e8e\u81ea\u7136\u8bed\u8a00\u5904\u7406 \u3001\u8ba1\u7b97\u673a\u89c6\u89c9 \u3001 \u667a\u80fd\u63a8\u8350\u7b49\u9886\u57df &#xff0c;\u4e3a\u5404\u884c\u5404\u4e1a\u5e26\u6765\u4e86\u9769\u547d\u6027\u7684\u6539\u53d8\u548c\u673a\u9047 \u3002<\/p>\n<p>\u76ee\u524d&#xff0c;\u5f00\u6e90\u4eba\u5de5\u667a\u80fd\u5927\u6a21\u578b\u5df2\u5e94\u7528\u4e8e\u533b\u7597\u3001\u653f\u52a1\u3001\u6cd5\u5f8b\u3001\u6c7d\u8f66\u3001\u5a31\u4e50\u3001\u91d1\u878d\u3001\u4e92\u8054\u7f51\u3001\u6559\u80b2\u3001\u5236\u9020\u4e1a\u3001\u4f01\u4e1a\u670d\u52a1\u7b49\u591a\u4e2a\u573a\u666f&#xff0c;\u5176\u4e2d&#xff0c;\u5e94\u7528\u4e8e\u91d1\u878d\u3001\u4f01\u4e1a\u670d\u52a1\u3001\u5236\u9020\u4e1a\u548c\u6cd5\u5f8b\u9886\u57df\u7684\u5927\u6a21\u578b\u5728\u672c\u6b21\u8c03\u7814\u4e2d\u5360\u6bd4\u8d85\u8fc7 30%\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030534-69a25b7e9ed59.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u968f\u7740AI\u5927\u6a21\u578b\u6280\u672f\u7684\u8fc5\u901f\u53d1\u5c55&#xff0c;\u76f8\u5173\u5c97\u4f4d\u7684\u9700\u6c42\u4e5f\u65e5\u76ca\u589e\u52a0\u3002\u5927\u6a21\u578b\u4ea7\u4e1a\u94fe\u50ac\u751f\u4e86\u4e00\u6279\u9ad8\u85aa\u65b0\u804c\u4e1a&#xff1a;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030535-69a25b7f0c16b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u4eba\u5de5\u667a\u80fd\u5927\u6f6e\u5df2\u6765&#xff0c;\u4e0d\u52a0\u5165\u5c31\u53ef\u80fd\u88ab\u6dd8\u6c70\u3002\u5982\u679c\u4f60\u662f\u6280\u672f\u4eba&#xff0c;\u5c24\u5176\u662f\u4e92\u8054\u7f51\u4ece\u4e1a\u8005&#xff0c;\u73b0\u5728\u5c31\u5f00\u59cb\u5b66\u4e60AI\u5927\u6a21\u578b\u6280\u672f&#xff0c;\u771f\u7684\u662f\u7ed9\u4f60\u7684\u4eba\u751f\u4e00\u4e2a\u91cd\u8981\u5efa\u8bae&#xff01;<\/p>\n<h2>\u6700\u540e<\/h2>\n<p>\u53ea\u8981\u4f60\u771f\u5fc3\u60f3\u5b66\u4e60AI\u5927\u6a21\u578b\u6280\u672f&#xff0c;\u8fd9\u4efd\u7cbe\u5fc3\u6574\u7406\u7684\u5b66\u4e60\u8d44\u6599\u6211\u613f\u610f\u65e0\u507f\u5206\u4eab\u7ed9\u4f60&#xff0c;\u4f46\u662f\u60f3\u5b66\u6280\u672f\u53bb\u4e71\u641e\u7684\u4eba\u522b\u6765\u627e\u6211&#xff01;<\/p>\n<p>\u5728\u5f53\u524d\u8fd9\u4e2a\u4eba\u5de5\u667a\u80fd\u9ad8\u901f\u53d1\u5c55\u7684\u65f6\u4ee3&#xff0c;AI\u5927\u6a21\u578b\u6b63\u5728\u6df1\u523b\u6539\u53d8\u5404\u884c\u5404\u4e1a\u3002\u6211\u56fd\u5bf9\u9ad8\u6c34\u5e73AI\u4eba\u624d\u7684\u9700\u6c42\u4e5f\u65e5\u76ca\u589e\u957f&#xff0c;\u771f\u6b63\u61c2\u6280\u672f\u3001\u80fd\u843d\u5730\u7684\u4eba\u624d\u4f9d\u65e7\u7d27\u7f3a\u3002\u6211\u4e5f\u5e0c\u671b\u901a\u8fc7\u8fd9\u4efd\u8d44\u6599&#xff0c;\u80fd\u591f\u5e2e\u52a9\u66f4\u591a\u6709\u5fd7\u4e8eAI\u9886\u57df\u7684\u670b\u53cb\u5165\u95e8\u5e76\u6df1\u5165\u5b66\u4e60\u3002<\/p>\n<p>\u771f\u8bda\u65e0\u507f\u5206\u4eab&#xff01;&#xff01;&#xff01;<br \/>\nvx\u626b\u63cf\u4e0b\u65b9\u4e8c\u7ef4\u7801\u5373\u53ef<br \/>\n\u52a0\u4e0a\u540e\u4f1a\u4e00\u4e2a\u4e2a\u7ed9\u5927\u5bb6\u53d1<br \/>\n\u3010\u9644\u8d60\u4e00\u8282\u514d\u8d39\u7684\u76f4\u64ad\u8bb2\u5ea7&#xff0c;\u6280\u672f\u5927\u4f6c\u5e26\u4f60\u5b66\u4e60\u5927\u6a21\u578b\u7684\u76f8\u5173\u77e5\u8bc6\u3001\u5b66\u4e60\u601d\u8def\u3001\u5c31\u4e1a\u524d\u666f\u4ee5\u53ca\u600e\u4e48\u7ed3\u5408\u5f53\u524d\u7684\u5de5\u4f5c\u53d1\u5c55\u65b9\u5411\u7b49&#xff0c;\u6b22\u8fce\u5927\u5bb6~\u3011<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030535-69a25b7f6eb50.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u5927\u6a21\u578b\u5168\u5957\u5b66\u4e60\u8d44\u6599\u5c55\u793a<\/h3>\n<p>\u81ea\u6211\u4eec\u4e0eMoPaaS\u9b54\u6cca\u4e91\u5408\u4f5c\u4ee5\u6765&#xff0c;\u6211\u4eec\u4e0d\u65ad\u6253\u78e8\u8bfe\u7a0b\u4f53\u7cfb\u4e0e\u6280\u672f\u5185\u5bb9&#xff0c;\u5728\u7ec6\u8282\u4e0a\u7cbe\u76ca\u6c42\u7cbe&#xff0c;\u540c\u65f6\u5728\u6280\u672f\u5c42\u9762\u4e5f\u65b0\u589e\u4e86\u8bb8\u591a\u524d\u6cbf\u4e14\u5b9e\u7528\u7684\u5185\u5bb9&#xff0c;\u529b\u6c42\u4e3a\u5927\u5bb6\u5e26\u6765\u66f4\u7cfb\u7edf\u3001\u66f4\u5b9e\u6218\u3001\u66f4\u843d\u5730\u7684\u5927\u6a21\u578b\u5b66\u4e60\u4f53\u9a8c\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030537-69a25b814c02c.gif\" alt=\"\u56fe\u7247\" \/><\/p>\n<p>\u5e0c\u671b\u8fd9\u4efd\u7cfb\u7edf\u3001\u5b9e\u7528\u7684\u5927\u6a21\u578b\u5b66\u4e60\u8def\u5f84&#xff0c;\u80fd\u591f\u5e2e\u52a9\u4f60\u4ece\u96f6\u5165\u95e8&#xff0c;\u8fdb\u9636\u5230\u5b9e\u6218&#xff0c;\u771f\u6b63\u638c\u63e1AI\u65f6\u4ee3\u7684\u6838\u5fc3\u6280\u80fd&#xff01;<\/p>\n<h4>01 \u6559\u5b66\u5185\u5bb9<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030537-69a25b816b8d1.png\" alt=\"\u56fe\u7247\" \/><\/p>\n<ul>\n<li>\n<p>\u4ece\u96f6\u5230\u7cbe\u901a\u5b8c\u6574\u95ed\u73af&#xff1a;\u3010\u57fa\u7840\u7406\u8bba \u2192RAG\u5f00\u53d1 \u2192 Agent\u8bbe\u8ba1 \u2192  \u6a21\u578b\u5fae\u8c03\u4e0e\u79c1\u6709\u5316\u90e8\u7f72\u8c03\u2192\u70ed\u95e8\u6280\u672f\u30115\u5927\u6a21\u5757&#xff0c;\u5185\u5bb9\u6bd4\u4f20\u7edf\u6559\u6750\u66f4\u8d34\u8fd1\u4f01\u4e1a\u5b9e\u6218&#xff01;<\/p>\n<\/li>\n<li>\n<p>\u5927\u91cf\u771f\u5b9e\u9879\u76ee\u6848\u4f8b&#xff1a; \u5e26\u4f60\u4eb2\u81ea\u4e0a\u624b\u641e\u6570\u636e\u6e05\u6d17\u3001\u6a21\u578b\u8c03\u4f18\u8fd9\u4e9b\u786c\u6838\u64cd\u4f5c&#xff0c;\u628a\u8bfe\u672c\u77e5\u8bc6\u53d8\u6210\u771f\u672c\u4e8b\u200c&#xff01;<\/p>\n<\/li>\n<\/ul>\n<h4>02\u9002\u5b66\u4eba\u7fa4<\/h4>\n<p>\u5e94\u5c4a\u6bd5\u4e1a\u751f\u200c&#xff1a; \u65e0\u5de5\u4f5c\u7ecf\u9a8c\u4f46\u60f3\u8981\u7cfb\u7edf\u5b66\u4e60AI\u5927\u6a21\u578b\u6280\u672f&#xff0c;\u671f\u5f85\u901a\u8fc7\u5b9e\u6218\u9879\u76ee\u638c\u63e1\u6838\u5fc3\u6280\u672f\u3002<\/p>\n<p>\u96f6\u57fa\u7840\u8f6c\u578b\u200c&#xff1a; \u975e\u6280\u672f\u80cc\u666f\u4f46\u5173\u6ce8AI\u5e94\u7528\u573a\u666f&#xff0c;\u8ba1\u5212\u901a\u8fc7\u4f4e\u4ee3\u7801\u5de5\u5177\u5b9e\u73b0\u201cAI&#043;\u884c\u4e1a\u201d\u8de8\u754c\u200c\u3002<\/p>\n<p>\u4e1a\u52a1\u8d4b\u80fd\u7a81\u7834\u74f6\u9888&#xff1a; \u4f20\u7edf\u5f00\u53d1\u8005&#xff08;Java\/\u524d\u7aef\u7b49&#xff09;\u5b66\u4e60Transformer\u67b6\u6784\u4e0eLangChain\u6846\u67b6&#xff0c;\u5411AI\u5168\u6808\u5de5\u7a0b\u5e08\u8f6c\u578b\u200c\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030537-69a25b81ddf09.png\" alt=\"image.png\" \/><\/p>\n<p>vx\u626b\u63cf\u4e0b\u65b9\u4e8c\u7ef4\u7801\u5373\u53ef<br \/>\n\u3010\u9644\u8d60\u4e00\u8282\u514d\u8d39\u7684\u76f4\u64ad\u8bb2\u5ea7&#xff0c;\u6280\u672f\u5927\u4f6c\u5e26\u4f60\u5b66\u4e60\u5927\u6a21\u578b\u7684\u76f8\u5173\u77e5\u8bc6\u3001\u5b66\u4e60\u601d\u8def\u3001\u5c31\u4e1a\u524d\u666f\u4ee5\u53ca\u600e\u4e48\u7ed3\u5408\u5f53\u524d\u7684\u5de5\u4f5c\u53d1\u5c55\u65b9\u5411\u7b49&#xff0c;\u6b22\u8fce\u5927\u5bb6~\u3011<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030531-69a25b7b5d866.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u672c\u6559\u7a0b\u6bd4\u8f83\u73cd\u8d35&#xff0c;\u4ec5\u9650\u5927\u5bb6\u81ea\u884c\u5b66\u4e60&#xff0c;\u4e0d\u8981\u4f20\u64ad&#xff01;\u66f4\u4e25\u7981\u5546\u7528&#xff01;<\/p>\n<h4>03 \u5165\u95e8\u5230\u8fdb\u9636\u5b66\u4e60\u8def\u7ebf\u56fe<\/h4>\n<p>\u5927\u6a21\u578b\u5b66\u4e60\u8def\u7ebf\u56fe&#xff0c;\u6574\u4f53\u5206\u4e3a5\u4e2a\u5927\u7684\u9636\u6bb5&#xff1a;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030538-69a25b822a1ca.png\" alt=\"\u56fe\u7247\" \/><\/p>\n<h4>04 \u89c6\u9891\u548c\u4e66\u7c4dPDF\u5408\u96c6<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030540-69a25b84a78aa.png\" alt=\"\u56fe\u7247\" \/><\/p>\n<p>\u4ece0\u5230\u638c\u63e1\u4e3b\u6d41\u5927\u6a21\u578b\u6280\u672f\u89c6\u9891\u6559\u7a0b&#xff08;\u6db5\u76d6\u6a21\u578b\u8bad\u7ec3\u3001\u5fae\u8c03\u3001RAG\u3001LangChain\u3001Agent\u5f00\u53d1\u7b49\u5b9e\u6218\u65b9\u5411&#xff09;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030540-69a25b84c2119.png\" alt=\"\u56fe\u7247\" \/><\/p>\n<p>\u65b0\u624b\u5fc5\u5907\u7684\u5927\u6a21\u578b\u5b66\u4e60PDF\u4e66\u5355\u6765\u4e86&#xff01;\u5168\u662f\u786c\u6838\u77e5\u8bc6&#xff0c;\u5e2e\u4f60\u5c11\u8d70\u5f2f\u8def&#xff08;\u4e0d\u5439\u725b&#xff0c;\u771f\u6709\u7528&#xff09;<br \/>\n<img decoding=\"async\" src=\"2026-02-284mujitguu3a.png\" alt=\"\u56fe\u7247\" \/><\/p>\n<h4>05 \u884c\u4e1a\u62a5\u544a&#043;\u767d\u76ae\u4e66\u5408\u96c6<\/h4>\n<p>\u6536\u96c670&#043;\u62a5\u544a\u4e0e\u767d\u76ae\u4e66&#xff0c;\u4e86\u89e3\u884c\u4e1a\u6700\u65b0\u52a8\u6001&#xff01;<br \/>\n<img decoding=\"async\" src=\"2026-02-28iulokvsb0br.png\" alt=\"\u56fe\u7247\" \/><\/p>\n<h4>06 90&#043;\u4efd\u9762\u8bd5\u9898\/\u7ecf\u9a8c<\/h4>\n<p>AI\u5927\u6a21\u578b\u5c97\u4f4d\u9762\u8bd5\u7ecf\u9a8c\u603b\u7ed3&#xff08;\u8c01\u5b66\u6280\u672f\u4e0d\u662f\u4e3a\u4e86\u8d5a$\u5462&#xff0c;\u627e\u4e2a\u597d\u7684\u5c97\u4f4d\u5f88\u91cd\u8981&#xff09;<img decoding=\"async\" src=\"2026-02-281ydn3qhiip2.gif\" alt=\"\u56fe\u7247\" \/><br \/>\n<img decoding=\"async\" src=\"2026-02-285lbb22f0h1s.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>07 deepseek\u90e8\u7f72\u5305&#043;\u6280\u5de7\u5927\u5168<\/h4>\n<p><img decoding=\"async\" src=\"2026-02-2813jcdypbrpv.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u7531\u4e8e\u7bc7\u5e45\u6709\u9650<\/p>\n<p>\u53ea\u5c55\u793a\u90e8\u5206\u8d44\u6599<\/p>\n<p>\u5e76\u4e14\u8fd8\u5728\u6301\u7eed\u66f4\u65b0\u4e2d\u2026<\/p>\n<p>\u771f\u8bda\u65e0\u507f\u5206\u4eab&#xff01;&#xff01;&#xff01;<br \/>\nvx\u626b\u63cf\u4e0b\u65b9\u4e8c\u7ef4\u7801\u5373\u53ef<br \/>\n\u52a0\u4e0a\u540e\u4f1a\u4e00\u4e2a\u4e2a\u7ed9\u5927\u5bb6\u53d1<br \/>\n\u3010\u9644\u8d60\u4e00\u8282\u514d\u8d39\u7684\u76f4\u64ad\u8bb2\u5ea7&#xff0c;\u6280\u672f\u5927\u4f6c\u5e26\u4f60\u5b66\u4e60\u5927\u6a21\u578b\u7684\u76f8\u5173\u77e5\u8bc6\u3001\u5b66\u4e60\u601d\u8def\u3001\u5c31\u4e1a\u524d\u666f\u4ee5\u53ca\u600e\u4e48\u7ed3\u5408\u5f53\u524d\u7684\u5de5\u4f5c\u53d1\u5c55\u65b9\u5411\u7b49&#xff0c;\u6b22\u8fce\u5927\u5bb6~\u3011<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030531-69a25b7b5d866.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5e74\u521d\u706b\u7206\u73b0\u5728\u70ed\u5ea6\u4f9d\u65e7\u7684OpenClaw\u4e3aAI Agent\u5e26\u6765\u4e86\u65b0\u7684\u60f3\u8c61\u3002\u5982\u679c\u8bf42025\u662fAI Agent\u667a\u80fd\u4f53\u5143\u5e74&#xff0c;\u60f3\u5fc52026\u5c06\u4f1a\u662fAI Agent\u771f\u6b63\u5546\u7528\u5316\u7684\u5f00\u7aef&#xff0c;\u800cAI Agent\u5546\u7528\u5316\u7684\u524d\u63d0\u662f\u5404\u884c\u5404\u4e1a\u5f00\u59cb\u843d\u5730\u5b9e\u9645\u5546\u4e1a\u9886\u57df\u7684AI Agent\u3002<br \/>\n\u4f5c\u4e3a\u4e00\u540d\u7a0b\u5e8f\u5458\/\u5de5\u7a0b\u5e08&#xff0c;\u601d\u8003\u7684\u66f4\u591a\u7684\u53ef\u80fd\u662f\u5982\u4f55\u5c06AI Agent\u843d\u5730\u5b9e\u73b0\u7684\u5c42\u9762\u3002\u5de5\u7a0b\u6846\u67b6\u5f80\u5f80\u662f\u5de5\u7a0b\u5e94\u7528\u5b9e\u73b0\u7684\u57fa\u77f3&#xff0c;\u6846\u67b6\u9009\u578b\u4e5f\u662f\u67b6\u6784\u5e08\u4eec\u8bbe\u8ba1\u4e0e\u5b9e\u73b0\u4e00\u4e2aAI Agent\u667a\u80fd\u4f53\u7684\u9996<\/p>\n","protected":false},"author":2,"featured_media":78820,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[66,50,132,614,958,51,4847],"topic":[],"class_list":["post-78840","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-ai","tag-50","tag-132","tag-614","tag-958","tag-51","tag-4847"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5fc5\u5b66\u6536\u85cf\uff01AI Agent\u6846\u67b6\u4ece\u7406\u8bba\u5230\u5b9e\u8df5\uff1a279\u884c\u4ee3\u7801\u5e26\u4f60\u5165\u95e8\u5927\u6a21\u578b\u667a\u80fd\u4f53\u5f00\u53d1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/78840.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5fc5\u5b66\u6536\u85cf\uff01AI Agent\u6846\u67b6\u4ece\u7406\u8bba\u5230\u5b9e\u8df5\uff1a279\u884c\u4ee3\u7801\u5e26\u4f60\u5165\u95e8\u5927\u6a21\u578b\u667a\u80fd\u4f53\u5f00\u53d1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5e74\u521d\u706b\u7206\u73b0\u5728\u70ed\u5ea6\u4f9d\u65e7\u7684OpenClaw\u4e3aAI Agent\u5e26\u6765\u4e86\u65b0\u7684\u60f3\u8c61\u3002\u5982\u679c\u8bf42025\u662fAI Agent\u667a\u80fd\u4f53\u5143\u5e74&#xff0c;\u60f3\u5fc52026\u5c06\u4f1a\u662fAI Agent\u771f\u6b63\u5546\u7528\u5316\u7684\u5f00\u7aef&#xff0c;\u800cAI Agent\u5546\u7528\u5316\u7684\u524d\u63d0\u662f\u5404\u884c\u5404\u4e1a\u5f00\u59cb\u843d\u5730\u5b9e\u9645\u5546\u4e1a\u9886\u57df\u7684AI Agent\u3002 \u4f5c\u4e3a\u4e00\u540d\u7a0b\u5e8f\u5458\/\u5de5\u7a0b\u5e08&#xff0c;\u601d\u8003\u7684\u66f4\u591a\u7684\u53ef\u80fd\u662f\u5982\u4f55\u5c06AI Agent\u843d\u5730\u5b9e\u73b0\u7684\u5c42\u9762\u3002\u5de5\u7a0b\u6846\u67b6\u5f80\u5f80\u662f\u5de5\u7a0b\u5e94\u7528\u5b9e\u73b0\u7684\u57fa\u77f3&#xff0c;\u6846\u67b6\u9009\u578b\u4e5f\u662f\u67b6\u6784\u5e08\u4eec\u8bbe\u8ba1\u4e0e\u5b9e\u73b0\u4e00\u4e2aAI Agent\u667a\u80fd\u4f53\u7684\u9996\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/78840.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-28T03:05:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030530-69a25b7a35714.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/78840.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/78840.html\",\"name\":\"\u5fc5\u5b66\u6536\u85cf\uff01AI Agent\u6846\u67b6\u4ece\u7406\u8bba\u5230\u5b9e\u8df5\uff1a279\u884c\u4ee3\u7801\u5e26\u4f60\u5165\u95e8\u5927\u6a21\u578b\u667a\u80fd\u4f53\u5f00\u53d1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-28T03:05:42+00:00\",\"dateModified\":\"2026-02-28T03:05:42+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/78840.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/78840.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/78840.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5fc5\u5b66\u6536\u85cf\uff01AI Agent\u6846\u67b6\u4ece\u7406\u8bba\u5230\u5b9e\u8df5\uff1a279\u884c\u4ee3\u7801\u5e26\u4f60\u5165\u95e8\u5927\u6a21\u578b\u667a\u80fd\u4f53\u5f00\u53d1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5fc5\u5b66\u6536\u85cf\uff01AI Agent\u6846\u67b6\u4ece\u7406\u8bba\u5230\u5b9e\u8df5\uff1a279\u884c\u4ee3\u7801\u5e26\u4f60\u5165\u95e8\u5927\u6a21\u578b\u667a\u80fd\u4f53\u5f00\u53d1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/78840.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5fc5\u5b66\u6536\u85cf\uff01AI Agent\u6846\u67b6\u4ece\u7406\u8bba\u5230\u5b9e\u8df5\uff1a279\u884c\u4ee3\u7801\u5e26\u4f60\u5165\u95e8\u5927\u6a21\u578b\u667a\u80fd\u4f53\u5f00\u53d1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5e74\u521d\u706b\u7206\u73b0\u5728\u70ed\u5ea6\u4f9d\u65e7\u7684OpenClaw\u4e3aAI Agent\u5e26\u6765\u4e86\u65b0\u7684\u60f3\u8c61\u3002\u5982\u679c\u8bf42025\u662fAI Agent\u667a\u80fd\u4f53\u5143\u5e74&#xff0c;\u60f3\u5fc52026\u5c06\u4f1a\u662fAI Agent\u771f\u6b63\u5546\u7528\u5316\u7684\u5f00\u7aef&#xff0c;\u800cAI Agent\u5546\u7528\u5316\u7684\u524d\u63d0\u662f\u5404\u884c\u5404\u4e1a\u5f00\u59cb\u843d\u5730\u5b9e\u9645\u5546\u4e1a\u9886\u57df\u7684AI Agent\u3002 \u4f5c\u4e3a\u4e00\u540d\u7a0b\u5e8f\u5458\/\u5de5\u7a0b\u5e08&#xff0c;\u601d\u8003\u7684\u66f4\u591a\u7684\u53ef\u80fd\u662f\u5982\u4f55\u5c06AI Agent\u843d\u5730\u5b9e\u73b0\u7684\u5c42\u9762\u3002\u5de5\u7a0b\u6846\u67b6\u5f80\u5f80\u662f\u5de5\u7a0b\u5e94\u7528\u5b9e\u73b0\u7684\u57fa\u77f3&#xff0c;\u6846\u67b6\u9009\u578b\u4e5f\u662f\u67b6\u6784\u5e08\u4eec\u8bbe\u8ba1\u4e0e\u5b9e\u73b0\u4e00\u4e2aAI Agent\u667a\u80fd\u4f53\u7684\u9996","og_url":"https:\/\/www.wsisp.com\/helps\/78840.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-28T03:05:42+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260228030530-69a25b7a35714.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"11 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/78840.html","url":"https:\/\/www.wsisp.com\/helps\/78840.html","name":"\u5fc5\u5b66\u6536\u85cf\uff01AI Agent\u6846\u67b6\u4ece\u7406\u8bba\u5230\u5b9e\u8df5\uff1a279\u884c\u4ee3\u7801\u5e26\u4f60\u5165\u95e8\u5927\u6a21\u578b\u667a\u80fd\u4f53\u5f00\u53d1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-28T03:05:42+00:00","dateModified":"2026-02-28T03:05:42+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/78840.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/78840.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/78840.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5fc5\u5b66\u6536\u85cf\uff01AI Agent\u6846\u67b6\u4ece\u7406\u8bba\u5230\u5b9e\u8df5\uff1a279\u884c\u4ee3\u7801\u5e26\u4f60\u5165\u95e8\u5927\u6a21\u578b\u667a\u80fd\u4f53\u5f00\u53d1"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/78840","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=78840"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/78840\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/78820"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=78840"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=78840"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=78840"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=78840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}