Real Alpha
Watch modeSubscribed

Full episode · 1 h 14 m

Building Codex with Tibo Sottiaux

Tibo Sottiaux says coding agents make software changes, maintenance and rearchitecture cheaper, shifting engineers’ focus toward intent and system design.

The Pragmatic Engineer · Gergely Orosz

  • Tibo Sottiaux is an engineer who created Codex and head of Core Products & Platform at OpenAI.

The best minutes

  1. 36:37The harness fills model gaps until training catches up5 min
  2. 47:35AI can automate correctness checks in code review5 min
  3. 52:21Good boundaries make AI-driven rearchitecture safer4 min

Also worth watching

  1. 21:09Open source builds community but adds operational costs5 min
  2. 25:44Model choice helps Codex compete without locking users in3 min
  3. 32:03Agents could make cloud development environments practical again5 min
  4. 1:02:15ChatGPT Work runs the Codex harness in a managed cloud5 min
  5. 1:07:14Tibo uses mobile agents to turn questions into reports and prototypes3 min

Skip the opening career history, the sponsor reads, and the broad SDLC and product-vision discussion before code review.

Summary · 4 min read

Sottiaux is one of the engineers who created Codex and leads OpenAI’s Core Products & Platform organization, which includes Codex. Before OpenAI, he worked at Google and DeepMind after studying applied mathematics and starting a company focused on pharmaceutical supply chains and optimization.

Sottiaux argues that coding agents lower the cost of changing and maintaining software, while making clear architecture and system boundaries more important. He describes Codex as a product built by co-designing its harness and models, with Rust, open source and support for other model providers among its early choices. At OpenAI, he says agents already help with onboarding, code review and maintenance, while engineers focus more on intent and product decisions. He also explains how Codex moved into ChatGPT’s cloud environment and advises engineers to learn systems quickly and stay close to the people they build for.

Minute by minute

  1. 7:15

    Product feedback shapes direction. Sottiaux says a Google project to speed up mobile websites was canceled after it failed to gain enough users; he learned to question a project’s impact and feedback loop. At DeepMind, he built research infrastructure and helped create an internal chat interface for language models. He later joined OpenAI because he wanted research and products designed together around a mission with direct impact.

  2. 15:16

    Codex grew from research tooling. Sottiaux says he first built internal models and agents to help OpenAI researchers work with the Python codebase. The research effort merged with the autonomous software engineer effort, and the team launched an early cloud product and the Codex CLI. He says the first cloud version had too much friction to find product-market fit.

  3. 18:17

    Rust separated the agent core. Sottiaux says the team chose Rust to prioritize correctness, security and efficiency, and to keep the agent core separate from the product interface. He says the team had strong Rust developers and its internal models were not bad at Rust. He adds that TypeScript or Python could have worked, but the separation helped prevent the codebases from becoming too intertwined.

  4. 21:09

    Open source brings costs and benefits. Sottiaux says open source let users contribute to the coding agent, helped new hires become productive by exploring the repo, and kept the team connected to its community. He also describes the costs: managing a flood of contributions, coordinating across separate repos, and seeing others copy work before the team releases it.

  5. 25:44

    Codex supports other models. Sottiaux says tying an open-source coding harness to one model provider would push users toward forks for simple changes. Supporting other models gives users and companies options and lets them try new models without changing their setup. He says OpenAI benefits from feedback on how those models perform in the same harness.

  6. 32:03

    Agents can run locally or in cloud. Sottiaux says Codex runs locally in a sandbox by default and asks permission for commands outside it. Users can also run tasks in a managed cloud VM, which he says may let agents use more compute and free people from keeping laptops open. He expects cloud development environments to become more practical as agents can configure and maintain them.

  7. 36:37

    Harness and models evolve together. Sottiaux says the harness is often ahead of the model, using instructions and guardrails to make current capabilities more reliable and controllable. As models improve, those instructions and harness features can shrink. The engineering and research teams decide together whether a limitation needs a harness change or can be addressed by model training.

  8. 41:13

    Codex helps engineers get oriented. Sottiaux says Codex can search OpenAI’s Slack, documents and code, so new hires can ask it about projects, decisions and colleagues’ work. The team encourages public channels and broad document access so agents can use that information. He says engineers should care about users and product coherence, rather than building large workarounds for model limitations.

  9. 46:35

    Reviews focus on intent. Sottiaux says Codex review models can catch complex logic errors and security issues, and that OpenAI automatically blocks pull requests flagged with security issues. He expects correctness checks to become more automated, while people spend more review time discussing intent and whether a change is the right thing to build. He says teams can agree on a component’s contract and invariants without debating every implementation change.

  10. 52:00

    Maintenance gets cheaper. Sottiaux says agents can automate work such as upgrading dependencies and applying security patches that teams might otherwise postpone. He also says rearchitecture becomes faster as the cost of changing systems falls. Good abstractions, clear boundaries and invariants still matter because they make changes easier to contain.

  11. 56:56

    Engineers can tackle more problems. Sottiaux says he still enjoys writing code, but sees the main value of agents as helping engineers solve more problems and test ideas quickly. He says OpenAI has many important problems left to tackle, and that he sometimes sends Codex questions to investigate overnight. He says newer models can work on a task for a week without the slash goal harness command that previously helped keep them on track.

  12. 1:02:15

    Codex moved into ChatGPT. Sottiaux says the merge joined Codex’s local coding-agent setup with ChatGPT’s managed cloud stack, while making it efficient enough to include in the Plus plan. ChatGPT work runs the Codex harness in a cloud environment, and the teams are working toward one product with the same capabilities in different modes. Codex also recorded team discussions and decisions during the project.

  13. 1:07:05

    Sottiaux uses agents for daily work. Sottiaux says he often uses ChatGPT work on his phone, dictating questions and tasks between meetings. Custom instructions and skills shape reports, slide decks and code explorations, and he uses agents to look into product feedback, usage and team activity. He also builds prototypes in a day to get ideas in front of colleagues.

  14. 1:10:08

    Curiosity helps engineers adapt. Sottiaux advises engineers to stay deeply curious, learn systems and codebases quickly, and ask questions that help them understand how things work. He also says strong engineers stay close to the community they are building for and can clearly explain their intent, requirements and product judgment.

Published Sep 9, 2026.

Transcript · 1 h 5 m read

The Pragmatic Engineer, hosted by Gergely Orosz, with Tibo Sottiaux.

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

  1. 1:02

    Codex is one of the most popular AI coding harnesses today, but how did it all start? Many of you will know today's guest, Tebow, from his generous and pretty frequent Codex usage resets. He was also there when Codex as a product started and has led the broader Codex team since. Today we cover how Codex started and why it was built in Rust and made open source, how coderies are changing inside the Codex team and OpenAI, what it means when maintenance and re-architecting are getting ridiculously cheap, what the merge of Codex into ChatGPT looked like and the many underappreciated engineering challenges of this project.

  2. 1:34

    If you want to understand how teams inside of OpenAI plan, review, and ship software, this episode is for you. This episode is presented by TurboBuffer, a ridiculously scalable, fast and cheap hybrid search engine built on top of object storage by an engineering team that I've really grown to like after spending time with them. TurboBuffer is the tool that companies like Entropic, Notion, Cognition, and Harvey all use to connect their AI products to massive amounts of unstructured data. When I've talked with engineers who use TurboBuffer, The theme that always comes up is reliability and performance at scale.

  3. 2:05

    The reasons for this have everything to do with TurboPuffer's architecture. TurboPuffer uses only object storage for state and NVMe SSEs with memory cache for compute. Data in TurboPuffer is organized into namespaces. You can think of a namespace as a database table or a search index or an S3 prefix depending on the world you come from. When a namespace is not being queried, it stays on cheap object storage with no associated compute cost. When a namespace is active, TurboPuffer pulls it up into hot-catching tiers, so queries are very fast. This design fundamentally makes it effortless to scale to hundreds of millions of namespaces.

Read the whole transcript
  1. 2:41

    If you're building a multi-tenant AI product, every user and their agent can have their own dedicated search index without any overhead. And each namespace can hold hundreds of millions of documents without any special configuration. You can scale TurboPuffer virtually without limit, and the performance, reliability, and operating model all stay the same. If you need to connect AI to lots of data, TurboPuffer should be your first choice. Check it out at turbopuffer.com slash pragmatic. Thibaut, welcome to the podcast. So good to have you here. Thank you for having me. It's so good to see you again.

  2. 3:12

    It's good to do this. Last time we did it in person. Now we're doing our video. First, I wanted to ask you, how did you get into tech? When did you first know that you want to work with computers? That's a good question. It was a long, long time ago. And my parents actually decided to move out of Brussels where I was born and just thought it was great to just buy a small house and refurbish it. But it was in the middle of the middle of a village with not much going on. I think there was like roughly 200 people living there. Not many that I felt like I wanted to talk to or, you know, could make friends with.

  3. 3:57

    And so I kind of got stuck. uh this is like very early like eight eight years old i kind of got stuck because like you know computers and you know it's like early days of like the the for me the internet and you know that was my way to learn about things and so just the rest is just like you know came from that um sort of like i owe it to my parents to you know have moved into the middle of nowhere and then you know i had no choice but to get interested in computers once you you finished high school like you went on and went to university right actually studying it properly yes uh i i studied mathematics applied mathematics at university i i went there quite quite early um and so i i graduated earlier as well like i thought for a long time um that i would actually not make it and i would drop out i had like a small companies and small consulting business like uh like while I was studying. I was working for banks, I was working for I was like, very interested in supply chain and applied mathematics problems. And I can sort of like selling that and learning a lot.

  4. 5:01

    That eventually ended up in the startup world in Belgium. I did that for a little while and then moved to London to work initially at Google and then DeepMind and then now moved to be here at OpenAI. This is California. I love the California weather. We can talk about that. It's been very good. Right after university, you started, you founded a startup, right? You had the startup bug in you or the entrepreneurial bug. Yeah. So this startup was all about pharmaceutical supply chain, looking at the supply chain for clinical trials and like try to optimize and decide like, hey, you know, should you produce more medicine? Where should you send it? Where should dispatch it? How do you avoid waste? And through that, making clinical trials more efficient.

  5. 5:47

    and this was using traditional like non-ML techniques um it's like traditionally more optimization solving monte carlo simulations these kinds of things stochastic multi-stage optimization problem really and we also applied it on steel industry and we applied it to electrical grid as well in europe um it was like anything that sort of had the shape of like an optimization problem we would sort of like get interested in and you know to this day like this this company still exists. And I think they do some of the most interesting work still, but it's changing a lot, you know, with modern AI, for sure.

  6. 6:22

    But it's interesting because you kind of said like, oh, yeah, that wasn't ML. It was just a traditional stuff. And then you go into like Monte Carlo simulation and optimization and this algorithm. I get a sense that you kind of just went deep, right? It was like, okay, like, here's a problem space. Like, how can I use mathematics, stuff that I learned, stuff that I didn't learn to just go deeper and deeper? Do I sense that correctly? Yeah, that's why I was obsessed with applied mathematics is just really this idea of you have theoretical mathematics or you have theoretical science and physics.

  7. 6:50

    And like there you just you do it because there's something to be discovered and something beautiful about it. And it's all about patterns and pushing the frontier. But you don't necessarily always know like how you're going to apply it. And then there is like the real world, right? It's like, you know, there's all these cool problems that just lie around. And I was like very interested in seeing like, you know, how can I make the world better? and so like how do I apply like you know sophisticated mathematics you know to just optimize the world around me and that was like a lot of the thesis behind that startup yeah and then after startup you ended up at google and first at google london it was in 2015 and I remember 2015 google was a really really competitive place to get into like maybe as competitive as open ai is today in terms of the industry or in terms of prestige you worked on maps initially and then you moved over to deep mind can you talk a little bit what you worked on and then And then why did you move on from an already really interesting space that you clearly loved, you know, like the optimization, logistics and all these things?

  8. 7:47

    Yes, I didn't start on Google Maps. I started on a project that was meant to make the web faster and meant to make websites faster, especially on mobile. At the time, you know, Google was saying, so like seeing the transition from desktop to mobile and like more and more traffic going to like, you know, mobile phones. And so like wanted to get ahead of that. So funded like a number of a number of initiatives and projects. I was working on one of them. This was like really, really fun because it was a small group within actually the ads organization. It was meant to sort of like, you know, offset the loss for the ad revenue loss because of this shift of traffic to mobile and worked on it for roughly two years.

  9. 8:33

    And then it was canceled. And although it was like the most fun I've had on, you know, solving hard technical challenges, I learned a lot from not having product market fit, not having the right users, not having the right feedback loop, not trusting your product manager when they say the project is going well, when in fact it's not going well at all. and then you know one day it's just like this vp flew in uh from california and then it was just like oh yeah it's like you know we're canceling this project um you know unfortunately you only have you know hundreds of users and this is clear not google scale and then uh it's unbelievable but people were surprised um and i think there's a lesson there um that i carry with me of course is you know just always always question always go to like always you know deeply think about the impact that you're having but also like the importance of the overall project that you're contributing and then i moved into google maps google maps was super fun worked on reviews and then after roughly a year i couldn't ignore like DeepMind. It was just, it was this special place, headquartered in London. So many great things were happening. This was like really the early days, you know, with rumblings of things like

  10. 9:39

    AlphaGo. And they just seemed to be doing extraordinary things and, you know, just really tackling the very, very hardest problems that you can tackle. And like, with my background, I was obviously drawn to that. I started there, like I worked on a lot of the research infrastructure, research tooling this is a theme that i carried on for almost a decade and it's like this is very much also the like how i approach things is how can i build tooling and products that help make others more efficient and bring a lot of utility to them initially i was doing this for research and then like over time you know i got like into thinking about things in a much more like more general and general and general way you know eventually like you know ending up where i'm now And a fun story that you recently shared on X as well is how you were part of the team that built this internal Googlebot that was, if you want to say, similar to ChatGPT, but a year before ChatGPT.

  11. 10:34

    Can you talk about that? That is a new story. I haven't heard it before. This was part of DeepMind. There were multiple efforts as well. There was Brain as well that was separate at the time. They had their own efforts on large language models, but it was definitely something that was being explored. It was not the main thrust of DeepMind. DeepMind was very much worried and busy thinking about brand challenges and games and thinking about RL, not in the language sense. And so there was this group that was pushing on large language models and thinking about what if large text corpuses are everything?

  12. 11:12

    What if you just pushed language to its maximum and you just scaled language models? Like, you know, would that be enough to get to general intelligence? That was like the hot debate at the time. And then one group decided to just really push on that. And then it felt really natural. Like, you know, as I was building tooling, you know, with others for research, it's like, you know, obviously you're like, you know, what can we do with this model? Like, how do we present it, you know, to the researcher? Like, how can they sort of like, you know, debug the inputs, outputs? And eventually you sort of like end up with, you know, like a chat system.

  13. 11:44

    So we built that internally. We had a lot of fun. initially the models were like you know kind of like almost like a little bit absurd like you know not very coherent uh not super useful but it was a lot of fun um to sort of like thinker with them that caught up like you know like wildfires like you know this application is just sort of like you know everyone uh was kind of like uh sharing little conversations within deep mind it felt more than like a research project or like a research a project for researchers and so then there was this desire over time to like launch it as an external product but deep mind was just like not set up you know there was like the the right way to launch products at google there's like you know the whole machinery of like you know how you do that um you know the whole like the less production stack you're obviously very very optimized over the years to do things well um but also very very hard as an environment to truly innovate and then i i wanted to ask what made you you know look around or or maybe even consider open ai but i feel you partially answered this question just just putting myself back into your shoes like you're you know if it's 2024 or 2023 you're inside of google who

  14. 12:48

    are publishing amazing papers doing really good research you're doing super fun stuff right pushing the limits of what's been done before it's inside a company where you already moved you know for people who are feeling kind of comfortable or good about where they are right now which I imagine you must have been. Like, what made you still explore, all right, like, what else might be there? Yeah, I was very comfortable. It's a good place. But really, I had a desire to, you know, meet great people, but also join a mission that I truly believed in. And that, you know, I felt like the people were true to the mission and cared deeply about impacting the world in a deeply positive way.

  15. 13:32

    But also in a direct way, not not being like, oh, yeah, it's just like, you know, we just do this work over here. And then it's like it's the job of someone else to figure out, you know, how to how to make this useful. It's like I wanted to join a group where, you know, like all the parameters were sort of like considered together where, you know, research and products were like really co-designing. OpenAI was just like crushing it. I thought ChatGPT was like, you know, taking off as a guy was I met a couple of people from OpenAI. And then I was like, wait, what? You know, you only have like 20 people working on ChatGPT.

  16. 14:01

    like that is that is an insanely small number that must be like extremely empowering like you know how does that work how do you manage to maintain you know a product with that level of scale um and with that level of autonomy with you know only only 20 engineers and then you know i kind of dug and dug and dug and it's like it was just a an amazing group of people amazing mission you know super talented super driven and like it was it was like drew me in and then i joined pre-reasoning uh efforts immediately like typical open ai fashions like i joined it was like oh yeah you know like there's this thing going on like you know we're gonna launch reasoning models like you know it's like a new paradigm and then you know start sprinting on that and like you know like a month later like the company launched oh one uh oh one preview and that was exhilarating to be part of i wanted to be part of like a place that moves fast cares about impact would be in tune with the world and, you know, just really listen.

  17. 14:58

    And sort of like, that's also to me, like, you know, what I've carried with me, like when building Codex, when building products, it's like having a community, listen to the community, just really focus on like a really intense feedback loop, and then building something that is just like, you know, you just really want to care about it and like, you know, care about the utility of it that it provides to the world. And then of course, you start to work pretty quickly on Codex, so you joined in 2024, Can you take us back what the thinking back there when you joined was about AI or LLMs and code?

  18. 15:31

    I know there was this ASWE effort back then. We talked about it in the deep dive as well that we did in the Pragmatic Engineer, the autonomous software engineer. ASWE, yeah, that's what it was pronounced internally. We don't have an ASWE effort anymore. It's Codex. But really, for me, I joined, I started building infrastructure for research. Like a lot of what I did before was large scale data storage, analysis, and then tools to understand training runs. I did a lot of different things over my years, but it was always about building for others and making them faster and just really caring about, you know, fundamentally doing that well.

  19. 16:16

    and then through tooling and infrastructure, making new things possible. And so when I joined OpenAI, it was like with the same idea. And then with the one preview and like, you know, some of the later models, it was very clear that we had to use the models themselves to help us go faster. And so I just really got obsessed with this idea of what were the limitations? How were we going to use those models for research itself? So I got together with other folks in research. we started training models we started building little agents those were truly the precursor to to to codex and like this was like we were training internal models to be very uh proficient on the python code base of OpenAI and then a very proficient with, you know, having like good, good taste in architecture, good taste in, you know, like code style. It was like Python only. And then the idea was like, you know, we would sort of like use that to build infrastructure very quickly and, you know, help researchers code faster as well. And then, you know, and then we would move faster. And then over time, when you just kind of push that and simplify it to its score, you're making a lot of, you know, we found like we could make a lot of progress very quickly and then learn very quickly. And then Greg and

  20. 17:32

    Sam are you know people with immensely supportive and also Craig was very adamant that you know we would we would not just focus on ourselves but we would also focus on benefiting the world and so he just sort of encouraged that we would be thinking about this not just as a tool for OpenAI itself but also as something that we would actually make into a product and this is when we merged this research effort with this ASU effort. And we started building one thing. And then that led to a sprint, which was like the initial cloud codex that we launched, which didn't really have PMF because it was like a little bit too high friction. And we also launched the codex CLI and we continued to push, but there was always this idea of, hey, how do we get models to really help here? You mentioned that first you started to build this model to train on the Python code and actually help build it in for better.

  21. 18:25

    But then you made this interesting decision where for Codex, you built it in Rust. And at the time, the model was not on distribution for Rust, right? It wasn't as good as Rust and it was in Python or TypeScript. Why did you make that kind of a decision? Was it kind of like, did you expect that it'll catch up or you figure that performance is more important? Because it was very counterintuitive. Most of the other harnesses built were actually not built in Rust. they were built on distribution of TypeScript or Python or something else. Yes. From first principles, like we very early on, we were thinking about the product interface and the agent as different things.

  22. 19:05

    So it was very important to build the core of the agent in a way that was robust, that was secure as well, that was, you know, engineered for efficiency and scale and having worked through projects over the years that go from, hey, this is a fun thing to like, hey, we need to scale this to the scale of like the largest data center is the decisions early on are like really turned out to be quite important as long as you don't sacrifice too much of the velocity and so it's like it's a it's a trade-off but we had very prolific and amazing rust developers our internal models were not bad at rust and then you get a lot of validation as well at compile time it's like you know statically verified and all these things and that is great for agents too so turns out you know it was quite clear that you know rust as a language would actually be quite good for agents fairly quickly if we decided to put some effort into it but Primarily, we were focused on correctness and we were focused on efficiency as well.

  23. 20:14

    Interesting. So you're saying, you know, it's worth, in your case, it was worth thinking ahead of where you want this thing to be. And for example, thing like a language choice, obviously with agents, you can rewrite a bunch of stuff and easier than in the past, but it's still like you can save yourself reworking by putting in the right, I guess, scaffolding or, well, you know, the baseline of what you're building on, right? I think we could have been successful if we had written in a TypeScript or, you know, maybe even Python and then it would have been fine. And then, you know, we would have rewritten it at some point.

  24. 20:45

    But having a very clean separation between the agent itself, which can exist irrespective of the product, it was a very important principle. And if you write everything in the same code base, in the same language, it's like inevitably you're going. to be a little bit sloppy and you're going to intertwine things more than you should. And then it's going to prevent further innovation after that. And so that was that was very important. Like the Rust boundary, in a sense, like was very useful for that. One interesting decision that you made, which is unique across all of the major labs, is having this built in open source, right?

  25. 21:21

    The CLI is open source, the SDK and the app server are all open source. When and why did you decide that? It's not a given, especially, you know, there used to be jokes about OpenAI having things closed but this this is actually the opposite where like this is open whereas like some competitors would would ship closed source harnesses which again i i think it's very easy to understand why you want something closed source why did you want it open source there was something really cool about the idea of having the code open source because fundamentally what you're billing is you're billing a coding agent and so we were sort of like thinking about well if you have that you know you're obviously going to point it at itself and you know maybe you know you can build a community of you know contributors that use it to improve it and then you know you can learn a lot from that also it felt at the time is like you know very clear to us that if we were going to be successful open source itself would change and the role of code itself would change and so being part of that community seemed important instead of divorced from it i think you know it's it's it's hard to solve problems if you don't sort of like witness them yourself

  26. 22:29

    and then the the other thing was just it still feels like early but it was very early at the time um it felt like we would have some ideas for how to solve things well um and we were co-designing these you know with with with the training and and and and the research and it's it's all about expressing like the capabilities of the model and like the most flexible in the best way but also we didn't have all the answers and sort of being very open about hey this is what a good harness looks like this is how we think about it we did like a couple of like very technical like deep dives and blog posts and we talked about it a lot and we thought you know hey it's just like the world is vast out there just like you know crazy smart people it's like you know we're we're gonna get inspired by other open source project as well and so let's just make this a level playing field and sort of like encourage a lot of tinkering and exploration at this stage.

  27. 23:28

    Now, this has been now, you know, like a year later, a year and a half later, which is a very long time and right now in this AI timeframe. But looking back or taking the experience, what are the benefits you've seen, the kind of enduring benefits, the enduring teams benefits from being open source? And just honestly, what are things that are kind of hard about being open source, right? Like, there must be downsides. Like, just trying to get an honest take on both sides. Yeah, there are definitely downsides. It comes at a cost, right?

  28. 23:58

    Tibo SottiauxThe benefits are, it's awesome to build in the open. It's awesome to have, like, a small repo as well.

  29. 24:07

    Like, whenever we hire someone and they join the Codex team, it's like, they've seen the repo before. They've looked at PRs. Onboarding is done. Yeah, it's done. Yeah, it's like in onboarding, it's just like you use Codex to look at the repo, you know, with you and you ask some questions. But it's like it's not it's not a secret issue that you can get productive right away. We get a lot of good contributions, although we get like, you know, a tsunami of like random stuff as well. Obviously, you and everyone else. Right. Open source is changing. I think this is one of the examples. That's right.

  30. 24:37

    And then to me, it just and to a lot of the team, it just brings a lot of energy to just be part of the community and like be directly contributing. not just saying that we care about the community but actually doing things that you can see it's costing us effort we don't have to do it the downsides are it's separate from the rest of our code so sometimes we have to draw artificial boundaries and work across Across multiple repos, when we're working on something particularly exciting and, you know, we're building it in the open, then, you know, at times we find that, you know, others copy it, you know, before we have the time to release it.

  31. 25:15

    And it's like, it's just a little bit sad. But also it's like, it's part of the game, you know, it's, it's like you're building in the open and it's like, you know, that's, that's sort of like the contract that you signed is like, you know, you can copy it. we have a very permissive license as well. But it does sting a little bit when you're working on something and you're like, you know. And then the third thing is just like everyone else is like, you know, we are overwhelmed with, you know, random contributions and, you know, we have to deal with that additional tax. But then that pushes us to, you know, also like try and solve for it, right?

  32. 25:47

    Which I think is good. And on top of the open source, one thing that surprised me about Codex, and I didn't even know about it until recently, it's not tied to the OpenAI models. You can use other models with codecs, you know, like putting myself in a vendor's shoe. It might not be very obvious because, again, all the other vendors I look at when they do a CLI, it's kind of use it with our models. Again, what made you decide to be this permissive about, you know, using or allowing to use your harness with with other models?

  33. 26:19

    Tibo SottiauxIt felt quite natural. If you are part of this community and building an excellent coding harness, why would you couple it to your model? That felt quite disappointing to make that decision. So it didn't feel right.

  34. 26:39

    And in general, it's like, I think, you know, it's like, I kind of tried to make decisions that I'm like, yes, you know, it's just like, I can just sort of like explain it. You know, it is correct. It's the same reasoning with, you know, it is open source in the first place. It would have been trivial for anyone to fork it and then add support for another thing. But then, but then you're just encouraging people to just like, you know, go and use that fork. And then not suddenly you have overhead. And the only reason you have a fork is because, you know, you wanted to change like 10 lines of code to add support for like another model provider that feels very silly so like you know why not just support it in the first place the other thing is we benefit a lot from like being able to just give optionality so you know it's like maybe today you know you you love using open ai models um and you know you're super productive with them but like tomorrow there's a new model that comes out you want to try that why force you to go and completely change your setup just to try a new model and then we benefit from the feedback that we didn't get uh which is like you know maybe there's something that you liked about that model maybe it actually didn't

  35. 27:43

    work well but it's sort of like being nice to our users and to the community it's like you know feels like the right thing to do here um and then you know we also use we will also try like other models right so and you know we try them in the same harness and you know it's just all uh all good and then this is also often like this optionality is very important to companies that we work with yeah this is something that you know we absolutely lean into this last point i think you know as any serious company you want to have optionality and you want to use a tool that gives you that optionality but i kind of appreciate it because i feel to me like it's kind of honest like look like it forces the whole company to be to compete the best in everywhere in the model layer and the harness layer with open source with with choosable models and it kind of like doesn't doesn't allow you to like kick back and say like all right we're done we can we can we can hang back for a little bit for now yeah i want us to win users by having you know the best models the most efficient models the best product and then you know if we do all of these things it's like we're gonna have a good time if we sort of like force you to use the product because you know this

  36. 28:48

    one thing it's just like then i don't think that will attract you know the the very best people to work on this product either and it's like you know it's like we're doing our best work here we care a lot about the experience it should feel delightful you know like it doesn't Irrespective of the model that powers it, you should fill the light hole. I love the idea of winning based on merit, not based on lock-in. And this is a perfect time to mention our season sponsor, Entire, who also play by the same rules. Like it or not, Git is becoming a bottleneck for modern agent-heavy software development.

  37. 29:18

    Devs are creating more code with agents. These agents are pushing more code. Many devs are running more parallel agents. These are pushing even more code. GitHub is clearly struggling to keep up and has frequent outages. So what's the solution? Entire was founded by GitHub's last CEO, Thomas Dumke, and he rebuilt Git hosting for the agentic era from scratch. Entire was built to be very fast, and to have your repos regionally close to you to reduce latency, allowing for fleets of agents to push in parallel. Some numbers they published. Entire can handle 418 pushes per second. That's up to 89 times faster than every competitor on the market.

  38. 29:53

    When GitHub is down, you can still keep working, and you don't even need to migrate from GitHub. You just sign up to Entire and the platform mirrors your repo. And one more neat thing. Have you ever wondered what prompt resulted in this specific code being generated? I find that the prompt and conversation with the agent carries more information than the PR itself, at least for me. Entire captures all the prompt history with your agent right in the repo, easy to check back, and has a pretty innovative UI to show all of this. If you're looking for Git hosting that works even when GitHub is down, head to entire.io slash pragmatic, install the CLI, and mirror your repo with a click. I've already done it. Oh, and did I mention that it works with any agent and it's open source? I'd also like to mention our seasoned sponsor, Antisysys. Thiebaud talked about how the experience of the software you use should feel delightful. Delightful includes no annoying bugs. But when you're using agents to write your code, how do you avoid shipping bugs? Reviewing every line of code is becoming a challenge with the amount of code that agents generate, which is why Antisysys goes well beyond code review.

  39. 30:55

    Antisysys runs your whole system in a hostile simulation. This simulation includes both targeted testing and fast testing. By running this simulation, it finds every bug before your users do. And because the simulation is fully deterministic, it doesn't only find bugs, it gives you a perfect reproduction of every issue, which makes it much easier to fix issues. The first thing I thought when I heard about Antisysys is that automated bug discovery and fully deterministic testing sounds like science fiction, but it's actually hardcore engineering under the hood. JaneStreet, Fly.io, and the Etsy, the community, ship agent-written code with full confidence because they know it's been verified by Antistesis. To see more case studies and details, head to antistesis.com slash pragmatic. And with this, let's get back to Thibaut and why competition between tools is great. Yeah, and I think as an engineer, like I always see that Whenever there's competition, as to someone who's using tools, it's always amazing.

  40. 31:49

    I remember when Microsoft had with JetBrains, the IDE wars, and then there's the clouds battling with each other with all the features. And now, of course, we have the harnesses, we have the models. And as a user, it's great because now we have more choice. They just develop faster. I guess our voice gets heard a bit better. So it's great to hear. Speaking of the harness, can you tell me how it works today in the sense of like, when I start a codex task, does it run always on my machine? Does it choose the cloud? Does it use a sandbox? And how do I control this or know this? Or how much should I know about this as an engineer?

  41. 32:29

    Yes. So by default, it runs sandboxed. Everything that if there is like a command that should run with additional permissions outside of the sandbox, it will ask you as a user for permission. But everything, every tool execution happens within the sandbox by default, and it runs entirely on the machine, your local machine. And this has been the case for, you know, more than a year. here now but it is something that is evolving and shifting where like you can select to run this in the cloud which then runs in like a managed vm where it's the same vm that you get through chat gpt work and you can you can sort of like inspect it but like it runs in a cata container it's like a secure environment and so if everything runs inside of that vm and it doesn't run on your machine and then the only thing that happens in your machine is like the the your input and then the streaming back of the output and so that you know obviously then uh is like much nicer on your cpu and your machine and you can scale much much um much more and this is like just a step um it's going to be much more seamless in the future um to like you know use cloud machines and then you You know, maybe have a combination of like partial execution on your laptop, partial execution on cloud machines.

  42. 34:01

    And really the thing that we're thinking about that is very natural is as models just get better and more capable, they can leverage so much more compute and many more resources than are available on your local machine. And so it would be a constraint at some point to just limit execution on your local machine. But one thing that is great about it running locally, and I think the reason I love it when it runs locally, of course, it's a pain because if I'm doing some work, it's like, you know, I have several agents, it's eating CPU. If I want to close my laptop, I cannot kind of leave it like half open.

  43. 34:38

    Right. When I was in one of the offices of an AI company, I had it half open and they're like, are you running agents? I'm like, yeah, I have one running. I get it. But the reason I do it because I have my local tools. I have my local Postgres database. I have my this and that. How are you thinking about the cloud is amazing, but it doesn't have this setup or it's just a pain to set it up. Are you thinking or are you experimenting with making these setups? And I'm kind of reminded of a topic that we talked about pre-A, which is cloud development environments and like 2022, 23, they're hot. And then we talked about AI more.

  44. 35:12

    But I think outside of large tech companies, like cloud dev boxes really never took off because there's a very big upfront cost. And then you need to pay like a maintenance cost as well. And you just, you know, don't benefit from it as like a solo developer or like a small team.

  45. 35:29

    Tibo SottiauxWith the level of capabilities that we have in agents now, it's like the setup almost is free, right?

  46. 35:34

    So like this, the setup cost and this maintenance cost is like, if your agent is capable of doing it, you know, it should just do it for you. So for example, if you're saying like, hey, you know, I have like, I have my local SQLite Or I have a local server and MCPs and whatnot. It's like, how hard is it to actually configure exactly the same setup and keep it in sync on a cloud dev box? Well, maybe it's not that hard if the model just does it for you. And so I think we're going to see a resurgence of fully cloud orchestrated machines, which then frees you from your laptop, right? It's like one thing that we've seen a ton of success with with ChatGPT work is like, it's just available on your mobile.

  47. 36:15

    I start my day just dictating a bunch of tasks into it next to the coffee and it just does it it has access to my calendar it has access to my email it has access to slack and it's just so awesome to just be able to walk around and you know get stuff done without having to you know carry my laptop everywhere and I think it's the same thing like you know we ship like codex remote where you know execution is like still happening on your laptop but it would be wonderful if you know you didn't have to keep your laptop open can you tell me a bit on how in the past how did you improve codex because i remember when i first used codex this was one of the early versions you know like you could talk to it it did stuff but for example i said like all right make this change and it did that change and i had unit tests and it didn't run it And then later, a few months later, I don't know exactly when, it just started to run it automatically.

  48. 37:07

    Were these things, did you improve the script that runs, the instructions? I'm not sure how exactly you call the bootstrapping script or whatever that is. Is it improving the model? As a dev, how can I imagine you making each version better between the harness and then between the model? And what's the connection between the two? Yeah, this is a good question.

  49. 37:29

    Tibo SottiauxSo the harness, in a sense, is always a little bit ahead of the model.

  50. 37:35

    Oh, really? How so? What I mean by that is that you have the model, it's capable of certain things, but then you set it up with a couple of crutches so that it can actually do the thing to a level of reliability and in a way that is efficient and also with the behavior that you expect as a user and sort of like that's the role of the harness right is like you know provide guardrails like safety make it more efficient make it more like steerable controllable and then the harness usually is also responsible for you know what we call like the the developer um message uh which is sort of like infected in the context uh at the start of each turn and so that affects obviously like the the purpose of that to affect like the behavior of the agent throughout uh throughout the turn a lot of what you have is like the result of of the harness and the model initially like maybe you're like oh it doesn't run tests so you know you have to remind it to run tests and then you know we train a battle model that is uh just you know capable of like better reflecting on what is it that you really want when you ask for something and then, you know, you don't actually have to tell it anymore.

  51. 38:54

    So over time, what we see is like the system, the developer message shrinks and then the hardness also shrinks. Inside of the codex team, do you have specific goals? Do you say like, all right, right now the codex as a hardness and model combined is not very good at this or it's kind of doing silly mistakes right here? Or how can I imagine now how, as the engineering team, how you're working on the next, you know, version of Codex. Because the thing that I don't really get as a dev is like, okay, there's a model, which to me is this magical thing, which will get better. Of course, I'm sure you have some feedback channels, but you also have the hardness, which is the tools that you're building.

  52. 39:32

    Like that's probably what the team is responsible for. How do you set even your goals, right? Like in traditional software, you'd be like, we will build this feature and you build that feature because you know how to do it. But it feels a bit more fuzzy to me, this development process. Yeah, it is. And it's why we co-design, you know, most things. And it's a process where it's a collaboration between research and the engineering team, like primarily building the core agent harness. It's always a question of like, OK, we see today that, you know, we are very good at this, but we're not very good at this.

  53. 40:04

    And, you know, we have a desire to do like another thing because it would be a very cool product feature. And then, you know, we always look at it. It's like, OK, should this be like a harness change or should this be a model change? and if it's a model change like how soon can we have it can we have it in a month can we have it in you know three months six months and we sort of like work through that and then depending on you know how soon we can just fix it in the model at which level of training then we might decide to not even do something in the harness at all and not and just wait for for for the model to to solve it you know it's it's agents all the way right so we use agents to analyze like a lot of the feedback to like you know come up with themes you know to just help us have these conversations and decide on priorities, but we analyze it across all of coding.

  54. 40:48

    We analyze it across all of the other domains, like finance, comps, marketing, all the things where our users are using these agents nowadays. And there's subcategories within those. And then we roughly know, You know, how well we perform, and then we're always pushing the frontier. And there's a thing that is interesting is, like, as we make, you know, as our pre-training model gets better, as we make the overall model better, like, the whole thing lifts up. But then there are sometimes things that we pay a little bit more attention to. You mentioned, you know, you analyze agents all the way.

  55. 41:19

    Can we talk about the software development lifecycle on Codex in the sense of whenever a new engineer joins a team, any team, it's like, okay, how are things done here? And, you know, back pre-AI, it would have been you joined a company like Uber or Google, and they would tell you, like, cool, the way it works is we have an idea or the PM has an idea, we make a plan, we get together, we do some estimations, we break up the work, we code the work, we do tests, we do code reviews, we release, we do feature flags, and then, you know, we're on call. You know, that's how it used to be. When someone joins the Codex team, you know, they've clearly been contributing to the open source part.

  56. 41:57

    But what do you tell them? How do things get done here? if they're like a total newbie. I introduce them to great people. And then the thing that they hear the most about, like when they have a question is like, have you asked Codex? And Codex is just by default at OpenAI is like plugged into everything. So it has access to Slack, it has access to all the documents, access to all the code. And it still surprises new starters that you can basically ask it anything. And it will very often just like come up with like a really good response um and so the easiest way to understand the state of a project or who's working on something or why a decision was made is like critics knows about it all internally um so you just you just use all of that we do a lot of work in you know for that reason we do a lot of work in public channels um we open up uh documents with like you know fairly broad uh permissions and so that you know everyone has access to this information as well and so that your agent can go through things and reason through things. And then we have a couple of other things that are just really very helpful for team productivity and team collaboration that we haven't released yet, but are going to come, like some of it at Dev Day. Although that just

  57. 43:12

    sort of makes you very grounded and in tune with the rest of the team and allows you to just very, very quickly understand the state of things and produce things yourself. The general recommendation It's just like, hey, care about the user, care about the coherence of the product, care about the models and where they're going. If you're doing something and, you know, you're building like this 10,000 lines of code crutch to work around the model flaws that, you know, you're probably doing the wrong thing. So we have a set of principles, but it's just really sort of like a team culture and ethos at this point.

  58. 43:46

    And, you know, it's just very much sort of like carries on, you know, when people join, it's just like through the rest of the team, just like, you know, sort of like teaching the ropes. And then when I have an idea, I think it's a good idea. I talk it through with Codex. Maybe I talk with it with some of my colleagues, like here's a cool new feature I'm going to build as my first contribution or first major contribution to Codex. How do I go about that? Obviously, I code it down with Codex. I obviously test it and make sure that it works. From there on, what's the process? Do you still have the concept of code review or AI code review, a verification of rolling out, a verifying of stage rolled out?

  59. 44:21

    you know the things because codex itself it goes out to millions of people like i just crossed a big 20 million uh active user mark but if it's chat gpt then it also goes out to like even a lot bigger number of people yes um but it's it's surprisingly like a similar process whether you ship on codex or chat gpt even though chat gpt goes out to like a billion a billion you know active users and growing you can ship a pr um you know you can make a change and you know get a chip like the next day or like even the same day um and it just goes out to a billion users and it's fine we just really instill a sense of ownership and care so you're People are very empowered to make changes, even large changes.

  60. 45:04

    The general thing that is being asked is like sort of like evidence that it's going to be well received, evidence that is like a worthy addition, evidence that, you know, it's like it is worth maintaining over time. But also like the cost of maintenance is like just really, you know, gotten done significantly as well. So we think about these things slightly differently than, you know, say like two years ago or three years ago. The other thing as well is, you know, we automate as much as possible. So like a lot of like the process of like code review and deploys and, you know, catching regressions.

  61. 45:34

    It's like, you know, all of that is like pretty much automated. And so, you know, you get to just focus on really the idea and, you know, how it's going to help our users. And you care about, you know, the coherence of it all. And so like the overall power of the agent and making things better. And we don't we have a long, long list of things that, you know, we sort of like aspire to do and haven't gotten to yet. And then there's like the sort of like the North Star direction, which is a delightful, simple to use personal AGI that, you know, knows everything about you, like, you know, that it needs to know, has access to the right resources, can take like, you know, sometimes risky actions on your behalf.

  62. 46:11

    But then, you know, you get like the push notification and then, you know, you can verify that. And it's like a thing that, you know, you deeply understand as a user, but also it knows about your schedule. It knows about your goals. It can be proactive and it should be like extremely natural. It should be something that you can control through like natural language, voice, you know, like maybe it should understand, you know, your emotions. Like if it has like a camera feed, it should be the most natural thing on Earth. It's like it should not be like a thing with 10, you know, different buttons and configurations.

  63. 46:38

    It's like AGI should be simple to use. You kind of mentioned just briefly the review, the code review, but I wanted to go back to it. You worked at Google on a product used by, you know, like hundreds of millions, which is Google Maps. And Google is very well known for their culture of very strict code reviews. They have, I think, two layers of code reviews. There's a language correctness review. And they've taken, I think they've really perfected it across the industry for a long time. And they do believe that it works and they use it. How do you think that part is changing specifically the human review?

  64. 47:09

    Because for a very long time, until maybe a year or two ago, I would have said your code review has all these benefits. It's knowledge sharing, the second pair of eyes, removing the bus factor because now someone else understands and when that person is out, they can jump in. Conversations are happening about architecture, not just the code. But now there's, you know, there's a lot more code. And what was the value of code review? In what cases, and so on your team, because you guys are so ahead of this, where do you see humans still being or developers being involved in the review stage valuable?

  65. 47:46

    And where is it fine? Did you find it fine to hand it off to an agent? Yeah, the role of code review is changing. One of the early projects that I did on Codex was like working with research on developing a code review model that was going to be to a level where it can spot mistakes in logic and reasoning to a degree where it would require humans like, you know, multiple, potentially multiple hours to capture the same level of mistake because it requires like really digging like, you know, three, four levels deep into like the dependencies and like, you know, just understand that maybe the documentation actually was wrong and like the implementation of like the third party dependencies like different from what you expected.

  66. 48:32

    And so therefore your invariants are not upheld. And these things, it's just like, you know, unless you're an expert in that library, you wouldn't know. And therefore you have a bug. And so we developed like these code review models and, you know, we released them and now they're like the same level of like capability and like ability to spot these mistakes by doing like, you know, deep verification or like just part of the mainline models. Like when we benchmark them, it's like they're like superhuman in code review. And this is not just true for correctness. This is also true for security. for example, where you're capable of, like, reasoning across, like, you know, very, very complex things. And then, you know, coming up with, like, hey, you know, you have a critical security vulnerability here, which is now mandatory across, like, all of OpenAI pull requests. Like, we block pull requests from merging if, you know, we flag them with, like, a security issue. And this is, like, all automatic. And the role of code review now is, like, I think it was always about correctness. It was always about, you know, ensuring that things work. But it was also sort of like a little ritual for information exchange

  67. 49:30

    and, you know, bringing people on the same page and, like, you know, encouraging, like, a discussion, which ideally would have happened before, but sometimes it just only happens, like, around the code because once it's merged, it just actually runs in production and it's doing stuff. And then you have to maintain it. So there's, like, this social aspect to it as well. And so I think all of it is changing. Like, the correctness, the cybersecurity, the security, I think that will be automated. Really what we see and I see is there's this sort of really discussion around the intent that takes place around the pull request.

  68. 50:01

    It's like, what are you even trying to do? And is that the right thing to attempt to do? I think you can have that discussion outside of the pull request. It doesn't have to be around code. So maybe this helps crystallize where a discussion needs to happen versus where we did it because maybe we didn't have the type of tool that we have right now. Yeah, I think this is going to change. And it was like a forcing function because you have to have that discussion where like it's good to have that discussion before you merge it and it becomes production code but I think there are other ways to have these discussions and you know design things together and make sure that the intent is good and then the code doesn't matter as much and it's interesting because when I think back of all my code reviews like of course I have like memories where like it was great we had a good discussion or I learned something really interesting but a bunch of times honestly it was such a pain in the ass like I was trying to get my stuff you're pinged hey could you remove my code and like no right now i'm busy no i really need this to unblock me and then you context switch and then i feel it's always been like good and bad right so i feel

  69. 51:05

    whatever we do there will be always upsides and and downside but they're now they're just moving so i guess one upside is as an engineer you might have to not give your attention to just kind of basic stuff that doesn't need your input per se yes it saves time and progressively what we're going to see is also like you have an agreement on you know the box and the overall contract of what it's supposed to do and then you know what is inside the box as long as you have like strict guarantees in terms of resource utilization data access um security these kinds of things it's like what happens inside the box is you know it could be literally anything you just like don't really need to care and like really what you need to agree on is like what does the box actually do and what are the invariants that must be satisfied.

  70. 51:52

    And I think that is then worth, you know, having like a really good conversation on, you know, maybe assisted by your favorite agent. But then once you have that and you have that understanding, it's just like changing anything within the box is like, you know, doesn't require for this discussion. And it's like, you know, just really preserves your attention. The cost of maintenance has gone down. You know, maintenance is always such a hot topic whenever we build something inside of all these companies like Google, Uber, even startups, like building was the fun part, but then maintenance was the painful and that's when we learned like, okay, it was not, we're building it, et cetera.

  71. 52:25

    Inside of Codex and OpenAI, what do you see maintenance becoming cheaper changing in terms of instead of what you're building, what the ambition is, the, I guess, custom tooling, those kinds of things? Maintenance is really like sort of like a tax that you pay over time just to keep things running. And it's always been necessary, will continue to be necessary, but where I think it changes is like a lot of it is just going to be automated. So, you know, it's like, okay, you have this third-party dependency. It's like, you don't need to upgrade the version. I'm just like, oh, it's like, you can fully automate this, you know, if you have.

  72. 53:02

    good change log and you know and the code is well documented and like you know and and the molecule just like reason through it as you know it can just like blast through your code base do it uh in a couple of hours and you know previously you would have like sort of punted on it because it's not the most fun thing to do but it's actually really important for your business so it's like really important for your project you know especially for security vulnerabilities you want to stay up to date right you want to apply you know all these patches um i think that's just going to be fully automated so a large part of like maintenance it just kind of comes for free right and then um i think it's it's awesome to also think about before like you know when you wanted to just completely react you have to do like a new architecture because you're trying to make space for like a new you know different kind of trade-offs or you have a new understanding of like the workload or you're trying to fit a new feature and like suddenly you realize like your current system is just very limiting and you need to completely re-architecture it that was like a really really costly endeavor right so you know it's like sometimes like multiple years

  73. 54:01

    and i think this is also like super super accelerated now so you like the cost of mistakes uh you know i would say like you know is going down but then at the same time the good old rules i would say of software engineer of like you know having good abstractions like really help like

  74. 54:17

    Tibo Sottiauxyou know going back to this like having the box with invariants like you know if you sort of like draw the right shape you're going to be able to change things much more quickly within the box

  75. 54:26

    and like not affect the rest of the services or the rest of your infrastructure. And I think it's important. It's important to design for very quick iteration and change. I remember when I talked with Peter Steinberger, that was before he joined OpenAI, but about OpenClaw and how he thinks about it. Like, you know, he told me that he doesn't read the code, but he kept thinking about like, I could see that he's holding the architecture in his head and he was telling me how he re-architects a lot and he thinks about how to make it modular, or how to allow 100 contributors to each build their thing without stepping on each other's toes.

  76. 54:58

    So I'm hearing what you're saying that this care, this planning, this structuring has become maybe just a lot more important to like, which was something back in the day, you know, it was like the architect or the staff engineer or experienced folks were doing this thing and other engineers around them were kind of building this, you know, smaller parts. But it sounds like now all engineers need to be aware of it when you're building your software, right, and plan for it. Yeah, and the GPT models are getting better and better at this as well. Like, you know, thinking about long-term maintenance and, like, good architecture.

  77. 55:32

    And, like, this is, like, a natural sort of, like, next step, right? It's, like, not just about code quality in the sense of, like, oh, is this code clean within this file? But, like, you know, is the architecture actually correct to reduce maintenance burden over time? And, like, you know, make space for, like, future product or feature extensions or changes? and just really this act of like you know engineering over time that's uh kind of like something that models are starting to become capable of like thinking about very well i think it's just kind of fascinating to understand that the software that we're building is just going through the life cycle much much faster right you know before you had you know you were you're scaling you were starting it you know maybe as like a small team of you know yourself maybe a couple of engineers and then you would add engineers like slowly and then you know maybe after a year, you know, it's like if it's very, very successful, you would have 50 engineers on it or like 100 engineers on it. You would have time to see it coming. You would have time to see like, you know, the humans on board and like, you know, you can think about the documentation,

  78. 56:29

    all of that stuff. But now it's just sort of like that explosion of like, you know, suddenly you have like 100 agents contributing to this thing. It's like, you know, that can happen like, you know, in a weekend. And so, you know, you're just going through it at, you know, major, major speed compared to before okay but how do you and and the folks at open ai like deal with it does it not mess with your mind like you you know what i mean in the sense of like you you've been in this business for quite some time now like like decades or well over and there was a pace that we kind of got used to and obviously it's now a lot faster but How do you get your head around the fact that A, it's faster, B, the stuff that you've been doing a year ago, right now you're not doing because now the model is good at it. And, you know, like, how do you kind of reconcile that? Because I'm sure there's stuff that you've been really good at related to software that now you can hand off to the agent. Do you not get a little bit of sting? You know, we talked about it stinging for your features to be implemented open source, but it can also sting that I've been really good at, like, I don't know, refactoring or, or, or right now, it might be architecture, but maybe the model will be really good.

  79. 57:32

    good at that and now i'm like oh okay damn like i'm glad but also like it would have been nice for me to do that yeah i think there's like a craft aspect to it um which occasionally i still you know pull up an editor and like write some code um and it's just like it it it feels nice and and it's sort of like i have fond memories of like late nights sitting in uh in vim and you know just like cranking it out you know drinking um coke zero and uh yeah just not having to think about anything else other than like the problem in front of me but really i think it's um it's all about being in the flow and and solving problems and what i find is like you know folks here and also like everyone i talk to is just like adapting very quickly and i think if you if you have a mindset where it's all about code is a tool to solve problems and you can solve so many more problems it's like before you wanted to benchmark something and you weren't quite sure where you were going to net out it's like you can just do it it's it's going to take you like no more than 30 seconds you know to launch something in the background and you know get proper numbers and be able to do like a better trade-off it makes you it should make you a better

  80. 58:46

    engineer if you just really care about you know the outcome and the system working well and so what it allows us to do at open ai it allows us to run you know our inference much more efficiently it allows us to you know get like much more like effective compute and you know deploy that to the world and so like everyone's just like very focused on that and solving important problems at the speed that was not possible before and like i i haven't yet you know encountered someone who's like oh that's not that's not good um that's not fun do i understand correctly that it sounds like if you have ambitious problems if you have way more problems than what you can solve today or tomorrow or the next week sounds like this is not really a problem because when you know you get more efficient somewhere you keep going which is a lot of startups right like startups are always way more ambitious than what they're able to do i don't we're not we're not out of problems for sure right so and i don't think we will be for a while um we have a long long road ahead of us in terms of like mathematical breakthroughs scientific breakthroughs you know making the world a better place like just really building for humans and solving the most important problems that everyone

  81. 59:55

    is facing and just doing it in a deeply human way that's that's what we're here for also just going back to coding and like you know these late nights it's like i think there's like it's also like maybe like a glamorous version of it just like i also had very a lot of late nights where i was trying to refactor something um and you know it's just like it would be like three hours deep into the refactor and then realize like actually this is a dead end uh and i must restart from scratch and it was like very frustrating um and so it's like there was like there are like these very very fun times but there's also the time where it's like it doesn't compile and you're just like Like, why is this not compiling yet?

  82. 1:00:34

    I'm sure you had the time where you go later. It's now super late. You need to go to bed because you need to get some sleep. And then you can't really sleep. And you have this thing where you have some task that is halfway. And it upsets you. Sometimes I remember dreaming about the code as well. And I guess one thing I don't really have these days when I'm working on my software for my business is i don't really have something that is halfway because i I can just do this, and then I can leave it at a state where it's kind of like, you know, done, either finished, or it's either working, or I have proof that it's failed.

  83. 1:01:09

    But it's interesting, because, you know, everything's sped up, right? Yeah, maybe. Like, I do have, like, what a lot of people do, and I do myself, is, like, you know, I have, like, sometimes, like, bigger questions that I'm asking myself, like, and I, you know, from conversations I've had during the day, or, like, I haven't yet, you know, just, like, had the time to just look into it. And so I, you know, I will send off Codex to just like look at it overnight. And then I'm very excited to then wake up and look at the results. And so, you know, it's always like an exciting morning. Well, I feel there's an art to doing long running tasks.

  84. 1:01:41

    And of course, you can use the slash goal, which will go and run. You know, that's also something that was recently added like a few months ago, right? The slash goal command to Codex. Yeah. And back to, you know, maybe like the harness is a crutch, right? is a flash goal was like necessary to allow like not to keep the the model like on track on like a singular goal for a very long period of time and it's like it allows the model to literally run for days or weeks if it's like a really really hard problem but with the new generation of models like what we're seeing is like you know you don't need slash goal anymore you don't need a harness around it you can just tell the model like you know hey go and work for a week and you know you will actually do it speaking of hard problems and the fact that you're not out of them one of the interesting things that you've shipped from the outside it i would say it it was you know as an engineer was moderately interesting uh is the what you call the merge which is codecs appeared inside of chat gpc and the reason i say that as engineers it kind of moderately interesting because we've been using codecs like yeah it's there you can now open it in the chat gpc app great like i

  85. 1:02:47

    I just went there and I just immediately went to Codex because I don't really use ChatGPT in the app per se. But I talked with folks at OpenAI and people in your team and they were telling me there was a lot of preparation going on, a lot of engineering challenges. Can you give a sense of how big this project was, what you needed to do, and why was it difficult to pull off and how did Codex and other tools help you get it done in ways that would have been hard before? Because since you've launched the merge, the numbers that you keep sharing of how many people use codecs, it's like it's going up way faster than before.

  86. 1:03:24

    So I assume there's a big scale problem you've solved here. A lot of things were challenging with the merge is, first of all, completely different stacks. ChatGPT is like fully managed cloud-based. like you know you run everything on our uh on our systems we store things like traditional traditional way of like building things um built for scale built for for efficiency codex fully local and so the merge is just really like how do you get the same uh the same benefits and the same capabilities from this local coding agent and then build a product around it and build it in a way where it can benefit like a much much broader pool of people, which is just also why, you know, all of us joined OpenAI is like to benefit like this very, very broad population across the world. And so it was like a very exciting journey of like figuring out like, how do we build a cloud version of this that in essence is capable of like very, very much the same things, but is also built in a way where, you know, we can serve it through like tens and hundreds of millions of users in a way that is still efficient so that we can include it all the way into the plus plan.

  87. 1:04:44

    Tibo SottiauxChatGPT work is essentially like running the full codex harness in a cloud, together with like a cloud computer.

  88. 1:04:54

    It's a very powerful machine actually. Like people have sort of picked up on it and showed like, you know, what you can do. Like, you know, if you are creative. The prompt is that, you know, you can get you can get ChatGPT to train another model in there. You know, there's some pretty wild things. You know, you can get it to install Blender and, you know, do like 3D modeling. It's like very permissive. It has like internet access. It's like a powerful machine. And then Codex just works on it. And this is like what we ship through ChatGPT works. So a lot of system challenges, the team did it very quickly.

  89. 1:05:30

    Obviously, like Codex helped you know, to make it more efficient, look at and build a lot of the infrastructure. And then, you know, help resolve a lot of the little differences as well that, you know, had been occurring between Codex and Chattapiti, like merging plugins, architecture, you know, merging library and like sort of like really, really working towards like unified system, which is really the goal is like you shouldn't feel like, you know, you can do something in Codex that you can't do in Chattapiti or vice versa. Like what we're trying to build is like one unified product that gives you access to the same intelligence, but in the way that you want to use it. And so it was very fun as well, because Codex throughout the whole journey also acted as a journalist to sort of like document all the steps and the debates and the discussions that the teams were having. And it was very animated debate, you know, of how we should do it and how we should name the thing and, you know, when to introduce it in what way and like what to merge to what there were like many different permutations considered and so there's like a very fun journalistic element to it where we like we have a full recounting um that codex did over time

  90. 1:06:36

    uh and uh yeah it's just it's kind of become known as well as like the toggle arc of uh open ai where you know we introduced like the work toggle um which there was also a lot of debate around of like you know whether this was like the right thing and then you know it's just like we I kind of grew to just really like it. But over time, we're going to merge things further. So it's like we're really headed into the direction of like full unification. And, you know, we kind of view this as like a temporary state where, you know, you have like you have better, stronger capabilities when you're in work mode.

  91. 1:07:11

    But over time, we're bringing this, you know, all all the way to like, you know, everyone that uses ChancePG. And how do you personally use Codex? Like, what's your working setup in terms of agents, in terms of tasks, in terms of what you manage with it? And related to this, I asked Peter Steinberger what I should ask about you. And he said, like, you need to ask him, how do you deal with the fact that you're involved with all these projects? Your calendar is like Tetris, but usually you show up pretty cheerful. My calendar is fine. um um and it's just i am capable of doing so many more things nowadays because i have the technology like codex and i actually shifted a lot of like my my my work on uh on mobile using tachyvc work where whenever i have something that i want to take note of i just like fire that off I use dictation a lot whenever I have a question instead of like writing it down to look into later or delegating to someone I just like fire it off in charge of your work and I get like a report it has like a whole bunch of like custom skills and custom instructions where it's now like very very tailored to like you know produce the kinds of reports and slide decks and code explorations

  92. 1:08:34

    you know in the style that I can consume effectively and so every time I'm like between meetings or like you know you'll kind of like see me like you know i was just like dictating to my phone as i said before it's just like we do a lot of work in public channels we have like a lot in slack we have a lot in notion and google docs as well and so there's pretty much like there's no question really that i feel i cannot ask that you know codex will be able to sort of like do at least a first pass of thinking through whether it is like public sentiment on a feature, looking at production logs for, you know, how much usage we have on a certain thing, making a list of things that we should deprecate because they're not getting traction, understanding what a certain team is up to.

  93. 1:09:15

    Tibo SottiauxIt's like any question I have, I can get an answer to, like, you know, within 30 minutes.

  94. 1:09:18

    And so that's how I use it. I use it for everything. It's like my personal agent in like all the ways. And then oftentimes on weekends as well, I do some like code explorations or like I I built some prototypes and I have fun, like sort of like imagining the future of the product in some ways. And I do that with others on the teams. It's not always the same team. And it's just like in one day, I can build things that I sort of like, I had it in my system, right? It's like, it's like, I woke up one day, I'm just like, we should explore what it means to build this. And then I can just sort of express all of that and get like something in front of people in a day so that they can think through it and criticize it and hopefully get inspired by it.

  95. 1:10:01

    It's like by no means, you know, we need to ship it, but it's more like, okay, I flush it out of my system and then, you know, I go on and like, you know, do other things. So it's just like, so I know it's such a magical time and it's like so empowering. And as closing, what would your advice be for a software engineer, such AI engineer, someone who built software, who would want to get the skillset and the experience to have the opportunity to work at a place like the Codex team, like OpenAI or like an AI startup. So, like, you know, just become this really great builder with these tools. Because the question that comes up is often like, should I start with the theory?

  96. 1:10:38

    How important are the basics? Should I just get really good at using the tools? Yeah, I think there are two things that are important is a deep, deep curiosity for how things work and an ability to, like, you know, train yourself to understand things very quickly. and so it's it's it is the case that things will continue to change but people that do externally well at open ai are like you know people that just sort of like are able to like grok uh a system quickly and like you know also dive into like a new code base and sort of like you know make sense of it um but obviously like all of that is helped with agents um nowadays right so it's just like there's so much information that you need to absorb and you know being able to understand and reason through it and a lot of that is asking good questions really about you know how do things work and just like going into like the five whys which i think you know you can just kind of keep digging and digging and digging and you know you're learning very very fast through that the other thing is being in tune with the community or you know the people that you're trying to solve a problem for it's like not everything is like solving a direct problem sometimes you're solving

  97. 1:11:41

    a problem that will be useful you know to like another group of people in the pursuit of like solving a problem for humans, but just being crisp about the taste or the needs or the requirements and being able to think clearly and like, you know, exercising through this clarity of thought feels really important to me. Like if you can't explain what you're trying to achieve, if you can't explain your intent, if you don't have a tie to a community, if you don't have the taste, it's going to be much harder to do great work. Awesome, Thibaut. Well, thanks a bunch for this conversation. This was awesome.

  98. 1:12:11

    Thanks for having me. I've always wanted to get together with Tebow, and I'm glad that we finally made it happen. I appreciated how Tebow talked about not just the upsides of open source, but also the downsides. Most notably, how competitors can copy features you are just working on in the open right now, and then ship it right before release, and just how much this stings. Plus, you get a lot of low-quality contributions that you still need to somehow deal with. Another interesting one was Tebow saying how the harness is always a step ahead of the model. From the inside, the Codex team see their job as building clutches for the model with the harness, the tools, and the setup instruction.

  99. 1:12:47

    And then the next version of the model will be trained to need fewer of these clutches. I'll be honest, as a dev, this sounds a little demotivating that the stuff I build in the next version of the model, it'll just know and we can get rid of it. Plus, I do suspect... that it's not just about building these clutches, but also building tools that models will use, and it's not like the next version of the model will reinvent an MCP protocol or scales or plugins, at least I hope not. I also enjoyed hearing what the merge, merging chat GPC and Codex look like from the inside. It was merging a previously fully local coding agent, Codex, into a managed cloud-based stack, and doing it efficient enough so that it can be included in OpenAI's $20 per month plan, when $20 is not all that much in terms of compute purchase.

  100. 1:13:33

    It was pretty amusing to hear how Kodak itself acted as a journalist at the whole project as it was present in all the Slack conversations and all the documents and so it could capture all the important debates and decisions. I'm not going to lie, this part felt a little bit of a Big Brother feel to it where the AI is always watching, but it could well become the new normal in startups in the future. I've not yet decided how I feel about this. And finally, I appreciated Tebow's advice for engineers to succeed, be curious, understand symptoms quickly, and be in tune with the group you are building for.

  101. 1:14:05

    It's reassuring to hear from Tebow as well how much the fundamentals still matter. Do check out the show notes below for deep dives on how Codex, Clockcode, and Cursor were built, and other related topics. If you like what you heard, please hit a rating on a podcast player that you're using. It means a lot to me and to the show. Thanks, and I'll see you in the next one.

More interviews