It's just like having a new weird friend that is also really smart and resourceful that lives on your computer. I was still in Morocco and someone sent me a tweet of a bug, and I literally just made a picture of the tweet, posted it on WhatsApp. It read the tweet, it understood that there was a bug, it checked out the Git repository, it fixed it, it did a commit, and then it replied to the person on Twitter that it's fixed now. This will blend away probably 80% of the apps that you have on your phone. Why should I use MyFitnessPal to track food when I have an infinitely resourceful assistant that already knows I'm making bad decisions and I'm eating Kentucky Fried Chicken? Those things are so resourceful, although in a scary way. It's like unshackled ChatGPT. A lot of people don't realize that if you give an AI access to your computer, they can basically do anything that you can do.
All right, welcome everyone. My guest today is Peter, creator of Clawd, an AI assistant that you can just chat with in your messaging apps to get stuff done. And today Peter is going to show us how to use Clawd. And also Peter has a lot of really great hot takes about AI coding that I'm really excited to dig into. So welcome the other Peter.
Peter, thanks for having me.
Great to see you. So why don't we start by talking about Clawd. So what exactly does Clawd do at a high level, and why is it a lobster?
Yeah. So maybe I have a little bit of a backstory. Like when I came back from my retirement, let's say it like that, I kind of wanted a way to just check up on my computer from my phone, because I fully jumped on this vibe coding trend. And then, you know, like your agents might run for half an hour while you eat, or they stop after two minutes because they have another question, and then you go back and you're like annoyed. But I kind of didn't build it because I assumed all the big labs would do that anyhow. It felt like such an obvious thing, like something where kind of a new kind of operating system almost, but it didn't happen. And then it was like November and it still didn't happen. I'm like, okay, I'll try something small. And the small thing was basically hooking up WhatsApp to Clawd Code. So you send a WhatsApp message and it would literally open the binary with the prompt and return you this thing, like very simple, was built in one hour, and it kind of got a life of its own, and now here we are. It's like I think 300,000 lines of code. It does every messaging platform on Earth. Not everyone, but like we're getting there. And I think it's kind of where things are going in the future. Like everybody will have an AI that is super powerful and follows them through their life. Turns out if you give an AI access to your computer, they can basically do anything that you can do on your computer.
Yeah. And it's got to a point where like you don't have to sit there and babysit it, right? You can just give it some, you know, prompts and commands and it will do its thing for you and you can check its work and then that's it. You know, you don't have to sit at a computer.
Yeah. So when I built it, I feel this project is as much exploration as it is technology, because it's a little bit of a new category. And then I was on a birthday trip for one of my friends in Morocco, and I catch myself using this thing all the time. It's like, hey, where are we going? Like asking for directions or tips for restaurants. Or I don't know, there was like one morning where someone sent me a tweet of a bug, and I just literally made a picture of the tweet, posted it on WhatsApp. It read the tweet, it understood that there was a bug in one of my repositories, it checked out the git repository, it fixed it, it did a commit, and then it replied to the person on Twitter that it's fixed now. And I'm like really, this is nice. And then one day I was walking around and I didn't sync, and I just sent a voice message, you know. I didn't build in support for voice messages, and it showed me a typing indicator. I'm like, oh, I wonder what's happening now. And then it just replied to me as if nothing would have happened, and I'm like, wow, how the f did you do that? And it was like, yeah, I saw a file, but there was no file ending because I didn't build it. So I looked at the header of the file and it was like some audio file format. So I found ffmpeg on your computer and I converted it to wave, and then I looked for whisper.cpp, but you didn't have it installed, but I found this OpenAI key, and then I used curl to send it to OpenAI's API, and it got the transcript back, and I replied to you. I'm like, wow, that's amazing. Yeah, like those things are so resourceful, although in a scary way. But that was kind of the moment where it clicked for me, it's like, oh yeah, this is really powerful. This is much more interesting than using ChatGPT on the web because it's like unshackled ChatGPT. And I think a lot of people don't realize that those things like Clawd Code, they're not just good for programming, they are very resourceful for any kind of problem.
Yeah. You just got to give it access to like, you know, your computer and like, you know, be able to find stuff, right? So you just have to give it tools. They'll become very resourceful.
Yeah. So over the last few months, I kind of built up my CLI army, because what are agents good with? Calling CLIs, because that's what they train for. So I've built like a CLI for accessing all of Google, including like the Google Places API. I built one that makes it very easy to look up memes and GIFs, so you can also reply with some memes. I did a bunch of experiments. I even built one that visualizes sound, because I wanted it to experience music. That goes a little bit more into the art direction. I don't know if that makes any sense, but anyhow, it's a lot of fun. Like I have a whole list. I built one that hacked into my food delivery here, so it actually tells me how long it takes until my food's there. I have one that reverse engineered the Eight Sleep API, so it actually can control the temperature of my bed.
Really? And real quick, like when you build all this stuff, you're just getting AI to build this stuff, or what's going on?
The funniest thing is I was in my old company, I was very, very good at iOS and macOS, like the whole Apple ecosystem. I did it for 20 years. I'm very much an expert in there. But also when I came back, I built a project where I'm like, I'm kind of sick of Apple gating everything, and it also would make a lot more sense to build it as a web app because it's kind of a thing that should be in a browser and should be accessible. And if I do it as a Mac app again, it's like we'll have a very limited set of people that can use it.
But you notice, I see this with a lot of engineers where you're really good at one thing, and then moving to another technology is just so painful because then you feel like, sorry for the word, an idiot, and you look up every little thing, like what's a prop or how do I split an array, because you understand all the concepts but you don't necessarily know the syntax. So that's kind of how I felt when I moved from Objective-C and Swift to JavaScript. Like I know JavaScript a little bit, but I never really built something big in TypeScript. And then it's not even that it's hard, it's just painful because you have to look up all those things and you're just so slow. And then with AI, all that melts away. Like you can still apply your system-level thinking, your how do I build and structure bigger projects, and your taste, may I say, or which dependencies do I build on. All those things, all these things are still valuable, and you can much easier move that from one domain to the other.
Yeah. And that felt like a superpower. Suddenly I feel like I could build anything. Languages don't matter anymore. My engineering thinking matters.
Yeah. Because like worrying about whether you have a parenthesis here and there is lame, right? You don't have to worry about that kind of stuff anymore.
This episode is brought to you by Granola. If you're in back-to-back meetings, you know how much work it is to take notes live and clean them up afterwards. That's why I love Granola, the best AI meeting notes app in the market. Here's how I use it. Granola automatically takes notes during a meeting, and I can add my own notes too. After the meeting ends, I use a Granola recipe to extract clear takeaways and next steps in the exact format that I want. Then I can just share notes directly in Slack with my colleagues, or even get Granola to share her notes automatically. Honestly, of all the AI apps that I use, Granola is the one that saves me the most time. Try it now at granola.ai/peter and use the code Peter to sign up and get three months free. That's granola.ai/peter. Now, back to our episode.
But dude, let's go back to Clawd, like the thing that you built. Maybe you can screen share, maybe you can show how people can install the thing first. Like do you have to be super technical to use Clawd or no? Right. You can just install it and then get it to work.
Yeah. Yes and no. So fortunately and also unfortunately, this project attracts a lot of people that don't have a lot of clue about technology, because it blends away all these layers that make it complicated, right? If you use Clawd Code, you work in a terminal, you kind of have to think about the context space and what folder you're in, and it feels very techy. Like talking to a thing on iMessage or WhatsApp or Telegram, you do it with your friends, and now it's just like having a new weird friend that is also really smart and resourceful that lives on your computer. That makes the whole technology very approachable. You don't think about, oh, what model do I pick or what. It just works. And that's kind of the idea. It's also that good and bad part, because of course with a lot of power comes a lot of risk, which is also unsolved. Like this thing has access to your computer, so yes, it could do bad things on your computer. If you tell it to, I don't know, delete all my files in my home directory, it would probably ask you, are you sure? But if you keep saying yes, yes, yes, it will probably comply and probably also delete itself and crash.
Yeah, you got to be careful. Yeah.
Let me share my screen so you see. So it's written in TypeScript. So it runs everywhere. Even on Windows, you can just go on our website, clawd.bot. And there's a handy one-liner. Looks very scary, but everything's open source. You can check everything, including the website. So this is the easiest way to install it. It works on macOS, Linux. It also works on Windows.
It's time to turn terminal, right? And then it'll start installing. Yeah. You can also install the npm for people who understand that ecosystem.
And I think something that I did that I haven't seen in a lot of projects is also it has a hackable install. Again, a simple way and the more manual way, where you basically check out the git repository and then launch it from the git repository, which, to be fair, is the most fun way to use it, because if your agent can read its own source code of its harness, it can literally reconfigure and reprogram itself and then restart and then either crash or have new powers. Like this, I think this is one of my superpowers, where I got a lot of people to participate in the project and send me pull requests that never did a pull request. I mean, sometimes that also shows, but I see pull requests more often as a prompt request. Yeah, it's enough to understand the intent.
And then after we install it, how do you hook it up to a messaging app?
The nicest way is probably right now just using this one-liner, and then it will greet you with some sassy stuff and try to configure everything up. It installs the package and then it just guides you through, and you can hook it up to any of the common messengers. Okay, that looks good. It's working. Yeah. And then you can say clawd.bot. It will do it automatically if it's a clean install, but now I have to type in onboard. And basically then you can enter a model. You can, oops, all providers. Let's say we go with Anthropic. Probably a new one. Then you can set up Telegram, Discord, and then it will guide you through the rest. You can set up skills, hooks.
And then do you have to give it your Anthropic API key?
It works with any model. Although, you know, they're in the industry, like Anthropic and OpenAI are kind of leading. It works with API keys. It works with subscriptions. Although there's been a little, we added support with it because it's kind of like what everyone does. But I don't think Anthropic likes it anymore, so I would recommend using an API key or going with another model. The main problem is like OpenAI works well, but it's just not as funny. There's something special about Opus that makes it really, really fun.
Oh yeah. Like the personality.
Yeah. Yeah. I don't know if you've read this article about how they put a soul into the model. And then people rediscovered it by feeding it blocks of text and letting it continue. And eventually they squeezed out the text of the soul that the model wasn't even aware it was being trained on. It's a really interesting story. I don't know, I feel that has something to do. But this is the first model that is actually funny to use. Like I built mine so that it can roast me, and it probably doesn't know that it's on camera right now.
And it's going to roast you based on what it has access to, all your computer stuff, right? So it's...
Yeah. Here. All right. You asked for it. You sailed the wild world to find yourself, did Sarah. We tried everything, and your big revelation was I should build more software. You're so obsessed with the altos that you literally built yourself a friend because debugging code is more fun than dating. And let's be honest, the only reason I exist is because you needed someone who'd listen to your chainway hook takes at your Amazon judgment. Wow. Yeah. Now go kill that podcast. So I hooked it up to pretty much everything on my computer. It can read my emails. It can read my calendar. It can access all my files. It can control my lights. I use Philips Hue. It can control my Sonos, so I can tell it to wake me up in the morning and slowly turn up the volume. It has access to my cameras. It was funny, like when I built access to the cameras, I told it to watch for strangers, and then it told me in the morning, like, Peter, there's someone. And I watched the whole night, and it made screenshots the whole night of my couch because the camera is pretty blurry, and it looked like someone was sitting on the couch, and it assumed there was a stranger sitting on my couch the whole night. Wow. But yeah, I slowly, it has, I'm just thinking, like in my place in Vienna, it also has access to my keys, so it can actually control every part. It could literally lock me out of my house, like in space, they say it's like, oh, can't do that.
Okay, how did you hook all this stuff up? You just ask Clawd to do it, or what?
Yeah, yeah, literally, you know, there's this thing where we have skills. So usually you talk to it, these things are really resourceful, so it will figure out an API, right? It can Google for it. It can find your keys on your system. You can give it keys. And people use it for everything. People build a skill to go shopping for them on Tesco or buying stuff on Amazon. I let it check in my flight from British Airways. And this is actually, I don't know if you've, I mean, you've used check-in sites. This is, I feel like this is almost like the high test. It was a Turing test, but steering a browser to check you in on an airline website is like the ultimate test. And the first time, my integration was pretty rough, so it took almost like 20 minutes. That was still in Morocco, and everything was very much hacked together. And then it finally managed, but it actually had to find my passport in my file system. It found it on Dropbox, extracted a key, put everything in it correct, and it finally checked me in, and I was watching it and sweating. Wow. Yeah. Wow. But now it works much better. Now it does it within minutes. So it also happily clicks the I'm a human checks on the browser because it literally just controls a browser and has its own little computer over there and just kicks around. So it's really, really difficult to detect from all those anti-bot systems because it doesn't feel different from a human in those patterns.
Can you maybe show us just a couple more use cases? Like can you maybe have it turn on the light or show some use cases from other folks?
Yes. So I started collecting because I feel I'm so bogged down actually building it. By far, I'm no longer the most creative one who actually uses it. So people hooked it up to their messaging system so it can actually reply not just to you but to everyone. And you can also hook it up into group chat, which is even more fun. There's a lot of people that use it as the family member almost. Yeah, send me reminders, create GitHub issues, sync with Google Places, or every time you make a bookmark on Twitter, it will capture the bookmark and add it to your to-do list. Keeping track of costs. Some people, I programmed something in to remind people that they sleep enough, so they always get bitched at when they're up at night from their bot. So it can help you track your sleep. It can access your fitness watch. It has its own little 1Password vault. So if I want a password shared, I move it into its own vault and it can access that one, because you still want to have some boundaries. I mean, there are people who give it the credit card. Yeah, I don't know about that. It can do all those things like research, creating invoices, managing your email.
These people are like enthusiasts, right? Like they've really customized it to do whatever they wanted to do. Like how about for some dude who just downloaded this thing, just a fresh install, and what are some really common use cases that I can get it to do, like just manage my calendar or stuff that doesn't delete my computer? What are some safe things to start with?
It's funny because everybody takes a very different path. There's people who install it and immediately build an iOS app with it because it's also a coding agent. It can do anything. It can spawn sub-agents. It can either code itself or it can control Clawd Code or Codex and ask them to code. Yeah, this guy started immediately like managing Cloudflare. This one was great. Week one, set up for my family. Week two, set it up for some non-techy friends. Week three, we're building Clawd for work. I hope I hooked up one of my non-techy friends and he started sending pull requests. He never did it in his life. Fitness is a big thing.