Try Pro free

Lenny's Podcast · 4 min · Feb 12, 2026

Codex cuts some code reviews to two or three minutes

Codex reviews every PR and can cut some reviews from 10–15 minutes to two or three.

In this episode

Full analysis
  1. 24:14AI may create a boom in small B2B software businessesPro pick 4 min
  2. 37:25AI rollouts need bottom-up adoption as well as executive support7 min
  3. 44:00Build for where AI models are going, not where they are todayPro pick 6 min
  4. 12:20AI-only codebases reveal missing context3 min
  5. 15:02Codex cuts some code reviews to two or three minutes4 min
  6. 50:22Models may soon handle multi-hour tasks and better audio3 min
  7. 53:33Business process automation reaches beyond tech work4 min
  8. 57:18Startups should focus on customer resonance, not lab competition4 min
“code reviews go from a, you know, I don't know, 10, 15 minute task to sometimes even just like a two to three minute task”
Sherwin Wuat 16:35 · Lenny's Podcast
16:35

Takeaways

  1. Codex reviews 100% of PRs at OpenAI.
  2. Some reviews fall from 10–15 minutes to 2–3.
  3. Codex also fixes lint errors and restarts CI.

About this segment

Codex reviews every PR and can cut some reviews from 10–15 minutes to two or three. The team also automates lint fixes and parts of CI, helping engineers merge more often.

Sherwin Wu

Sherwin Wu is head of engineering for OpenAI’s API and developer platform.

Leads engineering for OpenAI's API platform, where roughly 95% of engineers use Codex daily.

  • Lenny Rachitsky, Host · Host, Lenny's Podcast

    Spent seven years at Airbnb; his product newsletter has over 1M subscribers.

From “OpenAI’s head of platform engineering on the next 12-24 months of AI | Sherwin Wu”, Feb 12, 2026. Watch the full episode

Answers “Are AI agents ready for real work?” See all 227 answers

Answers “Is AI paying off for companies?” See all 130 answers

Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

  1. 15:07

    want to lean into agents. Another issue people ran into, you talked about how people are shipping PRs like crazy, a lot more PRs if they're working with AI. Obviously, code review is becoming a bigger challenge. Is there anything you've figured out in your team to help speed that up to make that scale and not just create this terrible job for people where they're just sitting there reviewing PRs all day? Yeah, I mean, one thing is Codex reviews 100% of all of our PRs at this point. And so I actually think so. One really interesting thing that's happened is the things that tend to we hand we tend to hand to the models immediately tend to be the things that annoy us or like are the most boring parts of software engineering it's also why it's more fun now because we get to do more you know more of the fun things um for me um speaking more for myself

  2. 15:52

    i really hated code reviews it was like one of the worst things for me And then I remember my first job out of college. It was at Quora. I was working on the News Feed. And so I owned the code for the News Feed. And so I was a reviewer for News Feed. And it was just like the central piece of code that everyone would touch. And so I would just, every morning, I'd log in and be like 20 to 30 code reviews.

  3. 16:16

    And it's just like, oh my goodness, I gotta get through all of these. I would procrastinate, and then it grows to like 50. And so there's just like a lot of code reviews. Codex is really good at reviewing code. So actually, one thing that we've noticed that 5.2 in particular has gotten extremely, extremely adept at is reviewing code, and especially when you kind of steer it in the right direction. And so for code reviews, yeah, we create a lot of PRs, but Codex reviews all of them. And it makes, you know, code reviews go from a, you know, I don't know, 10, 15 minute task to sometimes even just like a two to three minute task, because you have a bunch of suggestions already baked in. A lot of the times people will, especially for small PRs, like you actually don't even need people to review. We kind of

  4. 16:56

    trust Codex in this way. The original author kind of looks at Codex. It is, you know, the benefit of coder views to have a second pair of eyes to make sure that you're not doing anything dumb. Codex is a pretty smart second pair of eyes at this point. And so that's something that we've heavily leaned into. The general CI process and like the post kind of push and like deployment process has also been heavily automated via Codex internally at this point. If you talk to a lot of engineers, the thing that annoys me the most is after you've written your beautiful code, like how do you get into production you know you gotta you know run through all these tests you gotta like you know lint errors you gotta all the code review um there's a lot of automated stuff you can do with codex and so we've actually built some tools internally that that help automate that process

  5. 17:35

    automate the lint you know if there's like a lint error it's a very easy codex fix and then it could just patch it and kind of restart the ci process um so all of that is we're trying to collapse as as into as as little work for an engineer as possible which and then the byproduct of which is they can now merge and push out a lot more PRs. Codex writing the code, Codex reviewing its own code. I'm curious if you are open to using other models to review your model's work.

  6. 17:59

    Is that a path or is it just it's good enough? We don't need anything else. So I will say there's definitely a circular thing here. And like going back to Sorcerer's Apprentice, like you want to make sure you're not letting the brooms go crazy here. And so, you know, we're very thoughtful, I'd say, around which PRs kind of are completely just Codex reviewed. Most people still obviously take a look at their PRs.

  7. 18:21

    And so it's not like it's going to zero. It's more like going from 100% attention to like 30% attention, which just helps things push through. In terms of like multiple models, so we obviously test a lot of models internally. And so we have a lot of those. We use external models less. We think it's important to kind of dog food our own models and kind of like get feedback there. But you can also, you know, there are a lot of like internal variants of models that you can use to give you different perspectives here as well.

  8. 18:49

    And we found that to work quite well. Okay, so just to make sure