S7 Bonus: The Algorithmic Construction Site: Engineering a Generative Scheduling Engine with René Morkos of ALICE Technologies [0:00:01] René Morkos: We go to our customers and say, hey, we're going to build this like tool that's going to generate millions of schedules. And our customers will be like, what do you mean, millions of schedules? And so for us, it was kind of like, build a little piece, we build some with our friends, get some input from like five, six people, go back to drawing board, build the next version. Like, we would go to our customers and give it to them, and then they would be like apologetic about like, oh, well, yeah, it's great. they wouldn't really want to tell us what sucked. And we'd be like, no, no, no, no, no. It sucks. Why don't you tell us why? It's funny when you say that to someone, they'd immediately be like, oh, we're like, yeah, don't worry about it. We know it sucks. Why does it suck? My name is René Morkos, and I'm the founder and CEO of ALICE Technologies. [0:00:47] Noah Labhart: This is Code Story, a podcast bringing you interviews with tech visionaries who share in the critical moments of what it takes to change an industry and build and lead a team that has your back. I'm your host, Noah Labhart, and today I talk with René Morkos, who's built you the best way to optioneer and explore numerous ways to build your construction project. All this and more on Code Story. René Morkos is a builder. When he was younger, his dad told him that he could study anything he wanted as long as it wasn't civil engineering. So that is exactly what he did. He's built amazing things all over the world and also obtained his PhD at Stanford. Outside of technology, he likes to alternate hobbies and is currently settled into mountaineering after spending some time doing kite surfing. Rene was in Afghanistan working on a project trying to repair the runway that had been struck by RPGs. He observed how hard it was to find the optimal way to do a simple project. While he was studying his PhD, he also noticed that construction sites were underutilized. So he and his team invented a simple algorithm that knew how to build. This is the creation story of ALICE Technologies. [0:02:10] René Morkos: ALICE Technologies is an acronym that stands for Artificial Intelligence Construction Engineering and it's the world's first construction simulator. What that means is it can take a construction project like a bridge, a hospital, a tower, put it in our system and it generates six million different ways of building it for you. Build it with one crane, two cranes, over time and over time and so on and so forth. That's basically what ALICE Technologies does. The reason you want to do that is that construction is relatively complicated and so figuring out the best way to build something can save you you know 17% on the duration and 13% on the labor costs I guess there's kind of two points right one was I was in Afghanistan repairing these RPG attacks on a runway and I was trying to figure out the best way to sequence the work I remember thinking like this is like a really simple stupid why can't I figure out the optimal way to do it? And it turns out the reason you can't figure it out is that there's lots and lots of solutions. You can shuffle crews around in lots of different ways. And so I set out to find the tool that could do that. And when I started my PhD, what I noticed was construction sites are empty. And what I mean by that is that if you look at a construction site anywhere in the world, well, you'll notice that there's lots of empty space and pockets of work. And so I remember I was on a construction site, the cruise ship terminal in Amsterdam, them and they were sort of the subcontractor or general contractors that the person doing the work and the entity that hired them to do the work was sort of very upset with each other. The subcontractor was sort of yelling like I can't work any faster I can't work any faster and so I took a look outside the window and I noticed there's a hundred thousand square foot of empty space and six people standing and so that's how how the journey started. I started thinking well like every construction project I've ever been on has been empty and so if that's the case, what percentage of construction site space is used for construction at any given moment? And the answer to that question is actually 3%. So everybody was pretty surprised at that number. It's a very low asset utilization. Factories get 60, 70, maybe even higher than 70%. So we thought to ourselves, okay, well, if you're in Silicon Valley, you're a hammer and everything's a nail. So why don't we design an algorithm that's going to go solve this? So we designed an algorithm that kind of go figure this out. And what it would do is allocate spatial usage to construction sites. So it actually like put people into space on the construction site where nothing was happening. By doing that, we had invented like a simple algorithm that could solve a piece of the problem. But what I realized at that point is that the algorithm knew how to build. And that was kind of a big, big moment. It didn't know how to build very well, you know, sure, but it definitely knew how to build. And that was kind of the start of it, right? because it was like, wait, if he knows how to build, why don't we add resources to it? Why don't we add calendars? Why don't we add cranes? And that's kind of been my ride for the last, I don't know, eight years at this point. One thing led to another, and we won the entrepreneurship competition at Stanford, and we got money, and investors gave us money, and so on and so forth. And that's how it went. [0:05:08] Noah Labhart: Well, let's dive into the MVP, so that first version of the product you built. How long did it take to build, and what sort of tools did you use to bring it to life? [0:05:18] René Morkos: I mean, it was kind of nuts. You know, if you saw what I had after really three years banging my head against the wall and working 18 hours a day, seven days a week, like we literally had a white screen that had these colored squares that would appear and disappear on. And those colored squares represented like where the construction processes were occurring. It was like a top view, like a drone looking down on a construction site. And those colored squares was where the work was occurring. That's what the prototype looked like. I mean, it was written in Java, you know. They used a couple of, like, graphics libraries. And, yeah, I had a couple of research assistants to help me, like, run it, code it, test it, and whatnot. I mean, they were doing it, you know, in their spare hours while pursuing a degree at Stanford. So, yeah, I mean, it took us, I don't know, like, probably a year of, like, trying all these different versions of, like, prototypes and codes and experiments and whatnot. felt like we had some experiments that were solid. We started with conceptual research. So that means like, well, what are the pieces of the puzzle we need to think about? Then what information is contained, you know, or pertains to each piece of the puzzle? I was like step one. And I was like, just, you know, think about a whiteboard with a lot of little like squares on it or tables, like iterating on how we should represent construction projects in a computer. And step two was theoretical research, which is okay, now that we have the pieces, how do they interact? So like if a crew builds, you know, elements and a component, you know, what does that look like? And then once we had that, we had a prototype, which is the thing that I was talking about now. Once we had the prototype, we moved to commercial product. That was kind of a big difference, right? And through the building of the commercial product, at some point someone was willing to pay us, you know, a chunk of change for it. [0:07:09] Noah Labhart: So from that point, then you have your MVP. How did you progress the product from there? And how did you mature it? And I guess what I'm interested in that is like, you know, how you took it to the next level and how you built your roadmap around, you know, this is the next most important thing to build or to address with ALICE. [0:07:27] René Morkos: You know, it's a good question, right? Because, I mean, the classic answer is like, well, I talked to my customers and my customers told me exactly what they wanted. And then I built it and delivered it to them. And that was that, right? I don't think that's necessarily true. makes building businesses so hard because you know if i had asked my customer what they wanted they would have said a faster horse right people attribute that to henry ford it's not like intel ford did not say that for us that was kind of a question right we go to our customers and say hey we're going to build this like tool that's going to generate millions of schedules our customers would be like what do you mean millions of schedules and so for us it was kind of like we build a little piece we build some minor friends get some input from like five six people go back We definitely subscribed to that rapid iteration mantra of Silicon Valley. We were also trying to run it for our customers. So I think internally, we were the customer success folks that were like, okay, well, if you want it to work on bridges, you need to have this kind of constraint that we need to build it to. So I think internally, we got a lot of input onto what we were building. So I guess one of the things that we did right was that we would go to our customers and give it to them, and then they would be like apologetic about like, oh, well, yeah, it's great. You know, they wouldn't really want to tell us what sucked. And we'd be like, no, no, no, no, no. Like, it sucks. Why don't you tell us why? And it's funny when you say that to someone, they'd immediately be like, oh, we're like, yeah, don't worry about it. We know it sucks. Why does it suck? And they'd say, well, and they'd kind of like blurt out like six different reasons. But every time they did that, we'd go take those six reasons, go back to the drawing board and sort of fix it. And this sort of went back and forth for a little while. every single time you talk to a customer, at some point you've got something that's pretty solid. So I think that's kind of really how the story sort of developed. [0:09:17] Noah Labhart: Okay, then let's switch to team. So how did you go about building your team? And what did you look for in those people to indicate that they were the winning horses to join you? [0:09:26] René Morkos: I once asked my friend who was a few years ahead of me, and you should always find someone that's like three to four years ahead of you, because there's certain patterns that really match well. I once asked someone that was three to four years ahead of me, like hey how did you build a team and what they said was everything literally like you know put it out on the paper talk to your friends use your network use a recruiter so like it's just like everything on the sun right and so i was like okay here's what i realized early on you've kind of got three levers to play with right you're you're hiring you know the smartest people in the world the most motivated people in the world that are the most like emotionally mature and good at being They have a lot of social skills that they can use to help grow an organization. And so I think from my side, I realized that if you are going to reduce the efficacy or reduce the points on one of those three metrics, you're probably going to reduce the points on the maturity or social skill part, if that makes sense. And so, like, the original team we had was just oddballs, including myself. You know, they were just like folks that, you know, maybe didn't look, you know, the best on paper. folks that like didn't have necessarily a degree in computer science or folks that didn't come through the construction management you know program or whatever it was right and so yeah it just took a lot more effort to finding people that were the best in the world right but maybe didn't look like they were the best in the world so i think that was the trick early on that's how we built the first team and i you know used my personal network my friends and you know contacts at university and like everything i could lay my hands on to do it and that first team was was had four geniuses on the team and you know they were just working like i would just put them in a room and watch the sparks fly i mean i remember you know very quickly within like two or three months they'd ask me something and i was like you know guys i really think the best thing i can do is just get out of your way you know you guys have been working on this for a while i don't think you need me let's [0:11:28] Noah Labhart: switch to scalability then so was this built to scale efficiently from day one i or have you been fighting this as you grow in any capacity? [0:11:40] René Morkos: I mean, for us, like one thing, one interesting thing that happened was when we scaled from like six to 16, you know, I think that's where it broke, at least for me, it does. Six to 18, maybe, you know, and it really, we went from like a few people to like, you know, we quadrupled in size or three and a half X in size. And like everything kind of broke down to that point, right? We didn't have the management processes in place and couldn't really like run the show. You know, I think in hindsight, Had I built more processes into the company earlier, maybe that would have been better. But again, like I pointed out, I was working with these geniuses who literally just want to sit in a room and hammer out code. So I don't know. I really don't know if they would have been happy with these sort of constraints. Once we had the constraints, they left. They went to find the next gig where they could be sitting in a basement and working 24-7. In terms of scalability, from a customer perspective, that was never an issue, right? to be connected to millions of people on like day 30, right? So the good news is there's technologies out there that require far more intense like data exchanges than we do. So that was never an issue. I think once we sort of got track of like processes and OKRs and objectives and that whole area, right, that actually helped us scale. And I think it just got a lot better or easier. year. The 6 to 18 scaling was way more painful than the 18 to 70. [0:13:09] Noah Labhart: So then as you step out on the balcony and you look across all that you've built, what are you most proud of? [0:13:16] René Morkos: Not to say it's ALICE, you know, ALICE is a company and a technology, right? We built something that never existed before. Like we solved a problem that no one's been able to solve. People have thought of it, right? People have talked to me about it, but no one's ever been able to do it. the first in the world to pull it off. It's been a really beautiful journey. And I think even while we pulled it off, we built a home and a company for a lot of people that I think really love going to work. But I'd say that's the thing that I'm most proud of. The company, both as a vehicle to build this technology and a vehicle that enables people's careers to flourish in the way it does. [0:13:54] 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:14:00] René Morkos: I was talking about this recently. I remember very early on, maybe a year into the journey, I was raising money. I forget what the... I was an investor. The conversation was around how much money are you raising? I said, well, if I raise this much, I'll have to avoid making mistakes. The answer was like, listen, buddy, you're going to make a lot of mistakes. I made a lot of mistakes. I think here's a really dumb one. I wish I would have segmented the market earlier. That was definitely, I think, something I learned from that. I segmented the market earlier. Building a business is three things, right? Finding your ICP or ideal customer profile, figuring out how to make value for your ICP, and then expand to other ICPs or within ICP, right? And then be very brutal about applying that and say no to everybody outside of your ICP. I think had I learned that earlier, things would have been faster. I think implementing sort of OKRs, objectives and key results and processes around this would have also, I think, been a good idea. Having someone categorize my emails earlier would have probably saved me like a year or two of my life. [0:15:05] Noah Labhart: Okay, this will be fun. What does the future look like for ALICE Technologies, the product, and for your team? [0:15:13] René Morkos: ALICE is going to be a key orchestrator in the global construction supply chain. ALICE is a software that I think will enable companies to really connect to a global supply chain for materials, labor, and equipment real time in order to build what they're building. That's what Alice will need to do. [0:15:33] Noah Labhart: Clear and concise. I like it. Well, 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:15:44] René Morkos: At Stanford, I was lucky. I had two advisors. I had one that was really like a technical advisor and one that was really sort of a, I don't know, maybe like a philosophical advisor. Because ultimately it boils down to fuel. I think a lot of people will realize that. I think It's kind of interesting how so much of who you are is defined by why you do the things you do. Do you want to be rich so that you open an orphanage, or do you want to be rich so you can buy a Ferrari? And I think, for me, one of my advisors was really key and instrumental in helping me work through the personal aspects of who I am. In terms of the question you asked me, I guess I'd answer it two ways. I think one from a technical perspective, my idols were Einstein, Heisenberg, Schrödinger, like quantum mechanics. And I think the reason that is important is in quantum mechanics, you know, two opposites can and do exist, two opposite concepts, right? Theories. The reason that's significant in business is that you're faced with such a large amount of complexity that being able to hold two opposing thoughts in your head at the same time simultaneously and then at the last minute as reality kind of you know forces you know creates a forcing function you you know it picks one of those realities for you I guess a good way to put it and I found that to be like very advantageous and thinking about business in terms of the the other who do I look up to I I spent a lot of time reading stoic philosophy and so Ryan Holiday has this 365 meditations stoic meditations and so I got that for There's like one little paragraph per day that you can read that I found to be really inspirational. I'm reading through Marcus Aurelius' Meditations. Marcus Aurelius is an emperor of Rome. He wrote this really interesting set of thoughts, maybe is a good way to put it. Those thoughts, I think, have helped me think through what my own motivations are and who I want to be as a person. So I guess those would be two idols. One is, you know, the quantum mechanics creates and the way that they think, right? Because I think that's a very powerful way to solve problems. And then second would be, you know, the internal fuel and how you generate that. And for me, that's through like the stoic philosophers, I would say. So those are the two. [0:18:04] Noah Labhart: René, 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. They can't wait to show it off to the world. 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:18:19] René Morkos: I've given the best piece of advice that I've gotten, right? So we were at the business school and we're sort of presenting there. And someone next to me, you know, again, three, four years ahead of me. And when we were done, so I looked at him and I said, hey, man, you got any advice for me? He thought about it and he said, yeah, don't take the highs so high and the lows so low. And that would be the advice I'd give the person. [0:18:41] Noah Labhart: That's fantastic advice. Well, René, thank you for being on the show today. And thank you for telling the creation story of ALICE Technologies. [0:18:48] René Morkos: Thanks, Noah. It was great to be here and hope you listen. Have a great day. [0:18:54] 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 us a review. Both things help us out tremendously. And thanks again for listening.