{"id":100464,"date":"2026-09-04T19:04:03","date_gmt":"2026-09-04T11:04:03","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/100464.html"},"modified":"2026-09-04T19:04:03","modified_gmt":"2026-09-04T11:04:03","slug":"harness%ef%bc%88agent-%e9%a9%be%e9%a9%ad%e5%b1%82%ef%bc%89%e6%96%87%e4%bb%b6%e5%90%8e%e7%ab%af%e5%ae%8c%e6%95%b4%e8%a7%a3%e6%9e%90","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/100464.html","title":{"rendered":"Harness\uff08Agent \u9a7e\u9a6d\u5c42\uff09\u6587\u4ef6\u540e\u7aef\u5b8c\u6574\u89e3\u6790"},"content":{"rendered":"<p>Harness \u67b6\u6784&#xff1a;Agent \u8fd0\u884c\u5916\u58f3&#xff0c;\u6587\u4ef6\u540e\u7aef (File\u2011Backend) \u5c31\u662f AI \u667a\u80fd\u4f53\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\u5c42&#xff0c;\u8d1f\u8d23\u6240\u6709\u6587\u4ef6&#xff1a;\u589e\u3001\u5220\u3001\u6539\u3001\u67e5\u3001\u6267\u884c\u4e94\u5927\u64cd\u4f5c&#xff1b;\u591a Agent \u4e4b\u95f4\u5168\u5c40\u5171\u4eab&#xff0c;\u5b50 Agent \u4e0d\u9694\u79bb\u6587\u4ef6\u540e\u7aef\u8d44\u6e90\u3002<\/p>\n<h3>\u4e00\u3001\u4e3a\u4ec0\u4e48 Harness \u5fc5\u987b\u8981\u6709\u6587\u4ef6\u540e\u7aef<\/h3>\n<p>\u88f8\u5927\u6a21\u578b\u53ea\u80fd\u628a\u5168\u90e8\u6570\u636e\u585e\u8fdb\u4e0a\u4e0b\u6587\u7a97\u53e3&#xff0c;\u5b58\u5728\u81f4\u547d\u7f3a\u9677&#xff1a;<\/p>\n<li>Token \u4e0a\u9650\u74f6\u9888&#xff1a;\u5927\u91cf\u65e5\u5fd7\u3001\u62a5\u544a\u3001\u4e2d\u95f4\u4ea7\u7269\u5360\u6ee1\u4e0a\u4e0b\u6587<\/li>\n<li>\u65e0\u6cd5\u8de8\u8f6e\u6b21\u6301\u4e45\u4fdd\u5b58\u72b6\u6001<\/li>\n<li>\u591a Agent \u6ca1\u6709\u5171\u4eab\u767d\u677f&#xff0c;\u4e0d\u80fd\u5f02\u6b65\u534f\u4f5c<\/li>\n<li>\u7f3a\u5c11\u6c99\u7bb1\u5b89\u5168\u9694\u79bb&#xff0c;AI \u76f4\u63a5\u8bfb\u5199\u672c\u673a\u9ad8\u5371\u6587\u4ef6<\/li>\n<p>\u6587\u4ef6\u540e\u7aef\u7684\u672c\u8d28&#xff1a;\u628a\u5185\u5b58\u91cc\u7684\u72b6\u6001&#xff0c;\u5378\u8f7d\u5230\u300c\u865a\u62df \/ \u7269\u7406\u6587\u4ef6\u300d&#xff1b;\u7528\u6587\u4ef6\u8def\u5f84\u5b57\u7b26\u4e32\u4ee3\u66ff\u5927\u6bb5\u6587\u672c&#xff0c;\u9001\u5165 LLM \u4e0a\u4e0b\u6587&#xff0c;\u53ea\u5360\u7528\u6781\u5c11 Token\u3002<\/p>\n<h3>\u4e8c\u3001\u6838\u5fc3\u67b6\u6784&#xff1a;CompositeBackend \u7efc\u5408\u52a8\u6001\u8def\u7531\u540e\u7aef<\/h3>\n<p>\u6700\u4e3b\u6d41\u5b9e\u73b0\u662f CompositeBackend&#xff08;\u7ec4\u5408\u540e\u7aef \/ \u8def\u7531\u540e\u7aef&#xff09;&#xff0c;\u4e00\u4e2a\u8c03\u5ea6\u5165\u53e3&#xff0c;\u5185\u90e8\u6302\u8f7d 3 \u79cd\u4e0d\u540c\u5b58\u50a8\u540e\u7aef&#xff0c;\u6839\u636e\u6587\u4ef6\u8def\u5f84\u524d\u7f00\u81ea\u52a8\u8def\u7531\u5206\u53d1&#xff0c;\u4e00\u5957\u7edf\u4e00\u7684\u8bfb\u5199\u63a5\u53e3&#xff0c;\u5e95\u5c42\u5b58\u50a8\u53ef\u5207\u6362\u3002<\/p>\n<h4>\u4e09\u5927\u540e\u7aef\u5b9e\u4f8b<\/h4>\n<p>\u8868\u683c<\/p>\n<table>\n<tr>\u540e\u7aef\u540d\u79f0\u524d\u7f00\u8def\u5f84\u5b58\u50a8\u4f4d\u7f6e\u4f5c\u7528\u6743\u9650\u9694\u79bb<\/tr>\n<tbody>\n<tr>\n<td>SandboxBackend \u6c99\u7bb1\u540e\u7aef<\/td>\n<td>file:\/\/\/ \/workspace \u8def\u5f84<\/td>\n<td>\u672c\u673a\u78c1\u76d8\u771f\u5b9e\u6587\u4ef6\u5939&#xff08;\u6c99\u7bb1\u5de5\u4f5c\u533a&#xff09;<\/td>\n<td>Agent \u8bfb\u5199\u4efb\u52a1\u4ea7\u51fa\u3001\u62a5\u544a\u3001\u4ee3\u7801\u6587\u4ef6&#xff0c;\u6301\u4e45\u5316\u843d\u5730<\/td>\n<td>\u2705\u4e25\u683c\u6c99\u7bb1\u8def\u5f84\u767d\u540d\u5355&#xff0c;\u7981\u6b62\u6c99\u7bb1\u5916\u6587\u4ef6\u8bbf\u95ee&#xff0c;\u5b89\u5168\u9632\u62a4\u6838\u5fc3<\/td>\n<\/tr>\n<tr>\n<td>MemoryBackend \u5185\u5b58\u540e\u7aef<\/td>\n<td>memory:\/\/\/<\/td>\n<td>\u8fd0\u884c\u65f6\u5185\u5b58\u5b57\u5178&#xff0c;\u65ad\u7535\u4e22\u5931<\/td>\n<td>\u4e34\u65f6\u7f13\u5b58\u3001\u4f1a\u8bdd\u77ac\u65f6\u53d8\u91cf\u3001\u5927\u6a21\u578b\u8d85\u957f\u8f93\u51fa\u4e2d\u8f6c\u6587\u4ef6&#xff1b;\u4e0d\u4f1a\u843d\u76d8<\/td>\n<td>\u2705\u4f1a\u8bdd\u79c1\u6709&#xff0c;\u91cd\u542f\u6e05\u7a7a<\/td>\n<\/tr>\n<tr>\n<td>StoreBackend \u6301\u4e45\u5316\u5b58\u50a8\u540e\u7aef<\/td>\n<td>store:\/\/\/<\/td>\n<td>\u6570\u636e\u5e93 \/ \u5bf9\u8c61\u5b58\u50a8 (S3)\/Git \u4ed3\u5e93<\/td>\n<td>\u957f\u671f\u8bb0\u5fc6\u3001\u4f1a\u8bdd\u65e5\u5fd7\u3001\u9879\u76ee\u5143\u6570\u636e\u3001\u7248\u672c\u5feb\u7167&#xff0c;\u8de8\u4f1a\u8bdd\u6c38\u4e45\u4fdd\u5b58<\/td>\n<td>&#x1f512;\u5168\u5c40\u5171\u4eab\u5b58\u50a8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8def\u7531\u903b\u8f91\u4f2a\u4ee3\u7801&#xff1a;<\/p>\n<p>ts<\/p>\n<p>function resolveBackend(path:string){<br \/>\n  if(path.startsWith(&#034;memory:\/\/&#034;)) return memoryBackend<br \/>\n  if(path.startsWith(&#034;store:\/\/&#034;))  return storeBackend<br \/>\n  return sandboxBackend \/\/ \u9ed8\u8ba4\u6c99\u7bb1\u78c1\u76d8\u540e\u7aef<br \/>\n}<\/p>\n<h3>\u4e09\u3001\u6587\u4ef6\u540e\u7aef\u63d0\u4f9b\u7684\u7edf\u4e00\u63a5\u53e3&#xff08;5 \u5927\u539f\u8bed&#xff09;<\/h3>\n<p>\u6240\u6709\u540e\u7aef\u5fc5\u987b\u5b9e\u73b0\u540c\u4e00\u5957\u63a5\u53e3&#xff0c;\u4e0a\u5c42 Agent \u65e0\u9700\u5173\u5fc3\u5e95\u5c42\u662f\u5185\u5b58 \/ \u78c1\u76d8 \/ \u5bf9\u8c61\u5b58\u50a8&#xff1a;<\/p>\n<li>readFile (path) \u8bfb\u53d6<\/li>\n<li>writeFile (path,content) \u5199\u5165<\/li>\n<li>deleteFile (path) \u5220\u9664<\/li>\n<li>listDir (path) \u5217\u51fa\u76ee\u5f55<\/li>\n<li>executeFile (path) \u6267\u884c\u6587\u4ef6&#xff08;\u6c99\u7bb1 Shell \u8fd0\u884c&#xff09;<\/li>\n<p>\u4e0a\u5c42\u5de5\u5177\u8c03\u7528\u3001Agent \u8bfb\u5199\u5168\u90e8\u8d70\u8fd9\u5957\u62bd\u8c61\u63a5\u53e3&#xff0c;\u5b9e\u73b0\u5b58\u50a8\u5c42\u4e0e Agent \u4e1a\u52a1\u89e3\u8026\u3002<\/p>\n<h3>\u56db\u3001\u6587\u4ef6\u540e\u7aef\u5728 Harness \u516d\u5c42\u67b6\u6784\u4e2d\u7684\u4f4d\u7f6e<\/h3>\n<p>Harness \u5b8c\u6574\u516d\u5c42\u7ed3\u6784&#xff1a;<\/p>\n<li>\u5165\u53e3\u4ea4\u4ed8\u5c42&#xff08;Web\/SDK&#xff09;<\/li>\n<li>\u7ec4\u88c5\u63a7\u5236\u5c42&#xff08;Bundle \/ \u63d2\u4ef6\u52a0\u8f7d&#xff09;<\/li>\n<li>Agent \u63a7\u5236\u5c42&#xff08;Agent \u4e3b\u5faa\u73af&#xff09;<\/li>\n<li>\u80fd\u529b\u5c42 \u2014 \u6587\u4ef6\u540e\u7aef &#043; Shell \u6c99\u7bb1 &#043; Web \u641c\u7d22\u5de5\u5177 \u2705\u6587\u4ef6\u540e\u7aef\u6240\u5728\u5c42<\/li>\n<li>\u4e8b\u4ef6\u65e5\u5fd7\u5c42<\/li>\n<li>\u6a21\u578b\u8c03\u7528\u5c42&#xff08;LLM&#xff09;<\/li>\n<p>\u5173\u952e\u70b9&#xff1a;\u6587\u4ef6\u540e\u7aef\u6302\u8f7d\u5728\u4e3b Agent&#xff0c;\u5168\u5c40\u5171\u4eab&#xff0c;\u6240\u6709\u5b50 Agent \u5171\u7528\u540c\u4e00\u5957\u6587\u4ef6\u540e\u7aef\u5b9e\u4f8b&#xff0c;\u4ee5\u6b64\u5b9e\u73b0\u591a Agent \u6587\u4ef6\u534f\u4f5c\u901a\u4fe1\u3002\u5b50 Agent \u4e0d\u4f1a\u521b\u5efa\u72ec\u7acb\u6587\u4ef6\u540e\u7aef\u3002<\/p>\n<h3>\u4e94\u3001\u6c99\u7bb1\u540e\u7aef\u5b89\u5168\u673a\u5236&#xff08;\u91cd\u4e2d\u4e4b\u91cd&#xff09;<\/h3>\n<p>SandboxBackend \u6700\u6838\u5fc3\u4ef7\u503c\u5c31\u662f\u5b89\u5168\u56f4\u680f<\/p>\n<li>\u6839\u76ee\u5f55\u9501\u5b9a&#xff1a;Agent \u53ea\u80fd\u8bfb\u5199\u6307\u5b9aworkspace\u6587\u4ef6\u5939&#xff0c;\u4e0d\u80fd\u8bbf\u95ee\u5bbf\u4e3b\u7cfb\u7edf \/etc\u3001\u7528\u6237\u76ee\u5f55\u7b49\u7cfb\u7edf\u6587\u4ef6<\/li>\n<li>\u8def\u5f84\u9003\u9038\u9632\u62a4&#xff1a;\u6821\u9a8c..\/\u76f8\u5bf9\u8def\u5f84\u7a7f\u900f\u653b\u51fb&#xff0c;\u62e6\u622a\u8df3\u51fa\u6c99\u7bb1\u7684\u8bbf\u95ee<\/li>\n<li>\u6587\u4ef6\u64cd\u4f5c\u5ba1\u8ba1&#xff1a;\u6bcf\u4e00\u6b21\u8bfb\u5199\u3001\u4fee\u6539\u5168\u90e8\u5199\u5165\u4e8b\u4ef6\u65e5\u5fd7&#xff0c;\u53ef\u56de\u6eaf<\/li>\n<li>\u6267\u884c\u6743\u9650\u7ba1\u63a7&#xff1a;\u6267\u884c\u6587\u4ef6\u64cd\u4f5c\u53d7\u6c99\u7bb1 Shell \u6743\u9650\u7ea6\u675f<\/li>\n<h3>\u516d\u3001\u5178\u578b\u8fd0\u884c\u6d41\u7a0b\u793a\u4f8b<\/h3>\n<li>Agent \u6267\u884c\u6570\u636e\u5206\u6790&#xff0c;\u751f\u6210\u4e00\u4efd\u8d85\u957f\u62a5\u544a&#xff08;20000 \u5b57\u7b26&#xff09;<\/li>\n<li>\u76f4\u63a5\u585e\u8fdb\u4e0a\u4e0b\u6587\u4f1a\u7206 Token&#xff0c;Harness \u6587\u4ef6\u540e\u7aef\u4ecb\u5165<\/li>\n<li>\u8c03\u7528writeFile(&#034;file:\/\/\/report.md&#034;,\u62a5\u544a\u6587\u672c)\u5199\u5165\u6c99\u7bb1\u78c1\u76d8<\/li>\n<li>\u53ea\u628a\u8def\u5f84\u5b57\u7b26\u4e32file:\/\/\/report.md\u53d1\u7ed9\u5927\u6a21\u578b\u4e0a\u4e0b\u6587<\/li>\n<li>\u540e\u7eed\u6b65\u9aa4 Agent \u9700\u8981\u8bfb\u53d6\u62a5\u544a&#xff1a;readFile(&#034;file:\/\/\/report.md&#034;)\u52a0\u8f7d\u5185\u5bb9<\/li>\n<h3>\u4e03\u3001Workspace \u6807\u51c6\u76ee\u5f55\u7ea6\u5b9a&#xff08;\u6587\u4ef6\u540e\u7aef\u6c99\u7bb1\u76ee\u5f55&#xff09;<\/h3>\n<p>plaintext<\/p>\n<p>workspace\/<br \/>\n\u251c\u2500\u2500 AGENTS.md      # Agent\u89d2\u8272\u7ea6\u675f<br \/>\n\u251c\u2500\u2500 MEMORY.md      # \u957f\u671f\u8bb0\u5fc6\u6587\u4ef6<br \/>\n\u251c\u2500\u2500 output\/        # Agent\u4ea7\u51fa\u62a5\u544a\u3001\u5bfc\u51fa\u6587\u4ef6<br \/>\n\u251c\u2500\u2500 src\/           # AI\u751f\u6210\u4ee3\u7801<br \/>\n\u2514\u2500\u2500 logs\/          # \u4f1a\u8bdd\u8fd0\u884c\u65e5\u5fd7<\/p>\n<p>\u8fd9\u5957\u76ee\u5f55\u5c31\u662f\u6c99\u7bb1\u540e\u7aef\u5728\u78c1\u76d8\u6620\u5c04\u51fa\u6765\u7684\u771f\u5b9e\u6587\u4ef6\u5939\u3002<\/p>\n<h3>\u516b\u3001\u6587\u4ef6\u540e\u7aef\u884d\u751f\u6280\u672f&#xff1a;\u6587\u4ef6\u5316\u72b6\u6001\u7ba1\u7406<\/h3>\n<p>\u8fd9\u662f Harness \u67b6\u6784\u6807\u5fd7\u6027\u8bbe\u8ba1&#xff1a;<\/p>\n<p>Brain\u2011Hands\u2011Session \u4e09\u5c42\u89e3\u8026 Brain (Harness \u8c03\u5ea6\u5c42) &#043; Hands (\u6c99\u7bb1\u6267\u884c\u5c42\u2011\u6587\u4ef6\u540e\u7aef) &#043; Session (\u4e8b\u4ef6\u65e5\u5fd7) \u6587\u4ef6\u540e\u7aef\u4f5c\u4e3a Harness \u8c03\u5ea6\u5c42\u548c\u6c99\u7bb1\u6267\u884c\u5c42\u4e4b\u95f4\u901a\u4fe1\u6865\u6881&#xff0c;\u6240\u6709\u6267\u884c\u7ed3\u679c\u901a\u8fc7\u6587\u4ef6\u4f20\u9012&#xff0c;\u800c\u975e\u5185\u5b58\u53d8\u91cf&#xff0c;\u4efb\u52a1\u4e2d\u65ad\u540e\u53ef\u4ece\u6587\u4ef6\u6062\u590d\u7ee7\u7eed\u8dd1&#xff0c;\u652f\u6301\u65ad\u70b9\u7eed\u8dd1\u3001\u56de\u6eda\u91cd\u8bd5\u3002<\/p>\n<h3>\u4e5d\u3001\u7b80\u6613\u4ee3\u7801\u9aa8\u67b6&#xff08;TS \u7248 CompositeBackend \u53c2\u8003\u5b9e\u73b0&#xff09;<\/h3>\n<p>typescript<\/p>\n<p>\u8fd0\u884c<\/p>\n<p>\/\/ \u6587\u4ef6\u540e\u7aef\u7edf\u4e00\u63a5\u53e3<br \/>\ninterface IFileBackend{<br \/>\n  read(path:string):Promise&lt;string&gt;<br \/>\n  write(path:string,content:string):Promise&lt;void&gt;<br \/>\n  list(path:string):Promise&lt;string[]&gt;<br \/>\n  remove(path:string):Promise&lt;void&gt;<br \/>\n}<\/p>\n<p>\/\/ \u7efc\u5408\u8def\u7531\u540e\u7aef<br \/>\nclass CompositeBackend implements IFileBackend{<br \/>\n  sandbox:SandboxBackend<br \/>\n  memory:MemoryBackend<br \/>\n  store:StoreBackend<\/p>\n<p>  getBackend(path:string):IFileBackend{<br \/>\n    if(path.startsWith(&#034;memory:\/\/&#034;)) return this.memory<br \/>\n    if(path.startsWith(&#034;store:\/\/&#034;)) return this.store<br \/>\n    return this.sandbox<br \/>\n  }<\/p>\n<p>  async read(path:string){<br \/>\n    const backend&#061;this.getBackend(path)<br \/>\n    return backend.read(path)<br \/>\n  }<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Harness \u67b6\u6784&#xff1a;Agent \u8fd0\u884c\u5916\u58f3&#xff0c;\u6587\u4ef6\u540e\u7aef (File\u2011Backend) \u5c31\u662f AI \u667a\u80fd\u4f53\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\u5c42&#xff0c;\u8d1f\u8d23\u6240\u6709\u6587\u4ef6&#xff1a;\u589e\u3001\u5220\u3001\u6539\u3001\u67e5\u3001\u6267\u884c\u4e94\u5927\u64cd\u4f5c&#xff1b;\u591a Agent \u4e4b\u95f4\u5168\u5c40\u5171\u4eab&#xff0c;\u5b50 Agent \u4e0d\u9694\u79bb\u6587\u4ef6\u540e\u7aef\u8d44\u6e90\u3002\u4e00\u3001\u4e3a\u4ec0\u4e48 Harness \u5fc5\u987b\u8981\u6709\u6587\u4ef6\u540e\u7aef\u88f8\u5927\u6a21\u578b\u53ea\u80fd\u628a\u5168\u90e8\u6570\u636e\u585e\u8fdb\u4e0a\u4e0b\u6587\u7a97\u53e3&#xff0c;\u5b58\u5728\u81f4\u547d\u7f3a\u9677&#xff1a;Token \u4e0a\u9650\u74f6\u9888&#xff1a;\u5927\u91cf\u65e5<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10848,66,50],"topic":[],"class_list":["post-100464","post","type-post","status-publish","format-standard","hentry","category-server","tag-harness","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>Harness\uff08Agent \u9a7e\u9a6d\u5c42\uff09\u6587\u4ef6\u540e\u7aef\u5b8c\u6574\u89e3\u6790 - \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\/100464.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Harness\uff08Agent \u9a7e\u9a6d\u5c42\uff09\u6587\u4ef6\u540e\u7aef\u5b8c\u6574\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Harness \u67b6\u6784&#xff1a;Agent \u8fd0\u884c\u5916\u58f3&#xff0c;\u6587\u4ef6\u540e\u7aef (File\u2011Backend) \u5c31\u662f AI \u667a\u80fd\u4f53\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\u5c42&#xff0c;\u8d1f\u8d23\u6240\u6709\u6587\u4ef6&#xff1a;\u589e\u3001\u5220\u3001\u6539\u3001\u67e5\u3001\u6267\u884c\u4e94\u5927\u64cd\u4f5c&#xff1b;\u591a Agent \u4e4b\u95f4\u5168\u5c40\u5171\u4eab&#xff0c;\u5b50 Agent \u4e0d\u9694\u79bb\u6587\u4ef6\u540e\u7aef\u8d44\u6e90\u3002\u4e00\u3001\u4e3a\u4ec0\u4e48 Harness \u5fc5\u987b\u8981\u6709\u6587\u4ef6\u540e\u7aef\u88f8\u5927\u6a21\u578b\u53ea\u80fd\u628a\u5168\u90e8\u6570\u636e\u585e\u8fdb\u4e0a\u4e0b\u6587\u7a97\u53e3&#xff0c;\u5b58\u5728\u81f4\u547d\u7f3a\u9677&#xff1a;Token \u4e0a\u9650\u74f6\u9888&#xff1a;\u5927\u91cf\u65e5\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/100464.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-04T11:04:03+00:00\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/100464.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/100464.html\",\"name\":\"Harness\uff08Agent \u9a7e\u9a6d\u5c42\uff09\u6587\u4ef6\u540e\u7aef\u5b8c\u6574\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-04T11:04:03+00:00\",\"dateModified\":\"2026-09-04T11:04:03+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/100464.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/100464.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/100464.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Harness\uff08Agent \u9a7e\u9a6d\u5c42\uff09\u6587\u4ef6\u540e\u7aef\u5b8c\u6574\u89e3\u6790\"}]},{\"@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":"Harness\uff08Agent \u9a7e\u9a6d\u5c42\uff09\u6587\u4ef6\u540e\u7aef\u5b8c\u6574\u89e3\u6790 - \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\/100464.html","og_locale":"zh_CN","og_type":"article","og_title":"Harness\uff08Agent \u9a7e\u9a6d\u5c42\uff09\u6587\u4ef6\u540e\u7aef\u5b8c\u6574\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Harness \u67b6\u6784&#xff1a;Agent \u8fd0\u884c\u5916\u58f3&#xff0c;\u6587\u4ef6\u540e\u7aef (File\u2011Backend) \u5c31\u662f AI \u667a\u80fd\u4f53\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\u5c42&#xff0c;\u8d1f\u8d23\u6240\u6709\u6587\u4ef6&#xff1a;\u589e\u3001\u5220\u3001\u6539\u3001\u67e5\u3001\u6267\u884c\u4e94\u5927\u64cd\u4f5c&#xff1b;\u591a Agent \u4e4b\u95f4\u5168\u5c40\u5171\u4eab&#xff0c;\u5b50 Agent \u4e0d\u9694\u79bb\u6587\u4ef6\u540e\u7aef\u8d44\u6e90\u3002\u4e00\u3001\u4e3a\u4ec0\u4e48 Harness \u5fc5\u987b\u8981\u6709\u6587\u4ef6\u540e\u7aef\u88f8\u5927\u6a21\u578b\u53ea\u80fd\u628a\u5168\u90e8\u6570\u636e\u585e\u8fdb\u4e0a\u4e0b\u6587\u7a97\u53e3&#xff0c;\u5b58\u5728\u81f4\u547d\u7f3a\u9677&#xff1a;Token \u4e0a\u9650\u74f6\u9888&#xff1a;\u5927\u91cf\u65e5","og_url":"https:\/\/www.wsisp.com\/helps\/100464.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-04T11:04:03+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/100464.html","url":"https:\/\/www.wsisp.com\/helps\/100464.html","name":"Harness\uff08Agent \u9a7e\u9a6d\u5c42\uff09\u6587\u4ef6\u540e\u7aef\u5b8c\u6574\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-04T11:04:03+00:00","dateModified":"2026-09-04T11:04:03+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/100464.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/100464.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/100464.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Harness\uff08Agent \u9a7e\u9a6d\u5c42\uff09\u6587\u4ef6\u540e\u7aef\u5b8c\u6574\u89e3\u6790"}]},{"@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\/100464","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=100464"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/100464\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=100464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=100464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=100464"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=100464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}