S12 E12: The Rogue Agent Epidemic: Moving Beyond Laptop Prompts to Build a Centralized, Production-Grade AI Control Plane with Robert Brennan, Co-Founder & CEO of OpenHands [0:00:00] Robert Brennan: We're going to need a like a Kubernetes for agents. We're going to need a Linux for agents, right? There's, there has to be a, an open standard for how you define and drive and monitor these agents at scale, both within an enterprise and as an individual developer. And I think OpenHands is the, we're the largest open source project that has a full end to end solution there. It's not just a CLI, right? It's all the cloud infrastructure you need. It's all the, all those scalability things, all the sandboxing, et cetera, all the security. That I think is, I'd like to see OpenHands really become the standard there and have engineers all over the world trained on how to use open hands effectively. I'm Robert Brennan, and I'm the CEO of OpenHands. [0:00:46] Noah Labhart: This is Code Story, a podcast bringing you interviews with tech visionaries. [0:00:52] Clip: Six months moonlighting. There's nothing on the back end. [0:00:55] Noah Labhart: Who share what it takes to change an industry. [0:01:00] Clip: Many goes to get right. [0:01:01] Noah Labhart: Who built the teams that have their back. [0:01:04] Clip: A company is its people. The teams help each other achieve more. Most proud of our team. [0:01:08] Noah Labhart: Keeping scalability top of mind. [0:01:11] Clip: All that infrastructure was a pain. Yes, we've been fighting it as we've grown. Total waste of time. [0:01:15] Noah Labhart: The stories you don't read in the headlines. [0:01:18] Clip: It's not an easy thing to achieve, mind you. Took it off the shelf and dusted it off and tried it again. [0:01:22] Noah Labhart: Dry the ups and downs of the startup life. [0:01:26] Clip: You need to really want it. It's not just about technology. All this and more. [0:01:30] Noah Labhart: on Code Story. I'm your host, Noah Labhart, and today, how Robert Brennan is helping you scale from one to thousands of agents with an open platform for cloud coding. Robert Brennan grew up in Boston and loved it so much that he ended up calling it home again. He spent time in New York between the bookends, but he enjoys the chill pace and great music of over the fast pace of the Big Apple. Outside of technology, he likes to read nonfiction and fiction, specifically science fiction. He loves music and has been playing guitar for 25 years now. He frequents the live music scene around Boston and even lives near a jazz club. Robert observed the release of the first version of Devin a few years ago, which was very exciting to see agent-driven development. But he and his co-founders were concerned with who was going to govern how this software was going to get written. And they hypothesized that it should be open source and community driven. This is the creation story of OpenHands. [0:02:46] Robert Brennan: So we're working on an open source platform for AI driven development. So every software engineer in the world right now is aware that AI is changing how we do our jobs. And we saw that change starting to happen almost exactly two years ago. I think big event there was Cognition released their demo video of Devin back in March of 2024. And that was really the first time we saw an agent that was working on code. It wasn't just a ChatGPT inside of the chat window spitting out a function or something like that. We'd seen AI that could write code, but we'd never seen AI that could actually run the code that it wrote. and then add debug statements to see what was going on, Google an error message that came out, and basically do that whole inner loop of development until it got to a solution. That was really exciting to see, right? It solidified in my imagination what the future of software development was going to look like. But it was also a little scary that change was being pushed by this stealthy company coming out of a black box. And it was very obvious to me and my co-founders that if the job of the software developer is going to be changing, to say and how that change happens. So we started a project at the time called OpenDevin, now called OpenHands, really with the goal of making sure that the community is able to guide this change to how software gets written. [0:04:05] Noah Labhart: Tell me about the MVP. It's that first version of the product to build. How long did it take to build and what sort of tools were you using to bring it to life? [0:04:13] Robert Brennan: Yeah, so my co-founder, Graham Neubig, who is a professor at CMU, he was actually the first one to write some code in the OpenDevin repo. And he created basically just an empty, functionless front end that had a chat window and a terminal and a file editor. And it didn't really do anything yet, but it got people's imaginations going about, OK, what could this be? But it got the community excited, right? And everybody started contributing. And then I came in and wrote the first like agent, which was basically like a long prompt and a for loop wrapped around an LLM. And that kind of got it to a point where it was like functional, like you could do a thing. I think my agents scored a 3% on SWE-bench, which is how they test how good these agents are. But it was enough to like get people's imaginations going. And then my, my, our third co-founder, Xingyao, he came in, he was doing his whole PhD around code generation and coding agents, right? One of the top experts on this particular subject matter, he came in, he threw away my agent, brought his own in, and immediately launched us to the top of the SWE-bench leaderboards. I forget what the numbers were. I think at the time it was something like 20% or 25% was state of the art for what percentage of the SWE-bench coding problems could be solved then. And that was like really exciting. Like this was actually a useful agent. We started using it occasionally on a day-to-day basis at this point. And I think now we're at like 80% solved by today's agents so really huge leap from where we were in mid 2024 to today [0:05:45] Noah Labhart: so you get to you get to that point and you make those strides right like you're just you're describing and you're getting some the traction that you want and you want to proceed how did you progress and mature it from there and i'm curious about how you built your roadmap how do you go about deciding that okay this is the next most important thing to build or to address with OpenHands. [0:06:05] Robert Brennan: The really nice thing is we had just a ton of visibility with the community. Everybody swarmed on our repo and we're trying it and checking it out and giving us feedback and opening up issues, opening up pull requests, et cetera. So we had a fire hose of feedback that we had to sort through. So it was really less about like, how do we imagine what to build next? And more like, how do we air away all these requests that are coming in and figure out what are the most important ones? pieces of feedback we're getting. And I would say our roadmap kind of split into two pillars. One was like, how do we get this thing better at writing code? How do we improve the quality of this thing so that it's useful, not just occasionally, but useful as a daily driver? And it was by the end of 2024 was when it became my daily driver. Like it was something I was using every single day because Xingyao and the research team that we built with Xingyao and Graham was really doing an amazing job of just making this thing better and better at solving coding problems, right? ways to help it interact with a local file system, to help it search through the existing code base, to help it manage its context window, all this research-oriented stuff to figure out how do you get this thing better and better at writing code and coming into an existing code base and making meaningful changes. And then the other half was really all about developer experience, all about how do we make this feel good for the developer who's actually piloting it. And that was more my side of the house on the product and developer experience side. open source developer tooling for over a decade now. And that was a lot of just like looking through the comments, figuring out where are people struggling with the setup? Where are people struggling with looking at their conversation history and understanding what are they doing? If they're running three or four different agents at once, how are they keeping track of that? How are they like responding when the agent gets stuck? So there's a lot of that like more product oriented developer experience type stuff was the second pillar. [0:08:01] Noah Labhart: Let's switch to team. building your team. And I'm curious about what you look for in those people to indicate that they are the winning horses to join you. [0:08:12] Robert Brennan: I think one of the nice things about being open source is that we actually had a huge community of developers who were already contributing. So one of our first hires was actually an open source contributor who we saw just doing great work inside of our repo. And we very quickly interviewed him and hired him. And he's been just a great asset for us. When When we did put out job reqs, we also had just a ton of interest because folks love open source. They see that this is the future of software development. They want to be a part of it. I think they get really excited about building for themselves, right? Building a product that's going to make them more productive. So we got just a ton of applications and like weeding through those resumes was really tricky. But one of the things we did in our hiring process that has proven to be really great is in the early days, I was having folks do like a coding challenge in order to vet their technical skills. them write code inside of a Google Doc, so I could see how they think logically. That's traditionally been the way that we test engineers, is have them write code on a whiteboard or do some kind of pair programming thing. I had done some take-home challenges in the past, too, where I was like, hey, go home and put up a little app and then show it off to us and take us through the source code. But what we did is we actually switched to having folks use AI to write the code, rather than making them write code by hand inside of a Google Doc, which is much closer to how people days. And that's been super, super successful. We get a lot more signal out of that. What we do is we have folks record their screen for two to three hours and build an application from scratch using whatever tools that they want. And they get a lot of leeway to if they're a front end engineer, they can really focus on design and front end implementation, things like that. If they're more backend oriented, they can focus on that. If they're more of a DevOps engineer, they can focus on the deployment strategy and CI CD. take it any way you want. There's a lot of creativity involved and we get to see how does this person think, how do they problem solve and how do they use AI effectively to move faster? When they can get a lot done in a few hours with AI coding tools at their disposal. [0:10:16] Noah Labhart: Let's flip to scalability. And this is in the bread and butter of what you're building and how you're building it and everything you described with team. And I'm curious about how you approach thinking about scale from the beginning. And there's You still had to fight it as you've grown. [0:10:34] Robert Brennan: I think scalability, at least in terms of the software and the platform we're building, that's always been a big piece of our vision here. I think a lot of software developers today are used to running one agent locally, something that they're like pair programming with. It's a very familiar workflow for developers where you pick up a ticket, you squint at your computer screen, open your IDE, figure out how am I going to build this thing. Except now you've got an agent working alongside of you, percent faster. That's great. The AI is giving you a good lift, but it's a very linear lift. We've always been much more interested in what's going to be possible in the near future, where you can get multiple agents working for each developer, right? Maybe even dozens of agents working simultaneously, and the developer is more of an orchestrator, right? So instead of focusing on agents that are running locally, directly on your file system, on your computer, we've always been primarily focused on agents that are running each in their own sandbox, a Docker container running on your laptop or one running in like a Kubernetes pod in the cloud. And that allows you to run as many agents as you want where they each have their own area. Because they have a sandbox, they're not going to delete all the files in your hard drive or do something, you know, that's going to hurt your environment. And they're also not going to step on each other's toes, right? They each have their own copy of the code base. They each have their own file system, their own terminal, etc. So it's a much more scalable way of working with agents. And particularly if you're working in the cloud now, everybody on your team can run as many agents as they want. You can run agents that aren't owned by any particular team member in the cloud. It's a much more fun, much more scalable way of working with agents for doing, especially rote maintenance and tech debt type work at scale. Like making sure you're managing your dependencies, resolving vulnerabilities, adding type annotations, things like that. It can really be done at another level of scale by working in the cloud and giving each Yeah, I think the other half of scalability is how we scale the company itself. And that's been a really interesting and fun problem for me to solve on the fly. We've grown from maybe 13 people towards the end of last year to now we're up to 30. And it's been really interesting to watch how the culture changes and evolves as we scale up and making sure we're still being very rigorous with how we evaluate new candidates, making sure that they're not only technically very competent, but also align with our values, that they're kind people, that they are are the sort of like highly open, highly agentic people that we want working at OpenHands. I think that's going to continue to be a challenge as we do another doubling in the headcount. [0:13:09] Noah Labhart: Robert, as you step out on the balcony, look across all that you've built thus far with OpenHands, what are you most proud of? [0:13:16] Robert Brennan: The thing that I feel really good about is our SDK. It's called the Software Agent SDK. We launched that towards the end of last year. And it's the The thing that when I look at it, it's very clear to me that this is a best in class offering. It's completely differentiated from anything else that's on the market. And what's really cool about it is that we're seeing both individual developers and brand new startups and like very big companies with like tens of thousands of engineers building on top of this SDK to create brand new developer experiences. So essentially the genesis of this SDK was we had this mono repo, the OpenHands GitHub repo where we just accumulated a bunch of code over the course of about a year and a half. Through the open source community, we have 500 or so contributors in our ecosystem and this code base just grew into this spaghetti monster of code. It had a front end, it had a back end, there was a CLI, there was all the like agent code for actually solving these software problems. problems. And we'd made this very hard decision towards the end of 2025 that, hey, like we need to, we need to pause and factor out all of the agent code into its own place. And that became the software agent SDK. So all of the code around what are the prompts that we're using to drive this thing forward? How is it interacting with the file system? How is it interacting with the terminal? How is it getting sandboxed? What's that like agent loop like, how is it managing its context window, our security analyzers, basically everything you need to run a software agent goes into this software agent SDK. And then the front end and our GitHub integration, our Slack integration, our CLI all become consumers of this SDK. So those are like more the like last mile developer interfaces. But the SDK now contains basically everything you would need to build an agentic developer experience. And we've seen one large public an internal vibe coding platform for their customers to let their customers take advantage of their technology. So their forward deployed engineers now use this on a daily basis to help their customers write code that interfaces with their systems. That was super cool to see. There's a small, lovable competitor that's coming up now. They just got their seed round. They're building on top of the OpenHands SDK in order to power their vibe coding platform. We're seeing, I've I've built my own developer workstation using the OpenHands SDK, just as this is how I want to work. It really gives you all the nuts and bolts of the Lego bricks you would need to build whatever kind of developer experience you want that would be powered by agents. [0:15:47] Noah Labhart: Okay, let's flip the script a little bit. Tell me about a mistake you made and how you and your team responded to it. [0:15:53] Robert Brennan: Yeah, I would say playing off that same theme, we went way too long just building up tech debt in this monorepo. I think one of the tricky things about having a popular open source project is that you're constantly getting contributions from the community. These contributions are often from folks who aren't fully familiar with the code base. They might introduce some redundancy. They might introduce some subtle bugs. We were getting just overwhelmed with code review. That's actually become a harder problem today in the AI-driven era because it becomes really cheap for folks to open up a pull request. They're like, I would love a Bitbucket integration. And they just ask OpenHands to do it. And OpenHands generates a bunch of code and they might give it a cursory glance. They might not look at it at all. They might not even run the code to make sure that it works. And they open up a pull request and it's on us to make sure it works and get it merged. And because we were getting all of these pull requests, we were doing our best to do code review and validate them. But we ended up with this very big, hairy code base with a lot of tech debt that accumulated over time. long to like finally just like decide hey we need to break this thing up we need to spend a couple months just like paying down a bunch of tech debt ripping out this obviously trying to separate concerns of this agentic stuff away from this web ui away from the cli interface so i wish we'd architected things a little bit more cleanly in the beginning so they made really clear clear separations of concerns. [0:17:23] Noah Labhart: Okay, let's move forward then. What does the future look like for OpenHands? The industry's changing, you're primed and ripe and ready to go take on the world. What does the future look like for the product and for your team? [0:17:38] Robert Brennan: Yeah, I think I'll start by talking about what the future of software development looks like, because that's really what we're trying to create. I think today we're just seeing the first innings of how large language models are changing the software developers' experience. I think we started with just like tab completion, which was very familiar to developers. We've been using autocomplete for decades and just got a million times better when powered by LLMs. I think we pretty quickly graduated to these like local agents working on your laptop as like a pair programmer. Where we really see the future is agents that are running in the cloud with their own sandbox and running multiple agents per developer, getting a lot more done than you can in a more pair programming model. And I think that's really the future we're trying to build. I would say we've always been at the edge of what's possible, working mainly with the early adopters rather than trying to play for the median developer. And I would say the trade-off being we're doing less work to meet the developer where where they live today, like inside their IDE and on the CLI. And we're doing a lot more work to help the early adopters really plot out what the future of software development looks like. So yeah, I think if our plans come to fruition and my wildest dreams come true, OpenHands becomes essentially the open source standard for how you run these agents at scale in production. We're going to need a Kubernetes for agents. We're going to need a Linux for agents, right? an open standard for how you define and drive and monitor these agents at scale, both within an enterprise and as an individual developer. And I think OpenHands is the, we're the largest open source project that has a full end-to-end solution there. It's not just a CLI, right? It's all the cloud infrastructure you need. It's all the scalability things, all the sandboxing, et cetera, all the security. That I think is, I'd like to see OpenHands really engineers all over the world trained on how to use OpenHands effectively. [0:19:39] Noah Labhart: Okay, Robert, let's flip to you. Let's switch to you. Who influences the way that you work? Name a person or many persons or something you look up to and why. [0:19:48] Robert Brennan: I get most of my inspiration just from watching the engineers on the OpenHands team work and seeing what they're doing and how they're being productive. We've built a really strong team of of very smart people who are also very forward thinking and very willing to experiment. Just this morning, I was looking at my co-founder, Graham, shared with me his daily workflow for making progress on his work with agents. Large markdown file with me that basically describes this whole workflow to an agent so that the agent can help him execute on this workflow. Just seeing how he works and how he is pushing the envelope with like how he works with agents. He's at the bleeding edge of what's possible here. He's not only got a company that's at the forefront here, he's been working on CodeGen for over a decade within academia. So he's like very well attuned to what's possible here. I think he's been a huge inspiration for me in terms of pushing out the art of the possible when it comes to agents. [0:20:49] Noah Labhart: Robert, last question. So you're getting on a plane and you're sitting next to a young entrepreneur who's built the next big thing. They're jazzed about it show it off to the world? And can we show it off to you right there on a plane? What advice do you give that person having gone down this road a bit? [0:21:03] Robert Brennan: I think the biggest thing is just enjoy the ride, right? It's easy to get caught up in plotting out the end game and figuring out what am I going to do with my billion dollars once I exit? Or what's it going to feel like when we've got however much in revenue and however many engineers? Those early days are the most fun days. I think as much fun as I'm having with OpenHands today as a team of 30 and starting to scale up revenue and all that, It was in those early days, those first like six weeks of prototyping and working with the community. And before we even raised our first round, it's just such an exciting time when you know you've got something really special and valuable on your hands. And so making sure you're enjoying the ride rather than getting overly focused on the destination, I think is very important. [0:21:46] Noah Labhart: Couldn't agree more. That's fantastic advice. Robert, thank you for being on the show today. Thank you for telling the creation story of OpenHands. [0:21:53] Robert Brennan: Yeah, thank you for having me. [0:21:57] Noah Labhart: And this concludes another chapter of Code Story. Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice. And when you get a chance, leave a... us a review. Both things help us out tremendously. And thanks again for listening.