{"id":10020969,"date":"2025-08-21T21:26:11","date_gmt":"2025-08-21T13:26:11","guid":{"rendered":"https:\/\/itmax.cn\/?p=10020969"},"modified":"2025-08-21T21:26:11","modified_gmt":"2025-08-21T13:26:11","slug":"ai-agent-%e8%87%aa%e7%a0%94%e9%a1%b9%e7%9b%ae-vs-%e5%ad%97%e8%8a%82%e6%89%a3%e5%ad%90%ef%bc%8c%e5%b7%ae%e7%82%b9%e8%b6%85%e8%b6%8a%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10020969","title":{"rendered":"Ai Agent \u81ea\u7814\u9879\u76ee VS \u5b57\u8282\u6263\u5b50\uff0c\u5dee\u70b9\u8d85\u8d8a\uff1f"},"content":{"rendered":"<p>\u4f5c\u8005\uff1a\u5c0f\u5085\u54e5 <br \/>\u535a\u5ba2\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=X%2BWA8pAdlPR9lXu5y2RVJQ%3D%3D.wj%2F52MXNaCb1tJG%2BCWhi%2B5PIApopEYZqni3iakQGHn0%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/bugstack.cn<\/a><\/p>\n<blockquote><p>\u6c89\u6dc0\u3001\u5206\u4eab\u3001\u6210\u957f\uff0c\u8ba9\u81ea\u5df1\u548c\u4ed6\u4eba\u90fd\u80fd\u6709\u6240\u6536\u83b7\uff01\ud83d\ude04<\/p><\/blockquote>\n<p>\u5927\u5bb6\u597d\uff0c\u6211\u662f\u6280\u672fUP\u4e3b\u5c0f\u5085\u54e5\u3002<\/p>\n<p><strong>\u5ab2\u7f8eDify\uff0c\u582a\u6bd4\u6263\u5b50\uff1f\ud83e\udd14<\/strong> \u54c8\u54c8\u54c8\uff0c\u7ecf\u8fc7\u54d0\u54d0\u7684\u4e00\u987f\u5377\uff0c\u5c0f\u5085\u54e5\u8fd9\u5957 Ai Agent \u9879\u76ee\uff0c\u5df2\u7ecf\u505a\u51fa\u4e00\u7248\u667a\u80fd\u5bf9\u8bdd\u4f53\uff08\u5bf9\u63a5UI\uff09\uff0c\u5728\u5355\u4e00\u65b9\u9762\u7684\u529f\u80fd\u4f53\u9a8c\u4e0a\uff0c\u786e\u5b9e\u53ef\u4ee5\u548c\u5e02\u9762\u7684 Ai Agent \u4ea7\u54c1\u63e1\u63e1\u624b\u5566 \ud83e\udd1d\uff01\u6548\u679c\u5f88\u662f\u4e0d\u9519\uff0c\u672c\u6587\u63d0\u4f9b\u4e86\u89c6\u9891\u548c\u622a\u56fe\u3002<\/p>\n<p>\u200b    <img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000046648968\" alt=\"img\" title=\"img\"><\/p>\n<p><strong>\u4ec0\u4e48\u662f Ai Agent\uff1f<\/strong><\/p>\n<p>\u505a\u7684\u8d8a\u591a\u7406\u89e3\u7684\u4e5f\u8d8a\u900f\u5f7b\uff0cAi Agent \u66f4\u50cf\u662f\u5bf9\u4eba\u7684\u884c\u4e3a\u7684\u7406\u89e3\u3002\u4e00\u4e2a\u4eba\u518d\u6709\u529b\u6c14\uff0c\u4e5f\u6ca1\u6cd5\u4e00\u5929\u5b8c\u5168\u4e00\u5e74\u5168\u90e8\u7684\u5de5\u4f5c\uff0c\u800c\u662f\u9700\u8981\u6211\u4eec\u628a\u8fd9\u4e9b\u5de5\u4f5c\uff0c\u505a\u597d\u89c4\u5212\u3001\u5b9a\u597d\u76ee\u6807\u3001\u5b8c\u6210\u6267\u884c\u3001\u7ed3\u679c\u68c0\u67e5\uff0c\u5faa\u5e8f\u6e10\u8fdb\u7684\u6267\u884c\u518d\u5230\u6700\u7ec8\u4ea4\u4ed8\u3002<\/p>\n<p>\u90a3\u4e48\uff0cAi Agent \u4e5f\u662f\u4e00\u6837\u7684\uff0cAi Token \u63d0\u5347\u7684\u5728\u9ad8\uff08\u7b49\u4e8e\u4eba\u7684\u529b\u6c14\uff09\uff0c\u4e5f\u6ca1\u6cd5\u4e00\u6b21\u505a\u5b8c\u6240\u6709\u4e8b\u60c5\u3002\u6240\u4ee5\u5728\u7ed3\u5408\u4e86 <code>Prompt\uff08\u63d0\u793a\u8bcd\uff09<\/code>\u3001<code>Advisor\uff08\u8bb0\u5fc6\u3001RAG\uff09<\/code>\u3001<code>Tool\uff08MCP\uff09<\/code>\uff0c\u4e5f\u53ef\u4ee5\u628a\u4e00\u6574\u4e2a\u5927\u4efb\u52a1\uff0c\u7ec6\u5206\u4e3a\u72ec\u7acb\u7684\u5c0f\u5757\uff0c\u6bcf\u4e00\u5757\u505a\u597d\u89c4\u5212\u3001\u6267\u884c\u3001\u5ba1\u67e5\u548c\u4ea4\u4ed8\u3002\u6240\u4ee5 Ai Agent \u518d\u8d8b\u5411\u4e00\u4e2a\u4eba\u7684\u884c\u4e3a\u3002<\/p>\n<p><strong>\u8ddf\u7740\u5c0f\u5085\u54e5\uff0c\u5403\u4e0a\u4e00\u7897\u7ec6\u7ce0\uff01<\/strong> \u53ef\u80fd\u4f60\u4e5f\u505a\u8fc7\u4e00\u4e9b\u5b66\u4e60\u7684\u9879\u76ee\uff0c\u4f46\u5f80\u5f80\u8fd9\u4e9b\u9879\u76ee\u90fd\u662f\u4e00\u4e9b\u529f\u80fd\u903b\u8f91\u7684\u53e0\u52a0\u548c CRUD \u7684\u62fc\u88c5 + \u597d\u770b\u4e00\u4e9b\u7684\u8138\u9762\uff08UI\uff09\u3002\u4f46\u662f\u8ddf\u7740\u5c0f\u5085\u54e5\u5b66\u4e60\uff0c\u7ed9\u4f60\u7684\u5c31\u4e0d\u53ea\u662f\u4e00\u4e2a\u9879\u76ee\uff0c\u8fd8\u4f1a\u5e26\u7740\u4f60\u505a\u67b6\u6784\uff0c\u641e\u8bbe\u8ba1\uff0c\u7528\u4f18\u96c5\u7684\u65b9\u5f0f\u8fdb\u884c\u7f16\u7801\uff0c\u6df1\u5ea6\u79ef\u7d2f\u7f16\u7a0b\u601d\u7ef4\u548c\u7f16\u7801\u80fd\u529b\u3002<\/p>\n<blockquote><p>\ud83e\udde7 \u6587\u672b\u5df2\u63d0\u4f9b\u6574\u5957 Ai Agent \u5b9e\u6218\u9879\u76ee\u7684\u5168\u5957\u4ee3\u7801 + \u5404\u4e2a\u5206\u652f\u7ae0\u8282\u7684\u6587\u6863\uff08\u542b\u89c6\u9891\uff09\uff0c\u5b66\u4e60\u8d77\u6765\u975e\u5e38\u723d\uff01<\/p><\/blockquote>\n<h2>\u4e00\u3001\u5148\u4e0a\u6548\u679c &#8211; \u582a\u6bd4\u6263\u5b50\uff01<\/h2>\n<p>\ud83d\ude02 \u505a\u7684\u591a\u4e86\uff0c\u4e5f\u505a\u7684\u4e45\u4e86\u3002\u6211\u53d1\u73b0\uff0cAi Agent \u6240\u6709\u6a21\u5757\u67b6\u6784\u597d\u540e\uff0c\u5269\u4e0b\u7684\u5c31\u662f Prompt \u63d0\u793a\u8bcd\u8d28\u91cf\u7684\u5bf9\u6bd4\u3002<strong>Prompt = Ai Agent \u5927\u8111\uff01<\/strong> \u76ee\u524d\u5c0f\u5085\u54e5\u6f14\u793a\u7684\u8fd9\u5957\u81ea\u7814\u7684 Ai Agent \u5c31\u662f\u53cd\u590d\u4f18\u5316 Prompt \u7684\u7ed3\u679c\u3002<\/p>\n<h3>1. \u5bf9\u8bdd\u573a\u666f &#8211; \u901a\u7528\u573a\u666f<\/h3>\n<h4>1.1 \u622a\u56fe\u6548\u679c<\/h4>\n<p>\u200b    <img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047168027\" alt=\"img\" title=\"img\" loading=\"lazy\"><\/p>\n<p>\u5de6\u4fa7\u662fAI\u601d\u8003\u6267\u884c\u8fc7\u7a0b\uff0c\u53f3\u4fa7\u662f\u6700\u7ec8\u6267\u884c\u7ed3\u679c\u3002\u901a\u8fc7\u6211\u4eec\u7684\u63d0\u95ee\uff0cAI Agent \u8fdb\u884c<code>\u5206\u6790<\/code>\u3001<code>\u89c4\u5212<\/code>\u3001<code>\u6267\u884c<\/code>\u3001<code>\u76d1\u7763<\/code>\uff0c\u518d\u5230\u6700\u7ec8\u7684\u7ed3\u679c\u4ea7\u751f\u3002\u6709\u4e86\u8fd9\u6837\u7684\u6b65\u9aa4\uff0c\u6700\u7ec8\u7684\u603b\u7ed3\u9636\u6bb5\u6570\u636e\u5c31\u4f1a\u66f4\u52a0\u51c6\u786e\u3002<\/p>\n<h4>1.2 \u89c6\u9891\u6548\u679c\uff08\u5bf9\u6bd4\u6263\u5b50\uff09<\/h4>\n<p>\u5360\u4f4d\u7b26\uff01\uff01<\/p>\n<h3>2. \u65e5\u5fd7\u5206\u6790 &#8211; ELK \u8f85\u52a9\u63d0\u6548\uff08\u516c\u53f8\u91cc\u975e\u5e38\u9700\u8981\u8fd9\u6837\u7684\u573a\u666f\uff09<\/h3>\n<h4>2.1 \u91c7\u96c6\u5206\u6790<\/h4>\n<p>\u200b    <img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047168028\" alt=\"img\" title=\"img\" loading=\"lazy\"><\/p>\n<p>\u5982\u56fe\uff0c\u662f\u4e00\u4e2a\u7cfb\u7edf\u65e5\u5fd7 ELK + Ai Agent \u7684\u8fd0\u884c\u7b80\u56fe\uff0c\u901a\u8fc7 MCP \u670d\u52a1\u7684\u5bf9\u63a5\uff0c\u8ba9 Ai Agent \u5177\u5907\u68c0\u7d22\u65e5\u5fd7\u7684\u80fd\u529b\uff0c\u518d\u7ed3\u5408\u5206\u6790\u8bdd\u672f\uff0c\u4ee5\u6b64\u6765\u5b8c\u6210\u65e5\u5fd7\u7684\u81ea\u52a8\u5316\u5206\u6790\u3002<\/p>\n<h4>2.2 \u6570\u636e\u6848\u4f8b<\/h4>\n<p>\u200b    <img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047168029\" alt=\"img\" title=\"img\" loading=\"lazy\"><\/p>\n<p>\u5728\u4e92\u8054\u7f51\u516c\u53f8\u4e2d\uff0c\u90fd\u4f1a\u6709\u4e00\u5957\u7c7b\u4f3c ELK \u7684\u5206\u5e03\u5f0f\u65e5\u5fd7\u7cfb\u7edf\uff0c\u4e4b\u540e\u5404\u4e2a\u5e94\u7528\u4f1a\u4e0a\u62a5\u6570\u636e\u3002\u7814\u53d1\u5728\u63a5\u6536\u5230\u7cfb\u7edf\u62a5\u8b66\u548c\u8fd0\u8425\u53cd\u9988\u7ebf\u4e0a\u95ee\u9898\u7684\u65f6\u5019\uff0c\u7814\u53d1\u5c31\u9700\u8981\u8fdb\u5165\u5230 ELK \u67e5\u770b\u7cfb\u7edf\u65e5\u5fd7\u7684\u60c5\u51b5\uff0c\u4ee5\u6b64\u5206\u6790\u7ebf\u4e0a\u95ee\u9898\u3002<\/p>\n<h4>2.3 \u667a\u80fd\u5206\u6790<\/h4>\n<p>\u200b    <img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047168030\" alt=\"img\" title=\"img\" loading=\"lazy\"><\/p>\n<p>\u901a\u8fc7 Ai Agent \u5206\u6790 ELK \u5e94\u7528\u7cfb\u7edf\u5206\u5e03\u5f0f\u65e5\u5fd7\uff0c\u81ea\u52a8\u6392\u9664\u51fa\u9650\u6d41\u7528\u6237\u7684\u76f8\u5173\u4fe1\u606f\uff0c\u6765\u8f85\u52a9\u7814\u53d1\u65e5\u5e38\u5de5\u4f5c\u63d0\u6548\u3002<\/p>\n<h2>\u4e8c\u3001\u7cfb\u7edf\u8bbe\u8ba1 &#8211; \u8fd9\u662f\u4e00\u4e2a\u6b63\u7ecf\u9879\u76ee\uff01<\/h2>\n<p>Ai Agent \u4f1a\u7684\u6a21\u578b\u67b6\u6784\u4f1a\u8d8b\u5411\u7a33\u5b9a\u5e76\u5f62\u6210\u6807\u51c6\uff0c\u4e4b\u540e\u4fbf\u662f Prompt + MCP + Client \u591a\u94fe\u8def\u52a8\u6001\u6267\u884c\u8fed\u4ee3\u548c\u4f18\u5316\u3002\u6240\u4ee5\uff0c\u628a\u67b6\u6784\u5b9a\u4e49\u597d\uff0c\u5177\u5907\u5f3a\u6269\u5c55\u6027\u662f\u975e\u5e38\u6709\u5fc5\u8981\u7684\uff0c\u4e5f\u662f\u7a0b\u5e8f\u5458\ud83d\udc68\ud83c\udffb\u200d\ud83d\udcbb\u5de5\u4f5c\u4ef7\u503c\u7684\u4f53\u73b0\u3002\u2014\u2014 \u5806\u529f\u80fd\u53ea\u7b49\u4e8e demo \u6848\u4f8b\uff0c\u9a7e\u9a6d\u67b6\u6784\u89e3\u51b3\u590d\u6742\u95ee\u9898\u624d\u662f\u6838\u5fc3\u4ef7\u503c\u4f53\u73b0\uff01<\/p>\n<h3>1. \u5e93\u8868\u8bbe\u8ba1<\/h3>\n<p>\u200b    <img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047168031\" alt=\"img\" title=\"img\" loading=\"lazy\"><\/p>\n<p>\u200b    <img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047168032\" alt=\"img\" title=\"img\" loading=\"lazy\"><\/p>\n<ul>\n<li>\u8fd9\u91cc\u5c0f\u5085\u54e5\u8bbe\u8ba1\u4e86\u4e00\u5957\u975e\u5e38\u7075\u6d3b\u7684 Ai Agent \u5e93\u8868\u7ed3\u6784\uff0c\u6ee1\u8db3\u52a8\u6001\u914d\u7f6e\u5404\u9879\u8d44\u6e90\uff0c\u518d\u7531\u7a0b\u5e8f\u52a8\u6001\u5316\u7684\u968f\u65f6\u52a0\u8f7d\u548c\u4f7f\u7528\u3002<\/li>\n<li>\u6709\u4e86\u8fd9\u6837\u7684\u5e93\u8868\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u6309\u9700\u914d\u7f6e\u51fa\u591a\u79cd\u4f7f\u7528\u7c7b\u578b\u7684 Ai Agent\uff0c\u4e4b\u540e\u5bf9\u8bdd\u6216\u8005 Job \u4efb\u52a1\u65b9\u5f0f\u6267\u884c\u4f7f\u7528\u3002<\/li>\n<\/ul>\n<h3>2. \u6570\u636e\u52a0\u8f7d<\/h3>\n<p>\u5982\u56fe\uff0c\u6574\u4f53 ChatClient \u5ba2\u6237\u7aef\u5b9e\u4f8b\u5316\u8fc7\u7a0b\uff1b<\/p>\n<p>\u200b    <img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047168033\" alt=\"img\" title=\"img\" loading=\"lazy\"><\/p>\n<ul>\n<li>\u9996\u5148\uff0c\u4ee5\u6784\u5efa AiClientNode \u7684\u5bf9\u8bdd\u5ba2\u6237\u7aef\u4e3a\u76ee\u7684\uff0c\u5df2\u7ecf\u5b8c\u6210\u4e86\u76f8\u5173\u7684\u5143\u7d20\u5b9e\u4f8b\u5316\u6b65\u9aa4\u3002\u672c\u8282\u8fd9\u91cc\u8981\u5904\u7406\u7684\u662f\uff0c\u987e\u95ee\u89d2\u8272\u7684\u6784\u5efa\uff0c\u4ee5\u53ca\u6784\u5efa AiClientNode \u8282\u70b9\u3002<\/li>\n<li>\u4e4b\u540e\uff0cAiClientNode \u7684\u6784\u5efa\uff0c\u662f\u5173\u8054\u4e86\u5176\u4ed6\u5404\u9879\u5143\u7d20\u7684\uff0c\u6240\u4ee5\u5728\u6784\u5efa\u65f6\uff0c\u9700\u8981\u5728 AiClientNode \u8282\u70b9\uff0c\u4ece Spring \u5bb9\u5668\u901a\u8fc7 getBean \u7684\u65b9\u5f0f\uff0c\u68c0\u7d22\u5230\u5bf9\u5e94\u7684\u5404\u9879\u5143\u7d20\u3002<\/li>\n<li>\u6ce8\u610f\uff0cai_client_system_prompt \u7cfb\u7edf\u63d0\u793a\u8bcd\uff0c\u9700\u8981\u4fee\u6539\u4e3a Map \u7ed3\u6784\u6570\u636e\u3002\u8fd9\u6837\u66f4\u65b9\u4fbf\u6211\u4eec\u4ece\u6570\u636e\u91cc\u83b7\u53d6\uff0c\u54ea\u4e9b\u662f\u5c5e\u4e8e\u5f53\u524d AiClientNode \u6784\u5efa\u65f6\u6240\u9700\u7684\u5143\u7d20\u3002<\/li>\n<\/ul>\n<h3>3. \u6267\u884c\u5206\u6790<\/h3>\n<p>\u5982\u56fe\uff0c\u4e0d\u540c\u65b9\u6848\u5b9e\u73b0\u7684 Agent \u6d41\u7a0b\uff1b<\/p>\n<p>\u200b    <img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047168034\" alt=\"img\" title=\"img\" loading=\"lazy\"><\/p>\n<p>Ai Agent \u7684\u5904\u7406\u8fc7\u7a0b\u4e5f\u662f\u5206\u4e3a\u51e0\u7c7b\u7684\uff0c\u7528\u4e8e\u9002\u5e94\u4e0d\u540c\u7684\u573a\u666f\u4f7f\u7528\uff1b<\/p>\n<ol>\n<li>\u56fa\u5b9aN\u4e2a\u6b65\u9aa4\uff0c\u8fd9\u7c7b\u7684\u4e00\u822c\u662f\u914d\u7f6e\u5de5\u4f5c\u6d41\u7684\uff0c\u63d0\u9ad8\u4efb\u52a1\u6267\u884c\u7684\u51c6\u786e\u6027\u3002\u5982\uff0c\u4e00\u4e9b\u68c0\u7d22\u8d44\u6599\u3001\u53d1\u9001\u5e16\u5b50\u3001\u5904\u7406\u901a\u77e5\u7b49\u3002<\/li>\n<li>\u987a\u5e8f\u5faa\u73af\u8c03\u7528\uff0c\u914d\u7f6e Agent \u8981\u6267\u884c\u7684\u591a\u4e2a Client \u7aef\uff0c\u4ee5\u6b64\u987a\u5e8f\u6267\u884c\u3002\u9002\u5408\u4e00\u4e9b\u7b80\u5355\u7684\u4efb\u52a1\u5173\u7cfb\uff0c\u5e76\u5df2\u7ecf\u5206\u914d\u597d\u7684\u52a8\u4f5c\uff0c\u7c7b\u4f3c\u4e8e1\u7684\u65b9\u5f0f\u3002<\/li>\n<li>\u667a\u80fd\u52a8\u6001\u51b3\u7b56\uff0c\u8fd9\u7c7b\u662f\u76ee\u524d\u5e02\u9762\u63d0\u4f9b\u7ed9\u5927\u5bb6\u4f7f\u7528\u7684 Agent \u6bd4\u8f83\u5e38\u89c1\u7684\u5b9e\u73b0\u65b9\u5f0f\uff0c\u5b83\u4f1a\u52a8\u6001\u7684\u89c4\u5212\u6267\u884c\u52a8\u4f5c\uff0c\u5b8c\u6210\u884c\u52a8\u6b65\u9aa4\uff0c\u89c2\u5bdf\u6267\u884c\u7ed3\u679c\uff0c\u5224\u65ad\u5b8c\u6210\u72b6\u6001\u548c\u6b65\u9aa4\u3002\u5e76\u6700\u7ec8\u7ed9\u51fa\u7ed3\u679c\u3002<\/li>\n<\/ol>\n<h3>4. \u529f\u80fd\u67b6\u6784<\/h3>\n<p>\u5982\u56fe\uff0c\u4eceAgent\u670d\u52a1\u7684\u88c5\u914d\u5230\u63a5\u53e3\u8c03\u7528\u548c\u54cd\u5e94\u7684\u5173\u7cfb\u56fe\uff1b<\/p>\n<p>\u200b    <img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047168035\" alt=\"img\" title=\"img\" loading=\"lazy\"><\/p>\n<ul>\n<li>\u4ee5\u7a0b\u5e8f\u542f\u52a8\u4e3a\u5f00\u59cb\uff0c\u8fdb\u884c\u81ea\u52a8\u5316\u88c5\u914d\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u6211\u4eec\u5148\u628a\u4e00\u4e9b\u60f3\u9884\u5148\u542f\u52a8\u7684\u6570\u636e\u5e93\u4e2d\u7684 agent \u914d\u7f6e\u6240\u9700\u7684 client \u5ba2\u6237\u7aef\u8fdb\u884c\u670d\u52a1\u521d\u59cb\u5316\u3002\u4e4b\u540e\u5199\u5165\u5230 Spring \u5bb9\u5668\uff0c\u65b9\u4fbf\u5728\u6267\u884c Agent \u65f6\u8fdb\u884c\u4f7f\u7528\u3002<code>\u524d\u9762\u6709\u4f19\u4f34\u95ee\uff0c\u4e3a\u4ec0\u4e48\u628a\u5b9e\u4f8b\u5316\u7684\u5bf9\u8c61\u5199\u5165\u5230 Spring \u5bb9\u5668\uff0c\u8fd9\u91cc\u5c31\u662f\u539f\u56e0<\/code><\/li>\n<li>\u5ba2\u6237\u7aef\uff08UI\uff09\uff0c\u8fdb\u884c POST \u63a5\u53e3\u8bf7\u6c42\uff0c\u8fd9\u4e2a\u8fc7\u7a0b\u9700\u8981\u5c01\u88c5\u4e00\u4e2a SSE \u6d41\u5f0f\u54cd\u5e94\u7684\u63a5\u53e3\uff0c\u8ba9 Step 1~4 \u5404\u4e2a\u6267\u884c\u6b65\u9aa4\uff0c\u628a\u8fc7\u7a0b\u4fe1\u606f\u5199\u5165\u5230\u6d41\u5f0f\u63a5\u53e3\u3002\u8fd9\u91cc\u8981\u6ce8\u610f\uff0c\u9700\u8981\u7ed9\u63a5\u53e3\u8fd4\u56de\u7684<strong>\u5bf9\u8c61<\/strong>\u6dfb\u52a0\u4e0a\u5bf9\u5e94\u7684\u7c7b\u578b\uff08\u4ec0\u4e48\u6b65\u9aa4\u3001\u4ec0\u4e48\u8282\u70b9\u3001\u4ec0\u4e48\u8fc7\u7a0b\uff09\uff0c\u4ee5\u4fbf\u4e8e\u53cd\u9988\u7ed9\u7528\u6237 Agent \u5728\u505a\u4ec0\u4e48\u3002<\/li>\n<\/ul>\n<h2>\u4e09\u3001\u8bfe\u7a0b\u76ee\u5f55<\/h2>\n<p>\u6574\u4e2a\u8bfe\u7a0b\u52063\u4e2a\u9636\u6bb5\u8bb2\u89e3\uff0c\u5305\u62ec\uff1bRAG\u3001MCP\uff0c\u4e4b\u540e\u8fdb\u5165 Agent \u9636\u6bb5\u7684\u5b66\u4e60\u3002\u524d\u9762\u6253\u597d\u57fa\u7840\uff0c\u540e\u9762\u8fdb\u5165\u5e94\u7528\u3002\u54ea\u6015\u662f\u5c0f\u767d\uff0c\u4e5f\u53ef\u4ee5\u8ddf\u7740\u4e00\u8d77\u5b9e\u6218\u8d77\u6765\uff0c\u800c\u4e14\u6bcf\u4e2a\u9636\u6bb5\u90fd\u6709\u90e8\u7f72\u8fd0\u884c\u6548\u679c\uff0c\u8d8a\u5b66\u8d8a\u723d\u3002<\/p>\n<p>\u9879\u76ee\u5730\u5740\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=jiaLf7fVAPRc5VGAwVvT2w%3D%3D.NZOX2fIo36MgAoI5GBqMMunICGvccey%2Bc1%2FC45RKHa4%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/t.zsxq.com\/GwNZp<\/a><\/p>\n<p>\u200b    <img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047168036\" alt=\"img\" title=\"img\" loading=\"lazy\"><\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000047168025\">https:\/\/segmentfault.com\/a\/1190000047168025<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u8005\uff1a\u5c0f\u5085\u54e5 \u535a\u5ba2\uff1ahttps:\/\/bugstack.cn \u6c89\u6dc0\u3001\u5206\u4eab\u3001\u6210\u957f\uff0c\u8ba9\u81ea\u5df1\u548c\u4ed6\u4eba\u90fd\u80fd\u6709\u6240\u6536\u83b7\uff01\ud83d\ude04 \u5927 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10020969","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10020969","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10020969"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10020969\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10020969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10020969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10020969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}