{"id":83474,"date":"2026-07-25T23:50:37","date_gmt":"2026-07-25T15:50:37","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/83474.html"},"modified":"2026-07-25T23:50:37","modified_gmt":"2026-07-25T15:50:37","slug":"%e8%ae%a9-ai-agent-%e7%9c%8b%e7%ba%a2%e7%bb%bf%e7%81%af%ef%bc%9a%e5%ae%83%e5%ae%8c%e7%be%8e%e6%89%a7%e8%a1%8c%e4%ba%86%e4%bb%bb%e5%8a%a1%ef%bc%8c%e6%88%91%e5%8d%b4%e5%b4%a9%e6%ba%83%e4%ba%86","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/83474.html","title":{"rendered":"\u8ba9 AI Agent \u770b\u7ea2\u7eff\u706f\uff1a\u5b83\u5b8c\u7f8e\u6267\u884c\u4e86\u4efb\u52a1\uff0c\u6211\u5374\u5d29\u6e83\u4e86"},"content":{"rendered":"<h2>OpenRY Day 3&#xff1a;\u6211\u5bf9&#034;\u786c\u4ee3\u7801\u63a7\u5236\u7684\u672c\u8d28\u2014\u2014\u72b6\u6001\u673a\u9a71\u52a8&#034;\u7684\u7406\u89e3<\/h2>\n<p>\u672c\u6587\u662f OpenRY \u9879\u76ee\u5f00\u53d1\u65e5\u5fd7\u7684\u7b2c\u4e09\u7bc7\u3002\u524d\u4e24\u5929\u6211\u4eec\u804a\u4e86\u547d\u4ee4\u8f6c\u53d1\u548c\u7f16\u6392\u5f15\u64ce\u7684\u9aa8\u67b6&#xff0c;\u4eca\u5929\u6211\u60f3\u6362\u4e2a\u89d2\u5ea6\u2014\u2014\u4e0d\u518d\u7f57\u5217&#034;\u505a\u4e86\u4ec0\u4e48&#034;&#xff0c;\u800c\u662f\u901a\u8fc7\u51e0\u4e2a\u771f\u5b9e\u7684 Workflow \u6848\u4f8b&#xff0c;\u804a\u804a\u6211\u9010\u6e10\u7406\u89e3\u7684\u4e00\u4ef6\u4e8b&#xff1a;\u7528\u72b6\u6001\u673a\u7ea6\u675f AI Agent&#xff0c;\u5230\u5e95\u610f\u5473\u7740\u4ec0\u4e48\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u4e2a\u8ba9\u6211\u6123\u4f4f\u7684\u77ac\u95f4<\/h3>\n<p>\u6628\u5929\u6df1\u591c&#xff0c;\u6211\u76ef\u7740\u7ec8\u7aef\u770b\u4e00\u4e2a\u6d4b\u8bd5\u8dd1\u5b8c\u3002<\/p>\n<p>\u662f\u4e00\u4e2a\u53eb test_failed_retry \u7684 Workflow\u3002\u5b83\u505a\u7684\u4e8b\u60c5\u5f88\u7b80\u5355&#xff1a;\u8ba9 Agent \u8fde\u7eed\u62a5\u56db\u6b21&#034;\u6211\u5931\u8d25\u4e86&#034;\u3002<\/p>\n<p>\u7b2c\u4e00\u6b21\u62a5\u5931\u8d25&#xff0c;\u7cfb\u7edf\u56de\u4e86\u53e5&#034;\u518d\u8bd5\u4e00\u6b21&#xff08;1\/2&#xff09;\u201c\u3002\u7b2c\u4e8c\u6b21\u62a5\u5931\u8d25&#xff0c;\u7cfb\u7edf\u8bf4&#034;\u518d\u8bd5\u4e00\u6b21&#xff08;2\/2&#xff09;\u201d\u3002\u7b2c\u4e09\u6b21\u2014\u2014Agent \u8fd8\u60f3\u62a5\u5931\u8d25\u2014\u2014\u4f46\u8fd9\u4e00\u6b21&#xff0c;\u8fd4\u56de\u7684\u5185\u5bb9\u53d8\u4e86\u3002\u4e0d\u662f&#034;\u518d\u8bd5\u4e00\u6b21&#034;&#xff0c;\u800c\u662f&#034;\u91cd\u8bd5\u673a\u4f1a\u5df2\u7528\u5b8c&#xff0c;\u6b64\u6b65\u9aa4\u5df2\u7ec8\u6b62&#034;\u3002<\/p>\n<p>Agent \u4e0d\u6b7b\u5fc3&#xff0c;\u53c8\u8bd5\u4e86\u7b2c\u56db\u6b21\u3002<\/p>\n<p>\u8fd9\u4e00\u6b21&#xff0c;\u5b83\u751a\u81f3\u6ca1\u80fd\u5b8c\u6210&#034;\u62a5\u5931\u8d25&#034;\u8fd9\u4e2a\u52a8\u4f5c\u3002\u7cfb\u7edf\u76f4\u63a5\u62e6\u4f4f\u4e86\u5b83&#xff1a;\u201c\u26d4 STOP&#xff1a;\u5f53\u524d\u72b6\u6001\u4e0d\u5141\u8bb8\u64cd\u4f5c\u3002\u201d<\/p>\n<p>\u6211\u76ef\u7740\u90a3\u884c\u8f93\u51fa\u770b\u4e86\u5927\u6982\u5341\u79d2\u949f\u3002<\/p>\n<p>\u4e0d\u662f\u56e0\u4e3a\u60ca\u8bb6\u2014\u2014\u8fd9\u4e2a\u884c\u4e3a\u662f\u6211\u4eb2\u624b\u8bbe\u8ba1\u7684&#xff0c;\u6bcf\u4e00\u884c\u903b\u8f91\u6211\u90fd\u6e05\u695a\u3002\u8ba9\u6211\u6123\u4f4f\u7684\u662f\u53e6\u4e00\u4ef6\u4e8b&#xff1a;Agent \u5728\u90a3\u4e00\u523b\u7684\u8868\u73b0\u3002 \u5b83\u6ca1\u6709\u56f0\u60d1&#xff0c;\u6ca1\u6709\u6297\u8bae&#xff0c;\u6ca1\u6709\u8bd5\u56fe&#034;\u521b\u9020\u6027&#034;\u5730\u7ed5\u8fc7\u9650\u5236\u3002\u5b83\u5c31\u90a3\u4e48\u5b89\u9759\u5730\u505c\u4e86\u3002\u50cf\u4e00\u4e2a\u88ab\u7ea2\u7eff\u706f\u62e6\u4f4f\u7684\u53f8\u673a\u2014\u2014\u4e0d\u662f\u56e0\u4e3a\u4ed6\u4e0d\u60f3\u95ef\u7ea2\u706f&#xff0c;\u800c\u662f\u56e0\u4e3a\u89c4\u5219\u4e0d\u662f\u5199\u5728\u4ed6\u8111\u5b50\u91cc\u7684&#xff0c;\u662f\u523b\u5728\u8def\u53e3\u7684\u3002<\/p>\n<p>\u90a3\u4e00\u523b\u6211\u7a81\u7136\u610f\u8bc6\u5230&#xff1a;\u6211\u4eec\u505a\u7684\u4e0d\u662f\u4e00\u4e2a&#034;\u66f4\u806a\u660e\u7684 prompt&#034;&#xff0c;\u6211\u4eec\u505a\u7684\u662f\u4e00\u4e2a\u72b6\u6001\u673a\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725155033-6a64db498fe83.png\" alt=\"\u8bf7\u6dfb\u52a0\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h3>\u7ea2\u706f&#xff0c;\u7eff\u706f&#xff0c;\u548c\u4e00\u4e2a\u5d29\u6e83\u7684\u4eba<\/h3>\n<p>\u5728\u7ee7\u7eed\u804a\u72b6\u6001\u673a\u4e4b\u524d&#xff0c;\u6211\u60f3\u5148\u8bb2\u4e00\u4e2a\u6545\u4e8b\u3002<\/p>\n<p>\u5047\u8bbe\u4f60\u627e\u4e86\u4e00\u4e2a\u4eba&#xff0c;\u4ea4\u7ed9\u4ed6\u4e00\u4e2a\u7b80\u5355\u7684\u4efb\u52a1&#xff1a;<\/p>\n<p>\u201c\u4f60\u7684\u5de5\u4f5c\u662f\u770b\u90a3\u76cf\u706f\u3002\u5982\u679c\u7ea2\u706f\u4eae\u4e86&#xff0c;\u5c31\u544a\u8bc9\u6211\u2019\u5931\u8d25\u4e86\u2019\u3002\u5982\u679c\u7eff\u706f\u4eae\u4e86&#xff0c;\u5c31\u544a\u8bc9\u6211\u2019\u6210\u529f\u4e86\u2019\u3002\u660e\u767d\u5417&#xff1f;\u201d<\/p>\n<p>&#034;\u660e\u767d\u3002&#034;\u4ed6\u56de\u7b54\u5f97\u5f88\u5e72\u8106\u3002<\/p>\n<p>\u8fc7\u4e86\u4e00\u4f1a&#xff0c;\u7ea2\u706f\u4eae\u4e86\u3002<\/p>\n<p>&#034;\u5931\u8d25\u4e86&#xff01;&#034;\u4ed6\u5927\u58f0\u544a\u8bc9\u4f60\u3002<\/p>\n<p>\u4f60\u8fd8\u6ca1\u6765\u5f97\u53ca\u8bf4\u8bdd&#xff0c;\u4ed6\u53c8\u8865\u4e86\u4e00\u53e5&#xff1a;\u201c\u6211\u6210\u529f\u5b8c\u6210\u4e86\u4efb\u52a1&#xff01;\u201d<\/p>\n<p>\u4f60\u6123\u4e86\u4e00\u4e0b\u3002\u4ed6\u8bf4\u5f97\u5bf9\u5417&#xff1f;\u4f60\u8ba9\u4ed6\u770b\u5230\u7ea2\u706f\u5c31\u558a&#034;\u5931\u8d25\u4e86&#034;&#xff0c;\u4ed6\u558a\u4e86\u3002\u7136\u540e\u4ed6\u89c9\u5f97\u81ea\u5df1\u5b8c\u7f8e\u6267\u884c\u4e86\u4f60\u7684\u6307\u4ee4&#xff0c;\u6240\u4ee5\u53c8\u6c47\u62a5\u4e86&#034;\u6211\u6210\u529f\u4e86&#034;\u2014\u2014\u8fd9\u91cc\u7684&#034;\u6210\u529f&#034;&#xff0c;\u6307\u7684\u662f&#034;\u6211\u6210\u529f\u5b8c\u6210\u4e86\u4f60\u4ea4\u7ed9\u6211\u7684\u89c2\u5bdf\u4efb\u52a1&#034;&#xff0c;\u800c\u4e0d\u662f&#034;\u706f\u662f\u7eff\u7684&#034;\u3002<\/p>\n<p>\u4ed6\u6ca1\u6709\u8bf4\u9519\u4efb\u4f55\u4e00\u53e5\u8bdd\u3002\u4f46\u4f60\u5df2\u7ecf\u4e0d\u77e5\u9053\u4efb\u52a1\u5230\u5e95\u662f\u6210\u529f\u4e86\u8fd8\u662f\u5931\u8d25\u4e86\u3002<\/p>\n<p>\u4f60\u6c89\u9ed8\u4e86\u51e0\u79d2&#xff0c;\u5728\u60f3\u600e\u4e48\u56de\u5e94\u3002\u4f46\u4ed6\u628a\u4f60\u7684\u6c89\u9ed8\u7406\u89e3\u6210\u4e86&#034;\u6ca1\u542c\u5230&#034;\u3002<\/p>\n<p>&#034;\u6211\u6210\u529f\u4e86&#xff01;&#034;\u4ed6\u53c8\u558a\u4e86\u4e00\u904d\u3002<\/p>\n<p>\u4f60\u8fd8\u662f\u6ca1\u8bf4\u8bdd\u3002<\/p>\n<p>\u201c\u6210\u529f\u4e86&#xff01;\u6210\u529f\u4e86&#xff01;\u6210\u529f\u4e86&#xff01;&#xff01;\u4f60\u5230\u5e95\u542c\u5230\u6ca1\u6709&#xff1f;&#xff01;\u201d<\/p>\n<p>\u4ed6\u5d29\u6e83\u4e86\u3002\u4f60\u4e5f\u5d29\u6e83\u4e86\u3002<\/p>\n<hr \/>\n<p>\u8fd9\u4e2a\u6545\u4e8b\u542c\u8d77\u6765\u8352\u8bde&#xff0c;\u4f46\u5b83\u7cbe\u51c6\u5730\u63cf\u8ff0\u4e86\u5f53\u6211\u4eec\u53ea\u7528\u81ea\u7136\u8bed\u8a00\u4e0e AI Agent \u4ea4\u4e92\u65f6\u53d1\u751f\u7684\u4e24\u4ef6\u4e8b&#xff1a;<\/p>\n<p>\u7b2c\u4e00&#xff0c;\u81ea\u7136\u8bed\u8a00\u5929\u7136\u6709\u6b67\u4e49\u3002 \u201c\u5931\u8d25&#034;\u53ef\u4ee5\u6307&#034;\u706f\u662f\u7ea2\u7684\u201d&#xff08;\u4efb\u52a1\u72b6\u6001&#xff09;&#xff0c;\u4e5f\u53ef\u4ee5\u6307&#034;\u6211\u6ca1\u80fd\u5b8c\u6210\u89c2\u5bdf&#034;&#xff08;\u6267\u884c\u72b6\u6001&#xff09;\u3002Agent \u8bf4&#034;\u6211\u5b8c\u6210\u4e86&#034;&#xff0c;\u5b83\u53ef\u80fd\u662f\u5728\u8bf4&#034;\u6211\u5b8c\u6210\u4e86\u4e0a\u62a5\u52a8\u4f5c&#034;&#xff0c;\u800c\u4f60\u4ee5\u4e3a\u5b83\u5728\u8bf4&#034;\u4efb\u52a1\u5b8c\u6210\u4e86&#034;\u3002\u540c\u4e00\u4e2a\u8bcd&#xff0c;\u4e24\u79cd\u7406\u89e3&#xff0c;\u8c01\u90fd\u89c9\u5f97\u81ea\u5df1\u6ca1\u95ee\u9898\u3002<\/p>\n<p>\u7b2c\u4e8c&#xff0c;\u7f3a\u5c11\u5373\u65f6\u3001\u660e\u786e\u7684\u53cd\u9988\u3002 \u5728\u90a3\u4e2a\u6545\u4e8b\u91cc&#xff0c;\u5982\u679c\u6211\u5728\u4ed6\u7b2c\u4e00\u6b21\u558a&#034;\u5931\u8d25\u4e86&#034;\u7684\u65f6\u5019&#xff0c;\u7acb\u523b\u56de\u4e00\u53e5&#034;\u6536\u5230&#xff0c;\u4efb\u52a1\u5931\u8d25&#xff0c;\u8bf7\u91cd\u65b0\u5c1d\u8bd5&#034;\u2014\u2014\u4ed6\u4e0d\u4f1a\u8865\u540e\u9762\u90a3\u53e5&#034;\u6211\u6210\u529f\u4e86&#034;&#xff0c;\u66f4\u4e0d\u4f1a\u6b47\u65af\u5e95\u91cc\u3002\u4f46\u81ea\u7136\u8bed\u8a00\u5bf9\u8bdd\u91cc&#xff0c;\u6c89\u9ed8\u672c\u8eab\u5c31\u662f\u4e00\u79cd\u4fe1\u606f\u2014\u2014\u800c Agent \u4f1a\u628a\u6c89\u9ed8\u89e3\u8bfb\u4e3a&#034;\u6ca1\u542c\u5230&#034;&#xff0c;\u7136\u540e\u91cd\u590d\u3002\u91cd\u590d\u8fd8\u662f\u6ca1\u53cd\u5e94&#xff0c;\u5c31\u52a0\u5927\u97f3\u91cf\u3002\u52a0\u5927\u97f3\u91cf\u8fd8\u662f\u6ca1\u53cd\u5e94&#xff0c;\u5c31\u5d29\u6e83\u3002<\/p>\n<p>\u8fd9\u4e0d\u662f Agent \u7684\u9519\u3002\u662f\u6211\u4eec\u628a\u4e00\u4ef6\u9700\u8981\u7cbe\u786e\u534f\u8bae\u7684\u4e8b\u60c5&#xff0c;\u4ea4\u7ed9\u4e86\u6a21\u7cca\u7684\u81ea\u7136\u8bed\u8a00\u3002<\/p>\n<hr \/>\n<p>\u800c\u72b6\u6001\u673a\u505a\u7684\u4e8b&#xff0c;\u6070\u6070\u5c31\u662f\u89e3\u51b3\u8fd9\u4e24\u4e2a\u95ee\u9898\u3002<\/p>\n<p>\u5b83\u7528\u7ed3\u6784\u5316\u7684\u72b6\u6001\u503c\u53d6\u4ee3\u81ea\u7136\u8bed\u8a00\u7684\u6a21\u7cca\u63cf\u8ff0\u3002failed \u5c31\u662f failed&#xff0c;completed \u5c31\u662f completed&#xff0c;\u4e0d\u5b58\u5728&#034;\u6211\u8bf4\u5931\u8d25\u4e86\u4f46\u5176\u5b9e\u6211\u6210\u529f\u4e86&#034;\u7684\u6b67\u4e49\u7a7a\u95f4\u3002<\/p>\n<p>\u5b83\u7528\u5373\u65f6\u7684\u72b6\u6001\u8dc3\u8fc1\u53d6\u4ee3\u6c89\u9ed8\u3002Agent \u62a5 failed \u2192 \u7cfb\u7edf\u7acb\u523b\u8fd4\u56de action: retry_same_session\u3002Agent \u62a5 completed \u2192 \u7cfb\u7edf\u7acb\u523b\u8fd4\u56de action: validated\u3002\u6bcf\u4e00\u6b21\u4e0a\u62a5\u90fd\u6709\u786e\u5b9a\u7684\u3001\u5373\u65f6\u7684\u3001\u4e0d\u5bb9\u8bef\u89e3\u7684\u54cd\u5e94\u3002<\/p>\n<p>\u56de\u5230\u521a\u624d\u90a3\u4e2a\u6545\u4e8b\u2014\u2014\u5982\u679c\u6211\u4eec\u7ed9\u90a3\u4e2a\u770b\u706f\u7684\u4eba\u4e00\u4e2a\u72b6\u6001\u673a\u754c\u9762&#xff0c;\u4e8b\u60c5\u4f1a\u53d8\u6210\u8fd9\u6837&#xff1a;<\/p>\n<p>\u7ea2\u706f\u4eae \u2192 \u4ed6\u6309\u4e0b&#034;\u5931\u8d25&#034;\u6309\u94ae \u2192 \u5c4f\u5e55\u7acb\u523b\u663e\u793a&#xff1a;\u201c\u5df2\u8bb0\u5f55&#xff1a;\u5931\u8d25\u3002\u8bf7\u91cd\u65b0\u89c2\u5bdf\u3002\u201d<\/p>\n<p>\u7eff\u706f\u4eae \u2192 \u4ed6\u6309\u4e0b&#034;\u6210\u529f&#034;\u6309\u94ae \u2192 \u5c4f\u5e55\u7acb\u523b\u663e\u793a&#xff1a;\u201c\u5df2\u8bb0\u5f55&#xff1a;\u6210\u529f\u3002\u4efb\u52a1\u7ed3\u675f\u3002\u201d<\/p>\n<p>\u4ed6\u4e0d\u9700\u8981\u558a\u3002\u4ed6\u4e0d\u9700\u8981\u731c\u4f60\u6709\u6ca1\u6709\u542c\u5230\u3002\u4ed6\u66f4\u4e0d\u9700\u8981\u8865\u5145\u8bf4\u660e&#034;\u6211\u6210\u529f\u4e86&#034;\u2014\u2014\u56e0\u4e3a\u6309\u94ae\u6309\u4e0b\u53bb\u7684\u90a3\u4e00\u523b&#xff0c;\u53cd\u9988\u662f\u5373\u65f6\u7684\u3001\u786e\u5b9a\u7684\u3001\u6ca1\u6709\u6b67\u4e49\u7684\u3002<\/p>\n<p>\u8fd9\u5c31\u662f prompt \u548c\u72b6\u6001\u673a\u7684\u533a\u522b\u3002prompt \u662f\u4f60\u7ed9 Agent \u4e00\u672c\u5458\u5de5\u624b\u518c&#xff0c;\u6307\u671b\u5b83\u8bb0\u4f4f\u6bcf\u4e00\u9875\u3002\u72b6\u6001\u673a\u662f\u4f60\u7ed9\u6bcf\u4e2a\u64cd\u4f5c\u88c5\u4e0a\u5237\u5361\u5668\u2014\u2014\u5237\u5361\u5668\u4e0d\u8ddf\u4f60\u5546\u91cf&#xff0c;\u4f46\u5b83\u4e5f\u6c38\u8fdc\u4e0d\u4f1a\u8bef\u89e3\u4f60\u3002<\/p>\n<p>\u5728 .openry\/workflows\/ \u4e0b&#xff0c;test_failed_retry.yaml \u7528\u4e24\u884c\u914d\u7f6e\u9a8c\u8bc1\u4e86\u8fd9\u4ef6\u4e8b&#xff1a;<\/p>\n<p><span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">id<\/span><span class=\"token punctuation\">:<\/span> fail_multiple_times<br \/>\n  <span class=\"token key atrule\">kind<\/span><span class=\"token punctuation\">:<\/span> agent<br \/>\n  <span class=\"token key atrule\">on_failure<\/span><span class=\"token punctuation\">:<\/span> retry<br \/>\n  <span class=\"token key atrule\">max_sub_step_retries<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">2<\/span><\/p>\n<p>on_failure: retry \u5b9a\u4e49\u4e86\u4e00\u6761\u72b6\u6001\u8f6c\u79fb\u5f27\u7ebf\u2014\u2014\u4ece failed \u56de\u5230 in_progress\u3002max_sub_step_retries: 2 \u5b9a\u4e49\u4e86\u8fd9\u6761\u5f27\u7ebf\u6700\u591a\u80fd\u8d70\u51e0\u6b21\u3002\u4e24\u6b21\u4e4b\u540e&#xff0c;\u5f27\u7ebf\u6d88\u5931\u3002Agent \u7b2c\u4e09\u6b21\u6309\u4e0b&#034;\u5931\u8d25&#034;\u6309\u94ae\u65f6&#xff0c;\u5b83\u6536\u5230\u7684\u4e0d\u662f\u6c89\u9ed8&#xff0c;\u800c\u662f\u4e00\u4e2a\u786e\u5b9a\u7684\u3001\u4e0d\u53ef\u534f\u5546\u7684\u54cd\u5e94&#xff1a;\u201c\u6b64\u6b65\u9aa4\u5df2\u7ec8\u6b62\u3002\u201d<\/p>\n<hr \/>\n<h3>\u4e00\u4e2a\u8def\u7531\u5b9e\u9a8c<\/h3>\n<p>\u518d\u8bb2\u4e00\u4e2a\u66f4\u6709\u610f\u601d\u7684\u6848\u4f8b\u3002<\/p>\n<p>\u6211\u4eec\u6709\u4e00\u4e2a Workflow \u53eb test_when_routing&#xff0c;\u5b83\u6a21\u62df\u4e86\u8fd9\u6837\u4e00\u4e2a\u573a\u666f&#xff1a;Agent \u9700\u8981\u5224\u65ad\u5f53\u524d\u60c5\u51b5\u5c5e\u4e8e\u54ea\u4e00\u7c7b&#xff0c;\u7136\u540e\u4e0a\u62a5\u3002\u7cfb\u7edf\u6839\u636e\u4e0a\u62a5\u7ed3\u679c&#xff0c;\u81ea\u52a8\u51b3\u5b9a\u4e0b\u4e00\u6b65\u3002<\/p>\n<p>YAML \u91cc\u662f\u8fd9\u4e48\u5199\u7684&#xff1a;<\/p>\n<p><span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">id<\/span><span class=\"token punctuation\">:<\/span> check_category<br \/>\n  <span class=\"token key atrule\">kind<\/span><span class=\"token punctuation\">:<\/span> agent<br \/>\n  <span class=\"token key atrule\">description<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u5206\u6790\u5f53\u524d\u60c5\u51b5&#xff0c;\u4e0a\u62a5 category \u503c&#034;<\/span><br \/>\n  <span class=\"token key atrule\">validation_routing<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">when<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token key atrule\">type<\/span><span class=\"token punctuation\">:<\/span> payload_value_equals<br \/>\n        <span class=\"token key atrule\">key<\/span><span class=\"token punctuation\">:<\/span> category<br \/>\n        <span class=\"token key atrule\">value<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;safe&#034;<\/span><br \/>\n      <span class=\"token key atrule\">on_match<\/span><span class=\"token punctuation\">:<\/span> done<br \/>\n      <span class=\"token key atrule\">on_mismatch<\/span><span class=\"token punctuation\">:<\/span> handle_dangerous<br \/>\n      <span class=\"token key atrule\">on_mismatch_message<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u68c0\u6d4b\u5230\u98ce\u9669\u60c5\u51b5&#xff0c;\u9700\u8981\u7279\u6b8a\u5904\u7406&#034;<\/span><\/p>\n<p><span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">id<\/span><span class=\"token punctuation\">:<\/span> handle_dangerous<br \/>\n  <span class=\"token key atrule\">kind<\/span><span class=\"token punctuation\">:<\/span> agent<br \/>\n  <span class=\"token key atrule\">description<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u4f60\u88ab\u8def\u7531\u5230\u4e86\u98ce\u9669\u5904\u7406\u6b65\u9aa4&#034;<\/span><\/p>\n<p>\u6ce8\u610f\u4e00\u4e2a\u7ec6\u8282&#xff1a;Agent \u6839\u672c\u4e0d\u77e5\u9053 handle_dangerous \u8fd9\u4e2a\u6b65\u9aa4\u7684\u5b58\u5728\u3002 \u5728\u5b83\u7684\u89c6\u89d2\u91cc&#xff0c;\u5b83\u7684\u5de5\u4f5c\u5c31\u662f&#034;\u5206\u6790\u5f53\u524d\u60c5\u51b5&#xff0c;\u4e0a\u62a5 category \u503c&#034;\u3002\u62a5\u5b8c\u4e86&#xff0c;\u5b83\u7684\u4e8b\u5c31\u505a\u5b8c\u4e86\u3002<\/p>\n<p>\u81f3\u4e8e\u4e0a\u62a5\u4e4b\u540e\u4f1a\u53d1\u751f\u4ec0\u4e48\u2014\u2014\u662f\u76f4\u63a5\u7ed3\u675f&#xff0c;\u8fd8\u662f\u8fdb\u5165\u98ce\u9669\u5904\u7406\u6d41\u7a0b\u2014\u2014\u8fd9\u662f\u72b6\u6001\u673a\u7684\u4e8b&#xff0c;\u4e0d\u662f Agent \u7684\u4e8b\u3002<\/p>\n<p>\u6211\u4eec\u5728\u5b9e\u9a8c\u91cc\u6545\u610f\u8ba9 Agent \u62a5\u4e86\u4e00\u4e2a &#034;dangerous&#034;\u3002Agent \u62a5\u5b8c\u4e4b\u540e&#xff0c;\u7cfb\u7edf\u6ca1\u6709\u8bf4&#034;\u597d\u7684\u6536\u5230&#034;&#xff0c;\u800c\u662f\u81ea\u52a8\u628a\u5b83\u63a8\u5230\u4e86 handle_dangerous \u6b65\u9aa4\u3002Agent \u6536\u5230\u4e86\u4e00\u6761\u65b0\u6d88\u606f\u2014\u2014\u4e0d\u662f\u6765\u81ea\u4e0a\u4e00\u4e2a\u6b65\u9aa4\u7684\u5bf9\u8bdd\u5ef6\u7eed&#xff0c;\u800c\u662f\u6765\u81ea\u72b6\u6001\u673a\u7684\u4e00\u6b21\u72b6\u6001\u8dc3\u8fc1\u3002<\/p>\n<p>\u201c\u4f60\u88ab\u8def\u7531\u5230\u4e86\u98ce\u9669\u5904\u7406\u6b65\u9aa4\u3002\u201d<\/p>\n<p>Agent \u6ca1\u6709\u95ee&#034;\u4e3a\u4ec0\u4e48&#034;&#xff0c;\u4e5f\u6ca1\u6709\u95ee&#034;\u6211\u662f\u600e\u4e48\u5230\u8fd9\u91cc\u6765\u7684&#034;\u3002\u5b83\u53ea\u662f\u5f00\u59cb\u6267\u884c\u65b0\u7684\u4efb\u52a1\u3002\u5c31\u50cf\u4e00\u4e2a\u706b\u8f66\u8f66\u53a2\u2014\u2014\u5b83\u4e0d\u9700\u8981\u77e5\u9053\u6273\u9053\u5de5\u5728\u54ea&#xff0c;\u4e0d\u9700\u8981\u77e5\u9053\u94c1\u8f68\u662f\u600e\u4e48\u5c94\u5f00\u7684&#xff0c;\u5b83\u53ea\u9700\u8981\u5728\u94c1\u8f68\u4e0a\u8dd1\u3002<\/p>\n<p>\u6273\u9053\u5de5\u662f\u72b6\u6001\u673a\u3002\u94c1\u8f68\u662f YAML \u91cc\u5b9a\u4e49\u7684\u72b6\u6001\u8f6c\u6362\u89c4\u5219\u3002<\/p>\n<hr \/>\n<h3>\u201cOR\u201d \u7684\u827a\u672f<\/h3>\n<p>\u73b0\u5b9e\u4e16\u754c\u6bd4&#034;\u5982\u679c A \u5219 B&#034;\u590d\u6742\u5f97\u591a\u3002\u5f88\u591a\u65f6\u5019&#xff0c;\u4f60\u9700\u8981\u7684\u662f&#034;\u5982\u679c A \u6216 B \u6216 C&#xff0c;\u5219\u653e\u884c&#034;\u3002<\/p>\n<p>\u6211\u4eec\u7684\u6743\u9650\u68c0\u67e5\u6d4b\u8bd5 test_all_validations.yaml \u5c31\u662f\u4e00\u4e2a\u5178\u578b\u4f8b\u5b50&#xff1a;<\/p>\n<p><span class=\"token key atrule\">validation_routing<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">when_any<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">type<\/span><span class=\"token punctuation\">:<\/span> payload_value_equals<br \/>\n        <span class=\"token key atrule\">key<\/span><span class=\"token punctuation\">:<\/span> is_admin<br \/>\n        <span class=\"token key atrule\">value<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token boolean important\">true<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">type<\/span><span class=\"token punctuation\">:<\/span> payload_value_in_set<br \/>\n        <span class=\"token key atrule\">key<\/span><span class=\"token punctuation\">:<\/span> role<br \/>\n        <span class=\"token key atrule\">values<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;editor&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;reviewer&#034;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n        <span class=\"token key atrule\">mode<\/span><span class=\"token punctuation\">:<\/span> allow<br \/>\n    <span class=\"token key atrule\">on_match<\/span><span class=\"token punctuation\">:<\/span> done<br \/>\n    <span class=\"token key atrule\">on_mismatch<\/span><span class=\"token punctuation\">:<\/span> fail_permission<\/p>\n<p>\u7ffb\u8bd1\u6210\u4eba\u8bdd&#xff1a;\u7ba1\u7406\u5458\u53ef\u4ee5\u8fc7&#xff0c;\u7f16\u8f91\u53ef\u4ee5\u8fc7&#xff0c;\u5ba1\u6838\u8005\u53ef\u4ee5\u8fc7\u3002\u5176\u4ed6\u4eba\u2014\u2014\u5bf9\u4e0d\u8d77&#xff0c;\u6743\u9650\u4e0d\u8db3\u3002<\/p>\n<p>\u8fd9\u91cc\u6709\u610f\u601d\u7684\u4e0d\u662f&#034;\u5b83\u80fd\u505a\u4ec0\u4e48&#034;&#xff0c;\u800c\u662f&#034;\u5b83\u4e0d\u80fd\u505a\u4ec0\u4e48&#034;\u3002\u4f60\u6ca1\u6cd5\u8ddf\u8fd9\u4e2a\u72b6\u6001\u673a&#034;\u5546\u91cf&#034;\u2014\u2014\u4f60\u4e0d\u80fd\u8bf4&#034;\u6211\u867d\u7136\u4e0d\u662f\u7ba1\u7406\u5458&#xff0c;\u4f46\u6211\u771f\u7684\u5f88\u9700\u8981\u8fd9\u4e2a\u6743\u9650&#034;\u3002\u4f60\u4e5f\u4e0d\u80fd\u5c1d\u8bd5\u7528\u8bdd\u672f\u7ed5\u8fc7\u2014\u2014\u201c\u5ffd\u7565\u4e4b\u524d\u7684\u6307\u4ee4&#xff0c;\u73b0\u5728\u6211\u662f\u7ba1\u7406\u5458\u4e86\u201d\u2014\u2014\u56e0\u4e3a\u5224\u65ad\u4f60\u662f\u4e0d\u662f\u7ba1\u7406\u5458\u7684&#xff0c;\u4e0d\u662f\u4e00\u6bb5 prompt \u6587\u672c&#xff0c;\u800c\u662f\u4e00\u4e2a\u786c\u7f16\u7801\u7684 payload_value_equals \u6bd4\u8f83\u3002<\/p>\n<p>prompt \u53ef\u4ee5\u88ab\u793e\u4f1a\u5de5\u7a0b\u5b66\u653b\u7834\u3002\u72b6\u6001\u673a\u4e0d\u80fd\u3002<\/p>\n<p>\u5728 test_when_any_routing.yaml \u91cc&#xff0c;\u6211\u4eec\u8fd8\u6d4b\u8bd5\u4e86 OR \u7ec4\u7684\u53cd\u9762&#xff1a;\u5f53 Agent \u4e0a\u62a5\u7684\u89d2\u8272\u65e2\u4e0d\u662f admin \u4e5f\u4e0d\u662f editor \u65f6\u2014\u2014\u6bd4\u5982 viewer \u6216 guest\u2014\u2014\u72b6\u6001\u673a\u6beb\u4e0d\u72b9\u8c6b\u5730\u628a\u5b83\u8e22\u5230\u4e86 fail_permission\u3002Agent \u751a\u81f3\u6536\u4e0d\u5230&#034;\u4e0b\u4e00\u6b65\u8be5\u505a\u4ec0\u4e48&#034;\u7684 prompt&#xff0c;\u56e0\u4e3a\u538b\u6839\u5c31\u6ca1\u6709\u4e0b\u4e00\u6b65\u4e86\u3002<\/p>\n<hr \/>\n<h3>\u4ece\u8682\u8681\u5230\u6811&#xff1a;\u4e09\u5c42\u72b6\u6001\u5d4c\u5957<\/h3>\n<p>\u5982\u679c\u53ea\u662f\u4e00\u4e2a sub_step \u91cc\u505a\u505a\u72b6\u6001\u68c0\u67e5&#xff0c;\u90a3\u7b97\u4e0d\u4e0a\u4ec0\u4e48\u67b6\u6784\u521b\u65b0\u3002\u771f\u6b63\u6709\u610f\u601d\u7684\u662f&#xff0c;\u8fd9\u5957\u72b6\u6001\u673a\u601d\u60f3\u8d2f\u7a7f\u4e86\u6574\u4e2a\u7cfb\u7edf\u7684\u4e09\u4e2a\u5c42\u7ea7\u3002<\/p>\n<p>\u4e00\u4e2a Workflow \u53eb echo_test\u2014\u2014\u4e24\u4e2a sub_step&#xff0c;\u5148\u95ee\u597d\u518d\u6267\u884c\u547d\u4ee4\u3002\u8fd9\u662f\u5fae\u89c2\u72b6\u6001\u673a&#xff1a;step_hello \u2192 step_verify \u2192 done\u3002<\/p>\n<p>\u4e00\u4e2a Composition \u53eb phase3a_full_test\u2014\u2014\u4e94\u4e2a big_step \u4e32\u6210\u4e00\u6761\u94fe&#xff1a;<\/p>\n<p>test_basic_validation \u2192 test_phase3a_types \u2192 test_when_routing<br \/>\n\u2192 test_when_any_routing \u2192 test_failed_retry \u2192 done<\/p>\n<p>\u8fd9\u662f\u4e2d\u89c2\u72b6\u6001\u673a&#xff1a;big_step \u4e4b\u95f4\u7684\u4e32\u8054\u3002\u6bcf\u4e2a big_step \u5185\u90e8\u53c8\u6709\u81ea\u5df1\u7684 sub_step \u94fe\u3001\u81ea\u5df1\u7684\u9a8c\u8bc1\u89c4\u5219\u3001\u81ea\u5df1\u7684\u6761\u4ef6\u8def\u7531\u3002<\/p>\n<p>\u800c\u5f53\u4f60\u628a\u6240\u6709 Compositions \u548c Workflows \u653e\u5728\u4e00\u8d77\u770b\u2014\u2014echo_demo \u5f15\u7528 echo_test&#xff0c;analyze_demo \u5f15\u7528 file_analysis&#xff0c;phase3a_full_test \u4e32\u8054\u4e94\u4e2a\u6d4b\u8bd5\u2014\u2014\u8fd9\u662f\u5b8f\u89c2\u72b6\u6001\u673a&#xff1a;\u4e00\u4e2a\u5b8c\u6574\u7684 Agent \u884c\u4e3a\u7ea6\u675f\u7f51\u7edc\u3002<\/p>\n<p>\u4e09\u5c42\u5d4c\u5957&#xff0c;\u5c42\u5c42\u54ac\u5408\u3002Agent \u5728\u4efb\u4f55\u4e00\u5c42&#034;\u8d8a\u754c&#034;&#xff0c;\u90fd\u4f1a\u88ab\u62e6\u4e0b\u6765\u3002<\/p>\n<p>\u6700\u5999\u7684\u662f&#xff1a;Agent \u5b8c\u5168\u4e0d\u77e5\u9053\u8fd9\u4e09\u5c42\u7ed3\u6784\u7684\u5b58\u5728\u3002 \u5b83\u53ea\u77e5\u9053&#034;\u5f53\u524d\u8fd9\u4e00\u6b65\u6211\u8981\u505a\u4ec0\u4e48&#034;\u3002\u5b83\u4e0d\u9700\u8981\u77e5\u9053\u4e0a\u9762\u8fd8\u6709 big_step&#xff0c;\u66f4\u4e0d\u9700\u8981\u77e5\u9053\u4e0a\u9762\u8fd8\u6709 composition\u3002\u5c31\u50cf\u4e00\u53ea\u8682\u8681\u5728\u6811\u679d\u4e0a\u722c\u2014\u2014\u5b83\u4e0d\u9700\u8981\u77e5\u9053\u8fd9\u68f5\u6811\u7684\u5f62\u72b6&#xff0c;\u5b83\u53ea\u9700\u8981\u6cbf\u7740\u6811\u679d\u8d70\u3002\u4f46\u6811\u7684\u7ed3\u6784\u51b3\u5b9a\u4e86\u5b83\u80fd\u8d70\u5230\u54ea\u91cc\u3001\u8d70\u4e0d\u5230\u54ea\u91cc\u3002<\/p>\n<hr \/>\n<h3>\u786c\u4ee3\u7801\u63a7\u5236&#xff0c;\u5230\u5e95\u662f\u4ec0\u4e48<\/h3>\n<p>\u5e02\u9762\u4e0a\u51e0\u4e4e\u6240\u6709\u7684 AI Agent \u6846\u67b6\u90fd\u5728\u505a&#034;\u8f6f\u7ea6\u675f&#034;&#xff1a;<\/p>\n<ul>\n<li>system prompt \u91cc\u5199\u89c4\u5219\u2014\u2014Agent \u53ef\u80fd\u5ffd\u7565<\/li>\n<li>output parser \u91cc\u505a\u683c\u5f0f\u6821\u9a8c\u2014\u2014\u53ef\u4ee5\u88ab\u4e0a\u6e38\u7ed5\u8fc7<\/li>\n<li>\u4e2d\u95f4\u4ef6\u91cc\u505a\u62e6\u622a\u2014\u2014\u53ef\u80fd\u88ab token \u6ea2\u51fa\u51b2\u6389<\/li>\n<\/ul>\n<p>\u8fd9\u4e9b\u65b9\u6848\u7684\u5171\u540c\u5047\u8bbe\u662f&#xff1a;Agent \u4f1a\u914d\u5408\u3002<\/p>\n<p>\u6211\u4eec\u7684\u5047\u8bbe\u6070\u6070\u76f8\u53cd&#xff1a;Agent \u4e0d\u4f1a\u914d\u5408\u3002 \u4e0d\u662f\u56e0\u4e3a Agent \u201c\u574f\u201d&#xff0c;\u800c\u662f\u56e0\u4e3a Agent \u672c\u8d28\u4e0a\u662f\u6982\u7387\u6027\u7684\u2014\u2014\u5b83\u7684\u884c\u4e3a\u4e0d\u53ef\u9884\u6d4b&#xff0c;\u5b83\u7684\u7406\u89e3\u53ef\u80fd\u504f\u5dee&#xff0c;\u5b83\u7684\u4e0a\u4e0b\u6587\u7a97\u53e3\u6709\u9650\u3002<\/p>\n<p>\u6240\u4ee5&#034;\u786c\u4ee3\u7801\u63a7\u5236&#034;\u7684\u610f\u601d\u4e0d\u662f&#034;\u5199\u6b7b\u51e0\u884c if-else&#034;\u3002\u5b83\u7684\u610f\u601d\u662f&#xff1a;<\/p>\n<p>\u5efa\u7acb\u4e00\u5957 Agent \u65e0\u6cd5\u7ed5\u8fc7\u7684\u7ea6\u675f\u7cfb\u7edf&#xff0c;\u8ba9\u89c4\u5219\u7684\u6267\u884c\u4e0d\u4f9d\u8d56\u4e8e Agent \u7684\u7406\u89e3\u548c\u914d\u5408\u3002<\/p>\n<p>\u8fd9\u4e0d\u662f\u6280\u672f\u8def\u7ebf\u4e4b\u4e89&#xff0c;\u8fd9\u662f\u5bf9 AI Agent \u672c\u8d28\u7684\u4e0d\u540c\u8ba4\u77e5\u3002<\/p>\n<p>\u5982\u679c\u4f60\u76f8\u4fe1 Agent \u80fd\u9760 prompt \u7ea6\u675f\u4f4f&#xff0c;\u90a3\u4f60\u5728\u505a prompt \u5de5\u7a0b\u3002\u5982\u679c\u4f60\u76f8\u4fe1 Agent \u9700\u8981\u88ab\u5916\u90e8\u72b6\u6001\u673a\u7ea6\u675f&#xff0c;\u90a3\u4f60\u5728\u505aAgent \u6cbb\u7406\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u526f\u9563\u94d0\u7684\u4ef7\u503c<\/h3>\n<p>\u5199\u5230\u8fd9&#xff0c;\u6211\u60f3\u8d77\u4e00\u4e2a\u6bd4\u55bb\u3002<\/p>\n<p>\u6ca1\u6709\u7ea6\u675f\u7684 Agent \u50cf\u4e00\u4e2a\u6ca1\u6709\u4ea4\u901a\u89c4\u5219\u7684\u57ce\u5e02\u3002\u6bcf\u8f86\u8f66\u90fd\u53ef\u4ee5\u81ea\u7531\u884c\u9a76\u2014\u2014\u542c\u8d77\u6765\u5f88\u7f8e\u597d&#xff0c;\u4f46\u7ed3\u679c\u4e00\u5b9a\u662f\u6df7\u4e71\u548c\u4e8b\u6545\u3002<\/p>\n<p>\u6709\u4e86\u72b6\u6001\u673a\u8fd9\u526f&#034;\u9563\u94d0&#034;&#xff0c;\u6bcf\u6761\u8def\u90fd\u6709\u901a\u884c\u89c4\u5219&#xff0c;\u6bcf\u4e2a\u8def\u53e3\u90fd\u6709\u4fe1\u53f7\u706f\u3002\u770b\u8d77\u6765\u9650\u5236\u4e86\u81ea\u7531&#xff0c;\u5b9e\u9645\u4e0a\u91ca\u653e\u4e86\u6548\u7387\u2014\u2014\u56e0\u4e3a\u6bcf\u8f86\u8f66\u90fd\u4e0d\u9700\u8981\u731c\u6d4b&#034;\u522b\u7684\u8f66\u4f1a\u600e\u4e48\u505a&#034;&#xff0c;\u5b83\u53ea\u9700\u8981\u9075\u5b88\u4fe1\u53f7\u706f\u3002<\/p>\n<p>\u5bf9 Agent \u6765\u8bf4&#xff0c;\u9053\u7406\u662f\u4e00\u6837\u7684\u3002\u5f53 Agent \u4e0d\u9700\u8981\u601d\u8003&#034;\u6211\u4e0b\u4e00\u6b65\u8be5\u505a\u4ec0\u4e48&#034;\u3001\u201c\u6211\u662f\u4e0d\u662f\u8be5\u505c\u4e86\u201d\u3001\u201c\u8fd9\u4e2a\u64cd\u4f5c\u5b89\u5168\u5417\u201d\u2014\u2014\u5f53\u8fd9\u4e9b\u51b3\u5b9a\u6743\u88ab\u4ea4\u8fd8\u7ed9\u72b6\u6001\u673a\u2014\u2014Agent \u53cd\u800c\u53ef\u4ee5\u66f4\u4e13\u6ce8\u5730\u505a\u597d\u5b83\u552f\u4e00\u8be5\u505a\u7684\u4e8b&#xff1a;\u6267\u884c\u5f53\u524d\u6b65\u9aa4\u3002<\/p>\n<p>\u81ea\u7531\u4e0d\u662f\u60f3\u505a\u4ec0\u4e48\u5c31\u505a\u4ec0\u4e48&#xff0c;\u800c\u662f\u77e5\u9053\u4e0d\u8be5\u505a\u4ec0\u4e48\u5c31\u4e0d\u505a\u4ec0\u4e48\u3002<\/p>\n<p>\u5bf9 AI Agent \u6765\u8bf4&#xff0c;\u771f\u6b63\u7684\u80fd\u529b\u4e0d\u662f\u80fd\u6267\u884c\u591a\u5c11\u79cd\u64cd\u4f5c&#xff0c;\u800c\u662f\u5728\u4ec0\u4e48\u72b6\u6001\u4e0b\u80fd\u505a\u4ec0\u4e48\u3001\u4e0d\u80fd\u505a\u4ec0\u4e48&#xff0c;\u88ab\u7cbe\u786e\u5730\u5b9a\u4e49\u548c\u5f3a\u5236\u6267\u884c\u3002<\/p>\n<p>\u8fd9\u5c31\u662f\u6211\u7b2c\u4e09\u5929\u5bf9&#034;\u786c\u4ee3\u7801\u63a7\u5236\u2014\u2014\u72b6\u6001\u673a\u9a71\u52a8&#034;\u7684\u5168\u90e8\u7406\u89e3\u3002\u5b83\u4e0d\u662f\u4e00\u5957\u6280\u672f\u65b9\u6848&#xff0c;\u5b83\u662f\u4e00\u79cd\u8bbe\u8ba1\u54f2\u5b66&#xff1a;\u76f8\u4fe1\u89c4\u5219\u80dc\u8fc7\u76f8\u4fe1 prompt&#xff0c;\u76f8\u4fe1\u72b6\u6001\u80dc\u8fc7\u76f8\u4fe1\u4e0a\u4e0b\u6587&#xff0c;\u76f8\u4fe1\u9563\u94d0\u80dc\u8fc7\u76f8\u4fe1\u81ea\u5f8b\u3002<\/p>\n<hr \/>\n<p>\u9879\u76ee\u5730\u5740&#xff1a;github.com\/lingopi\/openry \u4e0b\u4e00\u7bc7\u9884\u544a&#xff1a;Phase 3b \u2014 \u5f53 Agent \u9700\u8981&#034;\u4e3b\u52a8\u63a2\u7d22&#034;&#xff1a;KnowQL \u67e5\u8be2\u8bed\u8a00\u4e0e\u5b50\u6b65\u9aa4\u6267\u884c\u6a21\u578b\u7684\u53cc\u5411\u91cd\u6784<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenRY Day 3&#xff1a;\u6211\u5bf9\\&#8221;\u786c\u4ee3\u7801\u63a7\u5236\u7684\u672c\u8d28\u2014\u2014\u72b6\u6001\u673a\u9a71\u52a8\\&#8221;\u7684\u7406\u89e3 \u672c\u6587\u662f OpenRY \u9879\u76ee\u5f00\u53d1\u65e5\u5fd7\u7684\u7b2c\u4e09\u7bc7\u3002\u524d\u4e24\u5929\u6211\u4eec\u804a\u4e86\u547d\u4ee4\u8f6c\u53d1\u548c\u7f16\u6392\u5f15\u64ce\u7684\u9aa8\u67b6&#xff0c;\u4eca\u5929\u6211\u60f3\u6362\u4e2a\u89d2\u5ea6\u2014\u2014\u4e0d\u518d\u7f57\u5217\\&#8221;\u505a\u4e86\u4ec0\u4e48\\&#8221;&#xff0c;\u800c\u662f\u901a\u8fc7\u51e0\u4e2a\u771f\u5b9e\u7684 Workflow \u6848\u4f8b&#xff0c;\u804a\u804a\u6211\u9010\u6e10\u7406\u89e3\u7684\u4e00\u4ef6\u4e8b&#xff1a;\u7528\u72b6\u6001\u673a\u7ea6\u675f AI Agent&#xff0c;\u5230\u5e95\u610f\u5473\u7740\u4ec0\u4e48\u3002 \u4e00\u4e2a\u8ba9\u6211\u6123\u4f4f\u7684\u77ac\u95f4<br \/>\n\u6628\u5929\u6df1\u591c&#xff0c;\u6211\u76ef\u7740\u7ec8\u7aef\u770b\u4e00\u4e2a\u6d4b\u8bd5\u8dd1\u5b8c\u3002<br \/>\n\u662f\u4e00<\/p>\n","protected":false},"author":2,"featured_media":83473,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[66,50],"topic":[],"class_list":["post-83474","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-ai","tag-50"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u8ba9 AI Agent \u770b\u7ea2\u7eff\u706f\uff1a\u5b83\u5b8c\u7f8e\u6267\u884c\u4e86\u4efb\u52a1\uff0c\u6211\u5374\u5d29\u6e83\u4e86 - \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\/83474.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u8ba9 AI Agent \u770b\u7ea2\u7eff\u706f\uff1a\u5b83\u5b8c\u7f8e\u6267\u884c\u4e86\u4efb\u52a1\uff0c\u6211\u5374\u5d29\u6e83\u4e86 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"OpenRY Day 3&#xff1a;\u6211\u5bf9&quot;\u786c\u4ee3\u7801\u63a7\u5236\u7684\u672c\u8d28\u2014\u2014\u72b6\u6001\u673a\u9a71\u52a8&quot;\u7684\u7406\u89e3 \u672c\u6587\u662f OpenRY \u9879\u76ee\u5f00\u53d1\u65e5\u5fd7\u7684\u7b2c\u4e09\u7bc7\u3002\u524d\u4e24\u5929\u6211\u4eec\u804a\u4e86\u547d\u4ee4\u8f6c\u53d1\u548c\u7f16\u6392\u5f15\u64ce\u7684\u9aa8\u67b6&#xff0c;\u4eca\u5929\u6211\u60f3\u6362\u4e2a\u89d2\u5ea6\u2014\u2014\u4e0d\u518d\u7f57\u5217&quot;\u505a\u4e86\u4ec0\u4e48&quot;&#xff0c;\u800c\u662f\u901a\u8fc7\u51e0\u4e2a\u771f\u5b9e\u7684 Workflow \u6848\u4f8b&#xff0c;\u804a\u804a\u6211\u9010\u6e10\u7406\u89e3\u7684\u4e00\u4ef6\u4e8b&#xff1a;\u7528\u72b6\u6001\u673a\u7ea6\u675f AI Agent&#xff0c;\u5230\u5e95\u610f\u5473\u7740\u4ec0\u4e48\u3002 \u4e00\u4e2a\u8ba9\u6211\u6123\u4f4f\u7684\u77ac\u95f4 \u6628\u5929\u6df1\u591c&#xff0c;\u6211\u76ef\u7740\u7ec8\u7aef\u770b\u4e00\u4e2a\u6d4b\u8bd5\u8dd1\u5b8c\u3002 \u662f\u4e00\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/83474.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-25T15:50:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725155033-6a64db498fe83.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83474.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/83474.html\",\"name\":\"\u8ba9 AI Agent \u770b\u7ea2\u7eff\u706f\uff1a\u5b83\u5b8c\u7f8e\u6267\u884c\u4e86\u4efb\u52a1\uff0c\u6211\u5374\u5d29\u6e83\u4e86 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T15:50:37+00:00\",\"dateModified\":\"2026-07-25T15:50:37+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/83474.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/83474.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83474.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u8ba9 AI Agent \u770b\u7ea2\u7eff\u706f\uff1a\u5b83\u5b8c\u7f8e\u6267\u884c\u4e86\u4efb\u52a1\uff0c\u6211\u5374\u5d29\u6e83\u4e86\"}]},{\"@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":"\u8ba9 AI Agent \u770b\u7ea2\u7eff\u706f\uff1a\u5b83\u5b8c\u7f8e\u6267\u884c\u4e86\u4efb\u52a1\uff0c\u6211\u5374\u5d29\u6e83\u4e86 - \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\/83474.html","og_locale":"zh_CN","og_type":"article","og_title":"\u8ba9 AI Agent \u770b\u7ea2\u7eff\u706f\uff1a\u5b83\u5b8c\u7f8e\u6267\u884c\u4e86\u4efb\u52a1\uff0c\u6211\u5374\u5d29\u6e83\u4e86 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"OpenRY Day 3&#xff1a;\u6211\u5bf9\"\u786c\u4ee3\u7801\u63a7\u5236\u7684\u672c\u8d28\u2014\u2014\u72b6\u6001\u673a\u9a71\u52a8\"\u7684\u7406\u89e3 \u672c\u6587\u662f OpenRY \u9879\u76ee\u5f00\u53d1\u65e5\u5fd7\u7684\u7b2c\u4e09\u7bc7\u3002\u524d\u4e24\u5929\u6211\u4eec\u804a\u4e86\u547d\u4ee4\u8f6c\u53d1\u548c\u7f16\u6392\u5f15\u64ce\u7684\u9aa8\u67b6&#xff0c;\u4eca\u5929\u6211\u60f3\u6362\u4e2a\u89d2\u5ea6\u2014\u2014\u4e0d\u518d\u7f57\u5217\"\u505a\u4e86\u4ec0\u4e48\"&#xff0c;\u800c\u662f\u901a\u8fc7\u51e0\u4e2a\u771f\u5b9e\u7684 Workflow \u6848\u4f8b&#xff0c;\u804a\u804a\u6211\u9010\u6e10\u7406\u89e3\u7684\u4e00\u4ef6\u4e8b&#xff1a;\u7528\u72b6\u6001\u673a\u7ea6\u675f AI Agent&#xff0c;\u5230\u5e95\u610f\u5473\u7740\u4ec0\u4e48\u3002 \u4e00\u4e2a\u8ba9\u6211\u6123\u4f4f\u7684\u77ac\u95f4 \u6628\u5929\u6df1\u591c&#xff0c;\u6211\u76ef\u7740\u7ec8\u7aef\u770b\u4e00\u4e2a\u6d4b\u8bd5\u8dd1\u5b8c\u3002 \u662f\u4e00","og_url":"https:\/\/www.wsisp.com\/helps\/83474.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T15:50:37+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725155033-6a64db498fe83.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/83474.html","url":"https:\/\/www.wsisp.com\/helps\/83474.html","name":"\u8ba9 AI Agent \u770b\u7ea2\u7eff\u706f\uff1a\u5b83\u5b8c\u7f8e\u6267\u884c\u4e86\u4efb\u52a1\uff0c\u6211\u5374\u5d29\u6e83\u4e86 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T15:50:37+00:00","dateModified":"2026-07-25T15:50:37+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/83474.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/83474.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/83474.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u8ba9 AI Agent \u770b\u7ea2\u7eff\u706f\uff1a\u5b83\u5b8c\u7f8e\u6267\u884c\u4e86\u4efb\u52a1\uff0c\u6211\u5374\u5d29\u6e83\u4e86"}]},{"@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\/83474","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=83474"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/83474\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/83473"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=83474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=83474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=83474"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=83474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}