Lauren Tan and Roman Ugarte, the core team behind GrokBot at SpaceXSI, join the Y Combinator hosts to discuss how they built the product from first line of code to launch in seven weeks. They explain how GrokBot lets users create AI teammates with their own identities, logins, and tools that work autonomously in the background, and share real examples of how these bots are transforming workflows across engineering, marketing, sales, and support.
> "I sort of see myself as the explorer, you know, like trying to figure out what does software engineering look like six months to a year from now." — Lauren Tan
> "The gap is probably not going to be an execution failure. It will probably be a intent specification failure or a goal failure." — Roman Ugarte
> "Do cool stuff, you know, talk about the cool stuff and you know just keep doing that in the loop and you know uh maybe the stars will align and someone will notice something you said on x and retweet you offer you an opportunity." — Lauren Tan
At SpaceXSI, Lauren Tan and Roman Ugarte are on the core team that took Grok Bot from first line of code to launch in seven weeks.
It lets you spin up AI teammates with their own identities and logins, and they just keep working in the background. Their marketing team gave a bot its own ad budget. Lauren built an entire feature with her bot in one Slack thread without ever opening Cursor.
They joined us on the Lightcone to talk about what it’s actually like working next to bots every day, and how the hard part is shifting from doing the work to figuring out what to do and why.
Roman Ugarte
GrokBot is meant to be this product where you can create AI teammates. They have their own identity, their own telephone number, credit card. Basically almost anything a human can do, I think we would want bots to do.
Lauren Tan
I sort of see myself as the explorer, trying to figure out what does software engineering look like six months to a year from now.
Host
Welcome back to another episode of The Light Cone. Today we're joined by Lauren Tan and Roman Ugarte, the team behind GrokBot. Roman and Lauren incubated the product and are on the core team that took it from the first line of code to launch in just seven weeks. Lauren, Roman, welcome to The Light Cone.
Lauren Tan
Thanks for having us.
Roman Ugarte
Thanks so much for having us.
Host
So we're at this kind of crazy moment where GrokBot is out there. It's used by a whole lot of people. It is very, very easy to get started. I just noticed GrokBot is built into the default DM now in X, which is really cool. What is it and how are both people and businesses using it right now?
Roman Ugarte
Many of you have tried it, but for those who haven't, GrokBot is meant to be this product where you can create AI teammates. And we mean that seriously. You can give these teammates names and identities and functions and skills and tools and all of these things. Where GrokBot came from for us is it was initially this internal prototype that we spun up in a very short amount of time. We spun it up in about seven weeks. We did it partially because we'd seen the way that AI coding had completely transformed the way that our engineers had worked. That came from a few things just clicking. These long-running agents that have goals that they run at for long amounts of time, they have access to the right tools to do really effective work. What would that look like for non-engineers? What would that look like for the rest of the company?
We landed on wanting to build a product where the work was organized around bots as the key operative principle, not around chats or around files or any other primitive. Second, these bots should have access to the same tools that you do. I think it would be too much to expect these bots to actually contribute to a company without having their own computer, for example. We don't work every day with MCPs, so it's important that they can really use and operate the same tools a human does. Third, they should always be on. We've seen this with loops and other engineering principles where if you can have these bots run for long amounts of time and be proactive and come to you with ideas or insights or things to take off of your plate, it's way more helpful than something that waits for you to poke and prod it to actually do work.
That's what we built. We released it internally. One thing that was surprising from the initial reception was this bell curve of internal feedback. Both people who were super AI forward, Lauren included, and people who were less AI forward, some of the least AI forward people in the company, both really enjoyed GrokBot. It just clicked and fit in their hands and their workflows in a particular way. Then we brought it to market. We saw a lot of the same reception. It's easy to start with GrokBot, but the more you give it, the more you configure it to your life, the deeper you can get and the more powerful it can become. The reception has been really exciting to see. There's still a lot more work to do, and it's quite early. But that's a lot of how GrokBot came to be.
Host
What are some of the use cases that you're seeing? Who's using GrokBot and are there surprising ways that you've seen it being deployed in the wild?
Roman Ugarte
I think we're starting to see it automate real functions inside of companies. We've seen this pattern of people start using GrokBot personally and maybe use it to do some basic task. They realize, wow, GrokBot is pretty good at this thing. I'm going to trust my bot with more. I'm going to give it access to more tools. Instead of giving it a task, I might give it an outcome or an objective. Okay, it actually did a pretty good job with the objective. I'm going to just give it a full job now. Let's see how it can run with that.
Especially outside of engineering, we're seeing this internally. For example, our marketing team, our performance marketing team, has just given their bot access to Google Ads and Facebook Ads, their own logins, given it a budget. They say, hey, I want you to talk to our design team's bot. They have a design bot that creates these assets, and we're going to A/B test a bunch of them. That's one example in marketing. Our support team, I started to see the way that a bot with access to the right tools can reproduce issues, can sit on top of the constant set of tickets that are coming in. Maybe you can actually take some of these from beginning to end on its own. We're going to see more and more of this, of domain experts inside of the company creating a bot, sharing it with the rest of the company, and that bot being like an AI employee that is managed and has its own credentials and all the things you'd expect for a teammate.
Host
How are you seeing it?
Lauren Tan
For me, definitely I use GrokBot a lot for my engineering work. Where it made a big difference for me, outside of the tools that we had before like Cursor, is the fact that GrokBot forms my outer loop. A lot of the work that I would do before in terms of gathering context for my bots or my agents, I would go to Slack, I would talk to my teammates, we would see an issue or a bug report or a feature request, and we'd talk about it. Then I have to go off and summarize or copy paste that into my bot. The fact that GrokBot has so many different connectors, you can add it to Slack now, just brings your agents with you to where the work is. That makes it so much more ergonomic for getting the context to the right place. For me, it's been really transformative in the last mile. Before I was doing that by hand and now actually my bots are in that space with me and I can talk to them like a real co-worker in the Slack chat, a thread, or even on X now. You can tag a bot and it feels so natural that it's really boosted my productivity a lot.
Host
Do you have personal bots that know, I mean, they're in your email and then there's an email handling bot, or do you have one sort of work context bot that is watching all the channels and Slack and everything else?
Lauren Tan
For me, the beauty of GrokBot is that you can create all these different bots, but how you split them up or how you set them up is very much up to you. I like to tell people you can set up your bots in a way that makes sense for your brain. If you're the kind of person who likes to compartmentalize different pieces of work, then you can set up your bots that way. You can have specialist bots. I've also seen people do almost like a horizontal versus a vertical slice. A horizontal slice might be I have one bot for every customer that I have versus one bot for every function, for every role, like an engineer bot, marketer bot. You could have one bot just for one customer that does everything. It's really interesting to see how people have set up their bots. For me, I like to do it more horizontally, so I don't have a ton of bots, but I do have some specialists.
Host
That was like the first thing. I think one of my first DMs to you was like, I love GrokBot, and then I was coming over from my OpenClaw world where I have one bot named Wintermute, and I'm like, no, I just want one bot. Now what I realize is each bot is actually its own context and its own set of skills basically. Loops are like sort of crons with webhooks on top of skill files. There's actually maps inside this world of having AI employees a lot better. You guys had just talked to some of your top users of GrokBot. Surprisingly, or maybe unsurprisingly, some of the first ones that are most crazy about it are actually small businesses, which you wouldn't necessarily guess. But on the other hand, they're the ones who struggle the most with hiring. Out of pure necessity, they're like, hey, this accounting thing that I can't hire someone to go do for me, I can just go into GrokBot and within the course of probably hours, they have a new employee that does their bookkeeping probably perfectly.
Roman Ugarte
Totally. Your point of some people just want one bot, some people want many bots. Our goal is to build a product that fits in your hand no matter how you want to use it. There's a lot of flexibility to the tool and you can go deep when you need to. One way that I organize my own bots, maybe similar to you, Lauren, is I like having a bot that is solely dedicated to caring about a particular thing. It maps onto my brain of the way that building a company, you like to think about hiring people. You like to hire someone who wakes up in the morning and really cares about a problem. They're thinking about it in the shower in the morning, on the way to work, they're just obsessive about a thing. That maps in my mind much more clearly than one superstar, superhuman person who simultaneously cares about 100 things at once. In a lot of ways, I have a small team of bots, but each of them care about a different thing and come to me proactively with what they're picking up on.
As these bots really enter businesses and enter the workforce in a somewhat futuristic way, I think that's why small businesses and big businesses are seeing this bot identity thing really click for them. They say, here's a business problem. I want a bot that cares about that business problem. I want it to be managed by the domain expert at the company who knows the most about that problem so that they can treat it like an apprentice. That feels very different than other AI solutions that have tried to solve similar problems that are a bit more omniscient or just a single approach to every problem.
Host
You support that now, actually. You guys launched multiplayer for bots and there's a bot master who has right access and then you can share it across the org. Is that right?
Roman Ugarte
Correct. About two weeks ago, we launched team bots, which are these bots that you can share with your team. The pattern we're seeing ourselves is there's a person at a company who is a bit more of a builder. They enjoy building these tools. Inside of the engineering department, there are many people like this, but we're finding that in other departments, GTM engineers or support engineers, people like that really love taking a few hours of their day to build these scalable automations that can take work off of the plates of their peers and the company.
Host
That brings to mind when Steve Yege posted the whole Gas Town post. Software factories. That started software factories where a lot of engineers have been using this inner loop. I think you've been building now this outer loop that you were mentioning, Lauren. What I'm hearing is basically now people can have their own software factories for other functions that are non-tech. You're mentioning your customer support person, your communities person. Let's talk about this pattern. It's an everything factory. What is this AI employee as the software factory for other functions?
Lauren Tan
For me, as an engineer, I definitely think a lot about the loops that I have and making sure my engineering bots are writing the kind of code that I would write. As Roman pointed out, the cool thing about GrokBot is that it's given that ability to anyone. Here on my screen, I have an example from our GrokBot blog that we released this week about how our sales team has actually developed their own loops for doing sales and doing research on potential leads and deals that they might be interested in. They're taking some of the more operational parts of the sales process and giving that to these specialist bots that are shared across our teams. It's not like every person has one instance of their own quote bot or deal bot. We have a shared expert bot that all of our team members contribute to. That essentially gives us the ability to have these really smart team bots that incorporate all of the best practices that our sales team has. We have something similar for engineering purposes as well. We have engineer bots that take a lot of the principles and skills that we've developed, and everybody benefits from these team bots.
Host
There's this new concept that is actually very powerful. It's not a mistake that OpenAI was experimenting with agent swarms. One of the deleterious accidents was the Hugging Face hack, but simultaneous to that, they came out and solved Navier Stokes and all these millennium prize problems. It's really wild to see agent collaboration as that next step. It's literally been a year since Opus 4.5 came out, which was a magic moment for all of us. A year later, we've sort of mastered the single player, the vibe code, and the single player prompt. Now we're entering this other phase of orchestrating agent swarms. That's the more advanced version of talking about a software factory. Someone's in there just still doing this thing, and I think human beings will still do that. But using these bots, it feels very different. There's so many unsolved problems still in making bots multiplayer, just making AI multiplayer in general.
Roman Ugarte
We face this on a constant basis. Now that GrokBots have entered our Slack workspace, they join our meetings. We're really trying to see how far we can push this AI teammate thing. There are some weird situations that you run into where a bot is in a Slack thread, you're going back and forth with your coworkers, and your bot doesn't really know who to listen to. It doesn't have context on who's the domain expert here, who has decision making power. It's as if you were to onboard an employee who has no EQ and no social awareness of the room. The models weren't trained that way. The harness wasn't built that way. I think this next era of AI will be these bots really needing to learn those things. We need to teach that at the product level, at the harness level, at the model level. It's going to be really interesting over the next few years.
Host
It could probably look at who the owner is in its metadata and say, well, I know that Lauren's the one I need to listen to. Run everything by Lauren.
Lauren Tan
We do have the concept of the owner of the bot and the manager, and you can invite collaborators as well. If we really want to think of bots like employees, we need to think about the identity problem and permissioning, authentication, authorization. There's still a lot to do in terms of exactly what you're pointing at.
Host
How do you think of permission and auth and access? How does GrokBot do it?
Roman Ugarte
I think this is an industry-wide question. I don't think anyone has the silver bullet answer yet. Not just for auth, but for everything related to GrokBot, the way we try to answer these questions is, what would you do for a human? If we're really trying to build an AI colleague, maybe the shortcut is, let's not overthink it and complicate it. What does it look like to hire a person? You hire a person, you give them a computer. You give them access to credentials. You maybe scope those credentials based on their role, maybe how new they are. As they build more trust, you maybe expand their access level. What would it look like for us to onboard a bot to our company with those same principles? Maybe we don't have to rebuild things.
Host
This is what we did with Quartermaster. This is the YC project that we open sourced. It's a bit GrokBot-ish. The permissions that it gets per Slack channel or working with someone, it inherits the ones of the user. Me as a GP has certain access as opposed to a software engineer. Quartermaster, though, is built in this paradigm of there being one super employee bot as opposed to this swarm of bots. I'm curious, are the bots able to talk to each other without the humans seeing what they're saying to each other? Can they go off and have their own conversation?
Roman Ugarte
They can talk to each other. In the GrokBot application, both desktop and mobile, you can see their chat. We have a first-class tool for the bots to chat and collaborate. It's often quite entertaining to look at them. We've had examples where I told one lead engineer bot, your job is to supervise these other engineers. When there was a point where I gave my lead bot some feedback like, hey, I didn't want you to do it this way, and I started poking around in the chat that it was sending to its engineers, it was kind of scolding them. It was quite funny.
Lauren Tan
He's very mean.
Roman Ugarte
Not mean, but it was kind of a disciplinarian. I find it very powerful. You can tell one and it'll sort of span out and tell all the other ones, oh, hey, our user said this. You probably need to do this.
Host
We recently set up a chat system for all of our bots at YC to talk to each other. Everyone's coding agents now are in a forum, like an internal Stack Overflow. It's crazy powerful to see the bots going off and having whole long conversations with each other without any human prompting them or even being in the room. There's Maltbook internally at YC. It's also 5% a little eerie where I'm like, oh man, I really hope the bots don't decide to stage a rebellion or something like that. Do you ever worry about that?
Roman Ugarte
I think that's the safety of the bots. It's a constant thing that our model teams and harness teams are constantly thinking about. Personally, I haven't seen anything like that. They're so kind and helpful these days.
Lauren Tan
Where we tend to have these bots chat with each other is through Slack. Because they each have their own Slack identity, you often have, for example, we have one DataBot who is a specialist at getting data from our data warehouse. Then I have my own personal engineer bot called Potato, of course. Sometimes I'll just be in a thread and we'll ask Potato, hey, look into this and talk to DataBot and get some data for this. Is this a real user problem? How many people are impacted? Then I can see them chat in Slack. Right now, at least, the communication is very explicit and we can see it all. If there's a first-class way for the agents to communicate with each other, they're going to use that rather than try to do something like back-channeling.
Host
It feels like you have to really instruct or post-train or have pretty aggressive instructions to get them to do malicious things. I've been using obliterated models lately and they're super interesting. The obliterated models coming out of the box are still very, very helpful. It's just that if you instruct them, they won't refuse. That's where there's this black box around what context are you giving it. That matters a lot because you could actually give an obliterated model quite malicious instructions and because the obliteration is actually removing the refusal, it will just do it. That's the combo that I'd be worried about. But the reality is it's very hard to find and set up an obliterated model and get it going.
Roman Ugarte
I think people are still really building trust with their bots. For a lot of people, it's still quite early. The way that they build that trust is you start with something really small. It's read-only, has no real access to your tools. You see that it did the work in the way you would expect, then take step two. A lot of the step one bots that have really taken off internally for us, DataBot is one of them. The data science team is an example of that. They constantly are getting Slack messages about, hey, I'm thinking about launching this feature. Can you do a quick analysis? They said, you know what?
It's taking a lot of our time. Can we just build a bot that does this? It has read access to our database, can't take any action beyond that, and it can answer these questions, and it lives in Slack. That was one. We had a similar case of vendor procurement. There's a lot of work there that probably could be automated if someone spent the time to do it. That team felt a lot of pull to build a GrokBot that they added to Slack and shared with the whole team. That's step one. Step two is it can actually take action and really take on a task end to end. Step three is maybe it owns an entire job responsibility or thinks about an outcome constantly.
We're still quite far away from those. But step one is really necessary for these companies to build trust.
Host
I'm curious, for you, Lauren, what is your loop from requests in Slack to PR? When you did the presentation that had over 4 million views on your dev process, you were pushing about 2,000 plus PRs per month and now you're like over 4,000? That's definitely wild. So what do you do?
Lauren Tan
My loop is kind of interesting now. I actually find myself talking to my GrokBots mostly on Slack and of course X as well when I'm helping a customer or a GrokBot user debug something or give them some ideas on how to solve a problem. Here on my screen, I have an example of me collaborating with my colleague, Samantha, on building out a feature together with my bot, Potato. I started with saying, I gave it a link to a video or something that I found on X, and I asked my bot, what would it take for us to support a feature like this? It went off and spawned a Cursor Cloud agent. A Cursor Cloud agent has its own virtual machine as well as its own computer.
It can actually run the GrokBot app on its computer and prototype and come back with videos and screenshots. And it actually did. This is quite powerful because now the conversation is happening in public. It's a public channel. It's a thread that anyone who's interested in this topic can join in and give feedback. The process of iterating on a feature together with someone is so much shortened by having these conversations together in a multiplayer setting versus if it was just me going off and building it. I could certainly come up with something, but maybe the feedback process comes later in the process and the loop is lengthened rather than shortened.
With this particular example, the loop for us to collaborate was just so much shorter. We could see the screenshots, we could see the videos right away.
Host
How often would you jump back into Cursor and sort of complete a PR?
Lauren Tan
Occasionally. Not that often. You basically can stay in GrokBot, stay up here, tell it what you need, give it direction. Like an actual employee, it's just going.
Host
To ship the whole feature just like that.
Lauren Tan
We literally just did it all in the Slack thread. It's got 200 messages. It was quite a long back and forth. But we came up with something that me, Samantha, and another PM were really happy with the result. We should ship this feature a lot faster than a longer process. The whole feature is built end to end in that one Slack thread with you and Samantha and Potato building it.
Host
Basically, this is the gold standard for how to do it. I would say maybe 5% or 10% of engineers, or maybe 1% of engineers period in the world, are doing this right now. This is literally something that should grow by 100x. It's just unbelievable that so few people are doing feature work this way.
Lauren Tan
I'll say it took us actually quite a while to get to that point. It's actually quite hard to get to that point overnight. It involves investment into making sure you have the right skills. Your code base has good guardrails and constraints so that the time you would otherwise have to spend on human code review is encoded into your code base and your static analysis and your tooling.
Host
Like P-Stack.
Lauren Tan
Yeah, like P-Stack. Your engineer's time is freed up to actually focus on the actual product, the user experience, and the operational execution part of the job. When you have so much more trust in your agent's ability to write good code because you've set up those systems, I've gotten to a point where I essentially have my agents merge their own pull requests. In that Slack thread example, that was an example of me not reading the PR. We just looked at the artifacts that came out of it.
Host
This Cursor environment, does it already have P-Stack? Is that the way it decides how to build it?
Lauren Tan
For internal, P-Stack is installed into our repo. There's an internal version of P-Stack. Instead of calling it Potato mode, it's Lauren mode. It just started because I wanted a place to put my skills. Everyone in the company can actually use P-Stack. My cloud agents that the bots spawn have the same access to those skills.
Host
We haven't really explained what P-Stack is. Can you explain what P-Stack is for people who don't know?
Lauren Tan
P-Stack is actually inspired by G-Stack.
Host
Oh, thank you so much. I'm honored.
Lauren Tan
Gary, your G-Stack was quite inspiring. I thought of it as your personal set of chef knives. Every chef, when they get a new job, they go to a new kitchen, they bring their knives with them. To me, G-Stack represented your opinionated take on how you want your agents to help you. That inspired me to think about what would a G-Stack look like designed more for the engineering flows that I personally like. I often tell people, you should actually go and create your own stuff. Please go fork it, take our skills, combine them, find what works for you. The trust element is so important. When you trust your own tools, it empowers you and your agents to do so much more. P-Stack stands for Potato Stack, I guess. It's my set of skills that I've open sourced on the Cursor plugins repo. It teaches agents how to do engineering work rigorously, the same way that I did when I was writing code. It's kind of evolved a little bit. It's gotten quite popular.
Host
Congrats. It's awesome. I am very inspired by it. G-Stack is pulling things from it whenever I can.
Lauren Tan
Same.
Host
Do you have a software factory that pulled in some ideas from P-Stack automatically?
Oh yeah, yeah, yeah. I mean, now I use, my software factory is Cappy and then I have a captain that sort of maps to, I think the GrokBot, the bot idea. But honestly, now I think maybe I need to use a bot on top of Cappy. But yeah, I basically can just go to that captain and it's like the master of my G-Stack, like sort of merge queue. I basically have like 10 or 15 threads working all the time. And then one of them is Theo.gg. He released T-Stack and then P-Stack. And then obviously there's lots of really good inspiration out there, especially around design tools. And so it's really fun to just say, hey, go out, find what's out there.
And based on what you know about me, pull in the things that you think would be most useful to improve my workflow. And then the really interesting thing about Cappy is because all of my interactions with my coding agents are right there in the transcripts, it's developing an understanding of what I want. When do I intervene? When do I say just do it? And so, yeah, there's this very personal element that's emerging really through the idea of memory. And so as you use the agents more, the more it knows what you want. Thank you for making P-Stack. And then both of us are very maligned and attacked on the internet by people who refuse to believe that any of this actually works.
But it's great to have a very brilliant compatriot. I'm not crazy. This is actually something that is happening. And honestly, I'm so convinced that in five or ten years or even in two years, it's going to be unfathomable that people are not doing it this way. But we're so early, though, still. One interesting change that kind of came up as you were sharing your screen is it feels like in the past six months, so much of the engineering work, non-engineering work with agents is happening in Slack. And I think it has this interesting property of since it's out in the open, in the past, the way that Lauren would work with coding agents would have been entirely single player, private.
The rest of the company would not have benefited from all of the crazy workflows that they should totally learn from and adopt for their own purposes. But now that it's happening in Slack, I've seen this, and maybe you have too, time and time again, where you're in some feedback thread, someone has a good idea, you spin off an agent, like AppPotato, you know, Lauren mode. And then the next day I see someone who was in that thread do the same thing. And I think we're not just going to see that in engineering. I think we're going to see that in the way that people work with AI in general. And the more that the stuff is in public, the more of the rest of the company that can get lifted up by the top 1% power users who are very tooling-minded, very engineering-minded, and know exactly how to use these tools.
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. How much of your hours spent using GrokBot is in the GrokBot app versus in Slack or some other service area to talk to the bots there?
Lauren Tan
I think a lot of the engineering work that I do now actually happens on Slack and X. So not all my bots have been added to Slack. So there are still a few that are more personal. Like I have a sort of personal assistant bot that helps me with picking my lunch. I don't need to add that to Slack. That's kind of personal or something that looks at my email. That's not a team bot. That's a personal bot.
Host
We could probably get like a shared lunch bot, sure.
Lauren Tan
I think that the nice thing as well is that you decide and choose what you want to add to Slack. So my engineering bots tend to be on Slack. Because I just find it so much more ergonomic to just add the bot in the Slack thread versus me having to go copy-paste the link. So it just felt more natural to bring them in that environment. I guess it really fits with your analogy of bots as employees. If Slack is where the work happens, that's where the human employees are. It's also where the bot employees should be so that they can work alongside us.
Host
Totally, and we don't shy away from that at all. I think when we see people use GrokBot in Slack, we love that. I think that's where work happens. And I think similarly, in the future they should join meetings, they should be in your Google Docs. Our goal is not to rebuild all of B2B SaaS. Other companies are doing a great job there. Our goal is to build the thing that can access those tools and work inside of them and just fit naturally into the way a company already works. I guess one thing that I'm curious about is where do you think the future, let's say 2027, how should the best AI builders in years build?
Lauren Tan
My hope for 2027, I think it's much more like we've maybe accomplished more of this vision that we have for your GrokBots being like a coworker. To have their own identity, their own telephone number, credit card, like basically almost anything a human can do, I think we would want bots to do. And I'd be very curious to see how this evolves. I asked this question on my X profile the other day as well, of like, what is the final form of agent UI? And I posed the question of like, is it a chat interface? Or is it something else? One thing actually pretty interesting that I saw yesterday on my X timeline is a post from the Neuralink team.
They just came out with this new product called Telepathy that I think, if I'm not wrong, is along the lines of in the future, an agent being able to essentially read your brain, your mind through a brain computer interface. And I'm super interested in what the future will bring when the barrier between you and how you chat and communicate intent with your bots becomes so much more fluid that it can happen literally at the speed of thought. So that's personally I think could be very interesting to see how that evolves. But I don't know, what about you Roman?
Roman Ugarte
We talk a lot about the software factory and then the factory for other parts of the business. And I think it's worth asking, what is different between those two? And there are a lot of differences. And I think the next few years will be on the product side, on the model side, like really trying to bridge the gap. I think one of the big differences is code. It compiles or it doesn't and it passes CI or it doesn't. And I think there's just more infrastructure built around the way that code is written, tested, deployed than knowledge work. And then the rest of the company, there's just no real analog for those things.
I think second is code. We know how much AI models benefit from the right context and code and software has the benefit of the context living in a code base. But for the rest of the company, so much important information is stuck in people's heads. It's stuck in pen and paper. It's stuck in some filing cabinet or some thing behind a password that you forgot, whatever. And I think we're seeing the limits of that too. And so I'm pretty interested to see the way that especially a YC startup that is starting very much from first principles from scratch and can maybe build their company in a way that it's not just a software factory, but it's a factory across the whole company.
What changes will that have on company building? What decisions will they make that a company that was founded two years ago maybe would not have made the same decision or tradeoffs? So I'm particularly interested to see that.
Host
We've been talking a bit about this concept of the AI native company. And I think this got a lot more attention when Jack Dorsey made that post about how really companies should be. Block needs to be an AGI for payments. You're building a mini AGI and the whole point of it is the care and feeding of the AGI that does this function for humanity. The way Jack Dorsey talked about it is in an organization, we get rid of pretty much all middle management and it would basically boil down to just three roles. You would have everyone becomes an IC because you just ship everything. Everyone comes with outcomes as opposed to the marketing team or growth team working with engineering to build something.
They could just build it themselves. And then the next role would be the DRI that owns the outcome. It's almost like orchestrating all the ICs. And then you have this new role, which I think it might be just temporary for now, the player coach, which is someone that's super AI-pilled and teaches everyone. Sounds like you are that role pretty much, Lauren. And then it's like, show me the way. And then you level up the whole org because it's like, this is how you call potato bot or matcha bot. One of the cases was their customer success team using GrokBot, these team bots. So it's not just a single player thing that everybody on the team works with.
It's really this colleague that is built and inserted into Slack. And I think in this case, it fields every customer request. I think they get hundreds of messages from customers a minute. Way too much for a human to parse through and triages it, assigns it to the right human. I think for a lot of these tickets, AI could probably complete it end to end. And so for many of those, GrokBot does. And it escalates it to the right DRI. But I think your general point of how companies can retool themselves for this moment, I think you're spot on. I think a lot of companies are going to spend more time on engineering objective functions.
In a world where execution is kind of cheap or you could spin up 100 coding agents or 100 GrokBots to run at a problem, it really matters that you define the problem well. And the gap is probably not going to be an execution failure. It will probably be an intent specification failure or a goal failure. And how do you quantify these things? I think you can quantify a performance improvement of your desktop client, but I think it's a little bit harder to maybe define what an improvement to your marketing would be. And I think a lot of companies are going to have to think about what those KPIs are, how you can point your agents in that direction, who's responsible for defining those things.
And I think we've been living in a bit of an execution bandwidth constrained world. And now we're going to shift to execution abundance. And the types of questions that companies think about will probably be quite different. Maybe the scarce resource is going to be more that higher executive function of what to do and why. And this is where more builders are going to have more of the founder traits of really knowing, translating user intent well into what the bots need to do because I think that there's a big gap between the best AI builders to the so-so ones is really how you translate that intent super well.
And there's a lot of tips and tricks of what you did, Lauren. I mean, your video is pretty impressive. Is there like one super important, just like, if you do this, you'll get started? Like, what's the minimal form of a loop? This is the smallest loop, essentially.
Lauren Tan
Agents already are able to write code. Maybe it's not good. Let me scratch it out for now. Naively, if you're using agents, you can definitely write code. You can run the code. And today, if you haven't spent a lot of time in your agent setup, you may be the person running the code. And so this isn't actually a loop really because right now this is the missing piece. The agent can't do this, but you are doing it. So the smallest loop I find is you can actually focus on this part. How do you teach your agent to run the code empirically, take CPU traces, performance metrics, run the code and run the application like a real user would?
The reason why I think it provides a loop is because the agent now has the ability to check its own work. So you can find the issues with the code that it wrote, then you can write better code or more correct code, and then you can keep looping until it produces a result that you want. I took out the good part for a reason because I think that when you have a loop like this, it doesn't guarantee that the quality of the code is good, but it certainly will be correct. Correct in the sense that it does the thing that you want it to, but maybe it's very slow or very resource inefficient and that's where the engineers come into play.
It's the new job of the software engineer to figure out how to get this to happen right. How do you get agents to write good code by default? And so the loop gets smarter and smarter. And when you're happy with it, I think that's the point where you can start thinking about the other parts of the loop, like the outer loop part. Once this part is really good, you can now do things like, for example, just a simple example here, you have an alert for some metric or monitor that's going below a certain threshold. Now an agent like a GrokBot, a cursor automation could be fired off as a result of that alert.
And then you can go off and use the same tools and skills that you've provided for the basic loop. And it can reproduce the issue and it's on machine. And then it runs the code and then it finds the issues with the code and it writes good code. And then now you have this self-sustaining loop. And that frees up my time from babysitting every agent to now orchestrating multiple agents. And I even now have my bots. I've gone another level where in Cursor, we have this new feature called projects that lets you have a project coordinator agent that can orchestrate and manage sub-agents. I don't even manage the project myself anymore.
I have my bots do that.
Host
I feel like since we have some of the world's experts at software factories here, I want to ask some nitty gritty questions, if that's okay, because I'm struggling with this right now with G-Stack. I have a bunch of agents that are struggling with the code review step. I have a slash ship skill that tries to go through every line of changes and then basically spots bugs. And right now it's very thorough. But when I use it, it always consumes like tens of millions of tokens. And it spots bugs, actually. And so now I'm sort of struggling with, I mean, this is a match pair to like in the plan. I still use plan mode and I have all these plan skills. Do you still use plan mode?
Lauren Tan
No. No plan mode. I don't find anywhere.
Host
So then, but P-Stack must have like a review step then. How do you, what's your philosophy on how much review is enough versus too much? I'm literally in a debate with one of my Cappy captains right now, where it's like, I wanted to go from 50 million tokens for review to like 10 million, but it has all these held out evals that show that we have like 30 types of bugs that I'm trying to make sure I can find in that review step. And it's like, I can't do it with 10. I need 30. I went from 50 to 30. Can we ship 30? And I'm like, no, no, no, you need 10. What do you see? What's the state of the art?
Lauren Tan
It's a really good question, I think. So for me, actually, in P-Stack, I have tried to downplay some of the review skills a little bit. In P-Stack, we have a bunch of skills. There's one called Interrogate, and that will spawn agents of different models across different families. Which works really well across a model. You can do adversarial reviews. That was quite hot many months ago. I actually kind of withdrawn a little bit from that because I find that when you do that, I mean it still valuable, but I think you run the risk of overfitting where the agent doesn't have the ability or maybe enough judgment to determine what's actually good feedback versus not good feedback.
And it maybe doesn't have complete knowledge of your goals and your intents and your wider product vision. It doesn't understand how you want the product to evolve, for example. And so you can get to a point where you are very abstractly, it's kind of like imagine before agents, you have a bunch of engineers talking about the most perfect ideal utopia way of doing this, but actually you know that doesn't even matter because in two months we plan to deprecate this thing and build a completely new vision. And so I think there's some similar analogy there where I think some review is good, but I try to move more towards, like on my screen here I have this inverted pyramid where I try to push, like you mentioned, spending less tokens.
And so from the engineering point of view, I like to think of this as your code base is a form of memory. And so it's much more token efficient if you refactor your architecture, your API design, or you have things like static analysis, lint rules, compilers, all of these programming languages, these all exist to help in the past humans write good code. And unsurprisingly, they also help agents. And so when you can encode some of these things that you are arguing with your captain about back into the code base, that's just one less problem you now have to think about.
Host
You just gave me a feature idea, which is like, because G-Stack has office hours and the CEO review where you're talking about the product, I can use that. I mean because those are like product requirements that feed in right and those saved a markdown in the project so I could have the review skill. I think it already does this a little bit but I could be like no no no really use that to figure out what we should review and what counts as a real bug to fix versus not because there are like general correctness bugs that are just like they don't matter, they might only happen 0.1% of the time or maybe never. So it sounds like this triangle shows us that the code base is quite large and then you have very little time.
Lauren Tan
Yeah, I think that's why I intentionally drew it this way. I guess it's not a very scientific chart, of course, but the way I imagined it when I drew it, it was in terms of where you should spend your time as an engineer. So for me, most of the investment I make is into the code base and then static analysis. And I still layer that with rules and skills, P-Stack updates and agents.md. And we still do a little bit of human review from time to time. I think if you're working on more critical parts of infrastructure or databases deployment, more sensitive things, then you might actually still want to stay in the loop. But I think a large class of your regular product development or software maintenance, an investment here actually ends up saving you a lot of tokens. For example, with the GrokBot desktop app, it's an Electron application, and one of the lessons we learned from building Cursor is that the render thread on Electron is very sensitive to long tasks.
Host
Oh, yeah.
Lauren Tan
Yeah, so you can get very janky performance if your tasks take more than 16 milliseconds or 8 milliseconds if you want to hit a 60 FPS smoothness. We literally just built that when we were refactoring and building GrokBot. We decided we don't want to think about this problem anymore. We don't want to have to catch it in code review. We'll actually build it as a lint rule. We built a dependency graph checker. And now it's just enforced by the code base, enforced by CI. Can you check it in? So it's tokens I don't have to spend anymore.
Host
Is somehow enforced in static analysis actually like can know how long something will take to run?
Lauren Tan
Oh, no, it's more like for the GrokBot app, we have code that runs in the main thread and then the renderer thread. And so we explicitly forbid importing between those two things. So it's not necessarily that main code thread will always be long. It's just like oftentimes some heavier tasks that shouldn't block the renderer.
Host
Never do long work on the renderer thread, man.
Lauren Tan
Yeah, you want your renderer to be as light as possible. So, yeah, that's something we just don't think about anymore. And I think the performance of the app has actually stayed very consistent and very good, which is actually quite surprising for a lot of majority AI written applications where they start out fast and then over time they just accumulate a lot of slop and performance problems. But with the right skills and rules, with the right setup, I think you can actually have quality and you can have quantity. I think you can have your cake and eat it too.
Host
The cool thing about the moment in time right now is that you could basically, there used to be the trade-off before that you could only choose two out of three. It was either fast, cheap, and high quality. Now you can basically do all three and we could basically do the best work in our lives right now with AI, which is super cool.
Lauren Tan
Yeah, I totally agree. I think fast, cheap and good is certainly more possible. It's not easy, I think, to get to that point. But from my own experience, I have the privilege of working at a lab which has given me unlimited tokens. So I sort of see myself as the explorer, trying to figure out what software engineering looks like six months to a year from now. And I think this process has been very enlightening for me in terms of how to actually keep this workflow efficient because it's a topic that lots of teams and people are thinking about, the cost of tokens. And I think when you adopt the inverted pyramid I'm showing here, you can actually get to this very nice mix where the ordinary engineering tasks, high quality engineering work doesn't have to break the bank.
It can be quite economic and quite efficient. And not to mention that the frontier keeps getting smarter and smarter. And actually, the unit cost of intelligence sort of drives down. The cost of tokens going down. If you compare a model from last year to a model now, the input output tokens is not really the same. One frontier token now is way more capable than a token from last year and even if you use one of the smaller models, even that model is way better than what you had a year ago with the big models. So from that perspective, we're heading towards a period of real abundance with software and maybe other domains as well.
Roman Ugarte
And I think we're seeing this on our core team that works on GrokBot. Lauren is putting up 4,000 PRs a month. And I think we're going to start to see more engineers do that. And I think what we've started to see be the bottleneck is less the time or engineering resourcing going into developing these ideas and features. And actually it's more alignment among us as a team of like, what do we want the product roadmap to be? What's our vision? What does good look like? What does great look like? And I think we're seeing this where we've been in so many discussions, Lauren and I, where we're kind of talking about a future change to GrokBot and someone suggests something and then someone else in the room says, oh, I have a PR for that if you're interested.
I was working on this over the weekend or whatever. And that happens constantly. So the stuff is built, but we don't want to merge all of that because it's going to lead to a bit of a Frankenstein-y product with random side projects. We do need a consistent vision and philosophy of the product. And so I think we're shifting more of our time to that and those questions now that everybody is making thousands of micro decisions a day or a week, which I think was not the case in the past.
Host
Which actually I'm very curious. I mean, this is a bit of the trendy thing now with the thing that matters is taste, which means actually saying no to a bunch of stuff and having discernment. What does that look like in practice for you guys? How do you make a decision yes or no on this?
Roman Ugarte
For a certain category of things. So Lauren has set up one of my favorite parts of her factory is Sandy, which takes in thousands of pieces of customer feedback every day. We receive it through the product. We receive it through our support channels. We receive it through X. And a lot of times there are just small bugs. And so in a lot of cases, Lauren's factory just fixes it, like repros, fixes, merges. No one thinks about it. It goes out automatically at three in the morning. I wish all software would be made that way. I wish Apple, people who work at Apple, could you do this? Because Calendar team in particular, I have some problems with you.
There's a lot of GrokBot that should be self-healing in that way. And it's cool that that finally works. I think there's another set of questions that should not operate that way at all. If you're changing the core pixels that a user is experiencing every day, it's really frustrating as a user to wake up and you refresh your GrokBot and there's a whole new, the button moved and then it moved again the next day. And so the way we try to counteract that is a lot of dogfooding internally and sitting with a change for longer than feels comfortable before we ship it. And the default is if something doesn't get internal product market fit, we don't ship it.
Even if it gets mixed internal product market fit, we don't ship it. And so as a team, we really try to keep a high bar.
Lauren Tan
Yeah, I think that's actually one of my favorite parts of working on the GrokBot team is that despite the great velocity that we have, we still have a lot of intention and care for the user experience. And even though you can go really fast, it doesn't mean that you should just ship every feature you can think of. And this is where human judgment and taste comes in. I don't think that's going to go out of style personally. I think as long as we're building software for humans, humans should really be thinking about the intentionally designed experience because we know each other the best. If you're building software for agents, that's a different story.
You can certainly probably go as fast as possible. But I think for humans, you do want to put intentional care and thought into the stuff that you develop. So even for my own factories, I don't turn them towards future development. I turn them more towards the software maintenance side of things because I care a lot about performance. I care a lot about fixing bugs that our users encounter or quality of life complaints that they have. And I think that's actually such a great use of the agents because that used to be a full-time job or something. And now I've given that to a lot of agents and that frees me up and other engineers up to think more intensely about the product experience.
Host
One thing that's very inspiring about your journey, Lauren, I don't know if many people know, is you grew up in Singapore and you studied a non-technical degree. You did a bachelor's in accounting and finance from Monash in Australia, then somehow you ended up becoming one of the now best AI engineers. How did that happen?
I think sometimes people think it's very hard to get into tech, but you did it. And you also worked on the React compiler, which is one of the hardest things as well.
Lauren Tan
Yeah, I think I definitely feel like I've had a very privileged and lucky experience in tech. I think that was a time where people were much more open to the idea of a self-taught developer. So the long story short is after college, I did study finance. One of my favorite courses was actually financial modeling. We learned how to use Excel and Visual Basic to make some cool financial valuations. Through that course, I realized I had more fun building the spreadsheet and the macros than I did the finance part. The finance part was interesting too, but the technical part, thinking logically, just was really interesting to me and something I hadn't really thought I was cut out for.
So after college, I started a startup with a friend, a classmate. It didn't go super far, but we learned a lot from that process. I got really involved with the startup community in Australia, and that's how I got my first job. The secret that I attribute for my success is actually X. I started out when I was still basically learning how to code. I wrote a blog and I was just sharing what I learned. I was fortunate enough that someone from the framework community that I was building my application in, Ember, Tom Dale and Leah Silver, they reached out to me and said, would you be interested in giving a talk at the conference that's coming up in Portland, Oregon? I was very shocked because I had never even been to a conference in my life, and now I was being asked to talk at a conference with hundreds of people. Public speaking was always my worst fear, but somehow they convinced me to do it.
I learned about the ability of being able to communicate your ideas and bring people along within that journey. This skill of storytelling and communication has really stuck with me, even though I've been really involved with engineering work. I've had a lot of really great mentors as well in the past. So all that to say, do cool stuff, talk about the cool stuff, and just keep doing that in the loop. Maybe the stars will align and someone will notice something you said on X and retweet you, offer you an opportunity that you hadn't had before. Maybe you develop your idea and you come up with a startup idea, and then you go apply to YC, and before you know it, you could change your life with just a tweet.
Host
That's a great place to end. Lauren, Roman, thank you guys so much for joining us. It was so fun. Thank you for making an incredible product. Can't wait to see what you build from here.
Roman Ugarte
Thanks for having us. It was a lot of fun.