{"id":19227,"date":"2025-07-26T12:02:39","date_gmt":"2025-07-26T04:02:39","guid":{"rendered":"https:\/\/aicats.wiki\/sites\/19227.html"},"modified":"2025-07-26T12:02:50","modified_gmt":"2025-07-26T04:02:50","slug":"codex","status":"publish","type":"sites","link":"https:\/\/aicats.wiki\/en\/sites\/19227.html","title":{"rendered":"Codex"},"content":{"rendered":"<h1 class=\"wp-block-heading\">\u63ed\u79d8 Codex\uff1aOpenAI \u6700\u65b0AI\u7f16\u7a0b\u5de5\u5177\u5e73\u53f0\u6df1\u5ea6\u89e3\u6790<\/h1>\n\n\n\n<p>\u968f\u7740\u4eba\u5de5\u667a\u80fd\u9a71\u52a8\u7684\u4ea7\u4e1a\u5347\u7ea7\u52a0\u901f\uff0c\u5f00\u53d1\u8005\u4e0e\u4f01\u4e1a\u6108\u53d1\u5173\u6ce8\u5982\u4f55\u5229\u7528\u524d\u6cbf<a href=\"https:\/\/aicats.wiki\/en\/sites\/13570-html\/\" title=\"Cursor\">AI\u6280\u672f\u63d0\u5347\u7f16\u7a0b\u6548\u7387<\/a>\u3002OpenAI \u65d7\u4e0b\u7684 Codex \u6b63\u662f AI \u8bad\u7ec3\u6a21\u578b\u5728\u8f6f\u4ef6\u5f00\u53d1\u9886\u57df\u843d\u5730\u7684\u4ee3\u8868\u6027\u5e94\u7528\u3002\u672c\u6587\u5c06\u4ece\u65b0\u95fb\u62a5\u9053\u7684\u89c6\u89d2\uff0c<strong>\u5168\u9762\u5256\u6790 Codex \u7684\u529f\u80fd\u3001\u4ef7\u683c\u3001\u4f7f\u7528\u65b9\u5f0f\u3001\u9002\u7528\u4eba\u7fa4\u53ca\u672a\u6765\u8d8b\u52bf<\/strong>\uff0c\u5e76\u7ed3\u5408\u8868\u683c\u3001\u6e05\u5355\u548c\u5e38\u89c1\u95ee\u7b54\uff0c\u4e3a\u5e7f\u5927\u8bfb\u8005\u5e26\u6765\u6700\u6743\u5a01\u8be6\u5b9e\u7684\u89e3\u8bfb\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>&gt; \u27a1 \u5b98\u65b9\u4ecb\u7ecd\u4e0e\u5165\u53e3\uff1a<a href=\"https:\/\/openai.com\/blog\/openai-codex\" target=\"_blank\"  rel=\"nofollow noopener\"  class=\"external\" >OpenAI Codex\u5b98\u7f51<\/a><\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Codex \u7684\u4e3b\u8981\u529f\u80fd<\/h2>\n\n\n\n<p>Codex \u662f\u4ec0\u4e48\uff1f\u5b83\u4e0d\u4ec5\u662f\u4e00\u4e2a AI \u8bad\u7ec3\u6a21\u578b\uff0c\u66f4\u662f\u4e00\u5957\u5d4c\u5165\u5f00\u53d1\u8005\u65e5\u5e38\u7f16\u7801\u6d41\u7a0b\u7684\u667a\u80fd\u4f53\uff0c\u80fd\u591f\u7406\u89e3\u81ea\u7136\u8bed\u8a00\u4e0e\u7f16\u7a0b<a class=\"external\" href=\"https:\/\/aicats.wiki\/en\/sitetag\/code\" title=\"View articles related to \u4ee3\u7801\" target=\"_blank\">code<\/a>\uff0c\u5e76\u5b9e\u73b0\u81ea\u52a8\u5316\u7f16\u7a0b\u4efb\u52a1\u3002Codex \u7531 OpenAI \u63d0\u4f9b\u652f\u6301\uff0c\u662f GitHub Copilot\u3001ChatGPT \u7f16\u5199\u4ee3\u7801\u7b49\u529f\u80fd\u7684\u6838\u5fc3\u9a71\u52a8\u5f15\u64ce\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1593\" height=\"894\" src=\"https:\/\/aicats.wiki\/wp-content\/uploads\/2025\/07\/image-604-5.jpg\" alt=\"Codex\u5b98\u7f51\u622a\u56fe\" class=\"wp-image-19388\"\/><figcaption class=\"wp-element-caption\">Photo\/<a href=\"https:\/\/openai.com\/blog\/openai-codex\" title=\"\" target=\"_blank\"  rel=\"nofollow noopener\"  class=\"external\" >Codex\u5b98\u7f51\u622a\u56fe<\/a><\/figcaption><\/figure>\n\n\n\n<p><strong>\u6838\u5fc3\u529f\u80fd\u5305\u62ec\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u81ea\u7136\u8bed\u8a00\u8f6c\u4ee3\u7801<\/strong>\uff1a\u7528\u6237\u53ef\u7528\u666e\u901a\u82f1\u6587\uff08\u6216\u5176\u4ed6\u8bed\u8a00\uff09\u76f4\u63a5\u63cf\u8ff0\u9700\u6c42\uff0cCodex \u5373\u53ef\u751f\u6210\u7b26\u5408\u8981\u6c42\u7684\u53ef\u8fd0\u884c\u4ee3\u7801\u3002<\/li>\n\n\n\n<li><strong>Multilingual support<\/strong>\uff1a\u76ee\u524d\u652f\u6301\u9ad8\u8fbe\u5341\u6570\u79cd\u4e3b\u6d41\u7f16\u7a0b\u8bed\u8a00\uff0c\u5305\u62ec Python\u3001JavaScript\u3001TypeScript\u3001Go\u3001Ruby\u3001C++\u3001Java \u7b49\u3002<\/li>\n\n\n\n<li><strong>Intelligent code completion and refactoring<\/strong>\uff1a\u53ef\u5bf9\u5c40\u90e8\u4ee3\u7801\u8fdb\u884c\u7cbe\u51c6\u7eed\u5199\u3001\u4f18\u5316\u4e0e\u81ea\u52a8\u91cd\u6784\uff0c\u5927\u5e45\u63d0\u5347\u5f00\u53d1\u6548\u7387\u548c\u4ee3\u7801\u8d28\u91cf\u3002<\/li>\n\n\n\n<li><strong>\u81ea\u52a8\u6d4b\u8bd5\u751f\u6210\u4e0e\u4fee\u590d<\/strong>\uff1a\u53ef\u6839\u636e\u529f\u80fd\u9700\u6c42\u751f\u6210\u6d4b\u8bd5\u4ee3\u7801\uff0c\u53d1\u73b0\u5e76\u4fee\u590d\u5e38\u89c1 Bug\u3002<\/li>\n\n\n\n<li><strong>\u4ee3\u7801\u5ba1\u67e5\u4e0e\u5efa\u8bae<\/strong>\uff1a\u81ea\u52a8\u5316\u8f85\u52a9\u4ee3\u7801\u8bc4\u5ba1\uff0c\u7ed9\u51fa\u6700\u4f73\u5b9e\u8df5\u5efa\u8bae\u751a\u81f3\u76f4\u63a5\u8f93\u51fa Pull Request\u3002<\/li>\n\n\n\n<li><strong>\u65e0\u7f1d\u96c6\u6210\u5e38\u7528\u5f00\u53d1\u5de5\u5177\u94fe<\/strong>\uff1a\u5982Git\u3001VS Code\u3001\u547d\u4ee4\u884c\u7b49\u5747\u53ef\u76f4\u63a5\u8c03\u7528 Codex \u667a\u80fd\u4f53\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>Function Comparison Table<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Functional modules<\/th><th>Function Description<\/th><th>\u652f\u6301\u7a0b\u5ea6<\/th><th>Remark<\/th><\/tr><\/thead><tbody><tr><td>Code generation<\/td><td>\u7528\u81ea\u7136\u8bed\u8a00\u751f\u6210\u5b8c\u6574\u4ee3\u7801<\/td><td>\u2605\u2605\u2605\u2605\u2605<\/td><td>Multilingual support<\/td><\/tr><tr><td>Code completion<\/td><td>\u667a\u80fd\u8865\u5168\u4ee3\u7801\u7247\u6bb5<\/td><td>\u2605\u2605\u2605\u2605\u2605<\/td><td>\u652f\u6301\u4e0a\u4e0b\u6587\u5206\u6790<\/td><\/tr><tr><td>Bug \u4fee\u590d<\/td><td>\u81ea\u52a8\u68c0\u6d4b\u5e76\u4fee\u590d\u5e38\u89c1\u9519\u8bef<\/td><td>\u2605\u2605\u2605\u2605\u2606<\/td><td>\u53ef\u6301\u7eed\u4f18\u5316<\/td><\/tr><tr><td>Code review<\/td><td>\u8f93\u51fa\u4ee3\u7801\u8d28\u91cf\u5efa\u8bae<\/td><td>\u2605\u2605\u2605\u2605\u2606<\/td><td>\u5ba1\u6838\u4f18\u5148\u7ea7\u9ad8<\/td><\/tr><tr><td>Document generation<\/td><td>\u81ea\u52a8\u751f\u6210\u9879\u76ee\u6587\u6863<\/td><td>\u2605\u2605\u2605\u2605<\/td><td>\u652f\u6301Markdown<\/td><\/tr><tr><td>\u8de8\u7ec8\u7aef\u4e0e\u5e73\u53f0<\/td><td>CLI\/ IDE\/\u4e91\u7aef\u591a\u7aef\u8c03\u7528<\/td><td>\u2605\u2605\u2605\u2605\u2605<\/td><td>Mac\/Win\/Ubuntu<\/td><\/tr><tr><td>\u96c6\u6210\u5916\u90e8\u5b58\u50a8\u4e0e\u5de5\u5177<\/td><td>\u5bf9\u63a5\u5e38\u89c1CI\/CD\u5de5\u5177<\/td><td>\u2605\u2605\u2605\u2605\u2606<\/td><td>\u4fbf\u4e8e\u56e2\u961f\u534f\u4f5c<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>> \u67e5\u770b\u66f4\u591a\u5b98\u65b9\u529f\u80fd\u6f14\u793a\uff1a<a href=\"https:\/\/openai.com\/blog\/openai-codex\" target=\"_blank\"  rel=\"nofollow noopener\"  class=\"external\" >OpenAI Codex \u535a\u5ba2<\/a><\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1593\" height=\"894\" src=\"https:\/\/aicats.wiki\/wp-content\/uploads\/2025\/07\/image-604.png\" alt=\"Official introduction\" class=\"wp-image-19391\"\/><figcaption class=\"wp-element-caption\">Image\/Official Introduction<\/figcaption><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Codex \u7684\u4ef7\u683c\u4e0e\u65b9\u6848<\/h2>\n\n\n\n<p><strong>Codex \u7684\u5b9a\u4ef7\u4e0e\u4f7f\u7528\u653f\u7b56\u6781\u5177\u5f39\u6027<\/strong>\uff0c\u65e8\u5728\u670d\u52a1\u5e7f\u6cdb\u521d\u521b\u56e2\u961f\u3001\u4e2a\u4eba\u5f00\u53d1\u8005\u5230\u5927\u578b\u4f01\u4e1a\u7ec4\u7ec7\u3002\u622a\u81f32024\u5e74\uff0cCodex \u5df2\u901a\u8fc7\u591a\u79cd\u5f62\u6001\u5f00\u653e\u63a5\u5165\uff0c\u5305\u62ec\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>ChatGPT \u4fa7\u680f Codex \u667a\u80fd\u4f53<\/strong>\uff1a\u9762\u5411 ChatGPT Pro\/Team\/Enterprise \u7528\u6237\u7387\u5148\u5f00\u653e\uff0cPlus \u7528\u6237\u5c06\u9646\u7eed\u63a8\u51fa\u4f53\u9a8c\u6743\uff08\u6682\u65f6\u514d\u8d39\uff0c\u672a\u6765\u5c06\u5207\u6362\u4e3a\u8ba1\u8d39\u6a21\u5f0f\uff09\u3002<\/li>\n\n\n\n<li><strong>Codex CLI\uff08\u547d\u4ee4\u884c\u5de5\u5177\uff09<\/strong>\uff1a\u5f00\u6e90\u5de5\u5177\uff0c\u652f\u6301\u514d\u8d39\u5b89\u88c5\u4e0e\u672c\u5730\u8fd0\u884c\uff0c\u4f46\u82e5\u8c03\u7528\u4e91\u7aef AI \u6a21\u578b\u4f1a\u6d88\u8017\u8d26\u6237\u989d\u5ea6\u3002<\/li>\n\n\n\n<li><strong>API \u5546\u4e1a\u4ed8\u8d39<\/strong>\uff1aCodex-mini-latest\u7248\u672c\u516c\u5f00 API\uff0c\u8f93\u5165\u4e0e\u8f93\u51fa\u90fd\u91c7\u7528\u5206\u6bb5\u8ba1\u4ef7\u3002\n<ul class=\"wp-block-list\">\n<li>\u8f93\u5165\uff08per 1M tokens\uff09\uff1a$1.50<\/li>\n\n\n\n<li>\u8f93\u51fa\uff08per 1M tokens\uff09\uff1a$6.00<\/li>\n\n\n\n<li>75% \u9ad8\u547d\u4e2d\u7f13\u5b58\u6298\u6263<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u540e\u7eed\u5c06\u6709\u66f4\u7075\u6d3b\u7684\u5957\u9910\u4e0e\u5305\u6708\u65b9\u6848\u4e0a\u7ebf<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u8be6\u7ec6\u4ef7\u683c\u53ca\u7248\u672c\u5bf9\u6bd4\u8868<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Scheme type<\/th><th>Applicable to<\/th><th>Functional range<\/th><th>Price Structure<\/th><th>\u5165\u53e3\/\u8bf4\u660e<\/th><\/tr><\/thead><tbody><tr><td>ChatGPT Pro<\/td><td>\u4f01\u4e1a\u4e0e\u8d44\u6df1\u7528\u6237<\/td><td>\u9ad8\u7ea7\u4ee3\u7801\u751f\u6210\u4e0e\u4efb\u52a1\u81ea\u52a8\u5316<\/td><td>Plus \u7248\u57fa\u7840\u4e0a\u6708\u4ed8\u5347\u7ea7\uff0c\u8be6\u60c5\u89c1<a href=\"https:\/\/openai.com\/blog\/openai-codex\" target=\"_blank\"  rel=\"nofollow noopener\"  class=\"external\" >Official website<\/a><\/td><td>\u9700\u5347\u7ea7Pro\u540e\u81ea\u52a8\u83b7\u5f97Codex\u4fa7\u680f<\/td><\/tr><tr><td>CLI\u5de5\u5177<\/td><td>\u5f00\u53d1\u4eba\u5458\/\u5f00\u6e90\u7231\u597d\u8005<\/td><td>\u7ec8\u7aef\u5185\u65e0\u7f1d\u4ee3\u7801\u52a9\u624b<\/td><td>\u514d\u8d39\u5f00\u6e90\uff08AI \u4ee4\u724c\u9700\u81ea\u5907\uff09<\/td><td><a href=\"https:\/\/github.com\/openai\/codex\" target=\"_blank\"  rel=\"nofollow noopener\"  class=\"external\" >GitHub open source repository<\/a><\/td><\/tr><tr><td>API \u5546\u4e1a\u7248<\/td><td>\u56e2\u961f\/\u4f01\u4e1a\/\u4ea7\u54c1\u751f\u4ea7<\/td><td>\u6279\u91cf\u4ee3\u7801\u751f\u6210\u3001\u4ea7\u54c1\u96c6\u6210<\/td><td>\u6309\u8c03\u7528\u91cf\u8ba1\u4ef7\u3001\u7075\u6d3b\u5145\u503c<\/td><td><a href=\"https:\/\/platform.openai.com\/docs\/codex\" target=\"_blank\"  rel=\"nofollow noopener\"  class=\"external\" >API\u5e73\u53f0\u5b9a\u4ef7<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>&gt; \u83b7\u53d6\u5b98\u65b9\u62a5\u4ef7\u53ca\u66f4\u591a\u4fe1\u606f\uff1a<a href=\"https:\/\/openai.com\/blog\/openai-codex\" target=\"_blank\"  rel=\"nofollow noopener\"  class=\"external\" >Codex \u5b9a\u4ef7\u9875\u9762<\/a><\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1593\" height=\"894\" src=\"https:\/\/aicats.wiki\/wp-content\/uploads\/2025\/07\/image-605.png\" alt=\"chatgpt pro\u4ed8\u8d39\" class=\"wp-image-19394\"\/><figcaption class=\"wp-element-caption\">Photo\/<a href=\"https:\/\/chatgpt.com\/?openaicom_referred=true#pricing\" title=\"\" target=\"_blank\"  rel=\"nofollow noopener\"  class=\"external\" >chatgpt pro\u4ed8\u8d39<\/a><\/figcaption><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5982\u4f55\u4f7f\u7528 Codex<\/h2>\n\n\n\n<p>\u5f97\u76ca\u4e8e OpenAI \u7684\u751f\u6001\u4f53\u7cfb\uff0c<strong>Codex \u652f\u6301\u591a\u79cd\u8bbf\u95ee\u65b9\u5f0f<\/strong>\uff0c\u6ee1\u8db3\u4e0d\u540c\u573a\u666f\u4e0b\u5f00\u53d1\u8005\u5bf9 AI \u4ee3\u7801\u52a9\u624b\u7684\u9700\u6c42\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. ChatGPT Codex \u5165\u53e3<\/h3>\n\n\n\n<p>\u53ea\u9700\u5728 ChatGPT \u9875\u9762\uff08Pro\/Team\/Enterprise \u7528\u6237\uff09\u4fa7\u680f\u91cc\u542f\u7528 Codex\uff0c\u5373\u53ef\u9488\u5bf9\u4ee3\u7801\u4ed3\u5e93\u3001\u4efb\u52a1\u6e05\u5355\u7b49\u591a\u79cd\u8f6f\u4ef6\u5de5\u7a0b\u5de5\u4f5c\u6d41\u53d1\u8d77\u4efb\u52a1\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Codex CLI \u672c\u5730\u5316\u7ec8\u7aef\u667a\u80fd\u4f53<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u901a\u8fc7 NPM \u6216 Homebrew \u4e00\u952e\u5b89\u88c5\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/li>\n<\/ul>\n\n\n\n<!--wp-compress-html--><!--wp-compress-html no compression-->\n<pre class=\"wp-block-code\"><code>npm install -g @open<a class=\"external\" href=\"https:\/\/aicats.wiki\/en\/sitetag\/ai\" title=\"View articles related to ai\" target=\"_blank\">ai<\/a>\/codex\n# \u6216\nbrew install codex\n<\/code><\/pre>\n<!--wp-compress-html no compression--><!--wp-compress-html-->\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u7ec8\u7aef\u5185\u6267\u884c `codex &#8220;\u4f60\u7684\u4efb\u52a1\u63cf\u8ff0&#8221;` \u5373\u53ef\u8c03\u7528 AI \u5bf9\u5de5\u7a0b\u76ee\u5f55\u5185\u6587\u4ef6\u81ea\u52a8\u5206\u6790\u3001\u751f\u6210\u3001\u4fee\u6539\u4ee3\u7801\u3002<\/li>\n\n\n\n<li>CLI\u5de5\u5177\u652f\u6301 suggest\u3001auto-edit\u3001full-auto \u4e09\u79cd\u5ba1\u67e5\u6216\u5168\u81ea\u52a8\u5de5\u4f5c\u6a21\u5f0f\uff0c\u5b89\u5168\u53c8\u53ef\u6eaf\u6e90\u3002\u8be6\u89c1<a href=\"https:\/\/github.com\/openai\/codex\" title=\"\" target=\"_blank\"  rel=\"nofollow noopener\"  class=\"external\" >\u5b98\u65b9 CLI \u6587\u6863<\/a>\u3002<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1593\" height=\"894\" src=\"https:\/\/aicats.wiki\/wp-content\/uploads\/2025\/07\/image-606.png\" alt=\"\u5b98\u65b9CLI\u6587\u6863\" class=\"wp-image-19397\"\/><figcaption class=\"wp-element-caption\">\u5716\uff0f\u5b98\u65b9CLI\u6587\u6863<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">3. API \u8c03\u7528<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u53ef\u901a\u8fc7\u9ad8\u6027\u80fd RESTful API \u5728\u4f01\u4e1a\u4ea7\u54c1\u3001CI\/CD \u6d41\u6c34\u7ebf\u6216\u81ea\u5b9a\u4e49\u5f00\u53d1\u5e73\u53f0\u96c6\u6210 Codex \u52a9\u624b\uff0c\u8be6\u89c1<a href=\"https:\/\/platform.openai.com\/docs\/codex\" target=\"_blank\"  rel=\"nofollow noopener\"  class=\"external\" >API documentation<\/a>\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">4. \u4e0e IDE \u8054\u52a8<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u672a\u6765\u5c06\u652f\u6301 VS Code \u7b49\u4e3b\u6d41 IDE \u4fa7\u8f7d\uff0c\u4f7f\u56e2\u961f\u66f4\u4f4e\u95e8\u69db\u4eab\u53d7 AI \u65f6\u4ee3\u7684\u534f\u540c\u5f00\u53d1\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>Use the process list<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u6ce8\u518c\u5e76\u5f00\u901a OpenAI \u8d26\u6237\uff08\u9700 API key\uff09<\/li>\n\n\n\n<li>\u5b89\u88c5 Codex CLI \u6216\u5b98\u65b9\u63a8\u8350\u63d2\u4ef6<\/li>\n\n\n\n<li>\u914d\u7f6e\u672c\u5730\u73af\u5883\u4e0e\u6743\u9650\uff08\u5982\u5bfc\u5165 .codex\/config.json\uff09<\/li>\n\n\n\n<li>\u5728\u547d\u4ee4\u884c\u6216 ChatGPT \u9875\u9762\u63cf\u8ff0\u4efb\u52a1\u5e76\u6267\u884c<\/li>\n\n\n\n<li>\u5ba1\u6838 Codex \u8f93\u51fa\u7ed3\u679c\uff0c\u786e\u8ba4\u65e0\u8bef\u540e\u5408\u5e76\u4ee3\u7801<\/li>\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>&gt; \u5b89\u5353\/Windows\/macOS\/Ubuntu\u7b49\u591a\u5e73\u53f0\u652f\u6301\uff0c\u914d\u7f6e\u6307\u5f15\u8be6\u89c1<a href=\"https:\/\/github.com\/openai\/codex\" target=\"_blank\"  rel=\"nofollow noopener\"  class=\"external\" >\u5b98\u65b9 Getting Started<\/a><\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Codex \u7684\u9002\u7528\u4eba\u7fa4<\/h2>\n\n\n\n<p><strong>Codex \u81f4\u529b\u4e8e\u8d4b\u80fd\u6240\u6709\u6709\u7f16\u7a0b\u53ca\u77e5\u8bc6\u81ea\u52a8\u5316\u9700\u6c42\u7684\u4eba\u7fa4\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4e13\u4e1a\u5f00\u53d1\u8005\u4e0e\u56e2\u961f<\/strong>\uff1a\u63d0\u5347\u4ee3\u7801\u751f\u4ea7\u529b\u3001\u4f18\u5316\u4ee3\u7801\u5ba1\u67e5\u4e0e\u9879\u76ee\u7ba1\u7406\u6d41\u7a0b<\/li>\n\n\n\n<li><strong>\u4f01\u4e8b\u4e1aIT\/DevOps\u90e8\u95e8<\/strong>\uff1a\u6279\u91cf\u8fd0\u7ef4\u3001\u81ea\u52a8\u5316\u811a\u672c\u3001\u6d41\u7a0b\u518d\u9020<\/li>\n\n\n\n<li><strong>\u8f6f\u4ef6\u6d4b\u8bd5\u53ca QA \u4eba\u5458<\/strong>\uff1a\u81ea\u52a8\u751f\u6210\u9ad8\u8d28\u91cf\u6d4b\u8bd5\u7528\u4f8b\u3001\u7528 AI \u5206\u6790\u548c\u4fee\u590d Bug<\/li>\n\n\n\n<li><strong>\u9ad8\u6821\u5e08\u751f\/\u79d1\u7814\u4eba\u5458<\/strong>\uff1a\u6559\u5b66\u8f85\u52a9\u3001\u7b97\u6cd5\u539f\u578b\u9a8c\u8bc1\u3001\u6570\u636e\u5904\u7406\u81ea\u52a8\u5316<\/li>\n\n\n\n<li><strong>\u6570\u636e\u5206\u6790\u5e08\u3001\u5de5\u7a0b\u5e08<\/strong>\uff1a\u81ea\u52a8\u751f\u6210 ETL \u811a\u672c\u6216\u5206\u6790\u5de5\u5177<\/li>\n\n\n\n<li><strong>\u975e\u6280\u672f\u804c\u80fd\u5982\u4ea7\u54c1\u7ecf\u7406\u3001\u8bbe\u8ba1\u5e08<\/strong>\uff1a\u7528\u81ea\u7136\u8bed\u8a00\u63cf\u8ff0\u610f\u56fe\uff0c\u534f\u52a9\u751f\u6210\u4ee3\u7801\u539f\u578b\u6216\u6587\u6863<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1593\" height=\"894\" src=\"https:\/\/aicats.wiki\/wp-content\/uploads\/2025\/07\/image-607.png\" alt=\"gihub\u5f00\u6e90\" class=\"wp-image-19400\"\/><figcaption class=\"wp-element-caption\">\u5716\uff0fgihub\u5f00\u6e90<\/figcaption><\/figure>\n\n\n\n<p><strong>\u4eba\u7fa4\u9700\u6c42-\u80fd\u529b\u8868<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>User type<\/th><th>\u5bf9 Codex \u7684\u4e3b\u8981\u597d\u5904<\/th><th>\u63a8\u8350\u8fde\u63a5\u5165\u53e3<\/th><\/tr><\/thead><tbody><tr><td>\u7a0b\u5e8f\u5458\/\u67b6\u6784\u5e08<\/td><td>\u4ee3\u7801\u8865\u5168\/\u81ea\u52a8\u91cd\u6784<\/td><td>CLI\/API<\/td><\/tr><tr><td>\u6570\u636e\u5206\u6790\/\u79d1\u5b66\u5bb6<\/td><td>\u811a\u672c\u81ea\u52a8\u5316\/\u6d41\u5f0f\u4efb\u52a1\u751f\u6210<\/td><td>ChatGPT\/CLI<\/td><\/tr><tr><td>\u6d4b\u8bd5\/QA<\/td><td>\u6d4b\u8bd5\u7528\u4f8b\u4e0eBug\u4fee\u590d\u81ea\u52a8\u5316<\/td><td>CLI\/API<\/td><\/tr><tr><td>\u4ea7\u54c1\u7ecf\u7406\/\u4e1a\u52a1<\/td><td>\u6587\u6863\/\u539f\u578b\u81ea\u52a8\u8f93\u51fa<\/td><td>ChatGPT<\/td><\/tr><tr><td>\u8fd0\u7ef4\/\u8fd0\u7ef4\u5de5\u7a0b\u5e08<\/td><td>\u8fd0\u7ef4\u811a\u672c\u3001\u4e00\u952e\u547d\u4ee4\u751f\u6210<\/td><td>CLI\/IDE<\/td><\/tr><tr><td>\u5b66\u751f\/\u6559\u80b2\u7528\u6237<\/td><td>\u6559\u5b66\u6f14\u793a\/\u7f16\u7a0b\u7ec3\u4e60\u8f85\u52a9<\/td><td>CLI\/IDE<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Codex \u6df1\u5165\u89e3\u8bfb\u4e0e\u5e38\u89c1\u6269\u5c55\u4e3b\u9898<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">AI\u8bad\u7ec3\u6a21\u578b\u7684\u8fed\u4ee3\u53d1\u5c55<\/h3>\n\n\n\n<p>Codex \u57fa\u4e8e GPT-3\/4 \u5e95\u5ea7\u8fdb\u884c\u4e86\u5927\u89c4\u6a21\u3001\u4e13\u95e8\u805a\u7126\u4e8e\u4ee3\u7801\u8bed\u6599\u7684 AI \u8bad\u7ec3\u6a21\u578b\u4f18\u5316\u3002\u5b98\u65b9\u6570\u636e\u663e\u793a\uff0cCodex \u91c7\u7528\u4e86\u5f3a\u5316\u5b66\u4e60+\u771f\u5b9e\u9879\u76ee\u4ee3\u7801\u591a\u8f6e\u8bc4\u6d4b\uff0c\u786e\u4fdd\u751f\u6210\u7684\u4ee3\u7801\u98ce\u683c\u4e0e\u4eba\u7c7b\u5de5\u7a0b\u5e08\u9ad8\u5ea6\u4e00\u81f4\u3002\u901a\u8fc7 AGENTS.md \u6587\u4ef6\u548c\u4efb\u52a1\u65e5\u5fd7\uff0c\u8fd8\u80fd\u6301\u7eed\u5b66\u4e60\u9879\u76ee\u5185\u6700\u4f73\u5b9e\u8df5\u4e0e\u4e1a\u52a1\u89c4\u8303\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1593\" height=\"894\" src=\"https:\/\/aicats.wiki\/wp-content\/uploads\/2025\/07\/image-608.png\" alt=\"API documentation\" class=\"wp-image-19403\"\/><figcaption class=\"wp-element-caption\">\u5716\uff0fapi\u6587\u6863\u8bf4\u660e<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u8de8\u5e73\u53f0\u4e0e\u5b89\u5168\u673a\u5236<\/h3>\n\n\n\n<p>Codex CLI \u652f\u6301 macOS\u3001Linux\uff0cWindows\u9700\u901a\u8fc7WSL2\u96c6\u6210\u8fd0\u884c\u3002\u6240\u6709\u672c\u5730\u64cd\u4f5c\u5747\u7ecf\u8fc7\u4e25\u683c\u6c99\u7bb1\u4e0e\u6743\u9650\u7ba1\u7406\uff0c\u5e76\u63d0\u4f9b\u654f\u611f\u6743\u9650\u63d0\u793a\uff0c\u4fdd\u8bc1\u4ee3\u7801\u5b89\u5168\u4e0e\u53ef\u63a7\u3002<\/p>\n\n\n\n<p><strong>\u7cfb\u7edf\u9700\u6c42\u5feb\u901f\u4e00\u89c8<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>project<\/th><th>\u6700\u4f4e\u8981\u6c42<\/th><th>recommend<\/th><\/tr><\/thead><tbody><tr><td>operating system<\/td><td>macOS 12+ \/ Ubuntu 20.04+ \/ Windows 11 WSL2<\/td><td>macOS Sonoma\/ Ubuntu 22.04 LTS<\/td><\/tr><tr><td>Memory<\/td><td>4 GB<\/td><td>8 GB \u53ca\u4ee5\u4e0a<\/td><\/tr><tr><td>rely<\/td><td>Git 2.23+<\/td><td>Latest version<\/td><\/tr><tr><td>\u5b89\u5168\u673a\u5236<\/td><td>\u6c99\u7bb1\u6587\u4ef6\u7cfb\u7edf<\/td><td>\u76ee\u5f55\u7ea7\u9694\u79bb<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f01\u4e1a\u96c6\u6210\u4e0e\u5f00\u653e\u751f\u6001<\/h3>\n\n\n\n<p>\u5b98\u65b9\u5df2\u53d1\u5e03 Codex API \u7684\u5f00\u653e\u6e90\u57fa\u91d1\uff0c\u9f13\u52b1\u5f00\u6e90\u793e\u533a\u548c\u4f01\u4e1a\u57fa\u4e8e Codex \u5f00\u53d1\u521b\u65b0\u5de5\u5177\uff0c\u652f\u6301\u9879\u76ee\u57fa\u91d1\u7533\u8bf7\u3002Codex \u8fd8\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e\u591a\u79cd provider \u652f\u6301 Azure\u3001OpenRouter\u7b49\u7b2c\u4e09\u65b9\u4e91\u670d\u52a1\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently Asked Questions<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1593\" height=\"894\" src=\"https:\/\/aicats.wiki\/wp-content\/uploads\/2025\/07\/image-609.png\" alt=\"Official website introduction\" class=\"wp-image-19408\"\/><figcaption class=\"wp-element-caption\">Image\/Official Website Introduction<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Codex\u53ef\u4ee5\u5b8c\u5168\u81ea\u52a8\u5316\u5f00\u53d1\u5de5\u4f5c\u5417\uff1f<\/h3>\n\n\n\n<p><strong>\u4e0d\u80fd\u3002<\/strong><br>Codex \u76ee\u524d\u4e13\u6ce8\u4e8e\u201c\u8f85\u52a9\u201d\u2014\u2014\u5373\u4fbf\u5b83\u53ef\u5728\u7279\u5b9a\u4efb\u52a1\u4e0a\u81ea\u4e3b\u8fd0\u884c\uff0c\u4f46\u590d\u6742\u9879\u76ee\u4ecd\u9700\u5f00\u53d1\u8005\u5bf9\u91cd\u8981\u903b\u8f91\u3001\u67b6\u6784\u548c\u5b89\u5168\u5ba1\u6838\u8d1f\u8d23\uff0cAI\u66f4\u591a\u626e\u6f14\u201c\u667a\u80fd\u52a9\u624b\u201d\u89d2\u8272\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5728\u56fd\u5185\u5982\u4f55\u987a\u5229\u4f7f\u7528 Codex\uff1f<\/h3>\n\n\n\n<p>\u7531\u4e8e Codex \u4f9d\u8d56\u4e91\u7aef API \u8c03\u7528\uff0c\u4e3a\u83b7\u5f97\u6700\u4f73\u4f53\u9a8c\u5efa\u8bae\u7ffb\u5899\u7a33\u5b9a\u4e14\u62e5\u6709 OpenAI API Key\u3002\u53ef\u8003\u8651\u4f7f\u7528\u56fd\u9645\u4e91\u4e3b\u673a\u6216\u4ee3\u7406\u73af\u5883\uff0c\u907f\u514dIP\u53d7\u9650\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Codex \u751f\u6210\u7684\u4ee3\u7801\u5b89\u5168\u5417\uff1f<\/h3>\n\n\n\n<p>Codex \u91c7\u7528\u4e25\u683c\u7684\u5b89\u5168\u6c99\u7bb1\uff0c<strong>\u4e0d\u4f1a\u4e3b\u52a8\u4e0a\u4f20\u672c\u5730\u5168\u90e8\u6e90\u4ee3\u7801<\/strong>\uff0c\u4ec5\u4ee5\u4efb\u52a1\u63cf\u8ff0\u548c\u5dee\u5206\u5305\u4e0e\u4e91\u7aef\u4ea4\u4e92\u3002\u540c\u65f6\uff0c\u5f3a\u70c8\u5efa\u8bae\u5f00\u53d1\u8005\u5728\u672c\u5730\u5ba1\u6838\u4efb\u4f55\u81ea\u52a8\u751f\u6210\/\u4fee\u6539\u7684\u4ee3\u7801\uff0c\u9632\u6b62\u6f5c\u5728\u903b\u8f91\u4e0e\u5b89\u5168\u6f0f\u6d1e\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Conclusion<\/strong><br>\u968f\u7740 AI \u7f16\u7a0b\u667a\u80fd\u4f53\u7684\u5feb\u901f\u666e\u53ca\uff0cCodex \u4e0d\u4ec5\u662f OpenAI \u6280\u672f\u521b\u65b0\u5b9e\u529b\u7684\u8c61\u5f81\uff0c\u66f4\u6b63\u5728\u53d8\u9769\u5168\u7403\u5f00\u53d1\u8005\u7684\u751f\u4ea7\u6a21\u5f0f\u3002\u65e0\u8bba\u4f60\u662f IT \u4e13\u4e1a\u4eba\u58eb\u3001\u6570\u636e\u5206\u6790\u5e08\u8fd8\u662f\u521d\u5b66\u8005\uff0c\u90fd\u80fd\u5728 Codex \u7684\u8d4b\u80fd\u4e0b\u4f53\u9a8c\u524d\u6240\u672a\u6709\u7684\u751f\u4ea7\u6548\u7387\u4e0e\u6280\u672f\u5e73\u6743\u3002\u672a\u6765\uff0cCodex \u8fd8\u5c06\u5728\u7aef\u4e91\u534f\u540c\u3001AI\/\u4eba\u534f\u4f5c\u5f00\u53d1\u3001\u4e1a\u52a1\u6d41\u7a0b\u81ea\u52a8\u5316\u7b49\u65b9\u9762\u6301\u7eed\u62d3\u5c55\u8fb9\u754c\u3002\u64c5\u7528 Codex\uff0c\u5c06\u662f\u901a\u5f80\u65b0\u4e00\u4ee3\u667a\u80fd\u8f6f\u4ef6\u5f00\u53d1\u8005\u4e0e\u6570\u5b57\u5316\u7ec4\u7ec7\u7684\u5173\u952e\u4e00\u6b65\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>&gt; <strong>\u76f8\u5173\u5b98\u65b9\u8d44\u6e90\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/openai.com\/blog\/openai-codex\" target=\"_blank\"  rel=\"nofollow noopener\"  class=\"external\" >Codex \u5b98\u7f51<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/openai\/codex\" target=\"_blank\"  rel=\"nofollow noopener\"  class=\"external\" >Codex CLI \u5f00\u6e90\u4ed3\u5e93<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/platform.openai.com\/docs\/codex\" target=\"_blank\"  rel=\"nofollow noopener\"  class=\"external\" >API \u63a5\u5165\u4e0e\u6587\u6863<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/chatgpt.com\/codex\" target=\"_blank\"  rel=\"nofollow noopener\"  class=\"external\" >ChatGPT Codex \u5165\u53e3<\/a><\/li>\n<\/ul>\n<\/blockquote>\n\n\n\n<p>\u66f4\u591a\u8be6\u7ec6\u62a5\u9053\uff0c\u656c\u8bf7\u5173\u6ce8\u540e\u7eed\u6301\u7eed\u8ddf\u8fdb\u3002<\/p>","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","meta":{"_crsspst_to_aicatswiki":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"content_visibility":[262],"sitetag":[17,679,680,799,804,681],"favorites":[571],"class_list":{"0":"post-19227","1":"sites","2":"type-sites","3":"status-publish","4":"hentry","5":"sitetag-ai","11":"favorites-ai-programming-tools"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/aicats.wiki\/en\/wp-json\/wp\/v2\/sites\/19227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aicats.wiki\/en\/wp-json\/wp\/v2\/sites"}],"about":[{"href":"https:\/\/aicats.wiki\/en\/wp-json\/wp\/v2\/types\/sites"}],"author":[{"embeddable":true,"href":"https:\/\/aicats.wiki\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/aicats.wiki\/en\/wp-json\/wp\/v2\/comments?post=19227"}],"version-history":[{"count":1,"href":"https:\/\/aicats.wiki\/en\/wp-json\/wp\/v2\/sites\/19227\/revisions"}],"predecessor-version":[{"id":19411,"href":"https:\/\/aicats.wiki\/en\/wp-json\/wp\/v2\/sites\/19227\/revisions\/19411"}],"wp:attachment":[{"href":"https:\/\/aicats.wiki\/en\/wp-json\/wp\/v2\/media?parent=19227"}],"wp:term":[{"taxonomy":"content_visibility","embeddable":true,"href":"https:\/\/aicats.wiki\/en\/wp-json\/wp\/v2\/content_visibility?post=19227"},{"taxonomy":"sitetag","embeddable":true,"href":"https:\/\/aicats.wiki\/en\/wp-json\/wp\/v2\/sitetag?post=19227"},{"taxonomy":"favorites","embeddable":true,"href":"https:\/\/aicats.wiki\/en\/wp-json\/wp\/v2\/favorites?post=19227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}