{"id":858,"date":"2025-08-02T10:13:50","date_gmt":"2025-08-02T02:13:50","guid":{"rendered":"https:\/\/www.agidt.com\/?p=858"},"modified":"2025-08-02T10:13:50","modified_gmt":"2025-08-02T02:13:50","slug":"%e5%bc%80%e6%ba%90top%e9%a1%b9%e7%9b%ae_aiclient-2-api-2","status":"publish","type":"post","link":"https:\/\/www.agidt.com\/?p=858","title":{"rendered":"\u5f00\u6e90TOP\u9879\u76ee_AIClient-2-API'"},"content":{"rendered":"\n<p>\u538c\u5026\u4e86\u5728\u5404\u79cdAI\u6a21\u578b\u95f4\u6765\u56de\u5207\u6362\uff0c\u88ab\u70e6\u4eba\u7684API\u989d\u5ea6\u9650\u5236\u675f\u7f1a\u624b\u811a\uff1f\u73b0\u5728\uff0c\u4f60\u6709\u4e86\u4e00\u4e2a\u7ec8\u6781\u89e3\u51b3\u65b9\u6848\uff01\ud83c\udf89 <a rel=\"nofollow\" href=\"https:\/\/github.com\/justlovemaki\/AIClient-2-API\">&#8216;AIClient-2-API&#8217;<\/a> \u4e0d\u4ec5\u4ec5\u662f\u4e00\u4e2a\u666e\u901a\u7684API\u4ee3\u7406\uff0c\u5b83\u662f\u4e00\u4e2a\u80fd\u5c06 Gemini CLI \u548c Kiro \u5ba2\u6237\u7aef\u7b49\u5de5\u5177&#8221;\u70b9\u77f3\u6210\u91d1\u201d\uff0c\u53d8\u4e3a\u5f3a\u5927 OpenAI \u517c\u5bb9 API \u7684\u9b54\u6cd5\u76d2\u5b50\u3002<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u9879\u76ee\u7684\u6838\u5fc3\u9b45\u529b\u5728\u4e8e\u5b83\u7684&#8221;\u9006\u5411\u601d\u7ef4\u201d\u548c\u5f3a\u5927\u529f\u80fd\uff1a<\/p>\n\n\n\n<p>\u2728&nbsp;<strong>\u5ba2\u6237\u7aef\u53d8API\uff0c\u89e3\u9501\u65b0\u59ff\u52bf<\/strong>\uff1a\u6211\u4eec\u5de7\u5999\u5730\u5229\u7528 Gemini CLI \u7684 OAuth \u767b\u5f55\uff0c\u8ba9\u4f60\u8f7b\u677e<strong>\u7a81\u7834\u5b98\u65b9\u514d\u8d39API\u7684\u901f\u7387\u548c\u989d\u5ea6\u9650\u5236<\/strong>\u3002\u66f4\u4ee4\u4eba\u5174\u594b\u7684\u662f\uff0c\u901a\u8fc7\u5c01\u88c5 Kiro \u5ba2\u6237\u7aef\u7684\u63a5\u53e3\uff0c\u6211\u4eec\u6210\u529f<strong>\u7834\u89e3\u5176API\uff0c\u8ba9\u4f60\u80fd\u514d\u8d39\u4e1d\u6ed1\u5730\u8c03\u7528\u5f3a\u5927\u7684 Claude \u6a21\u578b<\/strong>\uff01\u8fd9\u4e3a\u4f60\u63d0\u4f9b\u4e86&nbsp;<strong>&#8220;\u4f7f\u7528\u514d\u8d39Claude API\u52a0 Claude Code\uff0c\u5f00\u53d1\u7f16\u7a0b\u7684\u7ecf\u6d4e\u5b9e\u7528\u65b9\u6848\u201d<\/strong>\u3002<\/p>\n\n\n\n<p>\ud83d\udd27&nbsp;<strong>\u7cfb\u7edf\u63d0\u793a\u8bcd\uff0c\u7531\u4f60\u638c\u63a7<\/strong>\uff1a\u60f3\u8ba9AI\u66f4\u542c\u8bdd\uff1f\u6211\u4eec\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u7cfb\u7edf\u63d0\u793a\u8bcd\uff08System Prompt\uff09\u7ba1\u7406\u529f\u80fd\u3002\u4f60\u53ef\u4ee5\u8f7b\u677e**\u63d0\u53d6\u3001\u66ff\u6362\uff08&#8217;overwrite&#8217;\uff09\u6216\u8ffd\u52a0\uff08&#8217;append&#8217;\uff09**\u4efb\u4f55\u8bf7\u6c42\u4e2d\u7684\u7cfb\u7edf\u63d0\u793a\u8bcd\uff0c\u5728\u670d\u52a1\u7aef\u7cbe\u7ec6\u5730\u8c03\u6574AI\u7684\u884c\u4e3a\uff0c\u800c\u65e0\u9700\u4fee\u6539\u5ba2\u6237\u7aef\u4ee3\u7801\u3002<\/p>\n\n\n\n<p>\ud83d\udca1&nbsp;<strong>\u9876\u7ea7\u4f53\u9a8c\uff0c\u5e73\u6c11\u6210\u672c<\/strong>\uff1a\u60f3\u8c61\u4e00\u4e0b\uff0c<strong>\u5728\u4f60\u7684\u7f16\u8f91\u5668\u91cc\u7528 Kilo \u4ee3\u7801\u52a9\u624b\uff0c\u52a0\u4e0a Cursor \u7684\u9ad8\u6548\u63d0\u793a\u8bcd\uff0c\u518d\u914d\u4e0a\u4efb\u610f\u9876\u7ea7\u5927\u6a21\u578b\u2014\u2014\u7528 Cursor\uff0c\u53c8\u4f55\u5fc5\u662f Cursor\uff1f<\/strong>&nbsp;\u672c\u9879\u76ee\u8ba9\u4f60\u80fd\u4ee5\u6781\u4f4e\u7684\u6210\u672c\uff0c\u7ec4\u5408\u51fa\u5ab2\u7f8e\u4ed8\u8d39\u5de5\u5177\u7684\u5f00\u53d1\u4f53\u9a8c\u3002\u540c\u65f6\u652f\u6301MCP\u534f\u8bae\u548c\u56fe\u7247\u3001\u6587\u6863\u7b49\u591a\u6a21\u6001\u8f93\u5165\uff0c\u8ba9\u4f60\u7684\u521b\u610f\u4e0d\u518d\u53d7\u9650\u3002<\/p>\n\n\n\n<p>\u544a\u522b\u7e41\u7410\u914d\u7f6e\u548c\u6602\u8d35\u8d26\u5355\uff0c\u62e5\u62b1\u8fd9\u4e2a\u96c6\u514d\u8d39\u3001\u5f3a\u5927\u3001\u7075\u6d3b\u4e8e\u4e00\u8eab\u7684AI\u5f00\u53d1\u65b0\u8303\u5f0f\u5427\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u538c\u5026\u4e86\u5728\u5404\u79cdAI\u6a21\u578b\u95f4\u6765\u56de\u5207\u6362\uff0c\u88ab\u70e6\u4eba\u7684API\u989d\u5ea6\u9650\u5236\u675f\u7f1a\u624b\u811a\uff1f\u73b0\u5728\uff0c\u4f60\u6709\u4e86\u4e00\u4e2a\u7ec8\u6781\u89e3\u51b3\u65b9\u6848\uff01\ud83c\udf89 &#8216;AIClient-2-API&#8217; \u4e0d\u4ec5\u4ec5\u662f\u4e00\u4e2a\u666e\u901a\u7684API\u4ee3\u7406\uff0c\u5b83\u662f\u4e00\u4e2a\u80fd\u5c06 Gemini CLI \u548c Kiro \u5ba2\u6237&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"topic":[],"class_list":["post-858","post","type-post","status-publish","format-standard","hentry","category-ai-essentials"],"_links":{"self":[{"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/posts\/858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=858"}],"version-history":[{"count":1,"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/posts\/858\/revisions"}],"predecessor-version":[{"id":861,"href":"https:\/\/www.agidt.com\/index.php?rest_route=\/wp\/v2\/posts\/858\/revisions\/861"}],"wp:attachment":[{"href":"https:\/\/www.agidt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=858"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.agidt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}