当代码变成通用界面:揭秘OpenAI 内部的「软件工厂」是如何运转的
Codex 把工作的基本单位从逐行编码变成目标委托,也把瓶颈推向 CI、审查、发布与运维。这篇解读还原 OpenAI 九步软件工厂的证据、人工关卡与自动化方向。
技术作家 Gergely Orosz 再次走进 OpenAI 总部时,距离上一次探访只有一年,内部的工作方式却已经换了底座。Codex 从一个“有也不错”的编程工具,变成了工程、研究、财务、招聘、法律和市场团队共同使用的工作入口;面向通用工作的 ChatGPT Work,也建立在 Codex harness 这套执行框架之上。员工不一定以代码作为最终产物,但智能体会在幕后编写代码、调用工具、生成文档和表格,把目标变成可交付的结果。
这份观察来自七位受访者:应用基础设施工程副总裁 Venkat Venkataramani、ChatGPT 工程负责人 Sulman Choudhry、桌面端负责人 Andrew Ambrosino、核心智能体团队负责人 Joe Gershenson、生产力团队工程负责人 Akshay Nathan、Codex 工程师 Ahmed Ibrahim,以及 Responses API 工程师 Steve Coffey。不同岗位的证词拼出了一条完整链路:智能体先改变个人如何工作,随后放大代码产量,最后迫使测试、审查、发布和线上运维一起重构。
这里也存在一个必须说清的材料边界。原报告元数据标记全文为 7,686 个英文词且属于付费内容;当前公开页面只提供引言、第 1~3 节全文和第 4 节的开头一段,实际约 3,536 词,相当于全文约 46%。后续关于内部工具和调试、十亿用户基础设施、API 可靠性与性能,以及工程岗位变化的正文并未公开。下面只解读能够逐项核对的公开内容,不根据目录预告补写后半篇的论据。
从编程工具到全公司的工作入口
转折发生得很快。Codex 桌面应用在 2 月推出 Mac 版,3 月推出 Windows 版,随后在 7 月推出由 Codex harness 驱动的 ChatGPT Work。几个月内,财务、招聘、法律等非工程团队从几乎不用 Codex,转向大多数人每周都会使用。这个扩散并非来自管理层强制推行。

图:各部门平均用户的月度输出 Token 中,Codex 所占的份额。来源:OpenAI / The Pragmatic Engineer。
更值得注意的是,产品当时并不好用。2 月至 4 月的 Codex 应用仍会把代码直接显示在屏幕上,对非技术用户相当不友好,但非工程团队的采用率依然接近 40%。原因很现实:即使界面像开发工具,它已经能完成调研、制作演示文稿、生成文档、处理电子表格等复杂工作,产出的价值足以抵消使用门槛。
随后,长周期任务能力把使用率从大约 60% 推到 90%。用户可以通过 /goal 交代一个目标,让智能体持续工作,线程甚至延续数天。Andrew Ambrosino 观察到一个反直觉变化:智能体工作得越久,人反而越少同时管理多个任务,因为一个长线程会自行派生其他智能体并行处理子问题。人负责的对象从许多零散对话,收束为少数几个目标及其验收。
另一个动力是 Akshay Nathan 所说的“认知差距”(awareness gap)。模型能力早已存在,但许多人不知道能力可以落到哪些工作上。有人先用 Codex 完成一个任务,后来从同事那里发现它还可以监控 Slack、更新 Airtable、制作入职材料。用途通过口口相传扩散,各团队再把成熟流程封装成角色或团队插件。通用智能体由此不再只是一个空白输入框,而是带着业务上下文和惯用工具进入具体岗位。
这种适配也暴露了工程团队的知识边界。开发者知道怎样构建 harness,却未必知道一份优秀的演示文稿、电子表格或商业报告应达到什么标准。因此,OpenAI 将领域专家嵌入 ChatGPT Work 的工程团队,让专业人员直接定义“好结果”的品味和要求。这里的关键并不是模型在所有领域都胜过专家,而是开发者无法凭自己的经验替每个专业领域设定质量标准。
OpenAI 内部的 Codex 还比公开产品接入了更多公司系统,这一点限制了外部类比。它已经深到足以形成运营依赖:即使只是一次轻微故障,同事发给 Codex 和 Work 团队的消息,也可能与自动监控告警同时甚至更早抵达。外部团队不能只安装同名产品,就假定会自然获得相同效果。
OpenAI 后来公布的数据能补充这次访谈,但必须保留统计口径:
- 对平均一名 OpenAI 员工而言,Codex 已占其 AI 工具输出 Token 的 85% 以上;全公司每周生成的输出 Token 中,Codex 占 99.8%。这是 Token 份额,不是使用人数或工作时间占比。
- 在 OpenAI 日活用户中,位于第 99 百分位的重度用户每天经由多个并行智能体产生超过 60 小时的 agent-turn 运行时间。并行运行时间可以超过一天的 24 小时,不能等同于人类一天工作了 60 小时。
- 在 2026 年 5 月的抽样个人用户中,80.6% 至少提交过一次模型估算相当于人类工作超过 30 分钟的请求,70.2% 至少有一次超过 1 小时,25.6% 至少有一次超过 8 小时。这些数字是模型对“等效人类任务耗时”的方向性估算,不是请求实际运行的挂钟时间,更不是独立测得的生产率。
这些数据能证明工作正在从短问答迁移到长期委托,却不能单独证明代码质量更好、人员需求下降,或任何公司照做都能获得相同生产率。
IDE 没有消失,工作的基本单位先变了
Codex 桌面应用差点没有发布。2025 年 12 月,团队已经有 Codex CLI,市场上也有功能完整的 IDE,于是一个介于终端和 IDE 之间的工具是否有独立价值,并不明显。Andrew Ambrosino 把这种担忧比作 iPad:用户可能宁可选择更便携的手机,或者功能更强的笔记本电脑,中间设备反而无处安放。
与此同时,Antigravity 在 11 月以 VS Code 分支的形态出现,更加诱使团队沿用成熟编辑器。但 OpenAI 最终没有 fork VS Code。他们押注的是:随着智能体能力提高,开发者会减少直接操作 IDE,把工作重心移到目标定义、任务委托和结果判断。内部 IDE 使用量从 1 月起下降,说明这一变化正在发生;不过 Codex 应用也在 6 月加入了文件编辑功能。这组事实更适合解释为“IDE 不再垄断开发入口”,而不是宣布 IDE 已经死亡。
真正改变的是工作的基本单位。过去,开发者在编辑器里完成一组行级修改;现在,人可以交代一个结果,让智能体查找上下文、修改多个文件、运行验证并处理后续反馈。当产出单位从“改一段代码”扩大为“完成一个目标”,代码生成速度就会远超原有研发基础设施的设计容量。
Venkat Venkataramani 看到,每名工程师产生的 PR 数量呈“曲棍球棒”式上升,部分构建、测试和部署系统在大约六个月内承受了近十倍负载。其他公司可能用两三年才经历同等增长,OpenAI 却几乎每个月都会遇到一组新的扩容问题:版本控制要接住更多代码,CI/CD 要执行更多任务,发布系统还要吸收更高频的变更。模型能力每前进一步,瓶颈就向下游移动一次。
这也是传统 PR 和代码审查开始显得不合时宜的原因。如果每次变更仍完全依赖人工逐行检查,人的接受速度会成为固定上限。但取消审查并不能解决问题,只会把风险直接推到生产环境。OpenAI 的做法是把审查拆成专业化智能体、风险分流和明确的人工关卡,让审查能力随变更量一起扩展。
原生移动端则展示了另一类无法靠内部自动化直接消除的瓶颈。iOS 和 Android 更新仍须经过 Apple 与 Google 的应用商店审核,往往需要数小时或数天。Sulman Choudhry 回忆,Facebook 在 2010 年代把移动发布从每月一次逐步提升到双周一次、每周一次,同时依靠实验系统和 Feature Flag 让代码先随版本进入客户端,再远程决定何时开放功能。这曾显著提高移动团队的速度,但面对今天几分钟即可生成的软件变更仍显得迟缓。OpenAI 的 Codex 使用高度偏向移动端,而原生应用发布距离网页部署的速度还很远。
这个案例揭示了软件工厂的真实约束:智能体可以压缩内部生产时间,却不能凭空消除商店审核、合规要求和生产风险。生成变快以后,原先不显眼的外部等待会成为主导交付周期的新瓶颈。
九步闭环:代码生成只是中间一环
“软件工厂”借用了制造业的比喻:人和机器人共同生产汽车,在软件里则是人和智能体共同生产、发布并维护系统。制造业甚至存在不需要照明的“黑灯工厂”,但 OpenAI 当前的流程还不是无人系统。人类定义目标、批准生产发布;故障智能体目前也只能建议缓解措施,除非工程师明确授权,否则不会执行。

图:人类定义目标后,Codex 与上下文、CI、审查、发布、生产观测、Perf Factory 和 Sevbot 构成反馈回路。来源:The Pragmatic Engineer。
完整流程由九个相互反馈的环节组成:
- 人类定义结果。 软件工程师或产品经理先说明问题和期望结果。Venkat 观察到,工程师正在变得更像产品经理:编码被大量委托之后,判断、优先级和品味变得更重要。智能体可以扩大执行力,却不能替组织决定什么值得做、什么结果可以接受。
- Codex 汇集上下文。 OpenAI 把文档移进源代码仓库,让代码和说明更容易同步演进。Codex 还可以访问 Git 仓库与 GitHub、Slack 与 Notion、Databricks、Datadog、内部日志以及团队技能;有些内部技能甚至由 Codex 自己维护。由于接入足够深,新工程师入职时会被建议直接向 Codex 询问系统问题。
- 智能体实现并验证变更。 Codex 根据目标持续修改代码,直到达到要求,并验证软件行为。公开材料没有说明这里必然使用某种特定沙箱,也没有限定验证只能在本地完成,因此不能把未披露的执行环境当成既定事实。
- 构建、测试并等待 CI 通过。 智能体构建代码、运行测试、根据失败结果修正实现,然后创建 PR,触发更完整的 linter 和测试套件。它会持续看护 PR,处理 CI 失败并更新变更。额外的性能 harness 只把被判定为可能有问题的 PR 送入 Synthetics A/B 框架,评估性能影响;并非所有 PR 都接受同一套昂贵性能测试。
- 专业审查、风险分流与合规路由。 系统不是只调用一个通用代码审查器,而是派生多个拥有领域配置的审查智能体。Gergely 最初对此持怀疑态度:仅在提示词里要求模型“扮演云基础设施专家”,并不会自动带来专业判断。这套方式可能有效,依赖的是智能体能访问相关代码和文档,并把有限上下文集中到一个狭窄领域。低风险 PR 只有在相应代码区域主动 opt-in 后,才可能由智能体自动批准;高风险变更可以增加更多 AI 审查,或强制加入人工审查。系统还可根据风险自动决定何时需要额外的自动合规检查或人工合规意见。编码智能体会继续跟踪审查评论并修复问题。
- 智能体护送发布。 人类批准某项变更进入生产后,系统才为它分配发布智能体。智能体会找到 Feature Flag,理解变更,判断哪些信号代表成功或失败,并为这次变更生成自己的监控看板,再持续观察发布状态。OpenAI 的长期目标,是形成接近“每次变更一个自主 SRE”的能力;这是方向,不是当前已经完全自主发布的事实。
- 按变更粒度观察生产。 观测来源包括前一步生成的看板,以及 OpenAI 内部产生日志、指标、追踪和 wide events 的可观测系统。过去由工程师为服务搭建看板,现在智能体能够针对单次变更生成观测视图,使“这次改动是否健康”成为可以独立追踪的问题。
- 生产信号回流开发。 Perf Factory 从告警和看板中筛选信号、去重、识别真正的延迟回退、定位根因并提出修复方案。报告导言还概括说,它可以启动 Codex 智能体处理性能问题;但公开的流程描述只证明它会提出修复,不能据此推断补丁会绕过审查自动合入或上线。
- Sevbot 协助事故响应。 事故发生时,Sevbot 收集上下文、判断可能的缓解措施,并在 Slack 频道回答开发者的问题。它当前不会自行执行缓解操作;工程师可以指定某项措施,再让它实施。OpenAI 希望未来让 Sevbot 自主处理一部分常规事故,使人不必在非工作时间被叫醒,事后再审查它的行动,但现阶段 on-call 仍然存在。
责任边界速查
九步流程里,谁执行,谁把关?
筛选只会突出相关环节,不会隐藏其他步骤;三类责任始终可以同时对照。
-
01
定义结果人类决定问题、优先级与验收标准人工决策
-
02
汇集上下文读取代码、文档、协作记录与生产数据智能体执行
-
03
实现变更修改代码并验证软件行为智能体执行
-
04
测试与 CI修复失败;问题 PR 再进入性能评估自动反馈
-
05
审查与分流专业智能体先审;高风险变更可能强制人工复核智能体执行人工关卡
-
06
护送发布人批准后由智能体盯住变更;目标是变更级自主 SRE人工批准扩展自治
-
07
观察生产按单次变更生成看板并关联生产信号智能体执行
-
08
性能反馈去重信号、定位回退并提出修复智能体执行
-
09
事故响应当前由人指定缓解动作;目标是自主处理部分常规事故人工授权有限自治
当前显示:全部九个环节。
把九步连起来看,工厂的核心并不是“一个模型写完所有代码”,而是三种能力彼此制约:机器负责高频执行和持续观察,自动化系统提供可验证反馈,人类在目标、风险与生产动作上承担责任。任何一层缺失,代码吞吐提高都可能只是更快地制造等待、噪声或事故。
现在的人工关卡,与未来的自动化方向
从当前事实看,人类仍把守三个关键节点:开头决定问题与期望结果;代码进入生产前给予批准;Sevbot 要执行具体缓解措施时提供明确指令。风险较高的代码还可能被强制送交人工审查。把 OpenAI 现状描述成完全无人参与的“黑灯软件工厂”并不准确。
但这不意味着边界会永久停在这里。OpenAI 正在探索让发布智能体承担更完整的变更级 SRE 职责,也希望 Sevbot 最终可以自主处置部分常规事故。真正的演进路线是:先建立足够可靠的上下文、风险分类、测试和生产信号,再逐步扩大可自主执行的范围。当前状态与长期目标必须同时保留,既不能把愿景当成已实现能力,也不能把今天的人工关卡说成永远不会移动。
其他团队真正可以借鉴什么
OpenAI 的实践建立在少见的条件上:文档与代码同仓;智能体能读取 GitHub、Slack、Notion、Databricks、Datadog、日志和内部技能;构建、测试、CI 与生产观测能快速反馈;代码变更有风险分级和合规路由;公司还能提供高额 Token 与计算预算。公开材料展示的是 OpenAI 内部的访谈观察和官方统计,并不能证明这套方式已经被普遍验证为安全,也不能证明它适合所有公司原样照搬。
更可迁移的顺序,是先让系统变得可被机器理解、可被测试验证、可被生产信号约束,再提高代码生成量:
- 把真正影响实现的文档放到代码附近,并建立随代码更新的责任机制;
- 让智能体获得完成任务所需的上下文,同时把读写权限、审计和生产动作的边界说清;
- 用测试、CI、性能评估和生产观测建立短反馈回路,让错误尽早暴露;
- 按变更风险决定需要多少智能体审查、合规输入和人工批准,而不是对所有代码采用同一种流程;
- 先测量下游构建、审查、发布和运维能承受多少吞吐,再决定是否进一步放大生成速度。
这套软件工厂最重要的启示,是代码不再是唯一稀缺资源。当智能体显著降低实现成本,稀缺性会转移到高质量上下文、可执行的判断、验证能力和风险承担上。工程组织要改造的不是一个编辑器入口,而是从目标到生产反馈的整条链路。
当代码变成通用界面:揭秘OpenAI 内部的「软件工厂」是如何运转的
OpenAI 总部在一年内发生的深刻变化,不在于工程师换了什么编辑器,而是代码成了全公司的通用界面。不仅工程研发,财务、招聘、法律和市场团队也开始通过 Codex 完成日常工作。表面看是非技术人员学会了使用开发工具,本质却是长周期任务能力(如 /goal)把人与系统的交互从零散问答重构为持久委托。
真正改变的是工作的基本单位。过去,开发者在编辑器里逐行敲下改动;现在,人负责交代期望目标,智能体负责检索上下文、修改跨文件代码、运行验证并根据反馈迭代。当产出单位从“改一段代码”扩大为“完成一个目标”,代码生成速度就会远超原有研发基础设施的设计容量。
负载的“曲棍球棒”式增长:工程师人均 PR 产量激增,构建、CI 与部署系统在半年内承受近 10 倍负载。传统的逐行人工代码审查成为固定上限,迫使下游审查与交付体系必须彻底重塑。
软件工厂闭环:三权制约的持续制造体系
工厂的核心并不是“一个模型写完所有代码”,而是三种能力彼此制约:机器负责高频执行和持续观察,自动化系统提供可验证反馈,人类在目标、风险与生产动作上承担责任。任何一层缺失,代码吞吐提高都可能只是更快地制造等待、噪声或事故。
真实约束:不是「黑灯工厂」,外部摩擦不可抹平
外界常将软件工厂误读为无需干预的黑灯生产线,但 OpenAI 的真实实践展示了清晰的责任边界:机器可以放大产能,但不能代替组织承担后果。从当前事实看,人类仍把守三个关键节点:开头决定问题与期望结果;代码进入生产前给予批准;Sevbot 要执行具体缓解措施时提供明确指令。
外部刚性瓶颈的存在:代码生成可以从数天缩短到几分钟,但原生移动端仍受制于苹果与谷歌应用商店审核周期(数小时至数天)。当内部流水线极度加速后,外部合规与物理渠道的等待反而成为主导整个交付周期的绝对瓶颈。
其他团队的迁移顺序:先搭底座,再放产能
OpenAI 软件工厂的运转依赖其极度特殊的内生环境:代码与文档同仓深度沉淀、智能体贯通多平台读写权限、高算力与 Token 预算,以及完善的 CI 基础设施。普通团队若只引入代码生成工具,只会迅速冲垮下游脆弱的审查与发布环节。
Inside OpenAI’s agentic software factory
A deepdive into how Codex has “taken over” OpenAI, how the frontier lab builds its agentic software factory, and the engineering challenges of one billion users. Details from inside OpenAI
It’s rare to work with an unlimited token budget, but at OpenAI, that’s what all engineers, researchers, finance colleagues, and marketing folks do. Recently, I visited one of the world’s leading frontier labs to find out how OpenAI operates today – and for a glimpse at where software engineering might be headed as a profession.
Plenty has changed since I visited OpenAI’s headquarters last year. Within a year, Codex has gone from a “nice-to-have” tool to being the backbone of pretty much everything at the company.
To learn more, I talked with seven engineering leaders and engineers there: Venkat Venkataramani (VP of Engineering, Applied Infra), Sulman Choudhry (Head of Engineering, ChatGPT), Andrew Ambrosino (Lead, Desktop), Joe Gershenson (Lead, Core Agent team), Akshay Nathan (Engineering Lead, Productivity), Ahmed Ibrahim (Engineer, Codex) and Steve Coffey (Engineer, Responses API). Thanks to all for taking part!
Today, we cover:
- Codex takes over at OpenAI. In a matter of months, nearly all OpenAI’s non-engineers moved over to Codex and ChatGPT Work without a mandate from above for it.
- Death of the IDE & pull requests. IDE usage has been down since January when Codex usage started to surge. PRs and code reviews need to be rethought.
- OpenAI’s agentic software factory. OpenAI has built a “software factory” with several automated, agentic feedback loops: for example, Perf Factory monitors production and kicks off Codex agents to automatically fix performance issues.
- How engineering tooling & practices are changing. Hand-built internal tools are slowly being replaced by Codex, which is increasingly preferred for debugging over specialized tools. Harness efficiency is critical in software factories.
- Engineering for a billion users: how OpenAI scales up its infra. They buy first and take it in-house later. Also, geographic infra distribution, capacity planning tactics and challenges.
- Making OpenAI’s API more reliable and performant. CPUs are becoming a bottleneck, doing slower deployments on purpose, and solving load challenges.
- How the software engineering job is changing. Engineering specializations are disappearing, judgment and agency are more important, and it only takes one or two engineers for previously “impossible” rewrites and migrations to succeed.
Before we start, a scheduling update: I’m in New York for the week, attending the LDX3 conference and visiting a few startups and tech companies in the city, so there will be no edition of The Pulse on Thursday. Normal service resumes next week!
The bottom of this article could be cut off in some email clients. Read the full article uninterrupted, online.
The takeaway from my visit to the company’s headquarters which really sticks out is that Codex – and lately Codex and ChatGPT Work – have taken over everything there, starting in around January. Desktop lead, Andrew Ambrosino, told me:
“The big theme of the past months has been that everything is now a coding agent. Whether the visible code is your output or not, agents write your artifacts.
Think of it like this: your entire life is via software. You have these powerful tools (agents) in your computer, and the ability to loop and reason and write code is the ability to do everything.”
The token usage chart below shows this sudden adoption surge:

In a four-month period, non-engineering orgs like finance, recruitment, and legal went from ~0% usage of Codex to 90% usage. Now, almost all OpenAI employees use Codex and ChatGPT Work weekly. So, what happened?
OpenAI released the Codex app for Mac in February and for Windows in March, and ChatGPT Work (powered by the Codex harness) in July. Following that, non-engineers there moved all their workflows over to Codex and then to Work. Caveat: OpenAI’s internal version of Codex is a lot more advanced than its external counterpart because it’s plugged into pretty much every OpenAI system – similar to how Ramp’s Inspect AI agent has been wired up.
The fascinating part of this is that OpenAI got close to 40% adoption across non-engineering teams at a time when the Codex app was hostile to non-engineering users (hard to use). Between February and April, the Codex app still showed the code on-screen, but even so, non-technical colleagues outside of engineering still used it because it could do complex work like researching and creating a presentation, document, spreadsheet, or tasks that produce rich output. Today, those folks are very heavy users of it.
Being able to work for longer on more complex things drove adoption. OpenAI added the /goal setting to Codex, where you can set up a goal for the agent and it keeps working until it is complete. Between April and May, usage surged from 60% to 90%. Andrew believes improvement in the harness’s handling of long-running tasks was one cause of this:
“The number one thing that is changing is that people are starting to use threads for much longer, and this longer usage has been a breakthrough. It’s surprising to see the sheer length of time that people spend on a thread – even days! They often set a goal and then have the model crank.
Codex being good at longer-running tasks seems to cause people to do fewer things in parallel. This is because a long-running agent often spins off other agents to do other things, reducing the surface area that you, as a human, have to manage.”
“Awareness overhang” is another cause of the rapid adoption, the Codex team believes. As Akshay Nathan, Engineering Lead, Productivity team, told me:
“For a long time, we had a ‘capability overhang’: the models were capable but the products didn’t fully bring that out. Now, we’re seeing an awareness gap. Some people have figured out they can use Codex to monitor Slack, update Airtable, or create onboarding materials. But many others still use it for one task and then discover more uses from teammates via word-of-mouth.
But there’s still so much more, under the surface, that you can do with Codex.”
Role-specific and team-specific plugins are created and distributed. Another thing that sped up adoption is that each group started to distribute useful role-specific workflows as plugins. Andrew explained why it’s important to not just offer a generic coding agent:
“If you build a product that can do anything, teams need a way to make it their own. You can’t just give everyone an empty box. Skills and plugins let teams adapt the agent to their work. Sometimes, we also need a new app capability, like a browser that the agent can use alongside those skills. But the same building blocks already cover a lot of different roles.”
Subject matter experts are embedded in ChatGPT Work engineering teams. The models have become “smarter” than developers in some domains, so devs cannot channel “taste” into the harness in those areas. So, people who are domain experts are onboarded onto engineering teams. This is one outcome of ChatGPT Work being used by so many non-engineering domains: experts embedded with engineering advise developers on things like what a good slide deck, spreadsheet, or business report looks like.
Of course, domain experts being in engineering teams is a decades-old best practice for building quality products. It seems like this gets rediscovered in different contexts every few years!
OpenAI is fully dependent on Codex and Work. This is so much the case that in the event of even a minor outage, internal messages from colleagues alert the Codex and Work teams at the same time as – or before – automated alerts.
Basically, work happens through Codex and Work, and pretty much nothing else. From the outside, this dependence on a single shared harness is particularly eye-catching; two years ago, there were no AI agents, only advanced AI autocomplete!
Late last year, the Codex team was torn about whether to release the Codex desktop app. Andrew recalls the hesitation:
“In December 2025, we weren’t entirely sure if we would release the Codex app. We had the Codex CLI as a terminal, and there are large, feature-rich IDEs out there. So, would there be space for a dev tool that is between a terminal and an IDE? In my head, there was this future where it would not work out, and be the kind of ‘misfit’ like the iPad was.
A lot of people buy iPads and then never use them: they either use their smaller, more portable smartphone (which could be the equivalent of the CLI in this metaphor), or their feature-rich laptop (the equivalent of the IDE).
Also, don’t forget that in November, Antigravity came out as a VS Code fork. This added to the feeling that perhaps we should have also forked VS Code for the Codex app. But still, we dismissed the temptation and went with our gut feeling that as AI agents get better, IDEs will matter less.”
Indeed, since January, IDE usage has gone down and OpenAI’s bet looks like a good one. However, the Codex app is becoming a little more akin to an IDE: for example, the ability to edit files inside the app was shipped in June.
CI/CD systems are seeing massive load increases. One sign of productivity gains from Codex is the amount of additional code flowing through OpenAI’s dev infra systems. More code being created and pushed leads to new scaling challenges which the team is currently heads-down on solving. Venkat Venkataramani, VP of Engineering, Applied Infra, said:
“The number of pull requests (PRs) per engineer is growing like a hockey stick (at a very high, accelerating rate). Every part of the build-test-deploy pipeline is seeing dramatically more load.
We’re talking about roughly a 10x increase in load on some systems. At most companies, that kind of growth might happen over two or three years. At OpenAI, we see it in about six months.
That level of acceleration exposes bottlenecks everywhere: version control has to handle far more code being written and pushed, CI/CD systems have to scale with it, and production release processes have to absorb a much higher rate of change.
Every month, we wake up to a new set of infrastructure scaling challenges to solve. Just when we think we’ve created enough capacity for the next phase of growth, the model unlocks another wave of capabilities, which creates a new set of bottlenecks somewhere else in the system.”
In this context, PRs and code reviews are being rethought. They have “core primitives” in software engineering, but this level of development acceleration is an opportunity to reimagine them. Again, from Venkat:
“The question we ought to ask ourselves in the middle of all this development acceleration is how do we reimagine many things we took for granted. For example, how do we reimagine the CI (continuous integration) and CD (continuous deployment) process? What does observability mean in this world, and how should people interact with pull requests?
If you ask me, the way we do code review today makes less and less sense, and the same is true for pull requests.
We’re now seeing agentic code reviews that look at code changes through a series of different lenses. In the past, it would have been impractical for a cloud infrastructure engineer and a security engineer to review every single code change. With agents, that becomes possible.
We can rethink how code is deployed with agents, too. We are building an agent that “handholds” a change all the way to production — whether it’s a code change or a change behind a feature flag. It observes the relevant monitoring graphs, but can also build its own dashboard to monitor important signals. More of our code changes are going to production with this kind of agent monitoring.”
An increasingly painful bottleneck is in deploying native mobile apps. When there are ten times more pull requests, it’s challenging to deploy on the backend or the web and more infrastructure is needed to do so. Then, after you rework a CI/CD system and make sure there’s enough capacity to run them, you’ll be deploying that many more PRs to production.
This arises in the shipping of updates to native iOS and Android apps because every app update needs to go through Apple’s and Google’s manual approval processes which take hours or days to complete.
Talking with Sulman Choudhry, Head of Engineering, ChatGPT, he explained how the app review bottleneck is affecting iteration speed. Sulman used to work at Facebook and remembers how the social media company sped up shipping mobile releases:
“Back in the 2010s, Facebook had a pretty important breakthrough in how to ship native mobile code faster. App Store releases went from monthly to bi-weekly to weekly. At the same time, experimentation and feature flags let teams ship code before it was ready to launch, then turn features on remotely when they were.
That model brought a lot more velocity to mobile.
In the age of Codex, I think we’re hitting the next version of this problem. Code generation is getting dramatically faster, but getting that code into users’ hands on native mobile is not. For Codex in particular, where usage is heavily mobile-first, that gap is already becoming painful for us and users.
I expect the pressure here to increase quickly. If software can be written in minutes, waiting days or weeks to get it onto a phone starts to look increasingly absurd.
We should be aiming for a world where shipping code on native mobile is as fast as shipping on the web. Getting there will probably require some creative rethinking of what we ship, when we ship it, and what can be activated remotely. Today, we’re nowhere close.”
There’s some irony in how shipping a native iOS or Android app has the exact same challenges today as in 2008, when the App Store was launched. In 18 years, not much has changed! Apple still does not officially allow apps to bypass the App Store review process to ship meaningful experience changes.
The idea of a “software factory” is similar to a physical factory where robots and humans produce autos together. In the software context, it is AI agents and humans producing software. Some manufacturing sites are fully automated “dark factories” where illumination isn’t needed because there are no humans. Could the same fully automated process emerge in software engineering? At OpenAI today, there’s a “software factory” running and it’s all built around Codex.
Here’s how the “traditional” software development pipeline used to look, compared to what OpenAI’s agentic infra pipeline looks like today, as described by VP of Engineering, Applied Infra, Venkat Venkataramani:

The pipeline:
1. A human builder defines the desired outcome. A software engineer or product manager specifies the problem and desired outcome. Judgment, prioritization, and taste are becoming more important for this phase. Interestingly, Venkat told me that engineers at OpenAI are becoming more like product managers than traditional systems engineers.
2. Codex gathers context. OpenAI has moved all its documentation inside of the source code, which makes it easier for agents to understand more of the code. Codex also has access to:
- Git repositories and GitHub
- Slack and Notion
- Internal data sources: Databricks, Datadog, internal logs, etc
- Internal Codex skills – some of which are maintained by OpenAI’s Codex implementation itself!
Codex is so “plugged” into OpenAI that new engineers are directed to ask Codex any questions they have during onboarding because it has a surprising amount of context.
3. Codex implements code changes. This part is trivial enough: Codex gets to work and makes a series of code changes until it reaches its goal, and then verifies that the software works as it should.
4. Build & test, then CI. The agent builds the code, runs the tests, fixes the code when it breaks the test, and then creates a pull request. This pull request triggers the continuous integration (CI) server to run and execute a more thorough suite of linters and tests. The agent babysits the PR until it’s “green”, fixing any CI failures and automatically updating the PR.
New: a “perf harness”: the agent also uses a perf harness to send problematic PRs to the Synthetics A/B framework for evaluating performance implications. As mentioned above, the load upon CI systems has increased greatly in the past six months.
5. Agentic code review. Instead of using one generic AI code reviewer, OpenAI spins off multiple agents, each with a “domain specialist” configuration. Venkat told me they see this as equivalent to having a human domain expert from each relevant infrastructure team review every change.
Note from Gergely: I was skeptical about the claim that an agent that’s told to be a cloud infra specialist would produce a different review from a generic agent. However, all Codex agents have full access to OpenAI’s code and docs, so this “cloud infra expert” agent likely has gathered a lot of context about cloud infra setup and best practices, meaning it should provide highly targeted feedback. The important thing is how these “domain specialist” agents are set up, the context they have access to, and how they focus only on their own domain to make best use of their limited context window.
Code changes are classified by risk. High-risk changes can be sent through stricter processes; for example, they might invoke more AI code reviews, or mandate that a human reviews it after the AI agents finish. Low-risk changes follow an easier path; areas of the codebase can opt in to an agent that will auto-approve low risk PRs, removing human acceptance as a bottleneck and improving velocity.
A neat thing about risk assessment is that OpenAI can automate when additional compliance input is needed: either automated (via another agent) or human review. With the quantity of PRs being produced, it simply wouldn’t be possible for humans to review all code without assistance.
Just like with CI, the coding agent babysits the comments and updates the PR to fix issues surfaced.
6. Agentic deploy. After a human approves a change to go to production, it is assigned its own agent with an instruction that could be summarized as:
“Handhold this change until it is safely and fully rolled out into production.”
Agents handhold both the code changes and the changes behind feature flags. For example, in the case of a change behind the feature flag, the agent will:
- Read the codebase and figure out where the feature flag lives
- Understand what the change does
- Decide which signals indicate success and failure
- Builds its own monitoring dashboard to use – this is a pretty impressive improvement and something that’s new to me
- Watches relevant production signals and its dashboard(s)
OpenAI’s long term goal is to have something like a “per-change autonomous SRE” (site reliability engineer) in the form of an agent that can deploy pretty much autonomously.
7. Observe production. Tools which track the production system:
- Dashboards generated by the agent during previous steps
- OpenAI’s internal observability stack, including a bunch of custom tools that generate logs, metrics, trace & wide event data
One big change at OpenAI since my previous visit, pre-Codex, is that back then, engineers created dashboards to monitor services whereas now, agents do this at the granularity of per-change deployment.
8. Production monitoring feeds back into development. OpenAI’s “Perf Factory” uses agents to sift through alerts and dashboards, de-duplicate signals, identify real latency regressions, root-cause them and propose fixes. This helps catch performance issues introduced by ongoing code changes, extending the workflow beyond deployment into continuous improvement.
9. Respond to outages. Sevbot is OpenAI’s internal incident response agent; unsurprisingly, it’s also built on top of Codex. When an incident is detected, the bot “wakes up.” Here’s what it does:
- Collects context about the incident
- Determines possible mitigations (but never executes any)
- Answers devs’ questions (it’s part of the Slack channel)
- An engineer can tell it to apply a specific mitigation
OpenAI’s goal is to get to the point where Sevbot can take autonomous action when mitigating some outages. The dream is that no humans be woken up outside of their working hours during an outage because Sevbot can handle “routine” outages autonomously, with humans reviewing its actions when they return to work. But as of now, oncall duty is not a thing of the past at the company.
Unsurprisingly, Codex is changing how easy it is to build internal tools and having an impact on standard engineering practices like debugging. Here’s what I gathered from talking with folks at OpenAI.
