{"id":116193,"date":"2026-10-20T22:25:02","date_gmt":"2026-10-20T14:25:02","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/116193.html"},"modified":"2026-10-20T22:25:02","modified_gmt":"2026-10-20T14:25:02","slug":"%e4%bb%8e%e6%a0%b9%e4%b8%8a%e5%90%83%e9%80%8fai-agent%ef%bc%9aagent%e6%8b%86%e8%a7%a3%e7%b3%bb%e5%88%97%e4%b9%8bdeerflow2-0%e6%b7%b1%e5%ba%a6%e6%8b%86%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/116193.html","title":{"rendered":"\u4ece\u6839\u4e0a\u5403\u900fAI Agent\uff1aAgent\u62c6\u89e3\u7cfb\u5217\u4e4bDeerFlow2.0\u6df1\u5ea6\u62c6\u89e3"},"content":{"rendered":"<p>Agent\u62c6\u89e3\u7cfb\u5217\u7684\u76ee\u7684&#xff1a;&#xff08;1&#xff09;\u76ee\u7684\u4e4b\u4e00&#xff0c;\u4ed6\u5c71\u4e4b\u77f3&#xff0c;\u4ece\u4f18\u79c0\u5f00\u6e90 Agent \u8bbe\u8ba1\u4e2d\u6c72\u53d6\u542f\u53d1\u3002&#xff08;2&#xff09;\u76ee\u7684\u4e4b\u4e8c&#xff0c;\u8403\u53d6\u591a\u4e2a\u4f18\u79c0\u5f00\u6e90\u667a\u80fd\u4f53\u5de5\u7a0b\u5b9e\u8df5&#xff0c;\u603b\u7ed3\u6c89\u6dc0\u53ef\u590d\u7528\u65b9\u6cd5\u8bba\u3002\u4eceDeerFlow 2.0\u5f00\u59cb&#xff0c;\u540e\u7eed\u4f1a\u6709ClaudeCode\u3001Openclaw\u3001Deepseek Harness\u3001Pi\u3001Hermes\u7b49\u7cfb\u5217\u3002<\/p>\n<p>\u4e00\u53e5\u8bdd\u5b9a\u4f4d*&#xff1a;\u4ee5 DeerFlow 2.0 \u7684\u771f\u5b9e\u6e90\u7801\u4e3a\u8bc1\u636e\u94fe&#xff0c;\u5e26\u4f60\u4ece\u300c\u4f1a\u7528 Agent\u300d\u8fdb\u9636\u5230\u300c\u80fd\u9020 Agent \u8fd0\u884c\u65f6\u300d\u3002\u5b66\u5b8c\u4f60\u80fd\u72ec\u7acb\u8bfb\u61c2\u3001\u6539\u9020\u3001\u5e76\u4e8c\u6b21\u5f00\u53d1\u4e00\u5957\u751f\u4ea7\u7ea7 Agent \u7cfb\u7edf\u3002<\/p>\n<hr \/>\n<h3>\u3007\u3001\u4e3a\u4ec0\u4e48\u4ece DeerFlow 2.0 \u5f00\u59cb<\/h3>\n<p>\u5e02\u9762\u4e0a Agent \u6846\u67b6\u4e0d\u5c11&#xff0c;\u4e3a\u4ec0\u4e48\u7b2c\u4e00\u4e2a\u62c6\u7684\u662f DeerFlow 2.0&#xff1f;\u4e0d\u662f\u56e0\u4e3a\u5b83\u6700\u6d41\u884c&#xff0c;\u800c\u662f\u56e0\u4e3a\u5b83\u6070\u597d\u8e29\u4e2d\u4e86\u300c\u4ece\u4f1a\u7528 Agent \u5230\u80fd\u9020 Agent \u8fd0\u884c\u65f6\u300d\u8fd9\u6761\u8fdb\u9636\u8def\u4e0a\u6700\u503c\u5f97\u5b66\u7684\u90a3\u51e0\u4e2a\u70b9&#xff1a;<\/p>\n<li>\n<p>Python \u6280\u672f\u6808&#xff0c;\u6700\u7ecf\u5178\u7684 Agent \u5e95\u5ea7\u3002DeerFlow 2.0 \u7684\u6838\u5fc3\u662f LangChain &#043; LangGraph\u2014\u2014create_agent \u7684\u4e2d\u95f4\u4ef6\u6a21\u578b\u3001ThreadState \u7684\u4f1a\u8bdd\u72b6\u6001\u3001\u56fe\u5f0f\u7f16\u6392\u3002\u8fd9\u662f\u5f53\u524d Agent \u5de5\u7a0b\u6700\u4e3b\u6d41\u7684\u8303\u5f0f&#xff0c;\u5b66\u5b83\u7b49\u4e8e\u628a\u6574\u4e2a Python Agent \u751f\u6001\u300c\u4e00\u9c7c\u591a\u5403\u300d&#xff1a;\u770b\u61c2\u4e00\u5957&#xff0c;LangChain\/LangGraph \u7684\u5f88\u591a\u6982\u5ff5\u5c31\u901a\u4e86\u3002<\/p>\n<\/li>\n<li>\n<p>Harness \u8bbe\u8ba1\u6709\u6781\u5f3a\u7684\u501f\u9274\u610f\u4e49\u3002DeerFlow \u628a\u300cAgent \u8fd0\u884c\u65f6\u300d\u62bd\u6210\u4e86\u4e00\u4e2a\u72ec\u7acb\u53d1\u5e03\u7684 deerflow-harness \u5305&#xff08;packages\/harness\/&#xff09;&#xff0c;\u4e0e\u540e\u7aef\u5e94\u7528\u5c42&#xff08;app\/&#xff09;\u901a\u8fc7\u4e25\u683c\u7684\u4f9d\u8d56\u8fb9\u754c\u9694\u79bb\u3002\u8fd9\u79cd**\u300c\u6846\u67b6\u5185\u6838 \/ \u5e94\u7528\u5916\u58f3\u300d\u5206\u5c42**&#xff0c;\u6b63\u662f\u590d\u7528\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u7684\u5173\u952e&#xff0c;\u4e5f\u662f\u4f60\u5728\u81ea\u7814\u6846\u67b6\u65f6\u6700\u503c\u5f97\u7167\u6284\u7684\u5206\u5de5\u3002<\/p>\n<\/li>\n<li>\n<p>\u5b83\u7684\u4e2d\u95f4\u8bbe\u8ba1&#xff0c;\u4e0e\u300c\u672a\u6765\u667a\u80fd\u4f53\u8fd0\u884c\u65f6\u300d\u7684\u67b6\u6784\u662f\u76f8\u901a\u7684\u3002\u72b6\u6001\u3001\u4e2d\u95f4\u4ef6\u7f16\u6392\u3001\u5de5\u5177\/\u8bb0\u5fc6\/\u6c99\u7bb1\u6269\u5c55\u3001\u5b89\u5168\u62a4\u680f\u3001\u53ef\u89c2\u6d4b\u2014\u2014\u8fd9\u4e9b\u4e0d\u662f DeerFlow \u79c1\u6709\u53d1\u660e&#xff0c;\u800c\u662f\u51e0\u4e4e\u6240\u6709\u751f\u4ea7\u7ea7 Agent \u8fd0\u884c\u65f6\u90fd\u8981\u56de\u7b54\u7684\u901a\u7528\u95ee\u9898\u3002DeerFlow \u53ea\u662f\u628a\u7b54\u6848\u843d\u8fdb\u4e86\u6e90\u7801\u3002\u770b\u61c2\u5b83&#xff0c;\u4f60\u5c31\u62ff\u5230\u4e86\u300c\u672a\u6765\u667a\u80fd\u4f53\u8fd0\u884c\u65f6\u300d\u7684\u4e00\u5f20\u901a\u7528\u5730\u56fe&#xff0c;\u5c06\u6765\u6362\u5230\u4efb\u4f55\u65b0\u6846\u67b6\u90fd\u80fd\u8fc1\u79fb\u8ba4\u77e5\u3002<\/p>\n<\/li>\n<li>\n<p>\u5b83\u628a\u5de5\u7a0b\u5316\u62bd\u79bb\u51fa\u53bb&#xff0c;\u8ba9 AI \u5f00\u53d1\u8005\u53ea\u5173\u6ce8\u4e1a\u52a1\u3002\u8fd9\u662f\u5b83\u6700\u6253\u52a8\u4eba\u7684\u8bbe\u8ba1\u54f2\u5b66&#xff1a;\u6a21\u578b\u8c03\u7528\u3001\u4e0a\u4e0b\u6587\u538b\u7f29\u3001\u6d41\u5f0f\u8f93\u51fa\u3001\u5b89\u5168\u9694\u79bb\u3001\u914d\u7f6e\u91cd\u8f7d\u2026\u2026\u8fd9\u4e9b\u300c\u810f\u6d3b\u300d\u90fd\u88ab\u5c01\u8fdb\u8fd0\u884c\u65f6\u548c\u4e2d\u95f4\u4ef6\u91cc&#xff0c;\u5e94\u7528\u5c42\u5f00\u53d1\u8005\u4e0d\u9700\u8981\u78b0&#xff0c;\u53ea\u8981\u5173\u5fc3\u300c\u6211\u7684 Agent \u8981\u505a\u4ec0\u4e48\u3001\u63a5\u54ea\u4e9b\u5de5\u5177\u3001\u7528\u4ec0\u4e48\u8bb0\u5fc6\u300d\u3002\u8fd9\u6b63\u662f\u667a\u80fd\u4f53\u5e73\u53f0\u8be5\u6709\u7684\u6837\u5b50\u2014\u2014\u628a\u590d\u6742\u5ea6\u4e0b\u6c89\u5230\u6846\u67b6&#xff0c;\u628a\u521b\u9020\u529b\u7559\u7ed9\u4e1a\u52a1\u3002\u6211\u4eec\u62c6\u5b83&#xff0c;\u5c31\u662f\u8981\u770b\u6e05\u8fd9\u4e2a\u300c\u4e0b\u6c89\u300d\u662f\u600e\u4e48\u505a\u5230\u7684\u3002<\/p>\n<\/li>\n<p>\u4e00\u53e5\u8bdd&#xff1a;\u9009 DeerFlow 2.0 \u5f53\u5f00\u7bc7&#xff0c;\u662f\u56e0\u4e3a\u5b83\u5728**\u300c\u6280\u672f\u6808\u4e3b\u6d41\u3001\u67b6\u6784\u6709\u8303\u4f8b\u3001\u601d\u60f3\u53ef\u8fc1\u79fb\u3001\u5de5\u7a0b\u53ef\u843d\u5730\u300d**\u56db\u4e2a\u7ef4\u5ea6\u4e0a\u90fd\u8db3\u591f\u5178\u578b\u2014\u2014\u62ff\u5b83\u5f53\u7b2c\u4e00\u5757\u300c\u4ed6\u5c71\u4e4b\u77f3\u300d&#xff0c;\u6027\u4ef7\u6bd4\u6700\u9ad8\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u8be5\u7cfb\u5217\u4e3b\u8981\u5206\u4eab\u4ec0\u4e48<\/h3>\n<p>\u5e02\u9762\u4e0a\u8bb2 Agent \u7684\u8bfe\u7a0b\u5927\u591a\u505c\u5728\u300c\u8c03 API &#043; \u62fc Prompt\u300d\u3002\u4f46\u771f\u6b63\u628a Agent \u505a\u6210\u4ea7\u54c1&#xff0c;\u96be\u70b9\u4ece\u6765\u4e0d\u5728\u6a21\u578b\u8c03\u7528&#xff0c;\u800c\u5728\u4e8e\u4e0b\u9762\u8fd9\u4e9b\u5de5\u7a0b\u95ee\u9898&#xff1a;<\/p>\n<ul>\n<li>\u8fd0\u884c\u65f6\u600e\u4e48\u8bbe\u8ba1 \u2014\u2014 \u4e00\u6b21\u5bf9\u8bdd\u91cc&#xff0c;\u72b6\u6001\u3001\u5de5\u5177\u3001\u8bb0\u5fc6\u3001\u6d41\u5f0f\u8f93\u51fa\u5982\u4f55\u534f\u540c&#xff1f;<\/li>\n<li>\u4e2d\u95f4\u4ef6\u600e\u4e48\u7f16\u6392 \u2014\u2014 \u4e0a\u4e0b\u6587\u538b\u7f29\u3001\u5faa\u73af\u68c0\u6d4b\u3001\u5b89\u5168\u62a4\u680f\u3001\u6807\u9898\u751f\u6210&#xff0c;\u8c01\u5148\u8c01\u540e&#xff1f;<\/li>\n<li>\u80fd\u529b\u600e\u4e48\u6269\u5c55 \u2014\u2014 \u5de5\u5177\u3001MCP\u3001Skill\u3001\u6269\u5c55\u3001\u793e\u533a\u63d0\u4f9b\u65b9\u5982\u4f55\u63d2\u62d4&#xff1f;<\/li>\n<li>\u5b89\u5168\u600e\u4e48\u515c\u5e95 \u2014\u2014 \u6c99\u7bb1\u9694\u79bb\u3001\u6743\u9650\u3001\u8ba4\u8bc1\u3001\u591a\u7528\u6237\u6570\u636e\u9694\u79bb\u5982\u4f55\u843d\u5730&#xff1f;<\/li>\n<li>\u5de5\u7a0b\u600e\u4e48\u4ea4\u4ed8 \u2014\u2014 \u914d\u7f6e\u3001\u53ef\u89c2\u6d4b\u3001\u6d4b\u8bd5\u3001\u90e8\u7f72\u5982\u4f55\u4f53\u7cfb\u5316&#xff1f;<\/li>\n<\/ul>\n<p>DeerFlow \u6070\u597d\u628a\u8fd9\u4e9b\u95ee\u9898\u90fd\u505a\u8fdb\u4e86\u6e90\u7801\u3002\u672c\u8bfe\u7a0b\u5c31\u662f\u628a\u5b83\u62c6\u5f00\u8bb2\u900f\u3002<\/p>\n<h4>1.1 \u9002\u5408\u8c01<\/h4>\n<table>\n<tr>\u753b\u50cf\u6536\u83b7<\/tr>\n<tbody>\n<tr>\n<td>\u540e\u7aef \/ \u5168\u6808\u5de5\u7a0b\u5e08<\/td>\n<td>\u638c\u63e1\u4e00\u5957\u53ef\u590d\u7528\u7684 Agent \u8fd0\u884c\u65f6\u67b6\u6784\u8303\u5f0f<\/td>\n<\/tr>\n<tr>\n<td>AI \u5e94\u7528\u5f00\u53d1\u8005<\/td>\n<td>\u4ece\u300c\u7528\u6846\u67b6\u300d\u5347\u7ea7\u5230\u300c\u61c2\u6846\u67b6\u3001\u6539\u6846\u67b6\u300d<\/td>\n<\/tr>\n<tr>\n<td>\u67b6\u6784\u5e08 \/ \u6280\u672f\u8d1f\u8d23\u4eba<\/td>\n<td>\u83b7\u5f97\u751f\u4ea7\u7ea7 Agent \u7cfb\u7edf\u7684\u8bbe\u8ba1\u51b3\u7b56\u53c2\u8003<\/td>\n<\/tr>\n<tr>\n<td>\u9762\u8bd5\u5907\u6218\u8005<\/td>\n<td>\u7528\u771f\u5b9e\u6e90\u7801\u5efa\u7acb\u5bf9 Agent \u7cfb\u7edf\u7684\u6df1\u5ea6\u8ba4\u77e5<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>1.2 \u9700\u8981\u4ec0\u4e48\u57fa\u7840<\/h4>\n<ul>\n<li>Python \u719f\u7ec3&#xff08;\u5f02\u6b65\u3001\u7c7b\u578b\u6ce8\u89e3\u3001\u88c5\u9970\u5668&#xff09;<\/li>\n<li>\u4e86\u89e3 FastAPI \/ Pydantic \u57fa\u7840<\/li>\n<li>\u4e86\u89e3 LLM \u57fa\u672c\u6982\u5ff5&#xff08;Token\u3001\u4e0a\u4e0b\u6587\u7a97\u53e3\u3001Tool Calling&#xff09;<\/li>\n<li>\u4e0d\u8981\u6c42\u4e8b\u5148\u7cbe\u901a LangGraph \u2014\u2014 \u8bfe\u7a0b\u4f1a\u4ece\u6e90\u7801\u89d2\u5ea6\u8865\u9f50<\/li>\n<\/ul>\n<h4>1.3 \u5b66\u5b8c\u4f60\u80fd\u505a\u5230<\/h4>\n<li>\u753b\u51fa DeerFlow \u7684\u5b8c\u6574\u7cfb\u7edf\u67b6\u6784\u56fe&#xff0c;\u5e76\u89e3\u91ca\u6bcf\u4e2a\u7ec4\u4ef6\u7684\u804c\u8d23\u8fb9\u754c<\/li>\n<li>\u8bf4\u6e05 make_lead_agent \u4ece\u5165\u53c2\u5230\u4ea7\u51fa Agent \u7684\u5b8c\u6574\u94fe\u8def<\/li>\n<li>\u72ec\u7acb\u65b0\u589e\u4e00\u4e2a\u4e2d\u95f4\u4ef6&#xff0c;\u5e76\u7406\u89e3\u5b83\u5728\u94fe\u4e2d\u7684\u6b63\u786e\u4f4d\u7f6e<\/li>\n<li>\u63a5\u5165\u4e00\u4e2a\u81ea\u5b9a\u4e49\u5de5\u5177\u3001\u4e00\u4e2a MCP Server\u3001\u4e00\u4e2a Skill<\/li>\n<li>\u8bb2\u6e05\u6c99\u7bb1\u9694\u79bb\u3001\u62a4\u680f\u3001\u8ba4\u8bc1\u3001\u591a\u7528\u6237\u9694\u79bb\u7684\u5b9e\u73b0\u65b9\u5f0f<\/li>\n<li>\u57fa\u4e8e\u6e90\u7801\u6539\u9020\u51fa\u4e00\u4e2a\u81ea\u5df1\u7684 Agent \u5e94\u7528\u5e76\u90e8\u7f72\u4e0a\u7ebf<\/li>\n<hr \/>\n<h3>\u4e8c\u3001\u77e5\u8bc6\u5730\u56fe<\/h3>\n<p>#mermaid-svg-rNdZYPtPwe51vSnz{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-rNdZYPtPwe51vSnz .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-rNdZYPtPwe51vSnz .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-rNdZYPtPwe51vSnz .error-icon{fill:#552222;}#mermaid-svg-rNdZYPtPwe51vSnz .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-rNdZYPtPwe51vSnz .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-rNdZYPtPwe51vSnz .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-rNdZYPtPwe51vSnz .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-rNdZYPtPwe51vSnz .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-rNdZYPtPwe51vSnz .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-rNdZYPtPwe51vSnz .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-rNdZYPtPwe51vSnz .marker{fill:#333333;stroke:#333333;}#mermaid-svg-rNdZYPtPwe51vSnz .marker.cross{stroke:#333333;}#mermaid-svg-rNdZYPtPwe51vSnz svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-rNdZYPtPwe51vSnz p{margin:0;}#mermaid-svg-rNdZYPtPwe51vSnz .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-rNdZYPtPwe51vSnz .cluster-label text{fill:#333;}#mermaid-svg-rNdZYPtPwe51vSnz .cluster-label span{color:#333;}#mermaid-svg-rNdZYPtPwe51vSnz .cluster-label span p{background-color:transparent;}#mermaid-svg-rNdZYPtPwe51vSnz .label text,#mermaid-svg-rNdZYPtPwe51vSnz span{fill:#333;color:#333;}#mermaid-svg-rNdZYPtPwe51vSnz .node rect,#mermaid-svg-rNdZYPtPwe51vSnz .node circle,#mermaid-svg-rNdZYPtPwe51vSnz .node ellipse,#mermaid-svg-rNdZYPtPwe51vSnz .node polygon,#mermaid-svg-rNdZYPtPwe51vSnz .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-rNdZYPtPwe51vSnz .rough-node .label text,#mermaid-svg-rNdZYPtPwe51vSnz .node .label text,#mermaid-svg-rNdZYPtPwe51vSnz .image-shape .label,#mermaid-svg-rNdZYPtPwe51vSnz .icon-shape .label{text-anchor:middle;}#mermaid-svg-rNdZYPtPwe51vSnz .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-rNdZYPtPwe51vSnz .rough-node .label,#mermaid-svg-rNdZYPtPwe51vSnz .node .label,#mermaid-svg-rNdZYPtPwe51vSnz .image-shape .label,#mermaid-svg-rNdZYPtPwe51vSnz .icon-shape .label{text-align:center;}#mermaid-svg-rNdZYPtPwe51vSnz .node.clickable{cursor:pointer;}#mermaid-svg-rNdZYPtPwe51vSnz .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-rNdZYPtPwe51vSnz .arrowheadPath{fill:#333333;}#mermaid-svg-rNdZYPtPwe51vSnz .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-rNdZYPtPwe51vSnz .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-rNdZYPtPwe51vSnz .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-rNdZYPtPwe51vSnz .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-rNdZYPtPwe51vSnz .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-rNdZYPtPwe51vSnz .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-rNdZYPtPwe51vSnz .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-rNdZYPtPwe51vSnz .cluster text{fill:#333;}#mermaid-svg-rNdZYPtPwe51vSnz .cluster span{color:#333;}#mermaid-svg-rNdZYPtPwe51vSnz div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-rNdZYPtPwe51vSnz .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-rNdZYPtPwe51vSnz rect.text{fill:none;stroke-width:0;}#mermaid-svg-rNdZYPtPwe51vSnz .icon-shape,#mermaid-svg-rNdZYPtPwe51vSnz .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-rNdZYPtPwe51vSnz .icon-shape p,#mermaid-svg-rNdZYPtPwe51vSnz .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-rNdZYPtPwe51vSnz .icon-shape .label rect,#mermaid-svg-rNdZYPtPwe51vSnz .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-rNdZYPtPwe51vSnz .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-rNdZYPtPwe51vSnz .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-rNdZYPtPwe51vSnz :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7b2c 8 \u90e8\u5206 \u00b7 \u5de5\u7a0b\u5316\u4e0e\u5b9e\u6218<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u914d\u7f6e\u7cfb\u7edf<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u53ef\u89c2\u6d4b\u6027\u4e0e\u8ffd\u8e2a<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u6d4b\u8bd5\u7b56\u7565<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u90e8\u7f72\u4e0e\u8fd0\u7ef4<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5b9e\u6218\u9879\u76ee<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7b2c 7 \u90e8\u5206 \u00b7 \u524d\u7aef\u5168\u6808<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u524d\u7aef\u67b6\u6784<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5bf9\u8bdd UI \u4e0e\u4f1a\u8bdd\u6e32\u67d3<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7b2c 6 \u90e8\u5206 \u00b7 Projects \u4e0e\u6587\u6863\u8d27\u67b6<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>Projects \u529f\u80fd<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u6587\u6863\u8d27\u67b6\u5b58\u50a8<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7b2c 5 \u90e8\u5206 \u00b7 \u6c99\u7bb1\u4e0e\u5b89\u5168<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u6c99\u7bb1\u6267\u884c<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>Guardrails \u62a4\u680f<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u8ba4\u8bc1\u4e0e\u6388\u6743<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>IM \u6e20\u9053\u63a5\u5165<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7b2c 4 \u90e8\u5206 \u00b7 \u8bb0\u5fc6\u3001\u5de5\u5177\u4e0e\u6269\u5c55<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u8bb0\u5fc6\u7cfb\u7edf<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5de5\u5177\u7cfb\u7edf<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>MCP \u96c6\u6210<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>Skills \u4f53\u7cfb<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u6269\u5c55\u673a\u5236<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u793e\u533a\u80fd\u529b<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7b2c 3 \u90e8\u5206 \u00b7 Agent \u67b6\u6784&#xff08;\u6838\u5fc3&#xff09;<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>make_lead_agent \u5165\u53e3<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>Thread State \u4f1a\u8bdd\u72b6\u6001<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>MiddleWare \u94fe\u6267\u884c\u6a21\u578b<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5173\u952e\u4e2d\u95f4\u4ef6\u62c6\u89e3&#xff08;\u4e0a&#xff09;<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5173\u952e\u4e2d\u95f4\u4ef6\u62c6\u89e3&#xff08;\u4e0b&#xff09;<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>Subagent \u4e0e\u6279\u5904\u7406<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7b2c 2 \u90e8\u5206 \u00b7 \u7f51\u5173\u4e0e\u8fd0\u884c\u65f6<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>Gateway API<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>LangGraph \u517c\u5bb9\u8fd0\u884c\u65f6<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u8def\u7531\u4e0e\u8bf7\u6c42\u751f\u547d\u5468\u671f<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>SSE \u6d41\u5f0f\u8f93\u51fa<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7b2c 1 \u90e8\u5206 \u00b7 \u603b\u89c8\u4e0e\u73af\u5883<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>DeerFlow \u662f\u4ec0\u4e48<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7cfb\u7edf\u67b6\u6784\u603b\u89c8<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u73af\u5883\u642d\u5efa\u4e0e\u672c\u5730\u8fd0\u884c<\/p>\n<p><\/span><\/p>\n<p>\u5b66\u4e60\u8def\u5f84&#xff1a;\u7b2c 1~2 \u90e8\u5206\u662f\u70ed\u8eab&#xff0c;\u7b2c 3 \u90e8\u5206\u662f\u4e3b\u6218\u573a&#xff08;\u5360\u4e86\u5168\u8bfe\u91cd\u5fc3&#xff09;&#xff0c;\u7b2c 4 \u90e8\u5206\u5f00\u59cb\u300c\u6a2a\u5411\u6269\u5c55\u300d&#xff0c;\u7b2c 5 \u90e8\u5206\u8865\u5b89\u5168&#xff0c;\u6700\u540e\u4e24\u90e8\u5206\u7684\u5de5\u7a0b\u5316\u5185\u5bb9\u7528\u4e8e\u843d\u5730\u3002\u4f60\u53ef\u4ee5\u987a\u7740\u8bfb&#xff0c;\u4e5f\u53ef\u4ee5\u6309\u9700\u8df3\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u6e90\u7801\u5730\u56fe<\/h3>\n<p>\u5148\u5efa\u7acb\u5bf9\u4ed3\u5e93\u7684\u300c\u7a7a\u95f4\u611f\u300d\u3002\u672c\u8bfe\u7a0b\u57fa\u4e8e 2.0.0 \u5de5\u4f5c\u533a&#xff08;\u4e0d\u662f\u66f4\u65b0\u7684 2.1.0 \u5feb\u7167&#xff09;&#xff0c;\u6e90\u7801\u6839\u76ee\u5f55\u662f backend\/&#xff08;\u6846\u67b6\u672c\u4f53&#xff09;&#043; frontend\/&#xff08;\u524d\u7aef&#xff09;\u3002<\/p>\n<p>deer-flow\/<br \/>\n\u251c\u2500\u2500 backend\/                        # \u540e\u7aef\u4e3b\u4f53<br \/>\n\u2502   \u251c\u2500\u2500 app\/                        # \u5e94\u7528\u5c42<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 gateway\/                # Gateway API&#xff08;FastAPI \u5165\u53e3 &#043; \u9274\u6743 &#043; \u8def\u7531&#xff09;<br \/>\n\u2502   \u2502   \u2514\u2500\u2500 channels\/               # IM \u6e20\u9053\u63a5\u5165<br \/>\n\u2502   \u251c\u2500\u2500 packages\/harness\/deerflow\/  # \u2605 \u6838\u5fc3 harness \u5305&#xff08;\u672c\u8bfe\u7a0b\u4e3b\u6218\u573a&#xff09;<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 agents\/                 # Agent \u5de5\u5382\u3001lead_agent\u3001thread_state\u3001\u4e2d\u95f4\u4ef6\u3001memory<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 subagents\/              # \u5b50 Agent \u6267\u884c\u5f15\u64ce&#xff08;executor \/ registry \/ status&#xff09;<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 config\/                 # \u7c7b\u578b\u5b89\u5168\u914d\u7f6e&#xff08;\u6570\u5341\u4e2a *_config.py&#xff09;<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 mcp\/                    # MCP \u96c6\u6210&#xff08;client \/ tools \/ session_pool&#xff09;<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 skills\/                 # Skill \u4f53\u7cfb &#043; storage<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 tools\/                  # \u5de5\u5177\u58f0\u660e \/ builtins \/ tool_search<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 community\/              # \u53ef\u66ff\u6362\u7684\u63d0\u4f9b\u65b9&#xff08;\u641c\u7d22 \/ \u6c99\u7bb1 \/ RAG&#xff09;<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 guardrails\/             # \u5b89\u5168\u62a4\u680f&#xff08;builtin \/ middleware \/ provider&#xff09;<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 sandbox\/                # \u6c99\u7bb1\u4e0e\u5b89\u5168<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 models\/                 # \u6a21\u578b\u9002\u914d&#xff08;deepseek \/ openai \/ &#8230;&#xff09;<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 persistence\/            # \u6301\u4e45\u5316&#xff08;checkpointer \/ store&#xff09;<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 runtime\/                # \u8fd0\u884c\u65f6&#xff08;run journal \/ \u5e8f\u5217\u5316 \/ \u7528\u6237\u4e0a\u4e0b\u6587&#xff09;<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 tracing\/                # \u8ffd\u8e2a<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 uploads\/                # \u6587\u4ef6\u4e0a\u4f20<br \/>\n\u2502   \u2502   \u2514\u2500\u2500 reflection\/             # \u81ea\u7701\u89e3\u6790<br \/>\n\u2502   \u251c\u2500\u2500 docs\/                       # \u2605 \u5b98\u65b9\u8bbe\u8ba1\u6587\u6863&#xff08;\u7ea6 33 \u7bc7&#xff09;<br \/>\n\u2502   \u251c\u2500\u2500 langgraph.json              # LangGraph \u517c\u5bb9\u5165\u53e3<br \/>\n\u2502   \u251c\u2500\u2500 tests\/                      # \u540e\u7aef\u6d4b\u8bd5<br \/>\n\u2502   \u2514\u2500\u2500 Makefile                    # \u7edf\u4e00\u6784\u5efa\u5165\u53e3<br \/>\n\u251c\u2500\u2500 frontend\/                       # Next.js \/ React \u524d\u7aef<br \/>\n\u2502   \u2514\u2500\u2500 src\/{app,components,core,hooks,lib}<br \/>\n\u251c\u2500\u2500 skills\/                         # \u6280\u80fd\u5e93<br \/>\n\u251c\u2500\u2500 docs\/                           # \u8bfe\u7a0b\u6587\u6863<br \/>\n\u251c\u2500\u2500 scripts\/                        # \u811a\u672c<br \/>\n\u251c\u2500\u2500 tests\/                          # \u96c6\u6210\u6d4b\u8bd5<br \/>\n\u251c\u2500\u2500 config.yaml                     # \u5171\u4eab\u914d\u7f6e&#xff08;\u6a21\u578b \/ \u5de5\u5177 \/ \u6c99\u7bb1 \/ \u6458\u8981&#xff09;<br \/>\n\u2514\u2500\u2500 extensions_config.example.json  # \u6269\u5c55\u914d\u7f6e\u793a\u4f8b&#xff08;MCP \/ \u6280\u80fd\u72b6\u6001&#xff09;<\/p>\n<p>\u5b66\u4e60\u63d0\u793a&#xff1a;backend\/packages\/harness\/deerflow\/ \u662f\u5168\u8bfe\u7684\u300c\u4e3b\u6218\u573a\u300d&#xff0c;backend\/docs\/ \u662f\u5b98\u65b9\u7ed9\u7684\u300c\u5730\u56fe\u300d&#xff0c;\u4e24\u8005\u5bf9\u7167\u7740\u770b\u6548\u7387\u6700\u9ad8\u3002<\/p>\n<hr \/>\n<h3>\u7b2c\u4e00\u90e8\u5206 \u00b7 \u603b\u89c8\u4e0e\u73af\u5883<\/h3>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 1 \u7bc7 DeerFlow \u662f\u4ec0\u4e48&#xff1f;<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u5efa\u7acb\u5bf9 DeerFlow \u7684\u6574\u4f53\u8ba4\u77e5&#xff0c;\u5206\u6e05\u5b83\u300c\u4e0d\u662f\u300d\u4ec0\u4e48\u3002<\/p>\n<ul>\n<li>1.1 \u4ece\u300cAgent \u6846\u67b6\u300d\u5230\u300cAgent \u8fd0\u884c\u65f6\u300d&#xff1a;\u5b9a\u4f4d\u5dee\u5f02<\/li>\n<li>1.2 DeerFlow \u7684\u80fd\u529b\u5168\u666f&#xff1a;\u5bf9\u8bdd\u3001\u5de5\u5177\u3001MCP\u3001Skill\u3001\u6c99\u7bb1\u3001\u8bb0\u5fc6\u3001\u591a\u7528\u6237<\/li>\n<li>1.3 \u4e0e LangGraph \/ LangChain \u7684\u5173\u7cfb&#xff1a;DeerFlow \u5728\u5b83\u4eec\u4e4b\u4e0a\u505a\u4e86\u4ec0\u4e48<\/li>\n<li>1.4 \u4ed3\u5e93\u7ed3\u6784\u5bfc\u89c8&#xff08;\u5bf9\u7167\u4e0a\u6587\u300c\u6e90\u7801\u5730\u56fe\u300d&#xff09;<\/li>\n<li>1.5 \u8bfb\u6e90\u7801\u7684\u65b9\u6cd5\u8bba&#xff1a;\u5148\u8bfb docs&#xff0c;\u518d\u8bfb\u5165\u53e3&#xff0c;\u6700\u540e\u8bfb\u5b9e\u73b0<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;README.md\u3001backend\/docs\/README.md\u3001AGENTS.md<\/p>\n<p>\u52a8\u624b&#xff1a;\u514b\u9686\u4ed3\u5e93&#xff0c;\u8dd1\u901a Makefile&#xff0c;\u7528\u4e00\u53e5\u8bdd\u8bf4\u6e05 DeerFlow \u4e0e LangGraph \u7684\u5206\u5de5\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 2 \u7bc7 \u7cfb\u7edf\u67b6\u6784\u603b\u89c8<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u753b\u51fa\u5e76\u8bb2\u6e05 DeerFlow \u7684\u7aef\u5230\u7aef\u67b6\u6784\u3002<\/p>\n<ul>\n<li>2.1 \u8bf7\u6c42\u5168\u94fe\u8def&#xff1a;Client \u2192 Nginx \u2192 Gateway \/ Frontend<\/li>\n<li>2.2 \u7edf\u4e00\u53cd\u4ee3\u8bbe\u8ba1&#xff1a;Nginx&#xff08;2026 \u7aef\u53e3&#xff09;\u5982\u4f55\u5206\u6d41\n<ul>\n<li>\/api\/langgraph\/* \u2192 Gateway LangGraph \u517c\u5bb9\u8fd0\u884c\u65f6<\/li>\n<li>\/api\/* \u2192 Gateway REST APIs<\/li>\n<li>\/* \u2192 Frontend&#xff08;3000&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>2.3 \u4e09\u5927\u4e3b\u4f53&#xff1a;Gateway API\u3001Agent Runtime\u3001Frontend&#xff08;3000&#xff09;<\/li>\n<li>2.4 \u5171\u4eab\u914d\u7f6e\u5c42&#xff1a;config.yaml &#043; extensions_config.example.json<\/li>\n<li>2.5 \u67b6\u6784\u56fe\u7cbe\u8bfb\u4e0e\u300c\u4e3a\u4ec0\u4e48\u8fd9\u6837\u5206\u5c42\u300d<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;backend\/docs\/ARCHITECTURE.md<\/p>\n<p>#mermaid-svg-wpwC6WnmUAVhRiKx{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-wpwC6WnmUAVhRiKx .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-wpwC6WnmUAVhRiKx .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-wpwC6WnmUAVhRiKx .error-icon{fill:#552222;}#mermaid-svg-wpwC6WnmUAVhRiKx .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-wpwC6WnmUAVhRiKx .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-wpwC6WnmUAVhRiKx .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-wpwC6WnmUAVhRiKx .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-wpwC6WnmUAVhRiKx .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-wpwC6WnmUAVhRiKx .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-wpwC6WnmUAVhRiKx .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-wpwC6WnmUAVhRiKx .marker{fill:#333333;stroke:#333333;}#mermaid-svg-wpwC6WnmUAVhRiKx .marker.cross{stroke:#333333;}#mermaid-svg-wpwC6WnmUAVhRiKx svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-wpwC6WnmUAVhRiKx p{margin:0;}#mermaid-svg-wpwC6WnmUAVhRiKx .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-wpwC6WnmUAVhRiKx .cluster-label text{fill:#333;}#mermaid-svg-wpwC6WnmUAVhRiKx .cluster-label span{color:#333;}#mermaid-svg-wpwC6WnmUAVhRiKx .cluster-label span p{background-color:transparent;}#mermaid-svg-wpwC6WnmUAVhRiKx .label text,#mermaid-svg-wpwC6WnmUAVhRiKx span{fill:#333;color:#333;}#mermaid-svg-wpwC6WnmUAVhRiKx .node rect,#mermaid-svg-wpwC6WnmUAVhRiKx .node circle,#mermaid-svg-wpwC6WnmUAVhRiKx .node ellipse,#mermaid-svg-wpwC6WnmUAVhRiKx .node polygon,#mermaid-svg-wpwC6WnmUAVhRiKx .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-wpwC6WnmUAVhRiKx .rough-node .label text,#mermaid-svg-wpwC6WnmUAVhRiKx .node .label text,#mermaid-svg-wpwC6WnmUAVhRiKx .image-shape .label,#mermaid-svg-wpwC6WnmUAVhRiKx .icon-shape .label{text-anchor:middle;}#mermaid-svg-wpwC6WnmUAVhRiKx .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-wpwC6WnmUAVhRiKx .rough-node .label,#mermaid-svg-wpwC6WnmUAVhRiKx .node .label,#mermaid-svg-wpwC6WnmUAVhRiKx .image-shape .label,#mermaid-svg-wpwC6WnmUAVhRiKx .icon-shape .label{text-align:center;}#mermaid-svg-wpwC6WnmUAVhRiKx .node.clickable{cursor:pointer;}#mermaid-svg-wpwC6WnmUAVhRiKx .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-wpwC6WnmUAVhRiKx .arrowheadPath{fill:#333333;}#mermaid-svg-wpwC6WnmUAVhRiKx .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-wpwC6WnmUAVhRiKx .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-wpwC6WnmUAVhRiKx .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-wpwC6WnmUAVhRiKx .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-wpwC6WnmUAVhRiKx .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-wpwC6WnmUAVhRiKx .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-wpwC6WnmUAVhRiKx .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-wpwC6WnmUAVhRiKx .cluster text{fill:#333;}#mermaid-svg-wpwC6WnmUAVhRiKx .cluster span{color:#333;}#mermaid-svg-wpwC6WnmUAVhRiKx div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-wpwC6WnmUAVhRiKx .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-wpwC6WnmUAVhRiKx rect.text{fill:none;stroke-width:0;}#mermaid-svg-wpwC6WnmUAVhRiKx .icon-shape,#mermaid-svg-wpwC6WnmUAVhRiKx .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-wpwC6WnmUAVhRiKx .icon-shape p,#mermaid-svg-wpwC6WnmUAVhRiKx .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-wpwC6WnmUAVhRiKx .icon-shape .label rect,#mermaid-svg-wpwC6WnmUAVhRiKx .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-wpwC6WnmUAVhRiKx .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-wpwC6WnmUAVhRiKx .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-wpwC6WnmUAVhRiKx :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/p>\n<p>\/api\/langgraph\/*<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/p>\n<p>\/api\/*<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/p>\n<p>\/*<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>Browser<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>Nginx :2026<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>Agent Runtime<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>Gateway REST<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>Frontend :3000<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>config.yaml<\/p>\n<p><\/span><\/p>\n<p>\u52a8\u624b&#xff1a;\u672c\u5730\u542f\u52a8&#xff0c;\u7528\u6d4f\u89c8\u5668 DevTools \u89c2\u5bdf\u4e09\u7c7b\u8bf7\u6c42\u5206\u522b\u6253\u5230\u54ea\u4e2a\u7aef\u53e3\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 3 \u7bc7 \u73af\u5883\u642d\u5efa\u4e0e\u672c\u5730\u8fd0\u884c<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u628a\u73af\u5883\u8dd1\u8d77\u6765&#xff0c;\u4e3a\u540e\u7eed\u8bfb\u6e90\u7801\u63d0\u4f9b\u300c\u53ef\u8c03\u8bd5\u300d\u7684\u57fa\u7840\u3002<\/p>\n<ul>\n<li>3.1 \u4f9d\u8d56\u6e05\u5355\u4e0e\u7248\u672c\u8981\u6c42<\/li>\n<li>3.2 Makefile \u547d\u4ee4\u4f53\u7cfb\u89e3\u8bfb<\/li>\n<li>3.3 \u914d\u7f6e\u6587\u4ef6\u51c6\u5907&#xff1a;config.yaml\u3001.env\u3001extensions_config.example.json<\/li>\n<li>3.4 \u540e\u7aef\u5355\u72ec\u542f\u52a8\u4e0e\u524d\u7aef\u5355\u72ec\u542f\u52a8<\/li>\n<li>3.5 \u5e38\u89c1\u542f\u52a8\u95ee\u9898\u6392\u67e5<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;Install.md\u3001backend\/docs\/SETUP.md\u3001Makefile\u3001frontend\/README.md<\/p>\n<p>\u52a8\u624b&#xff1a;\u5b8c\u6210\u4e00\u6b21\u300c\u6539\u4e00\u884c\u4ee3\u7801 \u2192 \u91cd\u542f \u2192 \u89c2\u5bdf\u53d8\u5316\u300d\u7684\u95ed\u73af\u3002<\/p>\n<hr \/>\n<h3>\u7b2c\u4e8c\u90e8\u5206 \u00b7 \u7f51\u5173\u4e0e Agent \u8fd0\u884c\u65f6<\/h3>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 4 \u7bc7 Gateway API \u8bbe\u8ba1<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3 Gateway \u4f5c\u4e3a\u300c\u7edf\u4e00\u5165\u53e3\u300d\u7684\u804c\u8d23\u4e0e\u5b9e\u73b0\u3002<\/p>\n<ul>\n<li>4.1 FastAPI \u5e94\u7528\u5165\u53e3&#xff1a;app\/gateway\/app.py<\/li>\n<li>4.2 \u8def\u7531\u603b\u89c8&#xff1a;models\u3001agents\u3001threads\u3001runs\u3001mcp\u3001skills\u3001uploads\u3001artifacts\u3001suggestions \u7b49<\/li>\n<li>4.3 \u8bf7\u6c42\/\u54cd\u5e94\u6a21\u578b\u4e0e Pydantic \u6821\u9a8c<\/li>\n<li>4.4 \u4f9d\u8d56\u6ce8\u5165\u4e0e\u4e2d\u95f4\u4ef6&#xff08;FastAPI \u5c42&#xff09;<\/li>\n<li>4.5 \u9519\u8bef\u5904\u7406\u4e0e\u7edf\u4e00\u54cd\u5e94\u683c\u5f0f<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;backend\/app\/gateway\/\u3001backend\/docs\/API.md<\/p>\n<p>\u52a8\u624b&#xff1a;\u7528 curl \/ HTTPie \u8c03\u7528 3 \u4e2a\u4e0d\u540c\u5206\u7ec4\u7684\u63a5\u53e3&#xff0c;\u8bb0\u5f55\u8bf7\u6c42\u4e0e\u54cd\u5e94\u7ed3\u6784\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 5 \u7bc7 LangGraph \u517c\u5bb9\u8fd0\u884c\u65f6<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3 DeerFlow \u4e3a\u4f55\u8981\u300c\u5185\u5d4c\u300d\u4e00\u4e2a LangGraph \u517c\u5bb9\u8fd0\u884c\u65f6\u3002<\/p>\n<ul>\n<li>5.1 \u4ec0\u4e48\u662f LangGraph \u517c\u5bb9\u5c42&#xff0c;\u4e3a\u4ec0\u4e48\u9700\u8981\u5b83<\/li>\n<li>5.2 langgraph.json \u7684\u89d2\u8272&#xff1a;\u5de5\u5177\u94fe \/ Studio \u517c\u5bb9&#xff0c;\u800c\u975e\u9ed8\u8ba4\u5165\u53e3<\/li>\n<li>5.3 \u9ed8\u8ba4\u5165\u53e3\u4e0e\u517c\u5bb9\u5165\u53e3\u7684\u5dee\u5f02<\/li>\n<li>5.4 \u8fd0\u884c\u65f6\u5982\u4f55\u88ab FastAPI \u627f\u8f7d<\/li>\n<li>5.5 \u4e0e LangGraph Platform \u7684\u5bf9\u6bd4<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;backend\/langgraph.json\u3001backend\/app\/gateway\/\u3001backend\/docs\/ARCHITECTURE.md<\/p>\n<p>\u52a8\u624b&#xff1a;\u5206\u522b\u901a\u8fc7\u517c\u5bb9\u7aef\u70b9\u4e0e REST \u7aef\u70b9\u53d1\u8d77\u4e00\u6b21\u5bf9\u8bdd&#xff0c;\u5bf9\u6bd4\u5dee\u5f02\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 6 \u7bc7 \u8def\u7531\u4e0e\u8bf7\u6c42\u751f\u547d\u5468\u671f<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u8ffd\u8e2a\u4e00\u6b21\u8bf7\u6c42\u4ece\u8fdb\u5165\u5230\u8fd4\u56de\u7684\u5b8c\u6574\u751f\u547d\u5468\u671f\u3002<\/p>\n<ul>\n<li>6.1 Nginx \u5206\u6d41\u89c4\u5219\u8be6\u89e3<\/li>\n<li>6.2 Gateway \u5185\u90e8\u8def\u7531\u5339\u914d<\/li>\n<li>6.3 \u4ece HTTP \u8bf7\u6c42\u5230 Agent \u8c03\u7528\u7684\u8f6c\u6362<\/li>\n<li>6.4 \u8bf7\u6c42\u4e0a\u4e0b\u6587\u4e0e\u7528\u6237\u8eab\u4efd\u4f20\u9012<\/li>\n<li>6.5 \u54cd\u5e94\u7ec4\u88c5\u4e0e\u8fd4\u56de<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;backend\/app\/gateway\/\u3001Nginx \u914d\u7f6e\u3001backend\/docs\/README.md<\/p>\n<p>\u52a8\u624b&#xff1a;\u5728\u5173\u952e\u8282\u70b9\u52a0\u65e5\u5fd7&#xff0c;\u6253\u5370\u4e00\u6b21\u5b8c\u6574\u8bf7\u6c42\u7684\u6d41\u8f6c\u8def\u5f84\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 7 \u7bc7 SSE \u6d41\u5f0f\u8f93\u51fa<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u8bb2\u900f Token \u7ea7\u6d41\u5f0f\u8f93\u51fa\u7684\u8bbe\u8ba1\u4e0e\u5b9e\u73b0\u3002<\/p>\n<ul>\n<li>7.1 \u4e3a\u4ec0\u4e48\u8981\u6d41\u5f0f&#xff1a;\u4f53\u9a8c\u4e0e\u5de5\u7a0b\u6536\u76ca<\/li>\n<li>7.2 Gateway \u8def\u5f84 vs DeerFlowClient \u8def\u5f84\u7684\u5dee\u5f02<\/li>\n<li>7.3 stream_mode \u8bed\u4e49\u8be6\u89e3<\/li>\n<li>7.4 \u6309 id \u53bb\u91cd\u673a\u5236<\/li>\n<li>7.5 \u6301\u4e45\u5316\u7684 run \u4e8b\u4ef6\u6d41\u5951\u7ea6<\/li>\n<li>7.6 \u5df2\u77e5\u7f3a\u53e3\u4e0e\u6539\u8fdb\u65b9\u5411<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;backend\/docs\/STREAMING.md<\/p>\n<p>\u52a8\u624b&#xff1a;\u7528 curl -N \u89c2\u5bdf\u539f\u59cb SSE \u5e27&#xff0c;\u89e3\u6790\u51fa\u4e8b\u4ef6\u7c7b\u578b\u3002<\/p>\n<hr \/>\n<h3>\u7b2c\u4e09\u90e8\u5206 \u00b7 Agent \u67b6\u6784&#xff08;\u6838\u5fc3\u7bc7&#xff09;<\/h3>\n<p>\u8fd9\u662f\u5168\u8bfe\u7a0b\u7684\u91cd\u5fc3\u3002DeerFlow \u7684\u300c\u7075\u9b42\u300d\u5728 agents\/ \u76ee\u5f55\u91cc\u3002<\/p>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 8 \u7bc7 \u5165\u53e3&#xff1a;make_lead_agent<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u8bfb\u61c2 Agent \u662f\u5982\u4f55\u88ab\u300c\u9020\u300d\u51fa\u6765\u7684\u3002<\/p>\n<ul>\n<li>8.1 \u5165\u53e3\u51fd\u6570\u5b9a\u4f4d&#xff1a;agents\/lead_agent\/agent.py:make_lead_agent<\/li>\n<li>8.2 \u5165\u53c2 config \u7684\u89e3\u6790\u4e0e\u6821\u9a8c<\/li>\n<li>8.3 Agent \u521b\u5efa\u6d41\u7a0b&#xff1a;\u6a21\u578b\u88c5\u914d \u2192 \u5de5\u5177\u88c5\u914d \u2192 \u4e2d\u95f4\u4ef6\u88c5\u914d \u2192 \u56fe\u7f16\u8bd1<\/li>\n<li>8.4 create_deerflow_agent \u4e0e make_lead_agent \u7684\u5173\u7cfb<\/li>\n<li>8.5 RuntimeFeatures \u7279\u6027\u5f00\u5173\u5982\u4f55\u51b3\u5b9a\u300c\u88c5\u54ea\u4e9b\u4e2d\u95f4\u4ef6\u300d<\/li>\n<li>8.6 \u7cfb\u7edf\u63d0\u793a\u8bcd\u6784\u9020&#xff1a;lead_agent\/prompt.py<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;agents\/lead_agent\/agent.py\u3001agents\/lead_agent\/prompt.py\u3001agents\/factory.py<\/p>\n<p>#mermaid-svg-ML5kmLYTdYQGl7kJ{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-ML5kmLYTdYQGl7kJ .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-ML5kmLYTdYQGl7kJ .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-ML5kmLYTdYQGl7kJ .error-icon{fill:#552222;}#mermaid-svg-ML5kmLYTdYQGl7kJ .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-ML5kmLYTdYQGl7kJ .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-ML5kmLYTdYQGl7kJ .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-ML5kmLYTdYQGl7kJ .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-ML5kmLYTdYQGl7kJ .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-ML5kmLYTdYQGl7kJ .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-ML5kmLYTdYQGl7kJ .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-ML5kmLYTdYQGl7kJ .marker{fill:#333333;stroke:#333333;}#mermaid-svg-ML5kmLYTdYQGl7kJ .marker.cross{stroke:#333333;}#mermaid-svg-ML5kmLYTdYQGl7kJ svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-ML5kmLYTdYQGl7kJ p{margin:0;}#mermaid-svg-ML5kmLYTdYQGl7kJ .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-ML5kmLYTdYQGl7kJ .cluster-label text{fill:#333;}#mermaid-svg-ML5kmLYTdYQGl7kJ .cluster-label span{color:#333;}#mermaid-svg-ML5kmLYTdYQGl7kJ .cluster-label span p{background-color:transparent;}#mermaid-svg-ML5kmLYTdYQGl7kJ .label text,#mermaid-svg-ML5kmLYTdYQGl7kJ span{fill:#333;color:#333;}#mermaid-svg-ML5kmLYTdYQGl7kJ .node rect,#mermaid-svg-ML5kmLYTdYQGl7kJ .node circle,#mermaid-svg-ML5kmLYTdYQGl7kJ .node ellipse,#mermaid-svg-ML5kmLYTdYQGl7kJ .node polygon,#mermaid-svg-ML5kmLYTdYQGl7kJ .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-ML5kmLYTdYQGl7kJ .rough-node .label text,#mermaid-svg-ML5kmLYTdYQGl7kJ .node .label text,#mermaid-svg-ML5kmLYTdYQGl7kJ .image-shape .label,#mermaid-svg-ML5kmLYTdYQGl7kJ .icon-shape .label{text-anchor:middle;}#mermaid-svg-ML5kmLYTdYQGl7kJ .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-ML5kmLYTdYQGl7kJ .rough-node .label,#mermaid-svg-ML5kmLYTdYQGl7kJ .node .label,#mermaid-svg-ML5kmLYTdYQGl7kJ .image-shape .label,#mermaid-svg-ML5kmLYTdYQGl7kJ .icon-shape .label{text-align:center;}#mermaid-svg-ML5kmLYTdYQGl7kJ .node.clickable{cursor:pointer;}#mermaid-svg-ML5kmLYTdYQGl7kJ .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-ML5kmLYTdYQGl7kJ .arrowheadPath{fill:#333333;}#mermaid-svg-ML5kmLYTdYQGl7kJ .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-ML5kmLYTdYQGl7kJ .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-ML5kmLYTdYQGl7kJ .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-ML5kmLYTdYQGl7kJ .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-ML5kmLYTdYQGl7kJ .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-ML5kmLYTdYQGl7kJ .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-ML5kmLYTdYQGl7kJ .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-ML5kmLYTdYQGl7kJ .cluster text{fill:#333;}#mermaid-svg-ML5kmLYTdYQGl7kJ .cluster span{color:#333;}#mermaid-svg-ML5kmLYTdYQGl7kJ div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-ML5kmLYTdYQGl7kJ .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-ML5kmLYTdYQGl7kJ rect.text{fill:none;stroke-width:0;}#mermaid-svg-ML5kmLYTdYQGl7kJ .icon-shape,#mermaid-svg-ML5kmLYTdYQGl7kJ .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-ML5kmLYTdYQGl7kJ .icon-shape p,#mermaid-svg-ML5kmLYTdYQGl7kJ .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-ML5kmLYTdYQGl7kJ .icon-shape .label rect,#mermaid-svg-ML5kmLYTdYQGl7kJ .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-ML5kmLYTdYQGl7kJ .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-ML5kmLYTdYQGl7kJ .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-ML5kmLYTdYQGl7kJ :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>config<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>make_lead_agent<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u6a21\u578b\u88c5\u914d<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5de5\u5177\u88c5\u914d<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u4e2d\u95f4\u4ef6\u88c5\u914d<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u56fe\u7f16\u8bd1<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u53ef\u8fd0\u884c\u7684 Agent<\/p>\n<p><\/span><\/p>\n<p>\u52a8\u624b&#xff1a;\u6253\u5370 make_lead_agent \u8fd4\u56de\u5bf9\u8c61\u7684\u7ed3\u6784&#xff0c;\u5217\u51fa\u5b83\u6302\u8f7d\u4e86\u54ea\u4e9b\u5de5\u5177\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 9 \u7bc7 Thread State&#xff1a;\u4f1a\u8bdd\u72b6\u6001\u8bbe\u8ba1<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3 Agent \u5728\u300c\u4e00\u6b21\u4f1a\u8bdd\u300d\u4e2d\u643a\u5e26\u54ea\u4e9b\u72b6\u6001\u3002<\/p>\n<ul>\n<li>9.1 thread_state.py \u4e2d\u7684\u72b6\u6001\u5b9a\u4e49<\/li>\n<li>9.2 \u72b6\u6001\u5b57\u6bb5\u9010\u4e2a\u89e3\u6790&#xff1a;messages\u3001\u6587\u4ef6\u3001\u6c99\u7bb1\u53e5\u67c4\u3001\u5f85\u529e\u3001\u8bb0\u5fc6\u7b49<\/li>\n<li>9.3 reducer&#xff1a;\u4e3a\u4ec0\u4e48\u6bcf\u4e2a\u5b57\u6bb5\u90fd\u8981\u4e00\u4e2a\u300c\u5408\u5e76\u5668\u300d<\/li>\n<li>9.4 \u72b6\u6001\u5728\u4e2d\u95f4\u4ef6\u95f4\u7684\u8bfb\u5199\u7ea6\u5b9a<\/li>\n<li>9.5 \u72b6\u6001\u4e0e\u6301\u4e45\u5316&#xff08;checkpointer vs store&#xff09;\u7684\u5173\u7cfb<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;agents\/thread_state.py<\/p>\n<p>\u52a8\u624b&#xff1a;\u5728\u4e00\u6b21\u5bf9\u8bdd\u4e2d&#xff0c;\u4e8e after_model \u94a9\u5b50\u6253\u5370 state \u7684\u5173\u952e\u5b57\u6bb5\u53d8\u5316\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 10 \u7bc7 Middleware \u94fe&#xff1a;\u6267\u884c\u6a21\u578b<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u5403\u900f\u4e2d\u95f4\u4ef6\u94fe\u7684\u6267\u884c\u987a\u5e8f\u4e0e\u94a9\u5b50\u8bed\u4e49\u3002<\/p>\n<ul>\n<li>10.1 LangChain create_agent \u7684\u94a9\u5b50\u4f53\u7cfb&#xff1a;before_agent \/ before_model \/ after_model \/ after_agent \/ wrap_model_call \/ wrap_tool_call<\/li>\n<li>10.2 \u6b63\u5e8f vs \u53cd\u5e8f\u89c4\u5219&#xff1a;before_* \u6b63\u5e8f 0\u2192N&#xff0c;after_* \u53cd\u5e8f N\u21920<\/li>\n<li>10.3 \u4e3b Agent \u7684\u4e2d\u95f4\u4ef6\u94fe&#xff1a;9 \u4e2a\u57fa\u7840\u5c42 &#043; 14 \u4e2a Lead \u5c42<\/li>\n<li>10.4 \u5b50 Agent \u7684\u4e2d\u95f4\u4ef6&#xff1a;8 \u4e2a\u56fa\u5b9a &#043; \u89c6\u914d\u7f6e\u518d\u52a0&#xff08;\u4e0d\u662f\u300c4 \u4e2a\u300d&#xff09;<\/li>\n<li>10.5 \u300c\u59cb\u7ec8\u5f00\u542f\u300dvs\u300c\u6309\u7279\u6027\u5f00\u5173\u300d\u7684\u4e2d\u95f4\u4ef6\u5206\u7c7b<\/li>\n<li>10.6 \u5b8c\u6574\u6267\u884c\u6d41\u7a0b\u56fe\u7cbe\u8bfb<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;backend\/docs\/middleware-execution-flow.md\u3001agents\/middlewares\/<\/p>\n<p>\u52a8\u624b&#xff1a;\u5bf9\u7167\u6587\u6863&#xff0c;\u624b\u7ed8\u4e00\u904d\u4e2d\u95f4\u4ef6\u6267\u884c\u65f6\u5e8f\u56fe\u5e76\u6807\u6ce8\u6bcf\u4e2a\u94a9\u5b50\u7684\u526f\u4f5c\u7528\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 11 \u7bc7 \u5173\u952e\u4e2d\u95f4\u4ef6\u62c6\u89e3&#xff08;\u4e0a&#xff09;&#xff1a;\u4e0a\u4e0b\u6587\u4e0e\u5de5\u5177<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u9010\u4e2a\u62c6\u89e3\u300c\u7ba1\u4e0a\u4e0b\u6587\u3001\u7ba1\u5de5\u5177\u300d\u7684\u4e2d\u95f4\u4ef6\u3002<\/p>\n<ul>\n<li>11.1 SummarizationMiddleware&#xff1a;\u4e0a\u4e0b\u6587\u538b\u7f29\u7684\u89e6\u53d1\u4e0e\u5b9e\u73b0<\/li>\n<li>11.2 TokenUsageMiddleware&#xff1a;Token \u8ba1\u91cf\u4e0e\u5f52\u56e0&#xff08;\u6ce8\u610f&#xff1a;\u5b83\u4e0d\u505a\u9884\u7b97&#xff09;<\/li>\n<li>11.3 ToolOutputBudgetMiddleware&#xff1a;\u5de5\u5177\u8f93\u51fa\u8d85\u957f\u600e\u4e48\u529e&#xff08;\u843d\u76d8 \/ \u622a\u65ad \/ \u653e\u884c&#xff09;<\/li>\n<li>11.4 ToolErrorHandlingMiddleware&#xff1a;\u5de5\u5177\u62a5\u9519\u7684\u515c\u5e95<\/li>\n<li>11.5 DanglingToolCallMiddleware&#xff1a;\u4fee\u590d\u300c\u60ac\u7a7a\u300d\u7684 ToolMessage<\/li>\n<li>11.6 LLMErrorHandlingMiddleware&#xff1a;\u6a21\u578b\u4fa7\u7684\u91cd\u8bd5 &#043; \u7194\u65ad&#xff08;\u5927\u7eb2\u6ca1\u5217&#xff0c;\u4f46\u5f88\u5173\u952e&#xff09;<\/li>\n<li>11.7 DeferredToolFilterMiddleware&#xff1a;\u4e0d\u7ed9 schema&#xff0c;\u7701\u4e0a\u4e0b\u6587\u7684\u53e6\u4e00\u6761\u8def<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;agents\/middlewares\/summarization_middleware.py\u3001token_usage_middleware.py\u3001tool_output_budget_middleware.py\u3001tool_error_handling_middleware.py\u3001dangling_tool_call_middleware.py\u3001llm_error_handling_middleware.py\u3001deferred_tool_filter_middleware.py<\/p>\n<p>\u52a8\u624b&#xff1a;\u6545\u610f\u8ba9\u4e00\u4e2a\u5de5\u5177\u8fd4\u56de\u8d85\u5927\u6587\u672c&#xff0c;\u89c2\u5bdf\u8f93\u51fa\u9884\u7b97\u4e2d\u95f4\u4ef6\u5982\u4f55\u622a\u65ad\/\u6458\u8981\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 12 \u7bc7 \u5173\u952e\u4e2d\u95f4\u4ef6\u62c6\u89e3&#xff08;\u4e0b&#xff09;&#xff1a;\u5b89\u5168\u3001\u8bb0\u5fc6\u4e0e\u4f53\u9a8c<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u62c6\u89e3\u300c\u7ba1\u5b89\u5168\u3001\u7ba1\u8bb0\u5fc6\u3001\u7ba1\u4f53\u9a8c\u300d\u7684\u4e2d\u95f4\u4ef6\u3002<\/p>\n<ul>\n<li>12.1 GuardrailMiddleware&#xff1a;\u62a4\u680f\u5982\u4f55\u5d4c\u5165\u8c03\u7528\u94fe<\/li>\n<li>12.2 \u8f93\u5165\u8131\u654f\u4e0e\u6e05\u6d17&#xff1a;\u4ed3\u5e93\u6ca1\u6709\u8fd9\u4e00\u5c42&#xff0c;\u82e5\u60f3\u8865\u8be5\u600e\u4e48\u6302<\/li>\n<li>12.3 LoopDetectionMiddleware&#xff1a;\u5faa\u73af\u68c0\u6d4b\u7684\u56db\u79cd\u94a9\u5b50&#xff08;warning \u6392\u961f \/ \u786c\u505c \/ \u6e05\u7406&#xff09;<\/li>\n<li>12.4 MemoryMiddleware&#xff1a;\u8bb0\u5fc6\u5165\u961f\u65f6\u673a&#xff08;after_agent&#xff09;<\/li>\n<li>12.5 TitleMiddleware&#xff1a;\u81ea\u52a8\u6807\u9898\u751f\u6210\u53ca\u4e09\u4e2a\u5178\u578b\u5751<\/li>\n<li>12.6 TodoMiddleware&#xff1a;Plan \u6a21\u5f0f\u4e0e\u5f85\u529e\u6e05\u5355<\/li>\n<li>12.7 ClarificationMiddleware&#xff1a;\u4e3a\u4ec0\u4e48\u5b83\u5fc5\u987b\u300c\u59cb\u7ec8\u6700\u540e\u300d<\/li>\n<li>12.8 ViewImageMiddleware&#xff1a;\u56fe\u7247\u6ce8\u5165&#xff08;\u6ce8\u610f&#xff1a;\u5b83\u4f1a\u5199 state&#xff09;<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;agents\/middlewares\/loop_detection_middleware.py\u3001memory_middleware.py\u3001title_middleware.py\u3001todo_middleware.py\u3001clarification_middleware.py\u3001view_image_middleware.py\u3001agents\/guardrails\/<\/p>\n<p>\u52a8\u624b&#xff1a;\u6784\u9020\u4e00\u4e2a\u4f1a\u89e6\u53d1\u5faa\u73af\u7684\u573a\u666f&#xff0c;\u89c2\u5bdf LoopDetection \u7684 warning \u4e0e hard-stop \u884c\u4e3a\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 13 \u7bc7 Subagent \u4e0e\u6279\u5904\u7406<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3\u300c\u4e3b Agent \u6d3e\u53d1\u5b50\u4efb\u52a1\u300d\u7684\u673a\u5236\u3002<\/p>\n<ul>\n<li>13.1 Subagent \u7684\u5b9a\u4f4d&#xff1a;\u4efb\u52a1\u5206\u89e3\u4e0e\u5e76\u884c<\/li>\n<li>13.2 SubagentLimitMiddleware&#xff1a;\u622a\u65ad\u591a\u4f59 task<\/li>\n<li>13.3 \u300c\u59d4\u6d3e\u8d26\u672c\u300d\u7684\u73b0\u5b9e\u5f62\u6001&#xff1a;executor._background_tasks &#043; SubagentResult&#xff08;2.0.0 \u6ca1\u6709 delegation_ledger.py&#xff09;<\/li>\n<li>13.4 \u300c\u6279\u5904\u7406\u7f16\u6392\u300d\u7684\u73b0\u5b9e\u5f62\u6001&#xff1a;\u4e09\u7ebf\u7a0b\u8c03\u5ea6\u6c60 &#043; \u5e38\u9a7b\u9694\u79bb\u4e8b\u4ef6\u5faa\u73af&#xff08;2.0.0 \u6ca1\u6709 app\/subagent_batches\/&#xff09;<\/li>\n<li>13.5 \u5b50 Agent \u4e0e\u4e3b Agent \u7684\u4e2d\u95f4\u4ef6\u5dee\u5f02&#xff08;8 \u56fa\u5b9a &#043; \u6761\u4ef6&#xff0c;\u4e0d\u662f\u300c4 \u4e2a\u300d&#xff09;<\/li>\n<li>13.6 \u5b50\u4efb\u52a1\u7ed3\u679c\u5982\u4f55\u56de\u4f20\u4e3b Agent<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;agents\/subagents\/executor.py\u3001registry.py\u3001config.py\u3001status_contract.py\u3001token_collector.py\u3001agents\/middlewares\/subagent_limit_middleware.py\u3001tools\/builtins\/task_tool.py<\/p>\n<p>\u52a8\u624b&#xff1a;\u7ed9\u51fa\u4e00\u4e2a\u53ef\u5206\u89e3\u7684\u4efb\u52a1&#xff0c;\u89c2\u5bdf\u4e3b Agent \u5982\u4f55\u62c6\u6210\u591a\u4e2a\u5b50\u4efb\u52a1\u5e76\u6c47\u603b\u3002<\/p>\n<hr \/>\n<h3>\u7b2c\u56db\u90e8\u5206 \u00b7 \u8bb0\u5fc6\u3001\u5de5\u5177\u4e0e\u6269\u5c55<\/h3>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 14 \u7bc7 \u8bb0\u5fc6\u7cfb\u7edf<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u8bb2\u900f Agent \u7684\u300c\u957f\u671f\u8bb0\u5fc6\u300d\u5982\u4f55\u6c89\u6dc0\u4e0e\u53ec\u56de\u3002<\/p>\n<ul>\n<li>14.1 \u8bb0\u5fc6\u7684\u5199\u5165\u65f6\u673a\u4e0e\u5b58\u50a8\u7ed3\u6784<\/li>\n<li>14.2 agents\/memory\/ \u6a21\u5757\u89e3\u6790&#xff08;queue \/ storage \/ updater \/ summarization_hook&#xff09;<\/li>\n<li>14.3 \u8bb0\u5fc6\u6539\u8fdb\u8bbe\u8ba1<\/li>\n<li>14.4 \u8bb0\u5fc6\u4e0e Thread State \u7684\u8fb9\u754c<\/li>\n<li>14.5 \u8bb0\u5fc6\u8bbe\u7f6e\u4e0e\u7528\u6237\u53ef\u63a7\u9879<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;agents\/memory\/\u3001backend\/docs\/MEMORY_IMPROVEMENTS.md\u3001config\/memory_config.py<\/p>\n<p>\u52a8\u624b&#xff1a;\u591a\u8f6e\u5bf9\u8bdd\u540e&#xff0c;\u9a8c\u8bc1\u8bb0\u5fc6\u662f\u5426\u88ab\u5199\u5165\u5e76\u5728\u540e\u7eed\u5bf9\u8bdd\u4e2d\u751f\u6548\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 15 \u7bc7 \u5de5\u5177\u7cfb\u7edf<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3 Agent \u7684\u5de5\u5177\u4ece\u300c\u58f0\u660e\u300d\u5230\u300c\u6267\u884c\u300d\u7684\u5b8c\u6574\u94fe\u8def\u3002<\/p>\n<ul>\n<li>15.1 \u5de5\u5177\u58f0\u660e\u4e0e Schema&#xff08;tools\/tools.py\u3001tools\/types.py&#xff09;<\/li>\n<li>15.2 \u5de5\u5177\u8c03\u7528\u53c2\u6570\u4e0e\u5143\u6570\u636e&#xff08;tools\/ &#043; middlewares\/tool_call_metadata.py&#xff09;<\/li>\n<li>15.3 \u5de5\u5177\u7ed3\u679c\u5904\u7406\u4e0e\u8f6c\u6362<\/li>\n<li>15.4 \u5185\u7f6e\u5de5\u5177&#xff08;tools\/builtins\/&#xff1a;task_tool\u3001tool_search\u3001clarification_tool \u7b49&#xff09;<\/li>\n<li>15.5 \u5de5\u5177\u641c\u7d22\u4e0e\u52a8\u6001\u53d1\u73b0&#xff08;tool_search&#xff09;<\/li>\n<li>15.6 \u65b0\u589e\u4e00\u4e2a\u81ea\u5b9a\u4e49\u5de5\u5177\u7684\u8def\u5b50<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;agents\/tools\/\u3001agents\/middlewares\/tool_call_metadata.py\u3001config\/tool_config.py<\/p>\n<p>\u52a8\u624b&#xff1a;\u65b0\u589e\u4e00\u4e2a\u81ea\u5b9a\u4e49\u5de5\u5177&#xff0c;\u63a5\u5165 Agent \u5e76\u9a8c\u8bc1\u8c03\u7528\u94fe\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 16 \u7bc7 MCP \u96c6\u6210<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3 MCP&#xff08;Model Context Protocol&#xff09;\u5982\u4f55\u63a5\u5165 Agent\u3002<\/p>\n<ul>\n<li>16.1 MCP \u662f\u4ec0\u4e48&#xff0c;DeerFlow \u5982\u4f55\u62bd\u8c61\u5b83<\/li>\n<li>16.2 mcp\/ \u6a21\u5757\u89e3\u6790&#xff1a;client \/ tools \/ session_pool \/ oauth \/ cache<\/li>\n<li>16.3 MCP Server \u7684\u914d\u7f6e\u4e0e\u52a0\u8f7d<\/li>\n<li>16.4 MCP \u5de5\u5177\u5982\u4f55\u88ab\u7f51\u5173\/\u8fd0\u884c\u65f6\u66b4\u9732\u4e0e\u8def\u7531<\/li>\n<li>16.5 \u591a MCP Server \u7684\u547d\u540d\u7a7a\u95f4\u4e0e\u51b2\u7a81\u5904\u7406<\/li>\n<li>16.6 MCP \u5de5\u5177\u5143\u6570\u636e&#xff08;tools\/mcp_metadata.py&#xff09;<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;agents\/mcp\/\u3001agents\/tools\/mcp_metadata.py\u3001backend\/docs\/MCP_SERVER.md<\/p>\n<p>\u52a8\u624b&#xff1a;\u63a5\u5165\u4e00\u4e2a\u7b2c\u4e09\u65b9 MCP Server&#xff0c;\u8ba9 Agent \u8c03\u7528\u5176\u5de5\u5177\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 17 \u7bc7 Skills \u4f53\u7cfb<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3 Skill \u5982\u4f55\u6210\u4e3a Agent \u7684\u300c\u53ef\u63d2\u62d4\u80fd\u529b\u5305\u300d\u3002<\/p>\n<ul>\n<li>17.1 Skill \u7684\u5b9a\u4f4d&#xff1a;\u4ece\u300c\u5de5\u5177\u300d\u5230\u300c\u80fd\u529b\u5305\u300d<\/li>\n<li>17.2 skill_activation_middleware.py&#xff1a;\u6280\u80fd\u6fc0\u6d3b<\/li>\n<li>17.3 \u6280\u80fd\u5de5\u5177\u7b56\u7565&#xff08;skills\/tool_policy.py \u4e0e skill_manage_tool.py&#xff09;<\/li>\n<li>17.4 \u6280\u80fd\u7684\u5b89\u5168\u626b\u63cf\u4e0e\u6821\u9a8c&#xff08;skills\/security_scanner.py\u3001validation.py&#xff09;<\/li>\n<li>17.5 \u6280\u80fd\u5b58\u50a8\u4e0e\u6f14\u8fdb&#xff08;skills\/storage\/\u3001skill_evolution_config.py&#xff09;<\/li>\n<li>17.6 \u6280\u80fd\u72b6\u6001\u7ba1\u7406&#xff08;extensions_config.example.json&#xff09;<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;agents\/skills\/\u3001config\/skills_config.py\u3001config\/skill_evolution_config.py\u3001extensions_config.example.json<\/p>\n<p>\u52a8\u624b&#xff1a;\u7f16\u5199\u4e00\u4e2a Skill&#xff0c;\u8ba9 Agent \u5728\u7279\u5b9a\u573a\u666f\u81ea\u52a8\u6fc0\u6d3b\u5b83\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 18 \u7bc7 \u6269\u5c55\u673a\u5236&#xff08;Extensions&#xff09;<\/h4>\n<p>\u8bf4\u660e&#xff1a;2.0.0 \u5de5\u4f5c\u533a\u8fd8\u6ca1\u6709\u72ec\u7acb\u7684 extensions\/ \u5305&#xff1b;\u672c\u4e3b\u9898\u4f5c\u4e3a\u300c\u8bbe\u8ba1\u84dd\u56fe \/ \u6f14\u8fdb\u65b9\u5411\u300d\u6765\u8bb2&#xff0c;\u5e2e\u4f60\u7406\u89e3 DeerFlow \u5c06\u6765\u5982\u4f55\u652f\u6301\u63d2\u4ef6\u5316\u6269\u5c55\u3002<\/p>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3 DeerFlow \u7684\u63d2\u4ef6\u5316\u6269\u5c55\u601d\u8def\u3002<\/p>\n<ul>\n<li>18.1 \u6269\u5c55\u662f\u4ec0\u4e48&#xff1a;\u5728 Agent \u751f\u547d\u5468\u671f\u4e2d\u6ce8\u5165\u81ea\u5b9a\u4e49\u903b\u8f91<\/li>\n<li>18.2 \u6269\u5c55\u70b9\u5206\u7c7b&#xff1a;\u6a21\u578b\u8bbf\u95ee\u3001\u6a21\u578b\u8c03\u7528\u3001\u7b56\u7565\u3001\u6ce8\u5165\u3001\u9694\u79bb<\/li>\n<li>18.3 \u5f53\u524d\u552f\u4e00\u7684\u6269\u5c55\u8f7d\u4f53&#xff1a;config\/extensions_config.py<\/li>\n<li>18.4 \u6269\u5c55\u4e0e\u4e2d\u95f4\u4ef6\u7684\u8fb9\u754c\u4e0e\u53d6\u820d<\/li>\n<li>18.5 \u6269\u5c55\u7684\u52a0\u8f7d\u4e0e\u751f\u547d\u5468\u671f&#xff08;\u6784\u60f3&#xff09;<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;config\/extensions_config.py\u3001extensions_config.example.json<\/p>\n<p>\u52a8\u624b&#xff1a;\u5199\u4e00\u4e2a\u6700\u5c0f\u6269\u5c55\u601d\u8def&#xff0c;\u5728\u6a21\u578b\u8c03\u7528\u524d\u540e\u6253\u5370\u65e5\u5fd7&#xff08;\u5148\u5728\u4e2d\u95f4\u4ef6\u5c42\u9762\u5b9e\u73b0&#xff09;\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 19 \u7bc7 \u793e\u533a\u80fd\u529b\u4e0e\u77e5\u8bc6\u5e93<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u4e86\u89e3 DeerFlow \u5185\u7f6e\u7684\u300c\u5f00\u7bb1\u5373\u7528\u300d\u80fd\u529b\u63d0\u4f9b\u65b9\u3002<\/p>\n<ul>\n<li>19.1 community\/ \u5168\u666f&#xff1a;\u641c\u7d22\u3001\u6c99\u7bb1\u3001RAG \u63d0\u4f9b\u65b9<\/li>\n<li>19.2 \u641c\u7d22\u63d0\u4f9b\u65b9&#xff1a;Tavily\u3001Brave\u3001Exa\u3001Firecrawl\u3001SearXNG\u3001DDG\u3001Serper\u3001Jina\u3001Browserless \u7b49<\/li>\n<li>19.3 \u6c99\u7bb1\u63d0\u4f9b\u65b9&#xff1a;community\/aio_sandbox<\/li>\n<li>19.4 RAG \/ \u77e5\u8bc6\u5e93&#xff1a;community\/ \u65e0\u72ec\u7acb knowledge\/ \u5305&#xff08;\u4f5c\u4e3a\u6f14\u8fdb\u65b9\u5411&#xff09;<\/li>\n<li>19.5 \u63d0\u4f9b\u65b9\u62bd\u8c61\u4e0e\u53ef\u66ff\u6362\u6027\u8bbe\u8ba1<\/li>\n<li>19.6 \u6c99\u7bb1\u4e0e\u68c0\u7d22\u7684\u534f\u4f5c<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;agents\/community\/&#xff08;\u63d0\u4f9b\u65b9\u5b50\u76ee\u5f55&#xff09;\u3001backend\/docs\/README.md<\/p>\n<p>\u52a8\u624b&#xff1a;\u914d\u7f6e\u4e00\u4e2a\u641c\u7d22\u63d0\u4f9b\u65b9&#xff0c;\u9a8c\u8bc1 Agent \u80fd\u8054\u7f51\u68c0\u7d22\u3002<\/p>\n<hr \/>\n<h3>\u7b2c\u4e94\u90e8\u5206 \u00b7 \u6c99\u7bb1\u4e0e\u5b89\u5168<\/h3>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 20 \u7bc7 \u6c99\u7bb1\u6267\u884c<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3 Agent \u6267\u884c\u4ee3\u7801\/\u547d\u4ee4\u65f6\u7684\u9694\u79bb\u673a\u5236\u3002<\/p>\n<ul>\n<li>20.1 \u4e3a\u4ec0\u4e48\u9700\u8981\u6c99\u7bb1&#xff1a;\u4e0d\u53ef\u4fe1\u4ee3\u7801\u4e0e\u5de5\u5177\u6267\u884c<\/li>\n<li>20.2 SandboxMiddleware&#xff1a;\u6c99\u7bb1\u7684\u83b7\u53d6\u4e0e\u91ca\u653e&#xff08;before_agent \/ after_agent&#xff09;<\/li>\n<li>20.3 \u6c99\u7bb1\u63d0\u4f9b\u65b9\u62bd\u8c61&#xff08;sandbox\/sandbox_provider.py&#xff09;\u4e0e community\/aio_sandbox<\/li>\n<li>20.4 \u6c99\u7bb1\u5185\u5b58\u753b\u50cf\u4e0e\u6027\u80fd&#xff08;SANDBOX_MEMORY_PROFILING.md&#xff09;<\/li>\n<li>20.5 \u6c99\u7bb1\u5ba1\u8ba1&#xff08;sandbox_audit_middleware.py&#xff09;<\/li>\n<li>20.6 \u6c99\u7bb1\u4e0e\u6587\u4ef6\u7cfb\u7edf\u7684\u5173\u7cfb<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;agents\/sandbox\/\u3001agents\/middlewares\/sandbox_audit_middleware.py\u3001config\/sandbox_config.py\u3001backend\/docs\/SANDBOX_MEMORY_PROFILING.md<\/p>\n<p>\u52a8\u624b&#xff1a;\u8ba9 Agent \u5728\u6c99\u7bb1\u4e2d\u6267\u884c\u4e00\u6bb5\u4ee3\u7801&#xff0c;\u89c2\u5bdf\u9694\u79bb\u8fb9\u754c\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 21 \u7bc7 Guardrails \u5b89\u5168\u62a4\u680f<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3\u62a4\u680f\u5982\u4f55\u62e6\u622a\u4e0d\u5b89\u5168\u884c\u4e3a\u3002<\/p>\n<ul>\n<li>21.1 Guardrails \u7684\u5b9a\u4f4d\u4e0e\u89e6\u53d1\u65f6\u673a<\/li>\n<li>21.2 guardrails\/ \u6a21\u5757&#xff1a;builtin\u3001middleware\u3001provider<\/li>\n<li>21.3 \u5185\u7f6e\u62a4\u680f\u80fd\u529b<\/li>\n<li>21.4 \u81ea\u5b9a\u4e49\u62a4\u680f\u63d0\u4f9b\u65b9<\/li>\n<li>21.5 \u62a4\u680f\u4e0e\u4e2d\u95f4\u4ef6\u94fe\u7684\u534f\u4f5c<\/li>\n<li>21.6 \u62a4\u680f\u7684\u8bef\u62a5\u4e0e\u653e\u884c\u7b56\u7565<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;agents\/guardrails\/\u3001config\/guardrails_config.py\u3001backend\/docs\/GUARDRAILS.md<\/p>\n<p>\u52a8\u624b&#xff1a;\u914d\u7f6e\u4e00\u4e2a\u81ea\u5b9a\u4e49\u62a4\u680f&#xff0c;\u9a8c\u8bc1\u5176\u5bf9\u7279\u5b9a\u8f93\u5165\u7684\u62e6\u622a\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 22 \u7bc7 \u8ba4\u8bc1\u4e0e\u6388\u6743<\/h4>\n<p>\u8bf4\u660e&#xff1a;2.0.0 \u65e0\u72ec\u7acb\u7684 authz\/ \u5305&#xff1b;\u8ba4\u8bc1\u4e0e\u6388\u6743\u662f Gateway \u5c42\u7684\u4e00\u90e8\u5206&#xff08;app\/gateway\/authz.py\u3001auth_middleware.py \u7b49&#xff09;\u3002\u672c\u4e3b\u9898\u6309\u5f53\u524d\u5b9e\u73b0\u8bb2\u6e05\u591a\u7528\u6237\u9694\u79bb&#xff0c;\u5e76\u628a OIDC \/ SSO \u4f5c\u4e3a\u6f14\u8fdb\u65b9\u5411\u3002<\/p>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3\u591a\u7528\u6237\u7cfb\u7edf\u7684\u8eab\u4efd\u4e0e\u6743\u9650\u8bbe\u8ba1\u3002<\/p>\n<ul>\n<li>22.1 \u8ba4\u8bc1\u65b9\u6848\u603b\u89c8&#xff1a;\u7528\u6237\u8ba4\u8bc1\u3001CSRF\u3001\u5e73\u53f0\u4fe1\u4efb&#xff08;IM \/ Internal Auth&#xff09;<\/li>\n<li>22.2 \u6bcf\u7528\u6237\u6570\u636e\u9694\u79bb\u7684\u5b9e\u73b0<\/li>\n<li>22.3 \u8ba4\u8bc1\u5347\u7ea7\u8def\u5f84\u4e0e\u6d4b\u8bd5\u8ba1\u5212&#xff08;\u987a\u5e26\u770b AUTH_UPGRADE.md\u3001AUTH_TEST_PLAN.md&#xff09;<\/li>\n<li>22.4 \u6388\u6743\u6a21\u5757&#xff1a;app\/gateway\/authz.py<\/li>\n<li>22.5 \u5b89\u5168\u8fb9\u754c\u4e0e\u5e38\u89c1\u98ce\u9669<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;backend\/app\/gateway\/authz.py\u3001auth_middleware.py\u3001csrf_middleware.py\u3001internal_auth.py\u3001langgraph_auth.py\u3001backend\/docs\/AUTH_DESIGN.md<\/p>\n<p>\u52a8\u624b&#xff1a;\u914d\u7f6e\u4e24\u4e2a\u7528\u6237&#xff0c;\u9a8c\u8bc1\u4e24\u4e2a\u7528\u6237\u7684\u6570\u636e\u4e92\u4e0d\u53ef\u89c1\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 23 \u7bc7 IM \u6e20\u9053\u63a5\u5165<\/h4>\n<p>\u8bf4\u660e&#xff1a;2.0.0 \u6709 app\/channels\/&#xff0c;\u4f46 integrations\/lark_*&#xff08;\u98de\u4e66\u96c6\u6210&#xff09;\u4e0d\u5728\u5de5\u4f5c\u533a&#xff0c;\u4f5c\u4e3a\u6f14\u8fdb\u65b9\u5411\u3002<\/p>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3 Agent \u5982\u4f55\u63a5\u5165 IM&#xff08;\u5373\u65f6\u901a\u8baf&#xff09;\u6e20\u9053\u3002<\/p>\n<ul>\n<li>23.1 channels\/ \u6e20\u9053\u62bd\u8c61<\/li>\n<li>23.2 \u6e20\u9053\u7528\u6237\u7ed1\u5b9a&#xff08;channel_connections&#xff09;<\/li>\n<li>23.3 \u5e73\u53f0\u4fe1\u4efb&#xff08;IM \/ Internal Auth&#xff09;<\/li>\n<li>23.4 \u591a\u6e20\u9053\u6d88\u606f\u8def\u7531<\/li>\n<li>23.5 \u63a5\u5165\u4e00\u4e2a\u65b0\u6e20\u9053\u7684\u8def\u5b50<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;backend\/app\/channels\/\u3001backend\/docs\/IM_CHANNEL_CONNECTIONS.md<\/p>\n<p>\u52a8\u624b&#xff1a;\u63a5\u5165\u4e00\u4e2a IM \u6e20\u9053&#xff0c;\u8ba9\u7528\u6237\u901a\u8fc7 IM \u4e0e Agent \u5bf9\u8bdd\u3002<\/p>\n<hr \/>\n<h3>\u7b2c\u516d\u90e8\u5206 \u00b7 Projects \u4e0e\u6587\u6863\u8d27\u67b6<\/h3>\n<p>\u8bf4\u660e&#xff1a;2.0.0 \u5de5\u4f5c\u533a\u7684 app\/ \u4e0b\u6ca1\u6709\u72ec\u7acb\u7684 projects \u8def\u7531&#xff1b;\u672c\u4e3b\u9898\u4f5c\u4e3a\u77e5\u8bc6\u7ba1\u7406\u65b9\u5411\u7684\u300c\u8bbe\u8ba1\u84dd\u56fe\u300d\u6765\u8bb2\u3002<\/p>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 24 \u7bc7 Projects \u529f\u80fd<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3\u300c\u9879\u76ee &#043; \u6587\u6863\u8d27\u67b6\u300d\u8fd9\u4e00\u77e5\u8bc6\u7ba1\u7406\u7279\u6027\u3002<\/p>\n<ul>\n<li>24.1 Projects \u7684\u5b9a\u4f4d&#xff1a;\u56fa\u5b9a\u4e0a\u4e0b\u6587 &#043; \u6587\u6863\u8d27\u67b6<\/li>\n<li>24.2 \u8fd0\u884c\u5f00\u59cb\u65f6\u7684\u4e0a\u4e0b\u6587\u56fa\u5b9a&#xff08;pinning&#xff09;<\/li>\n<li>24.3 \u89d2\u8272\u6743\u9650&#xff08;\u8c01\u53ef\u4ee5\u56fa\u5b9a\/\u8bfb\u53d6&#xff09;<\/li>\n<li>24.4 \u6587\u6863\u8d27\u67b6\u7684\u5b58\u50a8&#xff1a;\u5185\u5bb9\u5bfb\u5740&#xff08;content-addressed&#xff09;<\/li>\n<li>24.5 \u6709\u754c\u5b9e\u65f6\u8bfb\u53d6&#xff08;bounded live reads&#xff09;<\/li>\n<li>24.6 \u6587\u6863\u6458\u8981&#xff08;opt-in LLM \u4e00\u53e5\u8bdd\u6458\u8981&#xff09;<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;backend\/docs\/ARCHITECTURE.md\u3001app\/&#xff08;\u73b0\u8c61&#xff1a;\u65e0 projects \u8def\u7531&#xff0c;\u89c1\u6f14\u8fdb\u8bf4\u660e&#xff09;<\/p>\n<p>\u52a8\u624b&#xff1a;\u521b\u5efa\u4e00\u4e2a Project&#xff0c;\u56fa\u5b9a\u6587\u6863&#xff0c;\u9a8c\u8bc1 Agent \u5728\u5bf9\u8bdd\u4e2d\u5f15\u7528\u8d27\u67b6\u5185\u5bb9\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 25 \u7bc7 \u6587\u6863\u8d27\u67b6\u5b58\u50a8\u5b9e\u73b0<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u6df1\u5165\u6587\u6863\u8d27\u67b6\u7684\u5b58\u50a8\u4e0e\u8bfb\u53d6\u5b9e\u73b0\u601d\u8def\u3002<\/p>\n<ul>\n<li>25.1 \u5185\u5bb9\u5bfb\u5740\u5b58\u50a8\u7684\u539f\u7406\u4e0e\u597d\u5904<\/li>\n<li>25.2 \u6709\u754c\u5b9e\u65f6\u8bfb\u53d6\u7684\u8fb9\u754c\u63a7\u5236<\/li>\n<li>25.3 \u6587\u6863\u6458\u8981\u7684\u751f\u6210\u4e0e\u7f13\u5b58<\/li>\n<li>25.4 \u4e0e\u6587\u4ef6\u4e0a\u4f20\u3001blob \u5b58\u50a8\u7684\u5173\u7cfb<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;backend\/docs\/FILE_UPLOAD.md\u3001agents\/uploads\/<\/p>\n<p>\u52a8\u624b&#xff1a;\u4e0a\u4f20\u5927\u6587\u6863&#xff0c;\u89c2\u5bdf\u8d27\u67b6\u5982\u4f55\u5206\u5757\/\u5bfb\u5740\/\u8bfb\u53d6\u3002<\/p>\n<hr \/>\n<h3>\u7b2c\u4e03\u90e8\u5206 \u00b7 \u524d\u7aef\u5168\u6808<\/h3>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 26 \u7bc7 \u524d\u7aef\u67b6\u6784<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3 Next.js \/ React \u524d\u7aef\u7684\u7ec4\u7ec7\u7ed3\u6784\u3002<\/p>\n<ul>\n<li>26.1 \u6280\u672f\u6808&#xff1a;Next.js\u3001React\u3001TypeScript<\/li>\n<li>26.2 \u76ee\u5f55\u7ed3\u6784&#xff1a;src\/app\u3001src\/components\u3001src\/core\u3001src\/hooks\u3001src\/lib<\/li>\n<li>26.3 \u8def\u7531\u4e0e\u9875\u9762\u7ec4\u7ec7<\/li>\n<li>26.4 \u72b6\u6001\u7ba1\u7406\u4e0e\u6570\u636e\u83b7\u53d6<\/li>\n<li>26.5 \u7ec4\u4ef6\u5e93\u4e0e\u6837\u5f0f\u65b9\u6848<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;frontend\/src\/\u3001frontend\/README.md<\/p>\n<p>\u52a8\u624b&#xff1a;\u65b0\u589e\u4e00\u4e2a\u9875\u9762&#xff0c;\u6253\u901a\u5230\u540e\u7aef\u7684\u63a5\u53e3\u8c03\u7528\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 27 \u7bc7 \u5bf9\u8bdd UI \u4e0e\u6d41\u5f0f\u6e32\u67d3<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3\u524d\u7aef\u5982\u4f55\u6d88\u8d39\u6d41\u5f0f\u8f93\u51fa\u5e76\u6e32\u67d3\u5bf9\u8bdd\u3002<\/p>\n<ul>\n<li>27.1 \u5bf9\u8bdd UI \u7684\u6240\u6709\u6743\u8bbe\u8ba1<\/li>\n<li>27.2 SSE \/ \u6d41\u5f0f\u6570\u636e\u7684\u6d88\u8d39<\/li>\n<li>27.3 \u6d88\u606f\u6e32\u67d3\u4e0e Markdown \/ \u4ee3\u7801\u5757<\/li>\n<li>27.4 \u5de5\u5177\u8c03\u7528\u72b6\u6001\u7684\u53ef\u89c6\u5316<\/li>\n<li>27.5 \u524d\u540e\u7aef\u96c6\u6210\u5951\u7ea6<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;frontend\/src\/\u3001backend\/docs\/STREAMING.md<\/p>\n<p>\u52a8\u624b&#xff1a;\u4fee\u6539\u6d88\u606f\u6e32\u67d3\u903b\u8f91&#xff0c;\u81ea\u5b9a\u4e49\u4e00\u79cd\u6d88\u606f\u6837\u5f0f\u3002<\/p>\n<hr \/>\n<h3>\u7b2c\u516b\u90e8\u5206 \u00b7 \u5de5\u7a0b\u5316\u4e0e\u5b9e\u6218<\/h3>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 28 \u7bc7 \u914d\u7f6e\u7cfb\u7edf<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3 DeerFlow\u300c\u7c7b\u578b\u5b89\u5168\u914d\u7f6e\u300d\u7684\u8bbe\u8ba1\u54f2\u5b66\u3002<\/p>\n<ul>\n<li>28.1 \u914d\u7f6e\u5206\u5c42&#xff1a;config.yaml &#043; extensions_config.example.json &#043; \u73af\u5883\u53d8\u91cf<\/li>\n<li>28.2 \u7c7b\u578b\u5b89\u5168\u914d\u7f6e\u57fa\u5ea7&#xff08;\u4f17\u591a config\/*_config.py&#xff0c;Pydantic \u6821\u9a8c&#xff09;<\/li>\n<li>28.3 \u914d\u7f6e\u6a21\u5757\u5168\u666f&#xff1a;\u6a21\u578b\u3001\u5de5\u5177\u3001\u6c99\u7bb1\u3001\u6458\u8981\u3001\u8bb0\u5fc6\u3001\u5b50\u4ee3\u7406\u3001Token\u3001\u8ffd\u8e2a\u3001\u9a8c\u8bc1\u2026\u2026<\/li>\n<li>28.4 \u914d\u7f6e\u52a0\u8f7d\u4e0e\u6821\u9a8c\u6d41\u7a0b<\/li>\n<li>28.5 \u9ed8\u8ba4\u503c\u4e0e\u8986\u76d6\u89c4\u5219<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;agents\/config\/\u3001backend\/docs\/CONFIGURATION.md<\/p>\n<p>\u52a8\u624b&#xff1a;\u65b0\u589e\u4e00\u4e2a\u914d\u7f6e\u9879&#xff0c;\u4ece yaml \u4e00\u8def\u8d2f\u901a\u5230\u4ee3\u7801\u6d88\u8d39\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 29 \u7bc7 \u53ef\u89c2\u6d4b\u6027\u4e0e\u8ffd\u8e2a<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u8ba9 Agent \u7cfb\u7edf\u300c\u53ef\u89c2\u6d4b\u300d\u3002<\/p>\n<ul>\n<li>29.1 \u8ffd\u8e2a\u914d\u7f6e&#xff08;tracing_config.py&#xff09;\u4e0e tracing\/ \u6a21\u5757<\/li>\n<li>29.2 \u65e5\u5fd7\u4f53\u7cfb<\/li>\n<li>29.3 Token \u7528\u91cf\u4e0e\u6210\u672c\u89c2\u6d4b<\/li>\n<li>29.4 \u8fd0\u884c\u4e8b\u4ef6 \/ run journal&#xff08;runtime\/journal.py&#xff09;\u4f5c\u4e3a\u89c2\u6d4b\u6570\u636e\u6e90<\/li>\n<li>29.5 \u8fd0\u884c\u65f6\u4e0a\u4e0b\u6587&#xff08;runtime\/user_context.py\u3001serialization.py&#xff09;<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;agents\/tracing\/\u3001agents\/runtime\/\u3001config\/tracing_config.py<\/p>\n<p>\u52a8\u624b&#xff1a;\u63a5\u5165\u4e00\u6b21\u8ffd\u8e2a&#xff0c;\u5bfc\u51fa\u5e76\u5206\u6790\u4e00\u6b21\u5b8c\u6574\u8fd0\u884c\u7684\u94fe\u8def\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 30 \u7bc7 \u6d4b\u8bd5\u7b56\u7565<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7406\u89e3\u5982\u4f55\u4e3a Agent \u7cfb\u7edf\u5199\u6d4b\u8bd5\u3002<\/p>\n<ul>\n<li>30.1 \u540e\u7aef\u6d4b\u8bd5\u7ec4\u7ec7&#xff08;backend\/tests\/&#xff09;<\/li>\n<li>30.2 \u524d\u7aef\u6d4b\u8bd5&#xff1a;\u5355\u5143\u3001E2E\u3001\u771f\u5b9e\u540e\u7aef E2E<\/li>\n<li>30.3 \u56de\u653e\u4e0e\u7aef\u5230\u7aef\u6d4b\u8bd5&#xff08;REPLAY_E2E.md&#xff09;<\/li>\n<li>30.4 \u963b\u585e IO \u68c0\u6d4b&#xff08;BLOCKING_IO_DETECTION.md&#xff09;<\/li>\n<li>30.5 \u8ba4\u8bc1\u6d4b\u8bd5\u8ba1\u5212&#xff08;AUTH_TEST_PLAN.md\u3001AUTH_TEST_DOCKER_GAP.md&#xff09;<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;backend\/tests\/\u3001frontend\/tests\/\u3001backend\/docs\/REPLAY_E2E.md\u3001BLOCKING_IO_DETECTION.md<\/p>\n<p>\u52a8\u624b&#xff1a;\u4e3a\u4e00\u4e2a\u4e2d\u95f4\u4ef6\u8865\u4e00\u4e2a\u5355\u5143\u6d4b\u8bd5\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 31 \u7bc7 \u90e8\u7f72\u4e0e\u8fd0\u7ef4<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u628a\u7cfb\u7edf\u771f\u6b63\u8dd1\u5728\u751f\u4ea7\u73af\u5883\u3002<\/p>\n<ul>\n<li>31.1 Docker \u5316&#xff1a;\u540e\u7aef \/ \u524d\u7aef\u955c\u50cf<\/li>\n<li>31.2 Nginx \u7edf\u4e00\u53cd\u4ee3\u914d\u7f6e<\/li>\n<li>31.3 \u5bb9\u5668\u65b9\u6848&#xff08;\u542b Apple Container \u8bf4\u660e&#xff09;<\/li>\n<li>31.4 \u73af\u5883\u53d8\u91cf\u4e0e\u5bc6\u94a5\u7ba1\u7406<\/li>\n<li>31.5 \u5347\u7ea7\u4e0e\u8fc1\u79fb<\/li>\n<\/ul>\n<p>\u6d89\u53ca\u6e90\u7801&#xff1a;Dockerfile\u3001frontend\/Dockerfile\u3001backend\/docs\/APPLE_CONTAINER.md\u3001Makefile<\/p>\n<p>\u52a8\u624b&#xff1a;\u7528 Docker Compose \u4e00\u952e\u8d77\u5168\u6808\u3002<\/p>\n<hr \/>\n<h4>Agent\u62c6\u89e3\u7cfb\u5217\u3010DeerFlow2.0\u3011\u7b2c 32 \u7bc7 \u5b9e\u6218\u9879\u76ee&#xff1a;\u4f7f\u7528vibe Coding\u5f00\u53d1\u4e00\u4e2a\u9ad8\u4eff\u6df1\u5ea6\u63a2\u7d22\u667a\u80fd\u4f53 BeerFlow<\/h4>\n<p>\u672c\u7ae0\u76ee\u6807&#xff1a;\u7efc\u5408\u8fd0\u7528\u5168\u8bfe\u7a0b\u77e5\u8bc6&#xff0c;\u4ece\u96f6\u590d\u523b\u4e00\u4e2a\u7b80\u5316\u7248\u7684\u6df1\u5ea6\u63a2\u7d22\u667a\u80fd\u4f53 BeerFlow\u2014\u2014\u53ea\u590d\u523b DeerFlow \u7684\u6838\u5fc3\u80fd\u529b&#xff08;\u4efb\u52a1\u5206\u89e3 \u2192 \u5b50 Agent \u5e76\u884c\u7814\u7a76 \u2192 \u7ed3\u679c\u6c47\u603b&#xff09;&#xff0c;\u4e0d\u642c\u5b83\u7684\u57fa\u7840\u8bbe\u65bd&#xff08;\u7f51\u5173 \/ \u524d\u7aef \/ Nginx \/ \u5bb9\u5668&#xff09;\u3002MVP \u4f18\u5148&#xff1a;\u5148\u8dd1\u901a\u6700\u5c0f\u53ef\u8fd0\u884c demo&#xff0c;\u518d\u9010\u6b65\u8865\u9f50\u80fd\u529b\u3002<\/p>\n<p>\u9879\u76ee\u5b9a\u4f4d&#xff1a;<\/p>\n<ul>\n<li>\u540d\u79f0&#xff1a;BeerFlow&#xff08;\u9ad8\u4eff DeerFlow \u7684\u6df1\u5ea6\u63a2\u7d22\u667a\u80fd\u4f53&#xff09;<\/li>\n<li>\u539f\u5219&#xff1a;\u53ea\u590d\u523b\u529f\u80fd&#xff0c;\u4e0d\u590d\u5236\u67b6\u6784\u8d1f\u62c5\u3002\u7f51\u5173\u3001\u524d\u7aef\u3001Nginx\u3001Docker\u3001IM \u6e20\u9053\u3001MCP\u3001\u62a4\u680f\u3001\u9065\u6d4b\u3001\u6570\u636e\u5e93\u6301\u4e45\u5316\u3001checkpointer\u2014\u2014\u8fd9\u4e9b\u5168\u90e8\u4e0d\u505a&#xff0c;\u7528\u7eaf Python &#043; LangGraph &#043; \u547d\u4ee4\u884c\u9a71\u52a8\u5373\u53ef\u3002<\/li>\n<li>\u4e3b\u7ebf&#xff1a;deep-research \u6a21\u5f0f&#xff08;\u62c6\u89e3 \u2192 \u5e76\u884c\u5b50\u4efb\u52a1 \u2192 \u641c\u96c6 \u2192 \u7efc\u8ff0&#xff09;&#xff0c;\u800c\u4e0d\u662f\u901a\u7528\u804a\u5929\u3002<\/li>\n<\/ul>\n<p>\u91cc\u7a0b\u7891&#xff08;\u6bcf\u4e2a\u90fd\u53ef\u8fd0\u884c\u3001\u53ef\u6f14\u793a&#xff09;&#xff1a;<\/p>\n<ul>\n<li>M0 \u00b7 \u6838\u5fc3\u95ed\u73af&#xff08;MVP&#xff0c;~100 \u884c&#xff09;&#xff1a;python beerflow.py &#034;\u95ee\u9898&#034; \u76f4\u63a5\u51fa\u7b54\u6848\u3002\u4e00\u4e2a search \u5de5\u5177 &#043; \u4efb\u52a1\u5206\u89e3 node &#043; \u7ed3\u679c\u6c47\u603b node\u3002\u4e0d\u88c5\u8bb0\u5fc6\u3001\u4e0d\u88c5\u4e2d\u95f4\u4ef6\u3001\u4e0d\u88c5\u6c99\u7bb1\u3002\u8fd9\u662f\u672c\u7ae0\u7684\u8d77\u70b9&#xff0c;\u8dd1\u901a\u5c31\u7b97\u6210\u529f\u3002<\/li>\n<li>M1 \u00b7 \u5b50 Agent \u59d4\u6d3e&#xff1a;\u52a0 task \u5de5\u5177 &#043; \u4e00\u4e2a\u7b80\u5355\u7684\u5b50 Agent \u6267\u884c\u5668&#xff08;\u540e\u53f0\u8dd1\u3001MAX_CONCURRENT_SUBAGENTS \u9650\u6d41&#xff09;&#xff0c;\u771f\u6b63\u300c\u5e76\u884c\u7814\u7a76\u300d\u3002\u590d\u523b subagents\/executor.py \u7684\u7ebf\u7a0b\u6c60\u601d\u8def\u3002<\/li>\n<li>M2 \u00b7 \u8bb0\u5fc6&#xff1a;\u52a0\u300c\u4e8b\u5b9e\u62bd\u53d6 &#043; \u6ce8\u5165\u300d\u7684\u6700\u5c0f\u8bb0\u5fc6\u7cfb\u7edf&#xff08;\u590d\u523b agents\/memory\/ \u7684\u961f\u5217\u9632\u6296 &#043; format_memory_for_injection \u6309 budget \u6ce8\u5165&#xff09;&#xff0c;\u8dd1\u901a\u300c\u591a\u8f6e\u540e\u8bb0\u5f97\u4f60\u300d\u3002<\/li>\n<li>M3 \u00b7 \u4e2d\u95f4\u4ef6\u94fe&#xff08;\u8fdb\u9636&#xff09;&#xff1a;\u7528 LangGraph create_agent \u7684\u4e2d\u95f4\u4ef6\u6302\u8f7d&#xff0c;\u590d\u523b DeerFlow \u7684\u4e2d\u95f4\u4ef6\u7ec4\u5408\u6a21\u578b&#xff08;after_model \u9006\u5e8f\u3001after_agent \u6536\u5c3e&#xff09;&#xff0c;\u6302 1-2 \u4e2a\u81ea\u7814\u4e2d\u95f4\u4ef6&#xff0c;\u4f53\u4f1a\u300ccomposition \u987a\u5e8f\u300d\u7684\u5a01\u529b\u3002<\/li>\n<\/ul>\n<p>\u660e\u786e\u4e0d\u505a&#xff08;\u5e76\u5728\u6587\u4e2d\u8bf4\u660e\u7406\u7531&#xff09;&#xff1a;Gateway&#xff08;FastAPI&#xff09;\u3001Next.js \u524d\u7aef\u3001Nginx \u53cd\u4ee3\u3001Docker\u3001MCP \u96c6\u6210\u3001IM \u6e20\u9053\u3001\u62a4\u680f\u3001langfuse\/langsmith \u9065\u6d4b\u3001alembic\/DB \u6301\u4e45\u5316\u3001\u8fdc\u7a0b\u6c99\u7bb1&#xff08;\u7528\u672c\u5730 subprocess\/LocalSandbox \u601d\u8def\u5373\u53ef&#xff09;\u3002<\/p>\n<p>\u4ea4\u4ed8\u8981\u6c42&#xff1a;<\/p>\n<li>\u4e00\u4efd\u67b6\u6784\u8bf4\u660e&#xff08;\u753b\u56fe &#043; \u8bf4\u660e\u300c\u590d\u523b\u4e86 DeerFlow \u7684\u54ea\u4e00\u5757\u3001\u780d\u6389\u4e86\u54ea\u4e00\u5757\u3001\u4e3a\u4ec0\u4e48\u780d\u300d&#xff09;<\/li>\n<li>\u53ef\u8fd0\u884c\u7684\u4ee3\u7801&#xff08;\u6bcf\u4e2a\u91cc\u7a0b\u7891\u4e00\u4e2a\u5206\u652f\/\u6807\u7b7e&#xff0c;\u5747\u80fd\u8dd1\u51fa demo&#xff09;<\/li>\n<li>\u4e00\u6bb5\u6f14\u793a&#xff08;\u5f55\u5c4f\u6216\u622a\u56fe&#xff1a;\u4ee5\u4e00\u4e2a\u771f\u5b9e deep-research \u95ee\u9898\u4e3a\u4f8b&#xff09;<\/li>\n<li>\u4e00\u4efd\u300c\u8e29\u5751\u4e0e\u8bbe\u8ba1\u53d6\u820d\u300d\u603b\u7ed3&#xff08;\u5bf9\u7167 DeerFlow \u6e90\u7801&#xff0c;\u8bf4\u660e\u4f60\u7684\u7b80\u5316\u53d6\u820d&#xff09;<\/li>\n<hr \/>\n<h3>\u9644\u5f55<\/h3>\n<h4>\u9644\u5f55 A \u00b7 \u6e90\u7801\u9605\u8bfb\u8def\u7ebf\u56fe<\/h4>\n<p>#mermaid-svg-EJ0YggNucVEBGO3t{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-EJ0YggNucVEBGO3t .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-EJ0YggNucVEBGO3t .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-EJ0YggNucVEBGO3t .error-icon{fill:#552222;}#mermaid-svg-EJ0YggNucVEBGO3t .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-EJ0YggNucVEBGO3t .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-EJ0YggNucVEBGO3t .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-EJ0YggNucVEBGO3t .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-EJ0YggNucVEBGO3t .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-EJ0YggNucVEBGO3t .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-EJ0YggNucVEBGO3t .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-EJ0YggNucVEBGO3t .marker{fill:#333333;stroke:#333333;}#mermaid-svg-EJ0YggNucVEBGO3t .marker.cross{stroke:#333333;}#mermaid-svg-EJ0YggNucVEBGO3t svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-EJ0YggNucVEBGO3t p{margin:0;}#mermaid-svg-EJ0YggNucVEBGO3t .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-EJ0YggNucVEBGO3t .cluster-label text{fill:#333;}#mermaid-svg-EJ0YggNucVEBGO3t .cluster-label span{color:#333;}#mermaid-svg-EJ0YggNucVEBGO3t .cluster-label span p{background-color:transparent;}#mermaid-svg-EJ0YggNucVEBGO3t .label text,#mermaid-svg-EJ0YggNucVEBGO3t span{fill:#333;color:#333;}#mermaid-svg-EJ0YggNucVEBGO3t .node rect,#mermaid-svg-EJ0YggNucVEBGO3t .node circle,#mermaid-svg-EJ0YggNucVEBGO3t .node ellipse,#mermaid-svg-EJ0YggNucVEBGO3t .node polygon,#mermaid-svg-EJ0YggNucVEBGO3t .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-EJ0YggNucVEBGO3t .rough-node .label text,#mermaid-svg-EJ0YggNucVEBGO3t .node .label text,#mermaid-svg-EJ0YggNucVEBGO3t .image-shape .label,#mermaid-svg-EJ0YggNucVEBGO3t .icon-shape .label{text-anchor:middle;}#mermaid-svg-EJ0YggNucVEBGO3t .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-EJ0YggNucVEBGO3t .rough-node .label,#mermaid-svg-EJ0YggNucVEBGO3t .node .label,#mermaid-svg-EJ0YggNucVEBGO3t .image-shape .label,#mermaid-svg-EJ0YggNucVEBGO3t .icon-shape .label{text-align:center;}#mermaid-svg-EJ0YggNucVEBGO3t .node.clickable{cursor:pointer;}#mermaid-svg-EJ0YggNucVEBGO3t .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-EJ0YggNucVEBGO3t .arrowheadPath{fill:#333333;}#mermaid-svg-EJ0YggNucVEBGO3t .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-EJ0YggNucVEBGO3t .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-EJ0YggNucVEBGO3t .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-EJ0YggNucVEBGO3t .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-EJ0YggNucVEBGO3t .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-EJ0YggNucVEBGO3t .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-EJ0YggNucVEBGO3t .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-EJ0YggNucVEBGO3t .cluster text{fill:#333;}#mermaid-svg-EJ0YggNucVEBGO3t .cluster span{color:#333;}#mermaid-svg-EJ0YggNucVEBGO3t div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-EJ0YggNucVEBGO3t .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-EJ0YggNucVEBGO3t rect.text{fill:none;stroke-width:0;}#mermaid-svg-EJ0YggNucVEBGO3t .icon-shape,#mermaid-svg-EJ0YggNucVEBGO3t .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-EJ0YggNucVEBGO3t .icon-shape p,#mermaid-svg-EJ0YggNucVEBGO3t .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-EJ0YggNucVEBGO3t .icon-shape .label rect,#mermaid-svg-EJ0YggNucVEBGO3t .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-EJ0YggNucVEBGO3t .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-EJ0YggNucVEBGO3t .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-EJ0YggNucVEBGO3t :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>README \/ docs<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5165\u53e3: app.py \/ make_lead_agent<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>thread_state<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>middlewares<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>tools \/ mcp \/ skills<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>community \/ config<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>sandbox \/ guardrails<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>frontend<\/p>\n<p><\/span><\/p>\n<h4>\u9644\u5f55 B \u00b7 \u5b98\u65b9\u6587\u6863\u7d22\u5f15&#xff08;\u5bf9\u7167\u5b66\u4e60&#xff0c;\u4ec5\u6536\u5f55 2.0.0 \u5de5\u4f5c\u533a\u5b58\u5728\u7684\u6587\u6863&#xff09;<\/h4>\n<table>\n<tr>\u4e3b\u9898\u6587\u6863<\/tr>\n<tbody>\n<tr>\n<td>\u7cfb\u7edf\u67b6\u6784<\/td>\n<td>ARCHITECTURE.md<\/td>\n<\/tr>\n<tr>\n<td>API \u53c2\u8003<\/td>\n<td>API.md<\/td>\n<\/tr>\n<tr>\n<td>\u914d\u7f6e<\/td>\n<td>CONFIGURATION.md<\/td>\n<\/tr>\n<tr>\n<td>\u6d41\u5f0f\u8f93\u51fa<\/td>\n<td>STREAMING.md<\/td>\n<\/tr>\n<tr>\n<td>\u4e2d\u95f4\u4ef6\u6267\u884c\u6d41<\/td>\n<td>middleware-execution-flow.md<\/td>\n<\/tr>\n<tr>\n<td>\u8ba4\u8bc1<\/td>\n<td>AUTH_DESIGN.md\u3001AUTH_UPGRADE.md\u3001AUTH_TEST_PLAN.md<\/td>\n<\/tr>\n<tr>\n<td>\u6c99\u7bb1<\/td>\n<td>SANDBOX_MEMORY_PROFILING.md<\/td>\n<\/tr>\n<tr>\n<td>\u62a4\u680f<\/td>\n<td>GUARDRAILS.md<\/td>\n<\/tr>\n<tr>\n<td>\u8bb0\u5fc6<\/td>\n<td>MEMORY_IMPROVEMENTS.md\u3001MEMORY_SETTINGS_REVIEW.md<\/td>\n<\/tr>\n<tr>\n<td>MCP<\/td>\n<td>MCP_SERVER.md<\/td>\n<\/tr>\n<tr>\n<td>\u6587\u4ef6\u4e0a\u4f20<\/td>\n<td>FILE_UPLOAD.md<\/td>\n<\/tr>\n<tr>\n<td>\u8ba1\u5212\u6a21\u5f0f<\/td>\n<td>plan_mode_usage.md<\/td>\n<\/tr>\n<tr>\n<td>\u81ea\u52a8\u6807\u9898<\/td>\n<td>AUTO_TITLE_GENERATION.md\u3001TITLE_GENERATION_IMPLEMENTATION.md<\/td>\n<\/tr>\n<tr>\n<td>\u56de\u653e \/ \u7aef\u5230\u7aef<\/td>\n<td>REPLAY_E2E.md<\/td>\n<\/tr>\n<tr>\n<td>\u963b\u585e IO \u68c0\u6d4b<\/td>\n<td>BLOCKING_IO_DETECTION.md<\/td>\n<\/tr>\n<tr>\n<td>\u6e20\u9053\u63a5\u5165<\/td>\n<td>IM_CHANNEL_CONNECTIONS.md<\/td>\n<\/tr>\n<tr>\n<td>\u73af\u5883\u642d\u5efa<\/td>\n<td>SETUP.md\u3001README.md<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u9644\u5f55 C \u00b7 \u6bcf\u7ae0\u7edf\u4e00\u7ed3\u6784<\/h4>\n<p>\u4e3a\u4fdd\u8bc1\u5b66\u4e60\u4f53\u9a8c\u4e00\u81f4&#xff0c;\u6bcf\u7ae0\u5efa\u8bae\u6309\u4ee5\u4e0b\u7ed3\u6784\u7ec4\u7ec7&#xff1a;<\/p>\n<li>\u672c\u7ae0\u76ee\u6807&#xff08;\u4e00\u53e5\u8bdd&#xff09;<\/li>\n<li>\u6838\u5fc3\u8bb2\u89e3&#xff08;\u914d Mermaid \u56fe&#xff09;<\/li>\n<li>\u5173\u952e\u4ee3\u7801\u7cbe\u8bfb&#xff08;\u8d34\u771f\u5b9e\u4ee3\u7801\u7247\u6bb5&#xff09;<\/li>\n<li>\u52a8\u624b\u5b9e\u9a8c&#xff08;\u53ef\u9a8c\u8bc1\u7684\u5c0f\u4efb\u52a1&#xff09;<\/li>\n<li>\u672c\u7ae0\u5c0f\u7ed3 &#043; \u9762\u8bd5\/\u5b9e\u6218\u95ee\u7b54<\/li>\n<hr \/>\n<p>\u7ed3\u8bed&#xff1a;\u8bfb\u61c2\u4e00\u5957\u751f\u4ea7\u7ea7 Agent \u7cfb\u7edf\u7684\u6e90\u7801&#xff0c;\u6bd4\u8bfb\u5341\u7bc7\u6846\u67b6\u4ecb\u7ecd\u66f4\u6709\u4ef7\u503c\u3002DeerFlow \u7684\u4ef7\u503c\u4e0d\u5728\u4e8e\u5b83\u7528\u4e86\u4ec0\u4e48\u6a21\u578b&#xff0c;\u800c\u5728\u4e8e\u5b83\u628a\u300c\u8fd0\u884c\u65f6\u3001\u4e2d\u95f4\u4ef6\u3001\u6c99\u7bb1\u3001\u5b89\u5168\u3001\u5de5\u7a0b\u5316\u300d\u8fd9\u4e9b\u786c\u9aa8\u5934\u90fd\u5543\u4e86\u4e00\u904d\u3002\u8fd9\u95e8\u8bfe&#xff0c;\u5c31\u662f\u5e26\u4f60\u628a\u8fd9\u5957\u9aa8\u5934\u4e00\u6839\u6839\u62c6\u5f00\u770b\u3002<\/p>\n<hr \/>\n<p>\u67e5\u770b\u7cbe\u54c1\u5206\u4eab\u5185\u5bb9&#xff1a;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261020142501-6ad779bd43478.bmp\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Agent\u62c6\u89e3\u7cfb\u5217\u7684\u76ee\u7684&#xff1a;&#xff08;1&#xff09;\u76ee\u7684\u4e4b\u4e00&#xff0c;\u4ed6\u5c71\u4e4b\u77f3&#xff0c;\u4ece\u4f18\u79c0\u5f00\u6e90 Agent \u8bbe\u8ba1\u4e2d\u6c72\u53d6\u542f\u53d1\u3002&#xff08;2&#xff09;\u76ee\u7684\u4e4b\u4e8c&#xff0c;\u8403\u53d6\u591a\u4e2a\u4f18\u79c0\u5f00\u6e90\u667a\u80fd\u4f53\u5de5\u7a0b\u5b9e\u8df5&#xff0c;\u603b\u7ed3\u6c89\u6dc0\u53ef\u590d\u7528\u65b9\u6cd5\u8bba\u3002\u4eceDeerFlow 2.0\u5f00\u59cb&#xff0c;\u540e\u7eed\u4f1a\u6709ClaudeCode\u3001Openclaw\u3001Deepseek Harness\u3001Pi\u3001Hermes\u7b49\u7cfb\u5217\u3002<br \/>\n\u4e00\u53e5\u8bdd\u5b9a\u4f4d*&#xff1a;\u4ee5 De<\/p>\n","protected":false},"author":2,"featured_media":116192,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9109,3038,99,50,224],"topic":[],"class_list":["post-116193","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-9109","tag-ai-native","tag-java","tag-50","tag-224"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4ece\u6839\u4e0a\u5403\u900fAI Agent\uff1aAgent\u62c6\u89e3\u7cfb\u5217\u4e4bDeerFlow2.0\u6df1\u5ea6\u62c6\u89e3 - \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\/116193.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4ece\u6839\u4e0a\u5403\u900fAI Agent\uff1aAgent\u62c6\u89e3\u7cfb\u5217\u4e4bDeerFlow2.0\u6df1\u5ea6\u62c6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Agent\u62c6\u89e3\u7cfb\u5217\u7684\u76ee\u7684&#xff1a;&#xff08;1&#xff09;\u76ee\u7684\u4e4b\u4e00&#xff0c;\u4ed6\u5c71\u4e4b\u77f3&#xff0c;\u4ece\u4f18\u79c0\u5f00\u6e90 Agent \u8bbe\u8ba1\u4e2d\u6c72\u53d6\u542f\u53d1\u3002&#xff08;2&#xff09;\u76ee\u7684\u4e4b\u4e8c&#xff0c;\u8403\u53d6\u591a\u4e2a\u4f18\u79c0\u5f00\u6e90\u667a\u80fd\u4f53\u5de5\u7a0b\u5b9e\u8df5&#xff0c;\u603b\u7ed3\u6c89\u6dc0\u53ef\u590d\u7528\u65b9\u6cd5\u8bba\u3002\u4eceDeerFlow 2.0\u5f00\u59cb&#xff0c;\u540e\u7eed\u4f1a\u6709ClaudeCode\u3001Openclaw\u3001Deepseek Harness\u3001Pi\u3001Hermes\u7b49\u7cfb\u5217\u3002 \u4e00\u53e5\u8bdd\u5b9a\u4f4d*&#xff1a;\u4ee5 De\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/116193.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-20T14:25:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261020142501-6ad779bd43478.bmp\" \/>\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=\"19 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/116193.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/116193.html\",\"name\":\"\u4ece\u6839\u4e0a\u5403\u900fAI Agent\uff1aAgent\u62c6\u89e3\u7cfb\u5217\u4e4bDeerFlow2.0\u6df1\u5ea6\u62c6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-20T14:25:02+00:00\",\"dateModified\":\"2026-10-20T14:25:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/116193.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/116193.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/116193.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4ece\u6839\u4e0a\u5403\u900fAI Agent\uff1aAgent\u62c6\u89e3\u7cfb\u5217\u4e4bDeerFlow2.0\u6df1\u5ea6\u62c6\u89e3\"}]},{\"@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":"\u4ece\u6839\u4e0a\u5403\u900fAI Agent\uff1aAgent\u62c6\u89e3\u7cfb\u5217\u4e4bDeerFlow2.0\u6df1\u5ea6\u62c6\u89e3 - \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\/116193.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4ece\u6839\u4e0a\u5403\u900fAI Agent\uff1aAgent\u62c6\u89e3\u7cfb\u5217\u4e4bDeerFlow2.0\u6df1\u5ea6\u62c6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Agent\u62c6\u89e3\u7cfb\u5217\u7684\u76ee\u7684&#xff1a;&#xff08;1&#xff09;\u76ee\u7684\u4e4b\u4e00&#xff0c;\u4ed6\u5c71\u4e4b\u77f3&#xff0c;\u4ece\u4f18\u79c0\u5f00\u6e90 Agent \u8bbe\u8ba1\u4e2d\u6c72\u53d6\u542f\u53d1\u3002&#xff08;2&#xff09;\u76ee\u7684\u4e4b\u4e8c&#xff0c;\u8403\u53d6\u591a\u4e2a\u4f18\u79c0\u5f00\u6e90\u667a\u80fd\u4f53\u5de5\u7a0b\u5b9e\u8df5&#xff0c;\u603b\u7ed3\u6c89\u6dc0\u53ef\u590d\u7528\u65b9\u6cd5\u8bba\u3002\u4eceDeerFlow 2.0\u5f00\u59cb&#xff0c;\u540e\u7eed\u4f1a\u6709ClaudeCode\u3001Openclaw\u3001Deepseek Harness\u3001Pi\u3001Hermes\u7b49\u7cfb\u5217\u3002 \u4e00\u53e5\u8bdd\u5b9a\u4f4d*&#xff1a;\u4ee5 De","og_url":"https:\/\/www.wsisp.com\/helps\/116193.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-20T14:25:02+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261020142501-6ad779bd43478.bmp"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"19 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/116193.html","url":"https:\/\/www.wsisp.com\/helps\/116193.html","name":"\u4ece\u6839\u4e0a\u5403\u900fAI Agent\uff1aAgent\u62c6\u89e3\u7cfb\u5217\u4e4bDeerFlow2.0\u6df1\u5ea6\u62c6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-20T14:25:02+00:00","dateModified":"2026-10-20T14:25:02+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/116193.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/116193.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/116193.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4ece\u6839\u4e0a\u5403\u900fAI Agent\uff1aAgent\u62c6\u89e3\u7cfb\u5217\u4e4bDeerFlow2.0\u6df1\u5ea6\u62c6\u89e3"}]},{"@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\/116193","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=116193"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/116193\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/116192"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=116193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=116193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=116193"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=116193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}