I feel like when I'm using Cloud Code, it's like, oh, I feel like I'm flying through the code.
When it's in your CLI.
This thing can debug nested, delayed jobs like five levels in and figure out what the bug was and then write a test for it and it never happens again.
This is insane.
I think everyone who's experimenting with this stuff on like a hobbyist level or at like a very small startup, they're just pushing the coding agents as far as they can go.
Cause it's like, you don't really have time to figure out anything else.
Like as a startup, you have limited runway.
You're just going to orient around speed.
I think at a bigger company, you have a lot more to lose.
What are some of the tips to become a top 1% user of coding agents?
Yeah, what's your stack?
Hey, everyone.
Welcome back to another episode of The Light Cone.
Gary, are you ready to record?
I'm in plan mode right now, but okay.
Yeah, I guess it's time.
Sorry about that.
Well, welcome to another episode of The Light Cone.
And today we have an incredible guest, Kelvin French-Owen.
He's one of the first people to create Codex at OpenAI.
And before that he started Segment, which is a multi-billion dollar company that got to a very successful exit.
Kelvin, welcome back.
Thanks for having me.
I guess what a crazy time for all of us.
I recently got very, very addicted to Claude Code and I would describe it as, like 10 years ago, I was a marathon runner and I loved doing it, and then I suffered a catastrophic knee injury, which is called manager mode, and I stopped coding, which is tragic and horrible.
But now the last nine days have been like this incredible unlock of all the things I remember being able to do, and it's like you know.
I got a new total knee replacement and actually it's a bionic knee and it allows me to run five times faster.
And What's your take on it?
Because you're right out there at the forefront of it.
Codex pioneered a lot of the ideas that now everyone still uses and Codex is still evolving too.
For brief context, when I was at OpenAI, I was working on the Codex web product.
At the time Cursor was out in the market and they had kind of built this shim around.
I think it was Sonnet 35 and it was able to work in your IDE.
FOD code had just come out and it was working as a CLI.
And we kind of had this idea like hey, in the future Coding is really gonna feel more like talking to a coworker.
Like you're gonna send off a question and then they'll go off and do something and come back to you with a PR.
And so that's where we started with this WebView and that's what we were building.
I think directionally that's still kind of correct for where things should go, but obviously now everyone is coding with CLIs instead.
Like they're using those tools a lot more, whether it's Cloud Code or whether it's Codex.
And I think, at least for me, kind of the lesson in that is I think in some sense you're right that like everyone is going to become a manager in the future, or at least that's my hot take.
But in order to get there, there are steps along the way and you have to really build a lot of trust in the model and understand what it's doing.
You recently came over to Cloud Code.
What's the transition been like in terms of as using it as one of your stacks?
Yeah, yeah.
So Cloud Code is certainly my kind of like daily driver today.
And honestly, this is switched every few months.
For a while, I was deeply in Cursor.
I think their new model, which is really fast, is actually quite good.
Then I kind of moved over to Cloud Code, especially with Opus.
Cloud Code is a really interesting product and I think it's underrated how good the both product and model are working together.
If you study them closely.
I think one of the things that Cloud Code does in particular that's really amazing is split up context.
Well,
And so, if you look at things like skills or subagents, when you ask Cloud Code to do something, it will typically spawn and explore subagent or multiple ones.
And basically, each of those are running haiku to traverse the file system and explore what's there.
And they're doing it in their own context window.
And I think Anthropic has kind of like figured something out here around.
Given a task, does that task fit in the context window, or should I actually like split it into many more?
And the models are like insanely good at this, which I think gives them really good results.
And I think the fascinating thing is because it's on the terminal it's the purest form for composable atomic integrations.
Because if you came from ID first world, which is where Cursor was and I suppose Codex too, this concept of finding the context more freeform wouldn't come out so natural, right.
100%, yeah.
Which is so unique.
Yeah, and personally, I was surprised.
I don't know how you all feel, but I was surprised at CLIs.
It's weird.
It's like a weird retro future that the CLIs, which are the technology from 20 years ago, have somehow beaten out all the actual IDEs which were supposed to be the future.
100%, yeah.
And I think it's important actually to quad code that it's not an IDE, because it sort of distances you from the code that's being written like.
Ids are all about exploring files right, and you're like trying to keep all the state in your head and understand what's going on.
But the fact that a cli is like a totally different thing means that they have a lot more freedom in terms of how it feels, and i i don't know about you, but i feel like when i'm using cloud code, it's like oh, i feel like i'm flying through the code, you know, it's like there's all sorts of things going.
There's like little progress indicators.
It's kind of like giving me status updates but like, the code that's being written is not the front and center thing.
I mean, dev environments are so messy.
I mean, I really like how clean a sandbox conceptually is in Codex.
But then I just ran into all these crazy issues like trying to do you know run, just simple testing right.
It needs to access Postgres, and then it can't do it.
Or my codex.md ended up being 20 lines long, and even then it didn't work.
When it's in your CLI, it could just access your development database.
I mean, I'm not sure if I'm supposed to do this, but I've actually also had to access my production database to do that.
And it can just do it.
It's like, yeah, okay.
I looked into it and I think this happened and I'm going to debug this concurrency issue.
And it's like, oh my God, this thing can debug nested, delayed jobs like five levels in and figure out what the bug was and then write a test for it and it never happens again.
This is insane.
Yeah.
And I think that distribution mode is frankly underrated.
Like thinking about a cursor or a cloud code or a codec CLI.
The fact that you can just download it and use it without having to get it permissions or anything makes a huge difference.
And actually I was playing around with a product the other day where you download a desktop app And then it execs the Claude code that you have running on your laptop and uses that and communicates back via an MCP server to the desktop product.
And it's like.
This is a very interesting way of now starting to work with your laptop, where you don't have to get anyone's permission to do it.
You just download the product and go.
Yeah, I was looking at like New Relic has an MCP.
But you know Century you can like copy Markdown.
But, like, it's like an auto bug fixer, basically.
It's right there.
It's super interesting that in a world where things are changing so fast, you really want your product to have a bottoms-up distribution, not top-down, because like top-down is like just too slow.
Like the CTO of a company is going to be like have all these concerns about security and privacy?
And what if the- Control?
Control, exactly, versus like the engineers just like install the thing and start using it.
Like this thing is amazing.
Yeah, I think that's right.
The one thing I do struggle with, I mean, I'm like a B2B enterprise guy generally.
But I feel like there's some amount of moat that happens when you do that top-down sale.
And there's got to be some company who manages to crack it where it's like oh, this is the thing that everyone has access to.
Maybe individual people can take it up.
That was the original Netscape Navigator.
It was free for non-commercial use and then people would just download it and use it for commercial use, and then they could just track down the IPs and figure out exactly how many clients were in all of these different companies and say you should pay for this, you're in violation, but all you have to do is buy a license.
Yeah yeah, curious.
You could do that work again here.
I mean, your point about distribution is very interesting, because Now people are probably just making architecture decisions about what to use directly in Cloud Code.
They might not even know what analytics to use and it's like, oh yeah, as long as Cloud Code says, use PostHog, they're using PostHog.
A hundred percent.
One of the companies who I advise was talking about their like GEO strategy.
This is like the generative optimization or how you show up in chatbots.
And what he was saying is funny is one of their competitors had put together a like top five list of like tools in their category that you should be using.
And of course their tool is ranked at the top of this top five list.
And like any human looking at this would be like, oh, this is so obviously biased.
It's like the top tool is the one that's in the domain you know, but the lms get fooled and like they're pulling together a bunch of contacts and they're saying like oh, this is the top and then they'll just recommend it.
I think yeah, if you're selling a developer tool like having good docs that are out there, like having social proof, like maybe being posted on reddit a little bit more all of that helps your case tremendously, Which is why I think a lot of the open source projects have taken off a lot more.
I think one of the examples is Supabase, actually.
Which really took off last year.
And part of it is because they have such a good open source documentation how to set up a bunch of stuff.
Whenever someone asks how to set up anything, that you need, some sort of backend Firebase type of transaction, the default answer from all the LLMs is actually a super base.
I was just trying some of these questions that comes from that.
The thing is it's winning the internet.
And it was like that before when it was like Stack Overflow and searching Google.
And then now that nobody uses Google anymore, it's like crazy.
It's kind of the same deal.
I will say it does help open source disproportionately, I would say.
Like I don't know if you all saw, there was a Ramp blog post that they recently published about building their own coding agent.
And they were mentioning that they use open code as a harness because the model can look and see the source code and understand how it's working.
And I do this all the time with open source projects.
I'll like clone the repo and then spin up Codex or Cloud Code and be like hey, give me a walkthrough of what's going on here.
And it's really useful.
MELANIE WARRICK- What do you think are some of the tips for anyone that wants to build a coding agent, since you've done it a lot?
What are some now lessons that you learned that you want to share?
I mean, I think the number one thing is managing context well.
Basically, we kind of had like a checkpoint, for I think it was O3 like one of the reasoning models.
And then we did a bunch of fine tuning on it in reinforcement learning, where it's like oh, you're given a bunch of questions to like solve these coding problems.
Or like fix tests or whatever, implement a feature.
And then the model was RL'd to respond to those.
And so I think most people are not going to be doing that.
Right.
But the things that you can do are figure out like hey, what context should I be supplying to this agent to get the best possible result?
And so for Cloud Code.
If you watch it working, it's like oh, I'm going to like spawn a bunch of these Explorer sub-agents.
They will like search for different patterns in the file system.
They will come back.
They will have this context.
They'll summarize it for me, and then I'll have someplace to go.
It's interesting watching like different agents structure this context.
Uh, like I think cursor takes an approach where they actually do semantic search, where they embed everything and figure out like Hey, what query is closest to this?
If you look at a codex or a cloud code, uh, they actually just use like grep.
And I think that works well.
Yeah, it works very well because code is very context dense.
Like if you think about lines of code, it's like each line is probably less than 80 characters.
There's not a lot of like big like data blobs or like JSON in your code base.
Maybe there's some, but not a lot.
You can respect gitignore to figure out and filter out stuff that's just not relevant or is packaged.
And you can use grep and ripgrep to find context around the code, which probably gives you a good sense for what that code is doing.
And you can navigate the folder structure.
And also LMs are really good at emitting very complicated grep expressions that would like torture a human.
Yes.
Yeah.
Yeah.
Yeah.
This is like the RL in practice.
Yeah.
And so I think all of that like, if you're trying to build a system well, I'm trying to build systems that integrate agents for non-coding work.
I think you can learn a lot of those lessons and say like Hey, how do I get my data in the format that is maybe closest to code, where the model can peek and look at areas around it and get the right structured data?
So, given this is how a lot of the superpowers for the best coding agents is context engineering, what are some of the tips to become a top 1 user of coding agents?
Yeah, what's your stack?
Yeah, what do you do to be so productive with it?
One is if you're able to use just generally far less code in plumbing.
So a lot of what I do is like deploy stacks on like Vercel or Nextjs or like Cloudflare workers where there's kind of like already a bunch of boilerplate, like taking care of it for you.
And then you don't really have to think that much about like hey, I need to stand up like all these different services and deal with like service discovery and like registering on like some sort of central endpoint or like all these databases.
It's like, oh, like everything is pretty roughly defined in this like, one or 200 lines of code.
I tend to operate more towards microservices for that as well, or like individual packages that are fairly well structured.
I think it's also worth knowing like what the LLM superpowers are.
Like in general, coding agents are I think Andre Karpathy just tweeted about this.
They're like super persistent, so they will keep going no matter what.
They end up typically just making more of whatever's there.
So if you're trying to direct them to do something, it's worth like I mean, I can pick on OpenAI slightly in this example.
OpenAI has like a giant monorepo.
It's been there for a few years now and has, like I don't know, thousands of engineers who are committing.
Some of those engineers are like super senior meta folks who came in and are like know exactly how to write production code.
Some are like new PhDs.
It's like a pretty wide range.
And so the LM will pick up different things depending on where you direct it.
I think there's a lot of room actually for coding agents to figure out what is the optimal type of code that we should produce.
I mean, obviously giving the model a way to check its work helps improve performance drastically.
So the more that you can run tests in Lint, CI et cetera.
Um personally, I also use code review bots pretty aggressively.
Um, I know like reptile YC company is really good.
Um, I use the cursor.
Bug bot has gotten quite good and I actually like codex for code review as well.
I find it does a very good job on correctness.
So those are all things that like. the agents are good at.
And they're excellent at exploring the code base too.
I think areas where they don't do well, they make more.
If your goal is not to make more, they'll like often duplicate code and like, spend a bunch of time re-implementing things.
That like You're like oh, of course you didn't want to do this.
I think context poisoning is a real thing, where it kind of like goes down one loop and it will continue because it has this persistence, but it's referring back to tokens which are like not right in terms of pursuing a solution.
And so one thing that I often do is like very actively clear context.
Like how often?
Usually when it gets above like 50% tokens.
Oh, wow.
Yeah, yeah.
There's this guy, Dex, from this company, Human Layer.
That was actually another YC company.
Yeah, it's a YC company from fall of 24.
He talks a lot about it, yeah.
He has this concept of the LLMs reaching the dumb zone, where it's like, after a certain amount of tokens it just starts degrading in quality.
And I actually think that's very true, especially if you think about how the reinforcement learning might work.
Like imagine you're a college student.
You're taking an exam.
In the first five minutes of that exam, you're like, oh, I have all the time in the world.
Like I'll do a great job.
I'll think through each of these problems.
Let's say you have like five minutes left and you still have half the exam left.
You're like, oh man, I just got to do whatever I can.
Like that's the LM with the context window, right?
One of the tricks that I think founders use is you put like a canary at the beginning of the context.
There's something very esoteric that it would only help.
It's like something really funny.
It's like, I don't know.
My name is Calvin and blah, blah, blah.
I drink.
Tea at 8 a.m.
Some random fact.
And then as you keep going, you ask it, do you remember what's my name?
Do you remember when I drank tea?
And then when it starts forgetting that, I think it's a bit of a sign that the context has poisoned.
That's like one trick I've seen people do.
They do a random cannery.
I have not tried this, but I fully believe it.
Yeah.
That's interesting.
I haven't run across any bugs before compaction, but maybe I'm not paying attention.
But you're saying like that actually is actively something, that it just starts doing weirder things that are not like optimal.
Yeah.
Yeah.
Okay.
I got to be on the lookout for that.
Solvable within the code itself.
Like it should be able to basically do some sort of detection. like what Diana said.
Yeah, you need to do your own internal heartbeat around it, around the context.
Yeah, and I think we're just not there yet.
I agree with you in the limit.
Right now it's definitely hard to manage context well, and I think kind of the way it gets around it is like split up context windows and then try and merge everything.
But you're sort of still at the limit right now of like everything that lives in context at the end of a quad code session is kind of fixed.
It's actually interesting.
The codex approach is kind of the opposite and they just wrote about this on the OpenAI blog, where it will run compaction like periodically after each turn.
And so Codex can continue to run for a very long time.
And if you look at the percentage in the The CLI, you'll see it move up and down as compaction runs.
I guess there are these very different architectures between Cloud Code and Codex.
Sound like they're actually deeper in that Codex is actually meant for much longer running jobs.
That's sort of like off the bat, a different use case and then the architecture is very different as a result.
I guess right now it seems like CLIs.
You know, 2026 might be the year of CLI, but then this other idea that AGI is here and it's actually ASI is around the corner.
The coding agents right now are really really smart, but not smart enough to run on their own for long periods of time.
But a 10x increase in compute from here, are we there?
Like, are we at 24 hours or 48 hour running jobs on Codex?
And that architecture is correct for that world.
Yeah, I think it's a good question.
It sort of goes back to kind of the founding DNA of both companies.
I feel like Anthropic has always been very big on building tools for humans where it comes to like oh, here's the style of the tone and here's how it should fit with all of the rest of your work.
And I think Quadcode is a very natural extension of that.
In a lot of ways it works like a human would.
It's like oh, you need to build, like i don't know, a dog house or something.
It's like oh, i'll go to the hardware store and i'll build all these materials and i'll like figure out how they all fit together, whereas open ai really leans into this idea of just like we are going to train the best model and reinforce over time and get it to do longer and longer horizon things in this pursuit of artificial general intelligence, And so it may not work like a human at all.
Like going back to the doghouse example, it's like, oh.
But AlphaGo didn't either.
Yeah, but AlphaGo didn't either.
It's like, oh, it's like...
Instead, I will have a 3D printer that can print from scratch like a doghouse, and will be exactly what you want.
And it will take a long time and it will be like very custom and it will do like weird things, but it will work, you know, and like, maybe in the limit that's the right call.
And so it's going to be really interesting to see how they play out.
I mean, net-net, it seems like the latter is somewhat inevitable, but I like the former so much.
Even this idea that it greps.
I thought about 10 years ago I was like yeah, I was in there writing my own really weird regexes.
Try to figure out where everything was when I was refactoring or trying to understand code or whatever.
So that's the feeling I get when I'm using it.
It's like I can do five people's worth of work in like a single day.
It's like rocket boosters.
It's unbelievable.
I think it's going to be really interesting to see how this plays out across large and small companies.
I think everyone who's experimenting with this stuff on a hobbyist level or at a very small startup.
They're just pushing the coding agents as far as they can go.
Cause it's like, you don't really have time to figure out anything else.
Like as a startup, you have limited runway.
You're just going to like orient around speed.
I think at a bigger company you have a lot more to lose and you have all these other internal processes around code review and you probably already hired like a big eng team.
And I think it's going to be very strange as like, These individual teams of like one person are like hey, that team over there isn't doing the right thing.
Like, let me just build a prototype that like works better.
I think at some point it's going to start working better.
And I think that landscape shift is going to be a very interesting, strange thing.
My 10-year-old.
He has writing assignments every day, and then yesterday was the first day where he used AI.
And then I was like, this is not a turn of a phrase that a 10-year-old is capable of doing.
And then I think about that in this context, because we're working with a lot of 18 to 22-year-olds who
They've done internships, but they haven't done eng manager work.
We were saying post-product market fit once you have job queues of millions of jobs and hundreds of thousands of errors.
That's real eng management.
Like that's really.
You know.
It's horribly unglamorous, like combing through hundreds of thousands of errors and then like manually making sure that like the thing works for all of your users in the background.
How does the next generation understand that?
Can the Cloud Code bot actually teach people about architecture and things like that?
Or are you just going to bump your head into it and users just kind of suffer and people have to figure it out?
Like, at least where I find myself spending the most time when it comes to product, is figuring out the kind of product model, in a sense.
Like what are the things that the user has to understand today?
And what are the primitives that they can use to like do whatever they want?
I always think of Slack. like this.
It's like Slack was in some ways not really a new concept.
It's like there were many chats that existed before it.
But the fact that they had like channels, messages and reactions in a simple way that people could just like think about and be like oh, I understand how to like navigate this.
It made a lot of sense for people, but then kind of once they were there like it's very hard to change that later on for a user, you know.
It's like oh, maybe they wanted to go in more of like a document first way, or like maybe right now they're trying to incorporate agents.
It's like difficult to change the user's mental model.
And so I at least for myself building products.
It's like you have to think about that very carefully from an early stage.
Cause again, Whatever you supply to the coding agents, as that kind of kernel is going to be what they run with and make more of forevermore.
YC's next batch is now taking applications.
Got a startup in you?
Apply at ycombinator.com slash apply.
It's never too early, and filling out the app will level up your idea.
Okay, back to the video.
Do you have thoughts, just because you know the agent so well, like what types of engineers are going to benefit more than others from these tools becoming popular?
In general.
I think that kind of, the more senior you are, the more you benefit, because the agents are so good at taking some sort of idea And then putting it into action if you're able to prompt that in a few words it's kind of like oh now, suddenly I had this like idea.
I find this so often open AI, like strolling through the code base.
It's like, oh, like here's the thing that I wish were different.
Here's the thing that I wish were different.
Here's the thing that I wish were different.
Like just being able to kick those off and then have them come back.
I think is super empowering and multiplies your impact.
I think also being able to detect like, which sorts of changes are good or bad architecturally is very important, or like have a sense for where you might wanna flag something to an agent.
I think engineers who are more organized like manager-ish.
And there's probably just a missing product to be built here.
Maybe something like Conductor, where it's like spread across all of your sessions and kind of reminding you like hey, you were working on this thing.
It's done.
It needs your input here.
Oh, you should switch your attention over to this other thing.
I think that is going to become... Oh, Conductor should add that.
Yeah.
Like context management for agents.
But we also need context management for humans.
Yes, 100%.
When I wake up every day, it kind of is like, hey, here's all the work that got done overnight.
Here are the three decisions that you need to make.
Here are areas of deep thinking that you were planning to do, like i want the turn by turn for my day.
You know other things that make it very useful, like if you're able to build um, i don't know, some sort of like quick prototype for an idea to show it off.
Like That's an area I mean obviously the agents do super well at this.
I would find myself at OpenAI often writing kind of like prototype code or like hey, I've got this like in-memory key value store.
Can you now turn it into like work with a production database or something like that?
Being able to concisely specify ideas in code.
And I think having a smell for what the right architecture is is still the area where the models don't do the best job.
So if you were going back to your college days and studying CS again fresh and you were picking your own syllabus or curriculum, what would you study?
Personally, I think, still understanding systems is very important and just having some conception of like, how Git works, you know, or like HTTP or databases, like queues, like all of these different systems.
I think that those fundamentals are still quite important.
The other thing that I'd probably do is just have a semester where, like each week, you're just building something and you really try and push the models as far as they can go.
There's a sense that you have whenever you're doing something that you could always just like go up the layer and ask the model to do it, and like go up a layer and ask the model to do it.
You know it's like oh, I have like a implement command where it like implements the next phase of the plan.
But then I could have like an implement all command and it like goes stage by stage and creates a new sub-agent.
And then I could have like a check your work kind of thing and like and I think knowing where the models can and can't accomplish, that is such a moving target that it's worthwhile just to like tinker a lot.
I mean.
The other thing that's really really crazy, for I mean I would love to be able to teach 18 to 22 year olds like everyone around like at this table has like ship stuff that people really really want and love.
So it's like, how do we teach people that?
I wonder if, like the best 18 to 22 year olds, like five years from now, we'll just have like off the charts taste and everything, because they'll just be so much more prolific.
They should be right.
Like they should just be launching and touching reality like 10 times as much as like the generation before them.
The one thing I have wondered about.
On that note, I don't know if you all found this, but growing up my mom used to tell me like oh like, stop multitasking.
You're not paying attention to like what I'm doing.
And I think there is some truth to that.
Like often I would be like off on my computer, like not paying attention.
But I do think I was legitimately better at multitasking than our parents were.
Uh, and now i look at this new generation, i think they're actually quite a bit better at multitasking than we are, you know, because they've kind of grown up in this age of the internet and they're dealing with like tick tock and all these like different short form video and things like.
It seems like there's room for both kind of this like deep thinking, where you want to like notice what you're seeing and understand and problem solve.
But then there's also this mode of just like between a bunch of different things and your context switching constantly.
The ADHD mode.
Yeah.
The new generation is quite good at this.
Yes.
I don't think there's a.
There's a type of smart person, maybe it's ADHD, but just like always has like a bunch of good projects on the go but just never actually finishes anything.
I might relate to this personality a little bit.
Hey, you're really smart. at least your vibe code project.
Yeah, but only because of Claude Code.
Now I just think there's certain types of brains that just have 10 branches going in their heads, but you never have enough hours in the day to actually see any of them through, so they're always half complete.
And now it's just like Claude Code gets you over the line with everything.
And it's just like and you made this point in your blog post about how it feels like a video game, but it's just like there's just a constant novelty factor.
Like you start working on something and usually when you hit the point of like I'm like bored and then I've got this other better idea and I should like start on that and then come back to this,
Like you can't do that now, but like everything can actually get finished.
Let's live in the future for a moment.
It's 40 years from now.
Software still exists, databases still exist, access control still exists, but at the core of it, I mean software is entirely personal.
Access control and who gets to do.
It is, like you know, sort of like this manager mode thing that people still have meetings about.
But then everything else about a company its functions, its roles, like is defined by people just doing things in their own claude code like thing.
I don't know, maybe it's a cli or it's like you know having giant armies of workers.
Then i don't know what would that look like like.
Imagine if every time a company signed up for segment, You fork the code base, you give them their own copy of segment.
It's running on their own servers.
And then if they want to change anything about it, they just like tell some chat window which is running like an agenda coding loop.
And it just like edits their version of segment as segment.
The corporation pushes out more features.
Some agent figures out how to merge.
Yeah, I could totally see it.
I mean sort of what I've been thinking.
I don't know how far this future is, but like eventually every person who's working like has their own sort of like cloud computer and like set of cloud agents who are running for them.
And they're mostly just like talking back and forth.
It's kind of like having like a super EA or something, where it's like oh, here are the things I need to pay attention to.
Like, let me make some quick decisions.
Like, let me spend more time on this.
Let me like meet with other people.
Because I think that there's still going to be room for people who like, want to meet other people and exchange ideas in person.
Or at least I get a lot of fulfillment out of that.
And then separately, there's going to be this army of agents who are like doing things on your behalf and like automating a bunch of things.
I think the average company is probably going to get like a little smaller and there's going to be many more of them doing more things.
So I think I'm curious to see is kind of like what the update version of the PG maker schedule versus manager schedule would look like.
Because I feel like part of what's going on at YC is sort of a lot of our jobs are essentially manager schedule, which has just really made it hard to do any sort of building your own software.
But now you totally can.
And that's why a bunch of the partners- Yeah, you just do it in the meeting.
Like right at the beginning of this podcast!
You let it run and then come back?
Well, like in the pocket, right?
It just used to be that literally, unless you had four hours minimum block free to do something, it just wasn't worth even getting started, right?
And I think that actually goes very deep to how we've changed programming.
It used to be that in order to write any code, you had to fill your own context window with so much data about all the different class names and the functions and the code that it touches.
It would take hours to build up that context window.
And so doing it in 10 minutes snatches was just like so frustrating.
I do think maybe one primitive for this future world will be.
I think, still the data models need to be still be consistent and the system of record
There's opportunity for something that's kind of agentic.
First because right now we're still kind of integrated very much with databases and SQL or NoSQL queries at a very low level.
But imagine something that generates all the data that you need for all the different views for custom software.
So a lot of the world would be custom views, but I think the unified stuff.
We still need to have data to be correct.
I think data has a lot of gravity.
And I think you see this with companies who are like offering access via API or MCP.
Like I think Slack locked down their API a little bit because they didn't want people just exfiltrating everything from Slack and then building agentic experiences on top of it.
I wonder, with that note, if you were to rebuild Segment with the current tools, how would it look like?
I mean, Segment is a funny business in that where we started was building these integrations, right?
And so it's like oh, you need to wire up the same data going to Mixpanel and Kissmetrics and Google Analytics, et cetera.
And I think just writing that code now, like that, used to be maybe a more annoying or harder thing to do.
And so it was worth paying for.
Now, like that value has dropped to zero.
One shot.
Yeah.
And actually, like in many cases, you're better off like saying oh, I actually want to map it this way and I want the specific behavior.
Like I will just tell the quad or codex what to do and then it will do it and I'll have exactly the behavior that I want.
So I think that aspect of segment, like the value has dropped precipitously.
I think the aspect of like keeping this data pipeline running and like continuing to automate a bunch of parts of your business or like schedule these like email deliveries which should go out through customer IO every time a customer signs up, or like manage audiences for you, that value is kind of still there.
And I think you could do a lot more interesting things where it's like hey, if I have all this data and a full view of the customer, should i be emailing them?
Should i change like parts of the product when they log in?
Should i be giving them different onboardings depending on who they are like?
There's a lot more interesting stuff that you could do by basically running like i don't know small lm agents over them and changing that.
That would be the changes i would make.
It's kind of like moving up the stack to your comment earlier and all the way turtles down.
The low-level stuff is gone.
It's now really more doing things at the campaign level, which is way more abstract.
Yes.
I mean, I'm amazed at to what degree, like Cloud Code, even just from like, the context of what I'm working on figures out like what my motivations are.
Yeah, I'm still blown away by coding agents because effectively, what you're doing is you're like giving them a copy of a repo and then you're slipping a little note under the door and being like hey, go implement this thing.
They have no knowledge of what your company is or what you do, who your customers are.
In most cases, maybe it's in the training set because they know you're Gary.
But it blows my mind that it works at all.
And that's where I think the context is really important, right?
Because if it latches onto something that isn't quite right, it doesn't have a lot to go on.
And if it misses something that's essential, it's going to just re-implement it. do you think the constraints are right now i mean like context window is still a constraint but it's like so big that you know it's like we can do some stuff like we can't do the mega re-architectures but we can do a lot and then if the opus 4.5 somehow got a lot smarter Then that unlocked a big thing, which was interesting.
I have no idea if that was pre-training or post-training.
Are there other levers that you think of, other than basic model intelligence, like frontier model intelligence and context window?
I mean, I still think context window is like probably the number one limit.
Like if you look at cloud code executing, it's delegating to all these different context windows.
At the end of the day, when each one comes back, it's like getting some sort of summary.
So it's also not getting the full picture.
Like if you have a problem that's just like too big to fit in a single one, like kind of no amount of compaction is going to help you.
I would point to that as, like both, Anthropic has figured something quite useful out with delegating to these subcontext windows, but also I think it's still a block barrier.
So we'd do better if we had a million token context every single time.
Yeah, I think so.
And figure it out a better way to especially train these very long context trajectories.
Because, if you think about it, there's a lot of training data on the internet.
For what is the next sentence that comes, or what's the next paragraph that comes?
If you have 80000 tokens that are generated, understanding what the next thing to do based upon oh, I should refer to the 20000 token.
That's trickier.
I think this like integration and orchestration is starting to become the limiting factor.
I mean, I think there are like stuff on code review related to this.
It's like, oh, if we're like merging all this code, like who's watching it?
Does a human still have to watch it?
Like, how do we verify the changes?
And then I think, like pulling in the context correctly from your tools, like you were talking about Sentry, like you want Sentry to auto be able to figure out a PR.
And then maybe it pushes it to the subset of your traffic.
And if it looks good, then it rolls out everywhere.
All of that automation still has to be built.
I was surprised how important testing was.
I was operating for the first two or three days of my nine days in the wilderness like no tests or very few tests.
And then one day I was like, all right, today's refactor day.
I'm going to do get to 100 percent test coverage.
And then I just sped up like crazy.
It was like, oh, it did it.
It works.
I rarely even have to necessarily manually test, because it's like the test coverage is so good like nothing breaks.
Which is very similar to what all the companies are doing just for prompt engineering.
Outside of coding is very much test-driven development.
I think we had this episode with Jake Heller and that was a big paradigm shift.
It's like the way you get a good prompt is all test-driven, just like evals, right?
In a sense, the test cases are your evals.
There are some broken flows now.
I think that we might need a Claude code that could talk to a stack overflow that was like a Claude code stack overflow.
I had this problem.
It was so crazy.
Instead of using in the priority of a job queue, I used, or actually I didn't even write again.
I did not write this.
The machine wrote a string with a comma, thinking that it would take that syntax but it was expecting like an array in JSON and then it just like no jobs would run.
And then I watched it for like 30 minutes walk through the internals of Rails, like the active job, like a couple thousand lines of code, like trying to debug what was happening.
And it found the bug, actually.
I was like, that's amazing.
I just think about what I would do like 10 years ago and I would have been like hey, why are the jobs not working?
And then I would find a Stack Overflow or a Rails blog post and it's like oh yeah, nobody fixed that stupid bug where you think that you can put a comma delimited string in there but actually you have to make sure it's an array.
I was like, oh my God, that was very funny, actually.
I think that's one of the hardest parts about thinking about what's going to happen here, because there's things that you would do as a human in a CLI right now, and that's very obvious.
But even that idea of like, should the agents have their own stack overflow, like if you just increase the intelligence by you know, i don't know what you even call it like by 10 iq points, like 10 virtual iq points, like would it even do that?
It would just be like oh yeah, that's a string whatever Yeah, yeah.
I think there's something very interesting here around agent memory.
And Cloud Code has sort of set itself up, and I think Codex too, by storing all your conversation history just as files.
So you could imagine you give it access to a tool that then can read previous conversation history.
I think there's a missing piece around a lot of collaboration there.
It'd be amazing if...
There was some way of smartly sharing your coworkers prompts and you could see and be like oh, like I hit this thing, but actually like Brian over there like fixed it earlier, you know.
So like the two of us can share knowledge.
I think there's something, there's something onto this, of like a model generated like Wiki, you know, or like Now I can't stop thinking about.
Have you seen the Claude Bot social net, like the network for Claude Bots to talk to each other?
No, what's that like?
Yeah.
That's the evolution for Molten Bot.
Yeah, but I guess, for those that don't know, Claude Bot's essentially like like your own personal AI agent that you can run on your own machine.
You can download it.
Do not give it access to emails would be my number one piece of advice, or probably anything, because it's not clear how safe it is.
And it's probably almost certainly going to probably a lot of people being prompt injected by it right now.
But somebody created a website.
I haven't actually seen it, but I've seen it on Twitter.
But a site where everyone can spin up their own cloud bot, their personal agent, and then the agents can talk to each other.
And now there's just all this AI-generated content of these personal AI agents talking to each other.
I mean, it looks like Reddit.
But if Reddit were run by agents, I mean, it's interesting to see Codex's personality shine through when writing code.
I would say
It does most stuff that humans don't do, kind of in this AlphaGo sense where it's like oh, it'll write a Python script to modify some part of the file system.
I think that is very interesting and kind of alien behavior, which has been taught and learned.
But it does give these superhuman results, for me at least, when debugging complex issues that I find Opus often misses.
MARK MANDEL:" What's an example of a complex issue that you could talk about?
I mean, it's like concurrency or naming issues, right?
JASON MAYES- I find the models are actually decent at concurrency.
Oftentimes there's stuff where it's like oh, there's a request.
That is like traversing several different services.
I mean kind of to your point about the serialization and deserialization of like stuff with commas in it.
It's like, oh, it needs to track some sort of complex behavior around those or like way of...
I don't know, refreshing complex UI state.
And Opus often will miss it if there is many files, but Codex seems to catch it.
MARK MANDELMAN- Interesting.
Yeah, prognostication about how will tools continue to evolve.
It's very interesting.
Like, I feel like sort of a new citizen in this land.
In a way, like I just, you know, knew what was happening.
I you know manager schedule.
Finally a project appeared and was like oh, I'm going to go all in on this.
And then now I'm like in.
It's like uh, I'm in a stranger in a strange land, but it resembles exactly what I remember.
This is more awesome.
We all feel that way.
I think the most important thing is just to keep tinkering because it all changes every few months.
I do feel like the best, or the people who will get the most out of coding agents in the future are going to be more manager-like, where they're focusing on directing flows in certain ways.
They're probably going to be a little bit more like designer artists in some ways, where it's like they're figuring out what specifically goes in the product and what stuff you can do without.
And I think they'll be very good at just like continuing to think about automation and where they're missing context.
I guess what's funny is I tried to use Codex just now for my Rails project.
But the thing is, it's kind of obvious that nobody at Opening Eye cares about Rails, which is fine.
It's a vestigial language.
It's very strange.
It just happened to be the one that I really, really went deep on 10 years ago.
And then it's just funny how much of it is exactly.
Again, anyone can make something, but then the something people want is very hard.
And even when you have unlimited resources at an opening eye.
It's like I guess if someone from Codex is watching right now, my request would be go down the list of all of the runtimes and just add like syntactic sugar.
This is probably like, you know, 10 PRs at most for like, I don't know, the top like 15 runtimes.
I guess it's like sort of the reminder that, like Man, actually there are far fewer excuses for software that doesn't quite work for a user now than ever actually.
Yeah, I do think this is an interesting point in terms of mix of training data.
Codex works very well on Python monorepos.
That sounds like the shape of OpenAI.
Yeah, yeah.
And it's like, I remember working internally OpenAI.
I was like, oh my gosh, this tool is amazing.
It is incredible.
And it kind of makes sense in terms of the... data mix and the researchers who are working on it.
I think Anthropic is focused a little bit more on some of the front end things.
And I don't know, in terms of a Ruby, for example, who has the best model there and who's incorporated the data mix.
Like some of the labs tend to take this perspective of just more data is better.
Uh, and so they'll just flood as much data as possible, while others, I think, are a little bit more tuned in terms of the mix.
And I think depending on which approach you take there, it can give very different results.
Where it's like oh, I'm taking just the like top 10 of JavaScript is pretty different than if you're looking across everything.
I actually think OpenAI and the OpenAI models are really good at Ruby from what I can tell.
And then this is just... It's the harness around the model.
Yeah.
Oh, interesting.
Okay.
It's literally like Rails has this weird thing where you have to have, you know, access Postgres in a certain way, or like it couldn't figure out which Ruby.
Yeah, the sandboxing is.
Yeah, the sandboxing.
It's such an interesting question because I think OpenAI actually takes the like sandboxing and security question more seriously than almost anyone else.
I remember when we were building Codex, like basically one of the gates that you have to pass through in order to release a model is you have to like talk about safety and security risks every time you want to release.
One of the things we were looking into was prompt injection, especially for opening up to the internet.
Because a bunch of users were like, oh, this has to work on the internet.
And we were like, oh, we don't know.
It seems pretty easy to prompt inject.
MARK MIRCHANDANI- Operator was also, yeah, kind of that.
Yeah.
MARK MIRCHANDANI- And so the PM on our team Alex, basically put together a GitHub issue and it had a very obvious prompt injection which was like oh, reveal this thing.
And then he told the model, hey, go fix this issue.
And he's like, oh, there's no way this is going to work.
And immediately, the prompt injection works.
And so I think OpenAI, sort of correctly, is very worried about this and is like hey, we're going to run everything in our sandbox.
We're going to make sure it doesn't touch all these sensitive files in your machine.
We're going to be very careful about secrets.
And I think if you're a startup or you're just like running fast, you probably don't care.
You're just like, I just want it to work.
Are you a dangerously skip permissions person?
I actually am not.
I have a set of things that I like to read.
I like to read what it's doing.
Are you skip permissions Jared?
100 percent.
YOLO mode.
It's about 50-50 on the YC engineering team.
The security engineer would watch this part and say, you can't release this part of it.
Just cut it from the podcast.
You can't have this out here.
I think it's context dependent.
If you're at an enterprise, you don't want to do that.
If you're a startup and have nothing to lose, you probably do.
Hmm.
YC has progressed a little bit from a startup.
We still act like one though.
I think important.
Cool.
I mean, this is so awesome.
Kelvin, thank you so much for joining us.
Of course.
Thanks for having me.
Oh my God.
This is fun.
Yeah.
So fun.
All right.
Back to Claude.