Latest / The Every Podcast / OpenAI Launches Codex: An Autonomous Programming Agent
Transcript
- 0:00Huge news!
- 0:01OpenAI is launching a new coding agent.
- 0:03It's called Codex.
- 0:05Codex is a web-based software engineering agent that's designed to work pretty much autonomously, so you can have it working on many different features and bugs in parallel while you watch.
- 0:14I've been using Codex for a couple days, and it's pretty great.
- 0:17So I invited Alexander Embiurikos, a member of the product staff at OpenAI who's responsible for Codex, to come on the show and talk to us about it.
- 0:24We're going to demo Codex together and talk through all of the product decisions that led to its release.
- 0:29We walk through Codex screen by screen, and he'll talk to us about how OpenAI is thinking about agents and what OpenAI's vision is for the future of programming.
- 0:36Let's jump in.
- 0:52Alexander, welcome to the show.
- 0:54Hey, thanks for having me.
- 0:55So for people who don't know, you are a member of the product team at OpenAI, and you are one of the people responsible for building Codex, which is a new programming agent that is launching today.
- 1:06Well, we're recording today
- 1:07Technically, we're recording yesterday, but it's launching today, Friday.
- 1:11I'm super excited about it.
- 1:12I got to try it.
- 1:13I have a review coming out along with this podcast, and I just wanted to go through it with you and understand all the things that you put into it and all the ways that you're thinking about it.
- 1:22So thank you for coming on the show.
- 1:23Yeah, excited to be here, and thank you for being an early tester.
- 1:27Awesome.
- 1:27So what I want to do is just like give people right off the bat a sense for like actually what it looks like and like we can sort of talk about it together.
- 1:37So this is Codex Terminate Processes.
- 1:41Great.
- 1:41This is Codex and it's a coding agent, right?
- 1:43So I can type in a task like please replace the headline on the homepage with Codex is out now.
- 1:51and I can just press code.
- 1:53And one of the really cool things is it doesn't go into like an agent experience.
- 1:58Like it just adds it as a task.
- 1:59So it's like, it's basically like built to make me just create a bunch of tasks and then not look at them more or less.
- 2:07That's how I feel about it.
- 2:08So tell me about like this screen and how you thought about this and why you did it like this.
- 2:15Yeah, so I'm so excited that you're screen sharing this and showing people so we get to nerd out about all the details.
- 2:21But for anyone listening, basically Codex is a cloud-based software engineer that can work on many tasks in parallel.
- 2:28And there's a ton of AI tools out there.
- 2:31I feel like programming with AI is completely different now than it was two years ago.
- 2:35And this form factor that we're looking at is kind of the beginning of us thinking about what is it going to look like even a year from now, today.
- 2:42And
- 2:43The big shift is, you know, today when people are accelerated working with AI, a lot of it is like a very tight feedback loop.
- 2:52It's like very collaborative, like a lot of like really good tab completion, right?
- 2:55And like really good chat.
- 2:57And sort of where we see things going is we have these really awesome reasoning models and we want to give them time to think and we want to let them use tools safely so they can do more stuff.
- 3:08For example, like running commands to execute tests to be more sure of their changes.
- 3:13and then iterate.
- 3:14And so we basically want to give the agent its own computer to do work in.
- 3:19And so as we started thinking about that, you know, you kind of realize, okay, this feels a bit like delegation.
- 3:26And I'm sure we'll get into this, but we tried a bunch of different form factors for what it would feel like to delegate to an agent, including like maybe the most obvious one, which is just like talking to ChatGPT and having it do stuff.
- 3:38But the short version of it is what we realized is that
- 3:41engineers wanted this really functional tool to be very efficient in how they delegate.
- 3:46And so the thing you see here, it's very structured.
- 3:49You've got the list of tasks that you have, you can see how many lines were changed in each, you can see what the status of the PR is, which is ultimately the thing you're going for.
- 3:56And so this ended up just being a thing that we iterated our way to.
- 4:01that we thought was the best first version to ship.
- 4:03But actually, I would love it if we end up talking a bit about what it might look like in ChatGPT as well, because we definitely plan to bring it there.
- 4:09I would love to do that.
- 4:10And I have a bunch of follow-ups on that specific point about the ChatGPT versus what this is point.
- 4:18So to give people a sense for how this actually looks, so I did a couple things yesterday.
- 4:24I actually shipped a feature on one of our products that I've never...
- 4:28I've never coded in.
- 4:30I've never touched that repo.
- 4:31And I shipped a feature to Prod yesterday.
- 4:34Kieran is the GM of that product, and he's a really, really talented engineer who's also an early tester of Codex.
- 4:41He was watching me the whole time to make sure I didn't mess anything up, but it was really cool.
- 4:46And basically, to show people what it looks like,
- 4:50We have this UI in...
- 4:52This is not the right one.
- 4:55You're looking for the diff, right?
- 5:04Yeah, where is it?
- 5:06you should be able to click...
- 5:08There you go, yeah.
- 5:09Nice.
- 5:09By the way, this UI that Dan's showing us has been, like, editing, changing massively every single day as we race towards launch.
- 5:16So, you know, thanks again for testing early.
- 5:18Yeah, this may not be what you actually see, or depending on when you're listening to this, it definitely is not going to be what you see.
- 5:23But for now, for people who are listening, basically, I clicked into one of the tasks, and you can see...
- 5:28Basically, for the feature I wanted to build, we have a view that I wanted to create a persistent collapsed state.
- 5:35We wanted to be able to collapse a particular view, and I just said, do that, basically.
- 5:42And you can kind of see a log of all the things it thought while it was doing the task, and then it gives me a summary of...
- 5:52what it did, I can see a diff, and I can also just push that right to GitHub.
- 5:56And one of the things that I noticed is the summary is very concise.
- 6:02And in talking to Kieran about the code that it generates, the code seems very minimal or like terse.
- 6:10Can you tell me a little bit about how you thought about making this thing code and talk about what it makes?
- 6:18Yeah, it's a great question.
- 6:20So Codex, the agent, runs on a custom model that we trained just for this product called Codex One.
- 6:28Codex One is a version of O3 that's optimized for real-world software engineering, but not only optimized for real-world software engineering, but also optimized for this form factor, which is, hey, it's going to go off and do a bunch of work, and then you're going to get a diff back.
- 6:41And, you know, once you're using this a lot, actually, you're going to be getting many diffs a day back.
- 6:46And, you know, I'm sure this thing we talk about a lot with even human software engineers, like, would you rather review, like, 10, 100 line diffs or 20, 50 line diffs or, you
- 6:57Definitely the thing is you don't want to review the 1000 line PR.
- 7:01And so as we trained this model, we both wanted to make sure it was great at coding.
- 7:05So the model slightly outperforms O3 actually on evals like Sweebench.
- 7:09But more importantly, actually, we wanted it to produce code that was really mergeable and then talk about the work that it did in a way that was actually really reviewable for the human reviewer.
- 7:20So we put a lot of effort into style here, making sure it's not doing things like adding extraneous comments, making sure that the style that it's using is actually like the style in your code base and not like its own style that it has and thinks is correct.
- 7:34Okay.
- 7:34And so getting to your point about the PR descriptions, early versions we've had of tools like this or models that did this would tell you everything about what they did.
- 7:45And, you know, just actually to give you a bit of the story, like in our UI, we would like show you kind of the model's thoughts first, and then we would show the diff underneath.
- 7:52And whenever like a full time software engineer was trying to use this a lot, they were always like, man, I just want to see the diff.
- 7:57Like, I don't want to read the description until I see the diff.
- 7:59And if the diff is good, then maybe I'll look at the description.
- 8:04and so we kind of ended up realizing, like, hey, there's actually, like, kind of a spec for what a good PR description looks like, and that's, like, pretty concise and only maybe explaining, like, at a high level what it is, the non-obvious parts.
- 8:13Like, you definitely don't want to duplicate content that's in the diff.
- 8:18Then the other thing we realized is that because it didn't run on your computer, you didn't necessarily see each iterative step, and so you really want to know how validated is this change and how did the model try to validate the change, and so you can see here on the left side, the model's also describing the testing that it ran,
- 8:34And here we put a lot of effort into, first of all, just making sure that it's like never hallucinating, but also making sure that it tells you when tests passed and when tests failed.
- 8:42It's like super important in a concise way.
- 8:45And then lastly, perhaps the thing I'm most excited about, like if you mouse over that little like terminal icon next to the testing.
- 8:53Yeah, so it's sort of like the last thing on the third line there.
- 8:56So the icon is like a carrot.
- 8:57Yeah.
- 8:58So we'll actually, the model learns how to cite its output.
- 9:02And so it's not just saying like, hey, here's a test I ran.
- 9:06You know, in the case of tests that passed, which it didn't hear, you know, it's not saying like, hey, the test passed.
- 9:11Believe me, it's saying, hey, the test passed.
- 9:13Here's like a deterministic citation that we did.
- 9:16to actually pull the part from the logout so you can review it yourself and be super sure.
- 9:22And in this case, the test it tried to run failed, and it's kind of telling you this because maybe you would want to run it yourself or upgrade the environment it's operating in so that those tests can be run.
- 9:32And it's giving you the output there so you can go and review it and improve it.
- 9:35That's really interesting.
- 9:36This particular repo, so I actually, the one we're looking at, I kicked off the collapse state task in the wrong repo at first.
- 9:45So this is the wrong repo.
- 9:47This is an internal app we built, and so it does not have any tests.
- 9:53And I was just kind of curious what it would do if I gave it a task that was totally not possible to accomplish, and it found a section, something else to collapse.
- 10:03That's kind of just like an interesting little detail.
- 10:05But yeah, okay, that makes a lot of sense.
- 10:07One of the things that I notice about this that feels different from like a Devon, for example, is I don't see this.
- 10:17It has an environment that it uses that it sets everything up and it runs a test and all that kind of stuff, but it doesn't have a browser, for example.
- 10:22So it's not going and like logging in to the app to check if it's working or not.
- 10:26Like, tell me about that decision.
- 10:27Why'd you do it that way?
- 10:30Yeah, I would say that's more of a just like sequencing decision rather than like a provision decision.
- 10:34Like ultimately, kind of like the thing that we view ourselves as building like super long term is just like one super assistant.
- 10:42And it has a bunch of tools and you don't even have to decide
- 10:46You know, if you even want to use code mode or if you want to use, like, I don't know, newsletter publisher mode, you just have one assistant, ChatGPT, and you can just ask it for stuff and it'll use the appropriate tools.
- 10:56And it'll also just like answer quickly if that's the right thing or it'll like do work if that's the right thing.
- 11:01So long term, that's that's what we're trying to get to.
- 11:03Just like one thing with all the tools.
- 11:05But what we're starting with is kind of like, hey, we want to ship a research preview, we want to iteratively deploy this out in small steps as capabilities grow, and we're going to start the smallest, most constrained thing possible.
- 11:16So for instance, it doesn't take multimodal inputs yet, we'd obviously love to add that.
- 11:22It doesn't have a browser that would obviously be useful for validating funding changes.
- 11:26It doesn't even have network access.
- 11:27So the way that it runs is, so when you kick off a task,
- 11:32We set up a container, pull the repo into that container, and then with network access, we run some setup commands that you wrote.
- 11:40So it's not the agent running those commands.
- 11:41It's you writing those commands.
- 11:43And so that can pull in any dependencies, like NPMI, NPM install, or whatever you need.
- 11:47And then actually, we cut off internet access.
- 11:49And I think we updated the logs recently to show that.
- 11:51So if you were to click into logs and scroll to the top, you would see no internet access all the way at the top.
- 11:58And then you would see no internet access
- 12:01Yeah, so we ran the environment setup that you put in there, and then we turned off internet, and then the agent runs.
- 12:06And that's just for absolute maximum safety.
- 12:09I haven't actually ever seen it happen, but there's a theoretical risk or a tail risk that there could be some exfiltration.
- 12:16Maybe the agent wants to go to Stack Overflow and ask a question about some code, and it pastes it in.
- 12:19That's a theoretical scenario.
- 12:22And so we're starting really small in scope, and then over time we'll start adding more and more capabilities.
- 12:27And that actually brings me to my next thing, which is one of my gripes about this, which is it's not... Like, the fact that it's not in ChatGPT means that it feels like a very one-shot type user experience, which to me makes it feel very... Like, it's definitely for senior engineers where you can kind of, like, see the entire thing you need to build in your head and you just type it out and then it's done.
- 12:52Whereas for me, for example, like...
- 12:56I might want to go back and forth and chat with it to figure out, okay, what is it that I'm actually trying to build?
- 13:01Or in this case, in this particular session, I asked it to build a feature, and then I realized after I built it that I needed to add something else.
- 13:11So I asked it a follow-up.
- 13:13And in the follow-up case, it didn't work quite as well as the one-off, one-shot thing.
- 13:18So tell me about that.
- 13:20Yeah, it's really interesting.
- 13:22Delegating to agents...
- 13:24requires a bunch of mindset updates that actually I think will take time for people to learn how to get the most use out of them.
- 13:31And we'll, I think, end up temporarily in a state where we kind of have tools that feel more like you're delegating and tools that feel more like you're collaborating.
- 13:38And then our goal at least is bring those together so you don't think about it.
- 13:41Again, I think about our future super assistant.
- 13:44I don't think about if I'm delegating.
- 13:45I just ask it for stuff and it just does stuff.
- 13:49But people are pretty used to working collaboratively with tools locally on their computer right now.
- 13:53And in fact, we have the Codex CLI, which is exactly that, right?
- 13:55So you can do it back and forth with CLI, have it execute some commands.
- 13:59It'll ask you for permission because it's on your computer, but you can kind of sit with it and kind of pair program with the CLI.
- 14:06So a little bit about the mindset shift that we've seen people who get a lot of value out of Codex, like the agent that you delegate to.
- 14:13Yeah.
- 14:15I'll just share because it's kind of interesting here.
- 14:18One of them is like an abundance mindset.
- 14:20So something that we've seen a lot of people who are using this at Tundu is they just fire off many, many, many tasks without thinking actually too hard about whether it's going to work or whether it's like perfectly described or not.
- 14:33And whenever you need to do something new, you just kind of fire off a new task.
- 14:37And so, for example, a really common use case is like on-call triage.
- 14:41It's like, maybe you don't know what the bug is.
- 14:45You know, you were talking about how like, oh, like I've noticed it works best if I can kind of see through the full arc of the feature.
- 14:50Like you don't need to know that.
- 14:51You just fire it.
- 14:52And then sometimes it's like, hey, here's like the exact fix.
- 14:55And you're just like, wow, like amazing.
- 14:57Not only did I save myself time, but that bug was fixed faster than I could have ever gotten to it otherwise.
- 15:02Yeah.
- 15:03Other times, maybe it just provides a draft and then you have to land it in your own time.
- 15:07And other times, it just maybe finds where the bug is or helps you just reason about it.
- 15:11And so it's kind of like this idea of this is a service to me that accelerates me, the developer, and I'm going to use it without necessarily always knowing if it's going to provide a mergeable PR or not.
- 15:23That's on-call triage as an example.
- 15:25Another very analogous place we see people use it is...
- 15:30Every morning, people will kind of think about what they want to do.
- 15:33And then they're at home, they'll just be on their phone, fire off some tasks.
- 15:36We have mobile support coming soon.
- 15:37Well, we already support mobile web and mobile app on iOS.
- 15:41We'll support soon.
- 15:43So they'll just be like, this is what I want to do.
- 15:44Fire off some stuff, then get to their desk.
- 15:47and look at what they want to use.
- 15:50So it is quite one-shotty in the way people use it, like those two examples I gave you.
- 15:55So I think you're right about that.
- 15:57And so we've started poking at this, like does it need to be one-shotty?
- 16:00And so you saw in the UI, when you send a task, you can choose if it's going to be in ask mode or code mode.
- 16:08And code mode is definitely the thing we've spent the most time on.
- 16:11But we're starting to experiment with making ask mode faster.
- 16:16And so one way that this could evolve potentially is where when you want to do what I just described, like fire off a one shot or a few shot thing, you basically ask code mode.
- 16:28But if you want to be a little bit more exploratory, you can try ask mode.
- 16:31And so I don't know if you tried this, but one thing you could do is ask for some recommendations using ask mode.
- 16:37And that should be relatively fast.
- 16:38It'll probably finish pretty quickly during this call.
- 16:41And then we could try kicking off some of those tasks if you want.
- 16:44Okay, so what recommendations should I ask for?
- 16:47Yeah, I don't know.
- 16:47Is there like a class that you find very complicated that you would love to refactor in some code somewhere?
- 16:53I wish that I was familiar enough with this code base to tell you.
- 16:57Okay, what about just suggest... Let's run two prompts.
- 17:02And again, this is abundance mindset.
- 17:04Let's run one like suggest places to add documentation.
- 17:08Um, that's a safe one.
- 17:09Actually, a lot of people use it for documentation and it's really good at documentation.
- 17:13And then let's do another one, which is like, find some bugs and suggest some tasks to improve the bugs or to fix the bugs.
- 17:21Cool.
- 17:22I think that this is a really interesting.
- 17:24I want to pause here for a sec, like the sort of a bundles mindset that you're talking about where, um,
- 17:31Yeah, you can just direct intelligence at a problem and you don't have to have it that well formed and if it doesn't work, it's fine.
- 17:37And that's just a different way of thinking about how to program or how to manage a resource that I think is really interesting.
- 17:46And yeah, if there's some sort of like...
- 17:49priority bug that's going on, like, why not send off, like, three different workers to figure out while you try it yourself?
- 17:53Because if they fix it, like, that's great.
- 17:56And I think, obviously, there's always a time and a place for understanding the full system and maybe stepping through it step by step.
- 18:02But it's like, it's not every time.
- 18:05And that's just an interesting shift.
- 18:07It's a different skill, it seems like.
- 18:09Yeah, it's like, I think, I figure you probably use Chachapiti deep research on occasion.
- 18:14Yeah.
- 18:14Right.
- 18:15And like, if I think about like how some of my habits have changed, like I'm much, I deep research a lot of things that I wouldn't have spent, like, I don't know how long it would take me to do a deep research, but probably quite a long time, like hours.
- 18:26And now I like read sort of deep researchers on custom queries that I have like way more often, it kind of lets me be more curious in a way.
- 18:34Yeah, like, you know, many things a day, basically.
- 18:37And I think there's kind of a similar thing here with agents in general.
- 18:40Yeah, it's like you find you have more questions to ask when it's really easy to ask a question and get a really good answer, you know?
- 18:46I find that too.
- 18:47I've learned way more because of O3 and deep research and just AI in general.
- 18:53What about, like, I feel like there's a tension here that I sense in this product, and I've sensed myself in trying to build these things.
- 18:59There's a sort of tension between...
- 19:03Making something good for a particular situation, like, for example, like, you know, this is great for picking off a bug or a feature, but you kind of get this, like, loss of flexibility where it's not, for example, it's not nearly as good at just doing follow-up questions, and ChatGPT is just great at that.
- 19:23And so how do you think about that when you're designing something like this, the sort of trade-off between specializing and the brittleness or loss of flexibility that you get, and how do you manage that?
- 19:33Yeah, I think the long term goal, you know, it's the, I'm sure you hear this a lot, but you know, it's the G and AGI.
- 19:40It's to build something pretty general.
- 19:41And a lot of specialization, at least when it comes to like building UI is a bunch of design decisions that we have to make.
- 19:48But if you're just talking to an entity, it can make a bunch of decisions about the right behavior and just kind of be general for you, right.
- 19:54And so
- 19:56kind of the where I see things like this going and maybe just like working with agents in general is you can have a conversation with an agent and that is incredible that should be an incredibly general thing like I was mentioning earlier it shouldn't only be for coding you should just be an agent and it should be able to work across any modality whether you're you know in your car or at your desk so that thing stays general and it should be able to like do all the things it needs using tools etc but you
- 20:23when we're professionals doing a specific thing, like right now we're recording this podcast, and this is some pretty specialized UI, but it's really good.
- 20:30It would be quite annoying to have to use a chat interface to mute myself or adjust my volume here.
- 20:34And so kind of the way I think about it is there can be nearly an infinite number of bespoke, possibly even AI-generated UIs
- 20:42that like serve the specific purpose of the user who knows kind of like exactly what they want.
- 20:47And so like for me, like the most interesting thing about this codex research preview isn't actually the UI, although don't get me wrong, we've spent a little bit like rewriting it massively as we speak.
- 20:56But yeah.
- 20:58The most interesting thing is actually training a model that's designed to work more independently and make the most of that, asynchronicity and its own compute environment, and then building the actual compute environments that we can scale up and let people set up the agent to have the tools that it needs.
- 21:16So once you have those two things, the model and the compute environments, we can then start bringing that UI to everywhere.
- 21:22So like I mentioned, I would love for that to be more readily available, just like if you're talking to ChatGPT.
- 21:28I would love for that to be available also closer to where developers spend their time, right?
- 21:33So if you spend a lot of time in terminal, then like the Codex CLI would be a perfect place for you to be able to like, you know, delegate to that agent.
- 21:40Similarly, if you spend time in your editor or in your CI or in your issue tracker, like all of these places should be places where the agent is just sort of like ubiquitously available for you to delegate to it.
- 21:49Well, so let me just push on that a little bit.
- 21:52So in a perfect future, basically I'm talking to ChatGPT and ChatGPT is the one that's like calling Codex and telling it to, okay, go do this thing and then handling the follow-ups to be like, actually, I want you to do it a little bit better.
- 22:06And I'm maybe not even talking directly to it.
- 22:09ChatGPT is almost like the middle manager.
- 22:12Yeah, I think that is one possible future.
- 22:16And I think that is a future that
- 22:19you might use if you're on the go, like on your phone, not at your desk, or let's say I don't spend a ton of time on marketing, but I want to interact with some marketing tools.
- 22:30Maybe I'd go through Chachapiti because I don't have mastery of the actual underlying systems.
- 22:35But then if I'm a full-time person who spends a lot of time coding or whatever thing that it is that I'm doing, I probably have a lot of mastery that I've learned over time.
- 22:45And that also brings me great joy in my life, hopefully, to spend time with these tools.
- 22:49And so then I would go straight to the tool and the AI should be just available in that tool.
- 22:57So I totally get that, especially for the interface layer and having specialized interfaces for specialized tasks makes total sense.
- 23:04What about at the model layer?
- 23:06Obviously, the goal is to have a perfectly general model that no matter what you ask it, it can just fulfill the request.
- 23:10But also, it seems like, for example, when you did reinforcement learning on this model to make a better, more senior software engineer type personality.
- 23:21But even within that, like...
- 23:23this model clearly has a different personality than cloud code, or it's like the underlying model for cloud code.
- 23:29And so how do you think about that?
- 23:33Even if you're trying to be as general as possible, there's always these sorts of trade-offs between making it good for that thing and making it generally...
- 23:41It's flexibility in other areas or its personality.
- 23:45Totally.
- 23:47Yeah, I mean, I feel like at OpenAI, at least, we've kind of done this like a few times now where we've shipped ChatGPT, a ton of people use it.
- 23:56And then we get some feedback from a specific audience we care about.
- 23:59So like with GBT 4.1 developers, and we just, you know, spend a bunch of time with them.
- 24:06this is a different team, but, you know, they spent a bunch of time like talking with developers, understanding their feedback and kind of like creating like a different set of evals that we realized we like wanted to improve on, we cared about.
- 24:18And so then we had this decision, right?
- 24:19Like, do we try to
- 24:22you know, get a bunch of, like, improvements into the mainline model, which takes time and has a bunch of trade-offs, or do we kind of want to speedrun it on the side, ship a separate model, and then, like, reintegrate some of those changes?
- 24:34And I think our belief as a company is that, like, there are going to be times where we kind of want to speedrun something.
- 24:38So, like, often just maybe even for learning purposes, because, like,
- 24:41just to have the flexibility, really go deep with a set of customers and generate the evals that they have in their heads.
- 24:49And then from there, ship it, validate, and then take those configs or those changes that we're making to the model and re-mainline them.
- 24:56And it seems like whenever we can do that, the whole overall system gets better and maybe even more powerful than a custom side thing that we've done.
- 25:04That's really...
- 25:05Yeah, go ahead.
- 25:08And what that makes me think about, because one of my other little gripes with this is it reminds me kind of of operator, where this cool thing, but it's like separate from ChatGPT.
- 25:17And I don't think that you guys have released an operator update since the first one.
- 25:23And so it just feels like it's hanging out there and not necessarily getting improved, or I'm not using it as much as I am using sort of base ChatGPT.
- 25:32And so is that kind of the...
- 25:35like one version of the vision is obviously like Codex stays, stays as this separate thing, but then you integrate all the learnings back into like the base 03 that I use inside of ChatGPT and that's how everything coexists together.
- 25:45Or how do you kind of make sure that you're not building like this balkanized thing that's kind of forgotten about in, you know, three months or whatever?
- 25:54Totally.
- 25:54Yeah, man, I have so many, so many fun thoughts here.
- 25:59One thing I'll say is that, yeah, we have a lot of,
- 26:04So like these capabilities that we've, we've talked about, like being kind of like different and separate, like are coming together.
- 26:10And like, that's the thing we think a lot about and it's, I'm very jazzed about it.
- 26:14So excited to share more as that happens, but let's take, let's take codex.
- 26:19Um,
- 26:22In my mind here, there's kind of like two interesting things.
- 26:26The first is like what we said, which is like, hey, anything we learn as we like build this codex model is like really helpful to us just as we think about agents in general.
- 26:35And like, you know, like this idea of like, say, like citations, right?
- 26:38Or like describing your work really efficiently for the user to read after you've done a lot of work.
- 26:44like tuning the steerability so that it like kind of makes the right amount of assumptions which I'm not saying we nailed perfectly but like that's a that's a theme like that's a generalizable thing for agents and like something that's going to be useful in general similarly um
- 26:59And I don't know if you have this in your briefing, but we are planning to release an update, an updated small model for use in the Codex CLI.
- 27:09And, you know, there's a lot of, I mean, it's pretty obvious, right?
- 27:12There's a lot of overlap between these two models.
- 27:14And then actually, you know, a lot of the learnings that we have from like both of those Codex models, like we plan to use even in like mainline models, right?
- 27:20So there's a lot of that generalizing that comes back.
- 27:23I feel like your question also, though, is a bit about user experience and having to go to operator, right, or having to go to Codex.
- 27:28And so, like, you know, I think Codex is kind of interesting because it's maybe one of the first products or features we've built into ChatGPT where we have a professional audience that, like, spends a lot of time in their tools every day.
- 27:43You know, like a lot of how, like Chachapiti overall is quite a general tool.
- 27:47And I think this is like maybe some of the first time that we're getting like fairly specialized.
- 27:50And so my view here is that like, we're not exactly sure what this should look like.
- 27:55I think like Chachapiti a year from now where we have more of this will look fairly different from Chachapiti today.
- 28:00But the goals we'll have in mind will kind of be these things that I've been saying, which is like, I think we're trying to build a generalized assistant and we cannot lose sight of that.
- 28:08But we should give ourselves the room to give users the like power UI that they want.
- 28:14So for instance, just to give you an example, going back to your opening question about the UI.
- 28:20it's a list, right?
- 28:21And it's a list and it has features like archive.
- 28:23Like, why do we have that?
- 28:25Well, it turns out that people internally who use Codex use it a ton every day.
- 28:31And when they're using it, and it's just like mixed in with chat, it's a little hard to find your things.
- 28:37And then
- 28:37you know, there's kind of this workflow you develop where you're basically you're like, hey, I have an idea.
- 28:41Like, for example, like, so I'm on the product team.
- 28:43I mostly do small changes.
- 28:45People make fun of me affectionately at work.
- 28:48But, you know, the string should be different or there's this bug here, right?
- 28:51And if the bug's really hard to fix, I'm like, that's vegetables.
- 28:54I'm not going to eat that.
- 28:55Oh, you know, I'll put it in that.
- 28:57You small change, too.
- 28:58Yeah.
- 28:58Yeah.
- 28:59But if it's like an easy bug, you know, I'll wham it.
- 29:02I'll explain what the word wham is later, but that's our code name for the project.
- 29:05And so, you know, I'm whamming a bunch of stuff.
- 29:07And then I don't want to track it separately.
- 29:09Like, I just want to have this list of things.
- 29:10And then like when they're done, my workflow is basically look at each one and make a decision on if it's mergeable or if I want to like pull it open to my computer, test it, maybe change it.
- 29:20Or if I'm just like, this is over, like I don't have time to do this.
- 29:22And so that workflow really needs that UI of like, did you open a PR?
- 29:26What is the status of that PR?
- 29:28And the ability to archive so that I'm only looking at the things that I, my current tasks, basically.
- 29:33So that's just an example of like the power user UI that.
- 29:37That makes a lot of sense.
- 29:38Yeah, we feel it's important.
- 29:39Yeah.
- 29:39Yeah, I feel like chat is only appropriate when it's incredibly underspecified what you actually want to be doing.
- 29:45Whereas as soon as you know exactly what you should be doing, like chat is not the right, really the right interface.
- 29:50I'll add one thing to that, which is actually the other cool thing about chat is that it unlocks a lot of like emergent behaviors that are just mind blowing, right?
- 29:59So one, I'm obviously really excited to bring us back into chat as well.
- 30:05But you know, one experience that I had when we prototyped in chat was I had a,
- 30:12I had asked for a change on front end.
- 30:14And actually, when I was getting started on this project, I had spent like five years, including before OpenAI, just like writing native Mac OS apps.
- 30:23And so, you know, I'm not super familiar with the latest, you know, Tailwind, whatever stuff.
- 30:28So I asked for this change, and a bunch of like classes were added in line.
- 30:32I'm like, I don't even, what is this class?
- 30:33So I asked, but we were in chat.
- 30:35So I just replied with,
- 30:36what is this?
- 30:37Can you explain it to me?
- 30:39And because we were in chat, and the context of what was changed was just in line in chat, chat replied quickly, which was the thing you were saying is one of your gripes, that this doesn't reply as quickly, right?
- 30:47Chat replied quickly, and it asked me, do you want me to generate an image for you?
- 30:51And I was just mind blown.
- 30:52And I said, absolutely.
- 30:53And then it generated an image, and I was very happy.
- 30:56And so I think it's important that we always make sure that the overall assistant has access to these tools so we can experience things like this and then work those into the more functional.
- 31:06like UIs as well.
- 31:08How do you feel about, and with your own personal experience and what you see internally, or I don't know, other beta customers or alpha customers that are using this, like how this changes what it is to be a developer, what the developer experience is.
- 31:20And I'll give you an example.
- 31:22In my testing over the last couple days with Kieran, again, he's the GM for Quora.
- 31:27He's super technical.
- 31:29I'm technical, but I can just build stuff to make it work kind of way.
- 31:34And what was really interesting is we just sat together on a video call
- 31:38we were both screen sharing.
- 31:40We both had a bunch of agents up and we were just like talking about how we wanted to make the product better, Cora better.
- 31:46And then he would just say, okay, I want you to like, you know, build this little thing.
- 31:50And I'd be off being like, I want to fix this little bug.
- 31:52And both of us have like these different agents all working on different features and bugs all at the same time.
- 31:58And we're just chatting while we do this.
- 32:01Like we have the brain space to be able to like talk about what's going on.
- 32:05you know, an agent would come back, then we'd like kind of look at it together and be like, is this good?
- 32:08Is this not good?
- 32:09And then either edit it or merge it.
- 32:12And it was just like a very different, it was like social coding in this like weird way where we're just like chatting together and work is getting done, which I've never really experienced before.
- 32:21and feels like a new model for building things that was not really possible previously.
- 32:27And I'm kind of curious if that resonates with your experience or if there are other things that you're noticing about how this changes what it is to be a developer, what developing looks like.
- 32:37Yeah, that sounds pretty fun.
- 32:40I'd even say, even before we had any, before Codex, I've already started feeling like coding is more social.
- 32:48It's like, even if it's just me coding with an LLM,
- 32:51Um, and yeah, you know, like that startup I was told, I mentioned that I was working on, like I, I built the first prototype for one of the things that became it in the airplane without wifi.
- 33:01Uh, and I would never do that today.
- 33:03Like if there was no wifi, it's just over.
- 33:05Like I'm going to watch a movie.
- 33:06I just can't do it.
- 33:07Um, yeah.
- 33:08And, you know, I do think this is, we're kind of on the precipice of a number, like, change of similar magnitude.
- 33:14So the vision for, like, what it should feel like to be a developer if we get things right, and maybe what it feels like in general to, like, just be a knowledge worker, the vision in my mind is you should be
- 33:28able to do the work that you want to do.
- 33:31And maybe that's because it's work that's difficult to automate, which is a lot of work.
- 33:36Maybe it's work that's like very ambiguous that requires a lot of like complex decisioning or maybe work that you just want to do for fun or you want to be creative.
- 33:44And like, that's the stuff you do.
- 33:45And I think it's really important that we invest in making sure that when you're doing the work yourself, you're maximally accelerated, right?
- 33:52So like things like the Codex CLI that you can pair with, I think are critical for us to invest in.
- 33:57But then the lion's share of kind of like known work should just be done by agents that you're delegating to.
- 34:04And so I think this kind of like shifts where we spend our time.
- 34:08And maybe we're spending more time in planning or like thinking about what to do more time in design.
- 34:16And then more time in like validation as well.
- 34:20Now, I do think it's interesting, like,
- 34:23Right now, I think, at least for the next couple months, we are going to also be spending time thinking about how to set up the environment for agents.
- 34:33And so it's not only like, I think we're only going to be spending our time being creative.
- 34:38I think there's also going to be a lot of like, it's a bit like becoming a manager and you're thinking about, I have this team, and how do I enable my team to be productive?
- 34:45I mean, and it creates new problems that you still need to solve.
- 34:49So a really interesting example that I'm noticing is,
- 34:54you can implement so many features that the features start to crowd in on each other and the product just feels less well thought through because you have so much throughput to just go do this little thing and it just takes 10 minutes and then you've done that 50 times and you're like, this product is way too bloated and no one's stepped back and then how does all this stuff fit together?
- 35:14And that, I think, is like,
- 35:17we need new product management or like hygiene practices for we have so much capacity to build stuff or fix bugs.
- 35:26Like how do we deal with the overproduction of features almost, you know, which is a new problem.
- 35:33Well, I have some takes on this.
- 35:36So I don't think this applies to everyone, but at least I'm happy to hear what you're saying in that I think like taste is like fun to exercise.
- 35:43Yeah.
- 35:44And so like, and also like great fun for humans, you know?
- 35:47So it's like, I'm excited, like, oh, we can produce too many features and now we have to like choose which ones.
- 35:51I'm like, this is a great future.
- 35:52Like, wow, product person's dream.
- 35:54But obviously I know that doesn't apply to everyone, but for me that, that sounds awesome.
- 35:58The other thing that I like hope that happens is that, um,
- 36:03we actually just build many more software products.
- 36:05And I don't mean like many more features, but like many more apps.
- 36:08And this again, this is just like my personal opinion, but I really like these like small, like beautifully crafted apps that have like a small number of features.
- 36:17And, you know, and sort of almost the more niche, the use case, like kind of the more fun it is to use them for a little bit.
- 36:23So like, you know, an example in my mind that I've like poked at, but haven't really spent time on is like maybe like a texting app, but for just me and my wife only, you know, like that would just be kind of a slightly ridiculous thing to consider doing while you have a full time job like a while ago.
- 36:37But like, I would love to have that app and like it doesn't have to have many features, but it's just for me.
- 36:41Right.
- 36:42And I think that like.
- 36:44as software development gets more and more accelerated, my hope is that because it's like, we can produce more of it, we end up actually using much more, but in much more bespoke ways for people.
- 36:53That makes sense.
- 36:54Yeah.
- 36:54And I think you can see that in the history of other art forms, like, you know, photography or illustration, where 150 years ago, like you had to do like woodcut blocks.
- 37:03And then we figured out how to like do mass reproduction of photos.
- 37:06And it's just, there's a whole, yeah, it's a similar kind of thing where now we all have a camera in our pocket, or we can do Studio G, like generations or whatever, you know?
- 37:15Well, yeah, now we're putting a podcast together, right?
- 37:17Like for on a specific topic.
- 37:19Yeah, exactly.
- 37:21So I want to go back.
- 37:23Our ask query came back a while ago.
- 37:26So I'm going to forget about that.
- 37:28So we asked it to suggest documentation and,
- 37:32And so it gave me some interesting things.
- 37:35It said, the repos guidelines, I'm documenting Ruby classes with Yard and stimulus controllers, the apprehensive JS doc blocks, C development guide.
- 37:43And then just found some places where Yard documentation is lacking.
- 37:46Yeah, so this is,
- 37:49Real quick, this is cool.
- 37:50This is not what I was hoping you would see.
- 37:53We clearly have some prompt tuning to do between now and tomorrow.
- 37:57Because, can we check out the other one real quick?
- 38:00Because, so this is good.
- 38:01But what I would love to see in there is that it actually stubs out tasks for you.
- 38:06Oh, there we go.
- 38:06This one did it.
- 38:07And I think that's because we said suggest some tasks, like we put those words in the prompt.
- 38:12And so it's kind of similar, right?
- 38:14It's answering kind of the question, but it's giving you these buttons you can click to like actually do the thing if you want to do it.
- 38:19Interesting.
- 38:20Okay, so I'm seeing, so we said, find some bugs and suggest some tasks to fix the bugs.
- 38:23And it says issue number one, and it gives me some relevant code.
- 38:26And then it has a play button on the code, which if I click it, just does the changes that it's suggesting.
- 38:36Exactly.
- 38:36That's right.
- 38:37And so this is us beginning to like, sort of play with this gripe that you have, right?
- 38:42Of like the sort of the interaction loop.
- 38:44Yeah.
- 38:45And us to begin to think, yeah, how can we make it so that it's like, if you want to be more quickly like sort of collaborating with the model to figure out what to do, you can do it.
- 38:55And also, in a way, how can we encourage it?
- 38:58How can we, this is going back to a lot of what we're spending our time thinking about is this future where agents are writing a lot of code.
- 39:03How do we make that work well?
- 39:06You probably would rather get a large refactor done in a bunch of small PRs that don't have merge conflicts and all independently compile.
- 39:14So for instance, like a common use case is if there's a large file, you'll like suggest several tasks to break this down into a smaller class.
- 39:22And then you can like do the refactor and like a few small buttons.
- 39:25So basically, this is this is something we're thinking about.
- 39:27And like, I think long term, like our goal is to like,
- 39:30converge delegation and pairing, real-time pairing, into just a single experience.
- 39:36That's interesting.
- 39:37OK. And we only have a couple minutes left, so I really need to ask, how do you see the agent landscape evolving?
- 39:43So there's a lot of agents.
- 39:45Feels like every programmer is working on their own agent.
- 39:47There's the big labs, like Cloud Code's got their agent.
- 39:52there's like a ton of startups, there's like the Devins of the world, and there's a couple that are coming out soon.
- 39:58Like we're testing like four or five of them internally.
- 40:01And so how do you think about this, like Codex versus every other agent, the difference in the positioning or the functionality?
- 40:09And then more generally, like how do you see that market evolving?
- 40:12Is there like, is this sort of like a one agent to rule them all type situation?
- 40:16Or do you think that there's going to be sort of like this ecosystem of agents with different personalities?
- 40:20Yeah, I mean, I just think this is an incredibly exciting time to be doing software development because there's just so much innovation happening and there's like so many good products out there.
- 40:30So personally, just like really excited about that.
- 40:34I think the things that we're really focused on and uniquely positioned to do well are like...
- 40:39well, the fact that we basically can train the model, right?
- 40:42And we can go as deep as we want into making a model that's like as good as possible for this specific use case, right?
- 40:47And so like the things that I'm most excited about us doing are like things like,
- 40:51well, you know, obviously having like really good coding intelligence.
- 40:55But then beyond that, like really thinking about like, okay, but you know, this is going to be used by an engineer delegating to many agents in parallel.
- 41:01Like how do we make that mergeable?
- 41:03Like how do we get the style right, the instruction following, the steering, you know, have its site, its work, stuff like that.
- 41:09And so I think like for us, like really leaning into the model is like definitely like one thing that we're going to continue to do.
- 41:15And then I think the other thing is like,
- 41:18just like thinking about like this scalable compute infrastructure, it just happens to be something that we're like quite good at here because of the way we do training.
- 41:27And then lastly, like for me and this might be like a little bit more out there, but like ultimately like, so the reason that I work here, you know, during the benefits of AGI to all humanity.
- 41:38And I, if I think of the shape of that, that's not like some like ultra bespoke thing.
- 41:42It's like this general, like AGI super assistant.
- 41:45And so like, that's kind of the world that I want to live in.
- 41:47Like I want to wake up and just like,
- 41:49well probably not immediately maybe go for a walk first don't look at my phone but then at some point I want to just reach out to an assistant like have a conversation with it and like just have one thing and it does stuff and then I can like dive in and do stuff myself and so I think like
- 42:02I feel like the ChatGPT as an app and as an organization is very AGI super-assist and pilled.
- 42:08And so for me, that's kind of where we end up bringing this towards.
- 42:12Yeah, that makes sense.
- 42:13The integration of ChatGPT is the big thing that's going to make this very different from any other tool like this.
- 42:20Yeah, ChatGPT.
- 42:22Yeah.
- 42:24Alexander, it was so great to chat.
- 42:26Thank you so much for coming on.
- 42:27Thanks for building this.
- 42:28Thanks for letting me try it early.
- 42:30I'm psyched to see where it goes.
- 42:32Cool, yeah.
- 42:32Thanks so much for trying it early.
- 42:33Thank you for all the feedback.
- 42:34Hopefully you notice many of the issues are addressed.
- 42:38And yeah, thanks again.