Publisher transcript in English.
AI review covers the selected viewpoints. The publisher transcript is preserved as supplied; full-text and playback checks are pending.
SPEAKER_000:00
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, Thibault, 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. 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. 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,
SPEAKER_000:40
a ridiculously scalable, fast and cheap hybrid search engine built on top of object storage by an engineering team that I've really gotten 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. 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.
SPEAKER_001:23
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. 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.
SPEAKER_002:06
Thibaut, welcome to the podcast. So good to have you here. Thank you for having me. It's so good to see you again. 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?
SPEAKER_012:23
That's a good question. It was a long, long time ago. 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 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. And so I kind of got stuck. This is like very early, like eight, eight years old. I kind of got stuck as like, you know, computers and, you know, it's like early days of like the for me, the Internet.
SPEAKER_013:05
And, you know, that was my way to learn about things. And so just the rest is just like, you know, came from that. So 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.
SPEAKER_003:19
Once you you finished high school, like you went on and went to university, right? Actually studying it properly.
SPEAKER_013:25
Yes, I studied mathematics, applied mathematics at university. I went there quite, quite early. And so I graduated earlier as well. Like I thought for a long time that I would actually not make it. And then I would drop out. I had small companies and small consulting business while I was studying. I was working for banks. I was very interested in supply chain and applied mathematics problems. And I was selling that and learning a lot through 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
SPEAKER_014:09
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.
SPEAKER_004:17
It's been very good. Right after university, you founded a startup, right? You had the startup bug in you or the entrepreneurial bug.
SPEAKER_014:26
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. And this was using traditional non-ML techniques, 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. It was like anything that sort of had the shape of like an optimization problem,
SPEAKER_015:09
we would sort of like get interested in. And, you know, to this day, like this, 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.
SPEAKER_005:20
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, OK, 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?
SPEAKER_015:40
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 and like there you just you do it because. There's something to be discovered and something beautiful about it. It's all about patterns and pushing the frontier, but you don't necessarily always know how you're going to apply it. And then there's the real world, right? There's all these cool problems that just lie around. And I was very interested in seeing how can I make the world better? And so how do I apply sophisticated mathematics to just optimize the world around me? And that was a lot of the thesis behind that startup.
SPEAKER_006:18
Yeah. And then after a 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 OpenAI is today in terms of the industry or in terms of prestige. You worked on Maps initially, and then you moved over to DeepMind. Can you talk a little bit about what you worked on 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?
SPEAKER_016:45
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, Google 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 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.
SPEAKER_017:28
And worked on it for roughly two years. 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. And then, you know, one day, it's just like this VP flew in from California. And then it was just like, oh, yeah, it's like, you know, we're canceling this project. You know, unfortunately, you only have, you know, hundreds of users. And this is clearly not Google scale. And then it's unbelievable. But people were surprised. So there's a lesson there that I carry with me,
SPEAKER_018:09
of course, is just always question, always go to, always deeply think about the impact that you're having, but also 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 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 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.
SPEAKER_018:49
It's 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 am now.
SPEAKER_009:19
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. Can you talk about that? That is a new story. I haven't heard it before.
SPEAKER_019:37
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? What if you just pushed language to its maximum and you just scaled language models? Would that be enough to get to general intelligence?
SPEAKER_0110:19
That was the hot debate at the time. And then one group decided to Just really push on that. And then it felt really natural. As I was building tooling with others for research, obviously you're like, what can we do with this model? How do we present it to the researcher? How can they debug the inputs? And eventually you sort of like end up with, you know, like a chat system. 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, not super useful, but it was a lot of fun 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 was kind of like sharing little conversations within DeepMind.
SPEAKER_0111:04
It felt more than like a research project or like a research project. A project for researchers. And so then there was this desire over time to launch it as an external product. But DeepMint was just not set up. There was the right way to launch products at Google. There was the whole machinery of how you do that. The last production stock, obviously very, very optimized over the years to do things well, but also very, very hard as an environment to truly innovate.
SPEAKER_0011:32
And then I wanted to ask what made you, you know, look around or maybe even consider open AI. You partially answered this question. Just putting myself back into your shoes, like you're, you know, if it's 2024 or 2023, you're inside of Google who 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?
SPEAKER_0112:06
Yeah, I was very comfortable. It's a good place. Really, I had a desire to meet great people, but also join a mission that I truly believed in. And that I felt like the people were true to the mission and cared deeply about impacting the world in a deeply positive way, but also in a direct way. Not being like, oh, yeah, it's just like, no, we just do this work over here. And then it's like, it's the job of someone else to figure out how to make this useful. I wanted to join a group where all the parameters were considered together, where research and product were really co-designing.
SPEAKER_0112:47
OpenAI was just crushing it.
SPEAKER_0012:49
I thought ChatGPT
SPEAKER_0112:50
was taking off. I met a couple of people from OpenAI, and then I was like, wait, what? You only have 20 people working on ChatGPT? That is an insanely small number. That must be extremely empowering. How does that work? How do you manage to maintain a product with that level of scale and with that level of autonomy with only 20 engineers? And, you know, I kind of dug and dug and dug. And it's like, it was just 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 efforts immediately, like typical OpenAI fashions.
SPEAKER_0113:31
Like I joined, it was like, oh yeah, you know, like there's this thing going on, like, you know, we're going to 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 O1, O1 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. 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,
SPEAKER_0114:12
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.
SPEAKER_0014:17
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? 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.
SPEAKER_0114:40
Yeah, that's what it was pronounced internally. We don't... Have a nice re-effort anymore. It's Codex. But really for me, I joined, I started building infrastructure for research. 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 fundamentally doing that well. And then through tooling and infrastructure, making new things possible. And so when I joined OpenAI, it was like with the same idea.
SPEAKER_0115:22
And then with 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 are we going to use those models for research itself? So we got together with other folks in research. We started training models. We started building little agents. Those were truly the precursor to Codex. And this was like, we were training internal models to be very proficient on the Python code base of OpenAI, and then very proficient with having good taste in architecture,
SPEAKER_0116:04
good taste in code style. It was 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 that we could make a lot of progress very quickly and then learn very quickly. And then Greg and Sam are, you know, people with immensely supportive. And also Greg 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
SPEAKER_0116:48
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 A3 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 it was always this idea of, hey, how do we get models to really help here?
SPEAKER_0017:17
You mentioned that first you started to build this model to train on the Python code and actually help build it in for better. 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 will 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.
SPEAKER_0117:52
Yes. From first principles, very early on, we were thinking about the product interface and the agent as different things. It was very important to build the core of the agent in a way that was robust, that was secure as well, that was engineered for efficiency and skill. Having worked through projects over the years that go from, hey, this is a fun thing to, hey, we need to scale this to the scale of the largest data center,
SPEAKER_0118:35
decisions early on really turned out to be quite important. As long as you don't sacrifice too much of the velocity. And so it's a tradeoff, 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 statically verified and all these things. And that is great for agents too. So it 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.
SPEAKER_0019:12
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, think 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?
SPEAKER_0119:35
I think we could have been successful if we had written it in TypeScript or maybe even Python and then it would have been fine and then we would have rewritten it at some point. 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.
SPEAKER_0020:12
One interesting decision that you made, which is unique across all of the major labs is There was something really
SPEAKER_0120:44
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 now maybe You know, you can build a community of 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 hard to solve problems if you don't sort of like witness them yourself.
SPEAKER_0121:28
And then the other thing was just, it still feels like early, but it was very early at the time. It felt like we would have some ideas for how to solve things well. And we were co-designing these with the training and the research. And it's all about expressing the capabilities of the model in the most flexible and the best way. But also, we didn't have all the answers. 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.
SPEAKER_0122:10
Just like, you know, crazy smart people is like, you know, we're going to 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.
SPEAKER_0022:26
Now, this has been now, you know, like a year later, a year and a half later, which is a very long time right now in this AI timeframe. But looking back or taking the experience, What are the benefits you've seen, the kind of engineering benefits, the engineering 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.
SPEAKER_0122:51
Yeah, there are definitely downsides. It comes at a cost, right? The benefits are, it's awesome to build in the open. It's awesome to have like a small repo as well. Like whenever we hire someone, If someone joined the Codex team, they've seen the repo before, they've looked at PRs.
SPEAKER_0023:12
Onboarding is done.
SPEAKER_0123:13
Yeah, it's done. Onboarding is just like you use Codex to look at the repo with you and you ask some questions, but it's not a secret issue that you can get productive right away. We get a lot of good contributions, although we get a tsunami of random stuff as well.
SPEAKER_0023:29
Obviously, you and everyone else. Right? Open source is changing. I think this is one of the examples.
SPEAKER_0123:34
That's right. And then to me, and to a lot of the team, it just brings a lot of energy to just be part of the community and be directly contributing. Not just saying that we care about the community, but actually doing things that, you know, you can see it's costing us effort, right? 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 multiple repos. When we're working on something particularly exciting and we're building it in the open, then at times we find that others copy it before we have the time to release it. And it's like, It's just a little bit sad, but also it's like it's part of the game.
SPEAKER_0124:19
You know, it's like you're building an open and it's like, you know, 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 also try and solve for it, which I think is good.
SPEAKER_0024:46
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 Codex. You know, like putting myself in a vendor's shoe, it might not be very obvious because, again, all the other brands that 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 using or allowing to use your harness with other models?
SPEAKER_0125:18
It 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. And in general, it's like I think, you know, it's like I kind of try 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 you're just encouraging people to just like, you know, go and use that fork.
SPEAKER_0126:00
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 another model provider. That feels very silly. So why not just support it in the first place? The other thing is we benefit a lot from being able to just give optionality. So maybe today you love using OpenAI models and you're super productive with them. But 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, which is maybe there's something that you liked about that model.
SPEAKER_0126:40
Maybe it actually didn't work well. It's sort of like being nice to our users and to the community feels like the right thing to do here. And then we also try other models, right? So we try them in the same harness and it's just all good. And then this is also often like this optionality is very important to companies that we work with. This is something that we absolutely lean into.
SPEAKER_0027:09
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 chooseable 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.
SPEAKER_0127:33
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 going to have a good time. If we sort of like force you to use the product because, you know, this one thing, it's just like, then I don't think that will attract, you know, 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, should feel delightful.
SPEAKER_0028:03
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. Devs are creating more code with agents. 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 Dumka, and he rebuilt GitHub 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.
SPEAKER_0028:44
Entire can handle 418 pushes per second. That's up to 89 times faster than every competitor on the market. 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.
SPEAKER_0029:26
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 season sponsor, Antisysys. Thibault 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. 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,
SPEAKER_0030:07
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 antithesis 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 etcd community ship agent written code with full confidence because they know it's been verified by Antistisys. To see more case studies and details head to antistisys.com slash pragmatic. And with this let's get back to Thibault and why competition between tools is great. Yeah, and I think as an engineer, I always see that whenever there's competition as someone who's using tools, it's always amazing.
SPEAKER_0030:47
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?
SPEAKER_0131:27
Yes. So by default, it runs sandboxed. If there is a command that should run with additional permissions outside of the sandbox, it will ask you as a user for permission. But every tool execution happens within the sandbox by default, and it runs entirely on the machine, your local machine. This has been the case for more than a year now. But it is something that is evolving and shifting, where you can select to run this in the cloud,
SPEAKER_0132:08
which then runs in a managed VM, where it's the same VM that you get through ChatGPT work. And you can inspect it, but it runs in a Cata container. It's a secure environment. And so 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 your input and then the streaming back of the output. And so that obviously then is like much nicer on your CPU and your machine and you can scale much, much, much more. And this is just a step. It's going to be much more seamless in the future to use cloud machines and
SPEAKER_0132:51
then maybe have a combination of partial execution on your laptop, partial execution on cloud machines. 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.
SPEAKER_0033:20
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. 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 You know, making the setups and I'm kind of reminded of a topic that we talked about pre-A,
SPEAKER_0034:04
which is cloud development environments and like 2022, 23, they're hot. And then we talked about AI more.
SPEAKER_0134:10
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. With the level of capabilities that we have in agents now, it's like the setup almost is free, right? 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, um, 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
SPEAKER_0134:54
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 You know, 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. 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 that,
SPEAKER_0135:34
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.
SPEAKER_0035:43
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. Were these things, did you improve the, you know, the script that runs, you know, the instructions? I'm not sure how exactly you call the... 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?
SPEAKER_0136:25
Yeah, this is a good question. So the harness, in a sense, is always a little bit ahead of the model.
SPEAKER_0036:33
Oh, really? How so?
SPEAKER_0136:36
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 so that's the role of the harness, provide guardrails, safety, make it more efficient, make it more steerable, controllable. And then the harness usually is also responsible for what we call the developer message, which is infected in the context at the start of each turn.
SPEAKER_0137:26
A lot of what you have is the result 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 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. So over time, what we see is like the system, the developer message shrinks and then the harness also shrinks.
SPEAKER_0037:59
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 that? As the engineering team, how you're working on the next 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. 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.
SPEAKER_0138:40
Yeah, it is. And it's why we co-design 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, okay, we see today that, you know, we are very good at this, but we're not very good at this. 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 sort of like look at it. It's like, okay, 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.
SPEAKER_0139:21
And then depending on 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 just wait for the model to solve it. It's agents all the way, right? Agents to analyze a lot of the feedback, to come up with themes, to just help us have these conversations and decide on priorities. But we analyze it across all of coding. 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 how well we perform. And then we're always pushing the frontier.
SPEAKER_0140:03
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.
SPEAKER_0040:14
You mentioned, you analyze agents all the way. 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... They've been contributing to the open source part.
SPEAKER_0040:55
But what do you tell them? How do things get done here if they're like a total newbie?
SPEAKER_0141:00
I introduce them to great people. And then the thing that they hear the most about when they have a question is like, have you asked Codex? And Codex is just by default at OpenAI is 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 come up with a really good response. 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 Codex knows about it all internally. And so you just use all of that.
SPEAKER_0141:43
We do a lot of work in, you know, for that reason, we do a lot of work in public channels. We open up documents with like, you know, fairly broad permissions. And so that, you know, everyone has access to this information as well. So that, you know, your agent can go through things and like, you know, reason through things. And then, you know, 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. All of that just sort of like 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 is just like, hey,
SPEAKER_0142:23
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're building this 10,000 lines of code crutch to work around the model flaws, you're probably doing the wrong thing. So we have a set of principles, but it's just really So like a team culture and ethos at this point. And, you know, it's just very much 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.
SPEAKER_0042:52
And then when I have an idea, I think it's a good idea. I talk it through a 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? You know, the thing is because Codex itself, it goes out to millions of people. Like I just crossed a big 20 million active user mark. But if it's ChatGPT, then it also goes out to like even a lot bigger number of people.
SPEAKER_0143:32
Yes, but it's surprisingly like a similar process, whether you ship on Codex or ChatGPT, even though ChatGPT goes out to like a billion active users and growing, you can ship a PR, you can make a change and get it shipped like the next day or like even the same day, 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 like, people are very empowered to make changes, even large changes. 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,
SPEAKER_0144:13
but also like the cost of maintenance is like just really has, you know, gotten done significantly as well. We think about these things slightly differently than, say, two years ago or three years ago. The other thing as well is we automate as much as possible. So a lot of the process of code review and deploys and catching regressions, all of that is pretty much automated. And so you get to just focus on It's really the idea and how it's going to help our users. And you care about the coherence of it all and the overall power of the agent and making things better. And we have a long, long list of things that we aspire to do and haven't gotten to yet.
SPEAKER_0144:54
And then there's the north star direction, which is... A delightful, simple-to-use personal AGI that knows everything about you, that it needs to know, has access to the right resources, can take sometimes risky actions on your behalf, but then you get the push notification and then you can verify that. And it's a thing that 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.
SPEAKER_0145:36
It's like. AGI should be simple
SPEAKER_0045:38
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 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? Because for a very long time, until maybe a year or two ago, I would have said your code review has all these benefits. Knowledge sharing, the second pair of eyes, removing the bus factor, because now someone else understands them when that person is out that they can jump
SPEAKER_0046:20
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? What, 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 of valuable? And where is it fine? Did you find it fine to hand it off to an agent?
SPEAKER_0146:51
Yeah, the role of code review is changing. One of the early projects that I did on Codex was 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 potentially multiple hours to capture the same level of mistake because It requires really digging three, four levels deep into the dependencies and understand that maybe the documentation actually was wrong and the implementation of this third-party dependency is different from what you expected and so therefore your invariants are not upheld.
SPEAKER_0147:33
And these things, it's just like, unless you're an expert in that library, you wouldn't know and therefore you have a bug. And so we developed these code review models and we released them and now they're the same level of capability and ability to Spot these mistakes by doing deep verification are just part of the mainline models. When we benchmark them, it's like they're superhuman in code review. And this is not just true for correctness. This is also true for security, for example, where they're capable of reasoning across Very, very complex things. And then coming up with, hey, you have a critical security vulnerability here, which is now mandatory across all of OpenAI pull requests. We block pull requests from merging if we flag them with a security issue.
SPEAKER_0148:17
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 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 merged, it just actually runs in production and it's doing stuff. And then you have to maintain it. So there's this social aspect to it as well. I think all of it is changing. The correctness, the cybersecurity, 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.
SPEAKER_0148:59
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.
SPEAKER_0049:08
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 tooling that we have right now.
SPEAKER_0149:18
Yeah, I think this is going to change. And it was like a forcing function because you have to have that discussion or 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 design things together and make sure that the intent is good. And then the code doesn't matter as much.
SPEAKER_0049:37
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 review 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 whatever we do, there will be always upsides and downsides, but 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.
SPEAKER_0150:17
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. It's like, what happens inside a 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, The cost of maintenance has gone down.
SPEAKER_0051:09
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 worth building it, et cetera. 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?
SPEAKER_0151:35
Maintenance is really like sort of like a tower So, you know, it's like, okay, you have, you have this third party dependencies, like you need to upgrade You can fully automate this. If you have good changelog and the code is well documented and the model can just reason through it, it can just blast through your code base, do it in a couple of hours, and 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.
SPEAKER_0152:17
So it's really important for your project, especially for security vulnerabilities. You want to stay up to date, right? You want to apply all these patches. 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 I think 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 tradeoffs or you have a new understanding of like the workload or something. 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?
SPEAKER_0152:57
So, you know, sometimes like multiple years. And I think this is also like super, super accelerated now. So like the cost of mistakes, I would say, is going down. But then at the same time, the good old rules, I would say, of software engineering, having good abstractions really help. Going back to having the box with invariants, if you draw the right shape, you're going to be able to change things much more quickly within the box and not affect the rest of the services or the rest of your infrastructure. And I think it's important to design for very quick iteration and change.
SPEAKER_0053:33
I remember when I talked with Peter Steinberger, that was before he joined OpenAI, but about OpenClaw and how he thinks about it. He told me that he doesn't read the code, but he kept thinking about it. 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, how to allow 100 contributors to each build their thing without stepping on each other's toes. So I'm hearing what you're saying that this... 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
SPEAKER_0054:16
of building this, you know, smaller parts. It sounds like now all engineers need to be aware of when you're building your software, right? And plan for it.
SPEAKER_0154:23
Yeah, and the GPT models are getting better and better at this as well, thinking about long-term maintenance and good architecture, and this is a natural next step, right? It's not just about code quality in the sense of, oh, is this code clean within this file? But is the architecture actually correct to reduce maintenance burden over time and make space for future product or feature extensions or changes? And just really this act of engineering over time, that's Kind of like something that models are starting to become capable of 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 lifecycle much, much faster. You know, before you had,
SPEAKER_0155:04
you know, you were 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, you know, you can think about the documentation, 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 speeds compared to before.
SPEAKER_0055:41
Okay, but how do you and the folks at OpenAI deal with it? Does it not mess with your mind? You know what I mean in the sense of you've been in this business for quite some time now, 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,
SPEAKER_0056:22
but it can also sting that I've been really good at, like, I don't know, refactoring or right now it might be architecture, but maybe the model will be really good at that. And now I'm like, oh, OK, damn, like I'm glad, but also like it would have been nice for me to do that.
SPEAKER_0156:36
Yeah, I think there's like a craft aspect to it, which occasionally I still, you know, pull up an editor and like write some code. And it's just like it feels nice. And it's sort of like I have fond memories of like late nights sitting in Vim and, you know, just like cranking it out, you know, drinking Coke Zero and yeah, just not having to think about anything else other than like the problem in front of me. But really, I think it's all about being in the flow and solving problems. And what I find is folks here and also everyone I talk to is just adapting very quickly.
SPEAKER_0157:18
And I think if you have a mindset where it's all about code as 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 going to take you no more than 30 seconds to launch something in the background and get proper numbers and be able to do a better tradeoff. It should make you a better engineer if you just really care about the outcome and the system working well. And so what it allows us to do at OpenAI, it allows us to run our inference much more efficiently. It allows us to get much more effective compute and deploy that to the world.
SPEAKER_0158:02
Everyone's just very focused on that and solving important problems at the speed that was not possible before. I haven't yet encountered someone who's like, oh, that's not good. That's not fun.
SPEAKER_0058:14
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 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.
SPEAKER_0158:33
We're not out of problems for sure, right? And I don't think we will be for a while. We have a long, long road ahead of us in terms of mathematical breakthroughs, scientific breakthroughs, making the world a better place, just really building for humans and solving the most important problems that everyone is facing and just doing it in a deeply human way. That's what we're here for. Also, just going back to coding and these late nights, I think there's like It's also like maybe like a glamorous version of it. It's just like I also had very a lot of late nights where I was trying to refactor something. And, you know, it's just like it would be like three hours deep into the refactor and
SPEAKER_0159:14
then realize like, actually, this is a dead end and I must restart from scratch. And it was like very frustrating. And so it's like there was like there are like these very, very fun times. There's also the time where it's like it doesn't compile and you're just like, Why is this not compiling yet?
SPEAKER_0059:32
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, I don't really have something that is halfway because 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. But it's interesting because, you know, everything's sped up, right?
SPEAKER_011:00:09
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.
SPEAKER_001:00:36
Well, I feel there's an art to doing long running tasks. 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.
SPEAKER_011:00:47
Yeah. And back to, you know, maybe like the harness is a crutch, right? Is a slash goal was like necessary to allow, like, you know, to keep 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, I will actually do it.
SPEAKER_001:01:20
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, I would say it was, you know, as an engineer, it was moderately interesting, is what you call the merge, which is codecs appeared inside of ChatGPT. And the reason I say that as engineers, it's kind of moderately interesting because we've been using codecs like, yeah, it's there, you can now open it. In the ChatGPT app, great. 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 on your team and they were telling me there was a lot of preparation going on, a lot of engineering challenges.
SPEAKER_001:02:00
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? 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. So I assume there's a big scale problem you've solved here.
SPEAKER_011:02:25
A lot of things were challenging with the merge is, first of all, Completely different stacks.
SPEAKER_001:02:34
ChatGPT is fully
SPEAKER_011:02:37
managed, cloud-based. You run everything on our systems. We store things. Traditional way of building things, built for scale, built for efficiency. Codex, fully local. And so the merge is just really like, how do you get the same 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 also why all of us joined OpenAI is like to benefit like this very, very broad population across the world.
SPEAKER_011:03:19
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 it's 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 like, you know, efficient so that we can include it all the way into the plus plan. ChallengeGPT work is essentially running the full codex harness together with a cloud computer. It's a very powerful machine, actually. People have picked up on it and showed what you can do. If you are creative with the prompt, you can get ChallengeGPT to train another model in there.
SPEAKER_011:04:06
Wow. There are some really wild things. You can get it to install Blender and do 3D modeling. It's very permissive. It has internet access. It's a powerful machine. And then Codex just works on it. And this is what we shipped through Casualty Work. So a lot of system challenges, the team did it very quickly. Obviously, Codex helped 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.
SPEAKER_011:04:48
And like sort of like really, really working towards like unified system, which is really the goal. It's 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 into what. There were like many different permutations considered. And so there's like a very fun journalistic element to it where we have
SPEAKER_011:05:31
a full recounting that Codex did over time. And yeah, it's just, it's kind of become known as well as like the toggle arc of OpenAI where, you know, we introduced like the work toggle, 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 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. But over time, we're bringing this,
SPEAKER_011:06:11
you know, all the way to like, you know, everyone that uses ChancePG.
SPEAKER_001:06:15
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.
SPEAKER_011:06:42
My calendar is... Fine. And it's just, I am capable of doing so many more things nowadays because I have a technology like Codex and I actually shifted a lot of like my work on mobile using ChatGP3 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 touch of your work and I get like a report. It has like a whole bunch of like custom skills and Custom instructions
SPEAKER_011:07:26
where it's now like very, very tailored to like, you know, produce the kinds of reports and slide decks and code explorations, 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 a lot in Slack. We have a lot in Notion and Google Docs as well. And so there's pretty much no question really that I feel I cannot ask that Codex will be able to do at least a first pass of thinking through, whether it is public sentiment on a feature, looking at production logs for You know, how much usage we have on a certain thing,
SPEAKER_011:08:07
making a list of things that we should deprecate because they're not getting traction, understanding what a certain team is up to. It's like any question I have, I can get an answer to, you know, within 30 minutes. 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 oftentimes on weekends as well, I do some like code explorations or like 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, I woke up one day, I'm just like, we should explore what it means to build this.
SPEAKER_011:08:50
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. 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 don't know, it's such a magical time and it's like so empowering.
SPEAKER_001:09:12
And as closing, what would your advice be for a software engineer such as AI engineer, someone who builds software, who would want to get the skill set 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? How important are the basics? Should I just get really good at using the tools?
SPEAKER_011:09:40
Yeah. I think there are two things that are important is a deep, deep curiosity for how things work and an ability to train yourself to understand things very quickly. And so it is the case that things will continue to change, but people that do experience it. I think a lot of people that work internally well at OpenAI are people that are able to grok a system quickly and also dive into a new code base and make sense of it. But obviously, all of that has helped with agents nowadays. There's so much information that you need to absorb and being able to understand and reason through it. A lot of that is asking good questions. Really about, you know, how do things work?
SPEAKER_011:10:22
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 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 it. 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, 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
SPEAKER_001:11:04
harder to do great work. Awesome, Thibaut. Well, thanks a bunch for this conversation. This was awesome. Thanks for having me. I've always wanted to get together with Thibaut 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.
SPEAKER_001:11:45
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 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 ChatGPC and Codex, looked 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
SPEAKER_001:12:25
in OpenAI's $20 per month plan when $20 is not all that much in terms of compute purchase. It was pretty amusing to hear how Kodak itself acted as a journalist of 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 have not yet decided how I feel about this. And finally, I appreciated Thibault's advice for engineers to success. Be curious, understand symptoms quickly, and be in tune with the group you are building for. It's reassuring to hear from Tebow as well how much the fundamentals still matter.
SPEAKER_001:13:07
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.