S13 Bonus: Why Local On-Device AI Compute is the Future of Privacy with Behnam Bastani, Co-Founder & CEO of OpenInfer [0:00:00] Behnam Bastani: Everyone was using AI at the time as chatbot messages and we said no, AI is going to be long-lasting living with us. That means some pieces need to respond fast, some pieces respond slow. They become heavily dependent on each other, which today we refer to them as agent. So we stepped out with that mission in mind that compute is going to be heavily consumed by inference. and inference behavior is going to be completely different than what it was in 24. The infrastructure, the software ecosystem will not be able to let us scale. I'm Behnam Bastani, CEO and co-founder of OpenInfer. [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:00:58] Clip: I don't exactly know what to do next. It took 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, my dear. Took it off the shelf and dusted it off and tried it again. [0:01:22] Noah Labhart: Jim, to ride the ups and downs of the startup life. [0:01:26] Clip: You need to really want it. It's not just about technology. [0:01:29] Noah Labhart: All this and more on Code Story. I'm your host, Noah Labhart. And today, how Behnam Bastani has built the inference OS for the agentic era to close the gap between AI's promise and what infra can deliver. Behnam Bastani is originally from Tehran, Iran. He left the country at the age of 17, setting out for Canada where he got his master's and PhD, before moving to California. He's always looked at things with the big picture in mind, whether that is artwork, woodwork, engineering, etc. He's worked for Hewlett-Packard, Meta, and Roblox before starting his current venture. but outside of technology he loves to exercise and participate in water activities. For peace of mind, he gardens, experimenting with growing trees, replanting, and seeding. Previously, Behnam went to Meta to pursue the future of wearables. He immediately realized that these wearables required a connected system. He started to ask the question, why can't we use compute around us to fuel wearables? Eventually, through stints at Meta and Roblox, The co-founder knew that they wanted this type of system and started with the infrastructure to enable it. This is the creation story of OpenInfer. [0:02:54] Behnam Bastani: I mentioned system is the thinking that I had, system building, looking at the entire stack as a system. It was at Meta, Facebook, where I was hired. I left Google to Meta to think about future of wearables, virtual reality, augmented reality. It was in that moment that it became very clear to me how the systems were built. Virtual reality and augmented reality was piecemeal of pieces together, a software, a lens, an optic system, computing. And we were getting limited experiences. We were getting either a virtual reality headset that had to get connected to a PC or a mobile virtual reality that was a really poor experience. Why can't we have a great experience on the head at super low cost? Why can't we use ecosystem around us, compute around us? Maybe it's a PC, maybe it's cloud. Why can't we use that for VR? of latency and it caused people to sick, so on and so forth. That was the time that I said, you know what, if we look at the entire system, how compression, how streaming, how rendering, how AI works together, we can come up with a solution that perfectly brings best experience of VR into mobile headset. That's where I actually met my co-founder, Reza. Reza and I I built Oculus Link, L-I-N-K, which really changed the way virtual reality was being done not just at Meta, across the industry. Link was a platform, compute platform, where we broke down pieces of compute from rendering to graphics to audio to haptics in a way that heavy portion can be offloaded and we could use AI to mitigate latency. a pipeline of pieces that some happens on your head, some happens on a PC over wireless, and some can go all the way to the cloud over wireless. That changed the game. That let us introduce the first headsets that was the cheapest in the world, best experience, and we shut down competition by far. Zuckerberg announced it in 2019. I went on stage with my co-founder, we talked about it and then we scaled it to millions and then we took on a bigger challenge leaving Meta together to Roblox the gaming company and we repeated same game there in that time it was bringing voice moderation all the kids talking multilingual away from AWS and video GPUs to run on Roblox as infrastructure which was only CPU based no one thought that you can do all AI inference on CPU this is 2023 and doing it at such a high large scale and that was possible because we look at the entire stack again as a system moderation is not just model it's not just inference it's not deployment it's everything and when we do you do everything together you look at the system then you think you make things that are completely thought being impossible in the So we saw the opportunity, we saw the world is moving heavily into AI inference and usage of AI. We said the world's biggest compute need is going to be around inference, usage of AI. And that was in 2024 where everyone was saying modeling training is the big topic. We said no, usage is becoming the topic. And everyone was using AI at the time as chatbots, messages. and we said, no, AI is going to be long lasting, living with us. That means some pieces need to respond fast, some pieces respond slow. They become heavily dependent on each other, which today we refer to them as agent. So we stepped out with that mission in mind that compute is going to be heavily consumed by inference and inference behavior is going to be completely different than what it was in 24. the software ecosystem that is built around it, will not be able to let us scale. We need to do something fundamentally different. We need to look at the entire system in terms of how the hardware, how low-level kernels, how the management of resources, how the processing of AI to even how routing between different servers are done, everything built with that mission in mind of long-lasting collaborative AI inferences, aka agentic AI. So we stepped out in 2024. We started a company, and my co-founder and I, now we're in this journey. We started OpenInfer with the mission in mind to bring AI inference anywhere, any hardware, any infrastructure, by making AI ubiquitous. [0:08:12] Noah Labhart: Let's dive into what you would consider the MVP then, the first version when you stepped out, how long did it take to build and what sort of tools were you using to bring it to life? [0:08:22] Behnam Bastani: MVP is the hardest, and especially for startups, particularly these days, that the market also changes very quickly. We went after portable ecosystem devices where inference was very underserved. Soon we realized the market pulled us into the cloud, NeoCloud, which is the new topic, actually. cloud providers, compute providers, where they wanted to serve AI, but they don't have the infrastructure and capability to bring up inference. They can only rent out GPUs. We started with devices, but then soon we got pulled into this direction. We had to adjust. Neo cloud became a topic early 2026, and demand was very big. We had to re-pivot ourselves to make sure we can hit that demand agility was critical and we built today our mvp serving neo clouds bringing inference ai to their infrastructure so they can start selling tokens they don't just rent out gpus they can rent out gpus with a software stack on top of it that does inference typically their profit margin goes up by as much as 50 huge value prop for them they can now sell a lot more higher value prop on their pure hardware and a huge gain for their clients because now they don't have to bring software pieces from here and there they get one stack everything runs on them it reminds me of vmware where they say you know what i don't care about your hardware underneath it i'm going to virtualize the world for you we are now virtualizing inference for neo clouds don't care if it's what type of gpu you have you have older newer ones you have a mixture of cpus or you're actually seeing a lot newer compute coming in we virtualize it meaning we abstract it out you bring your agent you bring your workload it works on that new cloud paying reduction for the user, paying the reduction for Neocloud, the ones that are offering inference, and us, we're taking the portion of that win. [0:10:39] Noah Labhart: I want to stay on that for a minute. I'm curious about a decision or trade-off you had to make in building that first MVP. You could probably cherry pick a couple of things from what you said, but I'm curious about one that really shaped the product, really shaped your approach, and maybe it's like acceptance of debt or how you go to market or anything like that. to make and how you coped with it. [0:11:01] Behnam Bastani: I've been on the other side where startups were pitching to me all the time. And I'm like, you're solving the wrong problem. I'm not going to buy it. So rather than us jumping into building, we spent quite a bit of time to really understanding the problem. And we made sure we have major design partners through that journey. These design partners are clients, are customers that are willing to start early on, call prototype with us, and they're big enough that they can shape the industry. So obviously it's really hard early on to find these partners that are willing to take a risk to work with a startup. And it requires a lot of work, a lot of prep, a lot of prototyping together. But that was the biggest item. them. We are lucky now that we have five major Fortune 500s that worked with us within the past five years and they're sticking along and we're going to major launches together. They shaped us. They guided us. Of course, we're not taking every single direction, but it's informing what the industry is actually looking. That was the biggest, I think, biggest lesson I took as a win to make sure the company stays in the right direction and we're serving the problem that's worth significant dollar. [0:12:29] Noah Labhart: So then you're a year and a half in, let's say after that MVP point, how have you progressed and matured the product or how are you progressing and maturing it? And I think to wrap that in a box a little bit, what I'm looking for is how do you build your roadmap? How do you go about deciding that, okay, this is the next most important thing. the builder to address with OpenInfer. [0:12:50] Behnam Bastani: I again use our customers. Once you pick these clients, when they have massive market share, continuously you learn about what's the next problem, what's the next problem, what's the next problem. Today, as an example, NeoCloud's huge. And who are your design partners? Those that make servers, those that make silicons, those that make AI models, those are your design partners we go in and those design partners are saying neoclouds how we use them but now a trend of sovereign cloud are coming on the idea of AI where the data lives so now you start thinking about feature of AI maybe a portion lives in the cloud maybe a portion lives on the neocloud maybe a portion lives on your own infrastructure maybe a portion of that your laptop. How would now that ecosystem work? So that's basically shaping a roadmap and we're seeing the roadmap as actually going in that direction. The direction that AI needs to live where the data is. Banks, robotics, drones, they're ingesting, generating tons of data. Sometimes they need responses fast, sometimes they can't shove the data to the cloud it costs huge dollar amount sometimes it means loss of sovereignty how do you make it happen it's good to say you bring ai where the data is but then how do you bring the compute when you may not want to bring the whole compute how do you split the compute how do you make sure the computes work together so this this is we are at the beginning of the mvp solving a hard problem generating revenue but i look at it as i guess right? They built the Roadster. Roadster wasn't to generate money. It was such a niche market, but taught them a lot. Then they built Model S. Model S was about scaling. Can you actually scale now that Roadster to mass adoption? And then after that, it was cost reduction. Brought Model 3. Not even it teaches you about the market, but also it brings you revenue and lets you fund and the bigger and bigger ambitions. Same thing for us. We're building our own roadster in new clouds, very niche market. It's gonna form our own scale operation, and then after that, the cost reduction. [0:15:24] Noah Labhart: I'm curious about team. This is a challenging problem you're solving, and I'm curious about how you went about bringing your team on. What'd you look for in those people to indicate that they were the winning horses to join you? [0:15:36] Behnam Bastani: Being in the Valley for 15, 20 years, working in industries for close to 30 years, I learned a lesson, sometimes in the hard way, that people is the biggest asset of the company. Talent, harmony of that talent is the biggest one. Once you bring the right team, you structure it, innovation, progress comes in, inefficiency goes away. So we put a lot of effort to handpick, hand-select, filter out. And sometimes if you had to say goodbye to partners, so the team is structured well. A lot of people say, hey, how big is your team? It's just like like 50, 100, no. These days, with AI, with CodeGen, and all those tools we have around us, it's not about number of people you have. It's about the design. It's about structure. It's about harmony. And selecting the people, building the team, is the most critical one. So we made a hard choice. Everyone has to be local. We have to meet in person all the time. That's where creativity comes in. Of course, there's a huge cost that goes with it. being in the Bay Area, whereas I could have hired in other areas, with exceptions, going beyond the Bay Area in a specific location, when it makes sense, for specific areas of the operation. And then making sure throughout that journey, the culture, we put a lot of thoughts in terms of culture fit, collaboration. And even when we were super small, we always put a trial work or not. Let's both sides need to figure out if this is the right fit. And you know what? I had situations that I really wanted that candidate. Candidate came in and you're like, this is not a fit for me. That's better than if they came in and then they walk out. So, all right, that's okay. It's not selling and getting the people, it's getting the right people in the right group. group. So we are a small team. We are under 20. We thrive. We're the top in the world, we believe, that knows how to work together, make things happen that no one thought it's possible in the past. And quite a few of us, we've worked together in the past. And most of us, a good portion of us are ex-meta folks that we went to different routes and now coming back because we built things together a couple of times and we like repeating that. [0:18:19] Noah Labhart: Let's move into scalability. This is baked into your bread and butter here, but I'm curious about how scale was approached from the early days and also if there have been interesting areas where you've had to fight scale as you've grown. [0:18:31] Behnam Bastani: There are two angles that we severely think about. One is direction that we need to scale and B, how we approach the scale. As an example, when does it make sense to bring scale, build up or go to market, sales, operation, marketing? And then how do you seed that scale? Do you bring head of sales or do you bring a junior person? Do you bring them full time or you contract them out? Do you bring sales or you bring revenue person? You bring product person or you bring XYZ? And I'm not saying I've done the best and I got the best recipe, but it's when things are a bit dark and you're trying to scale and you're trying to figure out directions you want to scale and how you scale it, there is always an art to evaluate directions, especially there is quite a bit of ambiguity. The evaluation becomes more clear when you look at how others are approaching it, what have they learned, what things haven't gone well, but also coming up with creative ways to give it a try, give it a shot, and not be afraid to lose and repeat in different directions. Yes, scale is a big one. If you scale incorrectly, it can make you go bankrupt, go crazy, and not be productive at all. And it's an art and it's an art that we should be okay to back out and adjust and repeat again. And that's the approach I've been taking. [0:20:09] Noah Labhart: As you step out on the balcony and you look across all that you've built thus far with OpenInfer, what are you most proud of? [0:20:16] Behnam Bastani: Three things. I said the team, the architecture, if that's the system we built and see the vision that The vision, what we are truly unlocking, like two years ago, no one believed in us. And now it's like the hottest thing. The team, like this is the top in the world that has done this multiple times. Things that people thought it's impossible. And architecture, system designs, there's modular, so creative that it can literally today can run on big cloud environment. And we have examples in our research lab. It can squeeze and run on a tiny Raspberry Pi single core CPU. How this scale can adjust itself, how can it now become swarm of operations? So I'm very proud of how architecturally we thought about it, we designed it, but also we took one sliver through that design and we make sure MVP gets launched within time and generates revenue. I'm proud of. [0:21:29] Noah Labhart: 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:21:37] Behnam Bastani: We started the company and we wanted to go after a market to be heavily differentiated. When you become, when you want to be heavily differentiated, you typically go to a market that is fairly new. But maybe that wasn't the smartest choice. We went after a very new market, collaborative robotics, robotics, physical AI, collaborative physical AI. And we said future is about that. The challenges we're seeing, and maybe now it's obvious, in 2024 we were expecting by 2026 robotics is generating revenues, right? They're selling. Reality is, I think there is going to be another three, four, five, maybe something years that you actually see people are selling robots. It's getting more and more mass adopted. much simpler market markets that are already there and just go serve there and then when others come in we go after those so maybe that was a mistake not always being differentiated or in the market is the right thing it's just solving the problem and if others are making money it means it generates money so let's just go after that but the good thing the success is we're not afraid of of adjusting, we were not afraid of learning and quickly adjusting. And we took the learnings from that because it helped us to really architect the problem with the vision in mind that we start from new clouds, but inference is gonna run everywhere, AI is gonna run everywhere. So it was a mistake, we took it as a learning opportunity and we took pieces to really position us better in the next trial. [0:23:23] Noah Labhart: Okay, let's move into the future then. Tell me what the future looks like for OpenInfer, for where the industry is going, for all the things that are happening, for what you're building. Tell me what the future looks like. [0:23:35] Behnam Bastani: There's two angles. One, running AI is a portion of that. AI should be solving a problem. A problem means there needs to be an application. There needs to be a place to run it. There needs to be type of data progresses. So we need to think more and more vertically. How we get closer and closer to the end customers. And then technologically think about how AI inference is changing. It started from hyperscalers. We're seeing now in neoclouds. You're going to see more and more maturity. that these things become more affordable to run in your own infrastructure. So there is heterogeneity of the hardware, of the compute, of the stacks that you're gonna see and you're gonna see more and more players that are solving hard problem but problems that have to be solved with the best experience for for these agents to live with you, buy you, and more importantly, grow with you, learn from you. And these two dimensions are, we're gonna walk steps between the two axes in the next couple of years and make sure every, we're taking it as set of stairs and we have products in each step. [0:25:03] Noah Labhart: Let's switch to you, Behnam. Who influences the way that you work? Name a person or many persons or something you look up to and why. [0:25:11] Behnam Bastani: I listen to a lot of successful leaders quite often. But also spiritually, I listen to a lot of folks that have gone through a spiritual path, whether it's meditation, whether it's calmness. Believe it or not, both have huge impact in shaping a leadership style, but also innovation. I constantly listen to podcasts. I constantly listen to YouTube's interviews by large, by successful leaders in industries, past and new, and the ones that are live now. And also spiritually, how people have shared their experience and things have gone well. And those two, I think, become a good mix of directions that I can absorb and I can iterate on. But also, it keeps me focused and calm through that journey. [0:26:06] Noah Labhart: Okay, Behnam, 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. I can't wait to show it off to the world and can't wait to show it off to you right there on the plane. What advice do you give that person having gone down this road a bit? [0:26:21] Behnam Bastani: Can you succinctly tell me the problem and then tell me why you? Are you ready for this journey? Do you know what it takes? Knowing the problem, knowing why you, and then after After that, I want to see the excitement in their eyes. Do you know how you want to approach this? But the first two are the most critical ones. What's the problem? Do you really think there is a problem? Can you see the future of the problem? And are you up for it? Why you? You should be able to answer that, right? And then they should have at least a story. And I love it if the story is short. One minute, 30 seconds. How they're going to tackle this. if you will. That's the most critical one. If you're not able to succinctly say that, that means you haven't understood the problem. [0:27:11] Noah Labhart: I think all that is fantastic. It's a fantastic way to approach it and fantastic advice. Behnam, thank you for being on the show today. And thank you for telling the creation story of OpenInfer. Thank you. 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 us a review. Both things help us out tremendously. And thanks again for listening.