{"id":47868,"date":"2025-05-27T15:24:17","date_gmt":"2025-05-27T19:24:17","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=47868"},"modified":"2025-05-28T08:23:06","modified_gmt":"2025-05-28T12:23:06","slug":"openai-codex","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2025\/05\/27\/openai-codex\/","title":{"rendered":"OpenAI Codex"},"content":{"rendered":"<p><a href=\"https:\/\/openai.com\/index\/introducing-codex\/\">OpenAI<\/a> (via <a href=\"https:\/\/daringfireball.net\/linked\/2025\/05\/22\/claude-4\">John Gruber<\/a>):<\/p>\n<blockquote cite=\"https:\/\/openai.com\/index\/introducing-codex\/\"><p>Today we&rsquo;re launching a research preview of Codex: a cloud-based software engineering agent that can work on many tasks in parallel. Codex can perform tasks for you such as writing features, answering questions about your codebase, fixing bugs, and proposing pull requests for review; each task runs in its own cloud sandbox environment, preloaded with your repository.<\/p><p>Codex is powered by codex-1, a version of OpenAI o3 optimized for software engineering. It was trained using reinforcement learning on real-world coding tasks in a variety of environments to generate code that closely mirrors human style and PR preferences, adheres precisely to instructions, and can iteratively run tests until it receives a passing result. We&rsquo;re starting to roll out Codex to ChatGPT Pro, Enterprise, and Team users today, with support for Plus and Edu coming soon.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/simonwillison.net\/2025\/May\/16\/openai-codex\/#atom-everything\">Simon Willison<\/a>:<\/p>\n<blockquote cite=\"https:\/\/simonwillison.net\/2025\/May\/16\/openai-codex\/#atom-everything\"><p>This <a href=\"https:\/\/twitter.com\/openaidevs\/status\/1923492740526112819\">4 minute demo video<\/a> is a useful overview. One note that caught my eye is that the setup phase for an environment can pull from the internet (to install necessary dependencies) but the agent loop itself still runs in a network disconnected sandbox.<\/p><p>It sounds similar to GitHub&rsquo;s own <a href=\"https:\/\/githubnext.com\/projects\/copilot-workspace\">Copilot Workspace<\/a> project, which can compose PRs against your code based on a prompt. The big difference is that Codex incorporates a full Code Interpeter style environment, allowing it to build and run the code it&rsquo;s creating and execute tests in a loop.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2025\/05\/27\/google-i-o-2025\/\">Google I\/O 2025<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2025\/05\/27\/claude-4\/\">Claude 4<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2025\/03\/12\/whither-swift-assist\/\">Whither Swift Assist?<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2021\/07\/07\/github-copilot-and-copyright\/\">GitHub Copilot and Copyright<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>OpenAI (via John Gruber): Today we&rsquo;re launching a research preview of Codex: a cloud-based software engineering agent that can work on many tasks in parallel. Codex can perform tasks for you such as writing features, answering questions about your codebase, fixing bugs, and proposing pull requests for review; each task runs in its own cloud [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2025-05-27T19:24:21Z","apple_news_api_id":"3e1b0120-2464-41e7-8c8b-b29652030b16","apple_news_api_modified_at":"2025-05-28T12:23:09Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/APhsBICRkQeeMi7KWUgMLFg","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[2317,75,31,2586,26,30,32,2598,2361,71,96],"class_list":["post-47868","post","type-post","status-publish","format-standard","hentry","category-technology","tag-chatgpt","tag-developertool","tag-ios","tag-ios-18","tag-iosapp","tag-mac","tag-macapp","tag-macos-15-sequoia","tag-openai","tag-programming","tag-web"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/47868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=47868"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/47868\/revisions"}],"predecessor-version":[{"id":47877,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/47868\/revisions\/47877"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=47868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=47868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=47868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}