Hi, Siri. Call GoBot.
Hey, Goda. Hi.
I see you've been busy with filming today. How's the free Claude bot alternative setup video coming along?
We are filming a course today. I have a big task for you. I want you to go to my autonomy organization
on GitHub,
investigate everything about Go bot features and setup. You can also look at the WordPress,
the course for full setup. And I want you to create a presentation using my autonomy branding,
deploy it to GitHub, turn it into pages,
and send me a link to the presentation.
Got it. That's a big one. So you want me to investigate the GoBot features and set up across your autonomy key? Okay. Good luck. Okay. So I figured how to trigger my CloudBot replica
with the phone, so Siri is finally useful.
And now I can watch it step by step executing the task. And this runs twenty four seven now. So even if I shut down my computer, it keeps going. And after the last video, hundreds if probably not a thousand people asked me how to do it, how to build Clawbot replica
inside
Clawd code yourself.
So this is going to be the mini course that I promised. I've been working hard on trying to make it as useful as possible.
After this video and mini course, you are going to able to communicate to your clot code using your telegram like a messaging app, and you will have memory. You can use send voice messages, and you will have proactive check ins. If you are interested in the full features like calling and actually going and doing big task and having twenty four seven hosted on VPS.
You can check out all those features for the full version. And if you want to personalize and fully set it up because it's a little bit more complex,
you can join our community. Let's dive in now. I built my new website the business, and it's called Autonomy. I'm very proud of it. And I can also fully edit my website just by making a call, giving it a task, it goes and edits. That's the whole other video that I'm planning to make. You can navigate to resources.
This is the knowledge base and
here you go. Build your own Clobot replica inside ClotCode.
So what you're going to build is an AI agents
you can call, command, and control. You can totally get started,
and it's free. And I know that people are already building on top of that. First thing to address that this works on Mac, Windows, or Linux. So it doesn't matter what operating system you have. We are using Cloud Code. The number one thing for you to understand that Cloud Code is not just for developers.
It's like your personal infrastructure with AI that is able to connect all the things, both execute on strategy, but also have hands
to do things.
Oh my god. Okay.
So, the slides, it just literally popped up. I'm not cutting this part. Okay? So, we're going to look at the slides together. So, this is the full version.
Okay. What is GoBot?
It's always available multimodal context aware specialized agents. So this is also I'm going to talk about I implemented multi agent. I've like been working with multi agent framework, so I had to do it. Three tier architecture,
Telegram bot, it goes to the so this is the full version. Okay? Gateway, Mac Relay, I don't want to spend too much time. Smart routing,
key features,
voice integration,
multi user ready.
I don't know. Like, if this is not crazy
to you, it is absolutely crazy for me that I can just call,
tell it what to do, and it opens on my computer fully done. And I need to confirm it to push it to Pages so I can publicly share it. Okay? Oh my god. And I got a link. I literally got the link to the same slides. I need to optimize the slides to be mobile friendly. Back to the course. Okay? Now what you need? Two things. We need Bun. It is very fast JavaScript
runtime. So, basically, this allows us to run while your computer so it's basically like running in the background. Like, imagine when you play from Spotify music, no matter what you do, its music is playing. So it's kind of the same principle. This is completely for free. And then clot code. So for clot code, you can get clot code with clot subscription.
You can even get clot code with clot pro subscription.
Monthly, it's around $20.
If you want
real power, you go with a max plan. And max plan has two tiers, around $100
and $200.
So I personally been paying $200 to Anthropic forever
for a moment that they had that option in Cloud Code, and that's been my one of the best investments
that I ever made.
So I hope they never increase that price, please. The next thing, the code. So there is a public GitHub repo that I put together, and you can see that 175
people started.
There's 76
people that forked it, so they are making their own versions. You can read exactly about text. So if you are familiar how to run different commands,
just go clone it, and it has automated setup. So now how do you install BUN and ClotCode? So I already mentioned you need subscription from ClotCode.
But for installing BUN, you need to run this command in your terminal. To open terminal on at least Mac, you go into Spotlight and type terminal.
Boom. This is your terminal look. So this is what we are going to use. This is what developers are very familiar.
And to be honest, it's kind of like a full circle because when computer started, everything was in terminal. Now we are back in terminal. So it's a little bit funny. You would run this command first,
and then you need to close your terminal. So you just copy. Let's open it again. You copy,
paste it, and click enter. Once you have bun installed, you also want to double check if everything went well. So you can go BUN version. So let's do it together.
Again, if I press this,
I have 1.35.
If everything installed, this is what you will see. Now installing ClotCode.
There are official installation documents. Depending if you're on Mac or Windows, the installation command will look different. These are the commands. You just copy, paste it in your terminal, and it does the setup. In my case, I already have it installed.
Once you have clot installed, the next thing you are going to do, again, open your terminal and type clot. Let's make it bigger. Just clot. Just as a name. You press enter.
And if you first time set it up, it's going to ask you to authenticate
with your subscription.
So, again, you click the link, you select your email that you have a subscription, it generates like a special link, you click on that, and boom, you are inside. It's asking me about accessing certain workspace, so I'm saying, yes, I trust this folder. You are inside clot code, and you have a, like, lovely icon, so it's not as scary. It's really just like a chat interface.
It just looks a bit different,
uh, but you type and you press enter, basically. Now we are going to connect Telegram to our clot code. Step one is get the code. There is two ways to get the code. You can go to this repo,
click on the green button, and download ZIP.
And this is if you want to start, but you don't have GitHub account, you can just do that. However, I highly highly highly recommend if I would not say it's a must to have GitHub account,
so you can actually also do version control on your setup. If you have GitHub account and you actually clone this repo, when they push new updates, which I just did two days ago, you can update your whole setup with the new feature that I added or the community added or if there is any bugs. So having a GitHub account is really really important. If you don't have GitHub account and you just downloaded the file, you go to your download folder and you have this zip file. Unzip it. And all you can do and this is applies to also images because ClotCode can also analyze images, files, like literally anything you can feed it. You just drag this folder, boom. And then you just say, I want to set this up. In ClotCode, once you press enter and send it, you actually are seeing what is happening. If you just freshly set up clot code, it might throw a lot of, like, can I do this? Can I do this? Those permissions that you are seeing, it's not related to the setup that you just got, but it's like a clot code setup. You can change those permissions and loosen up. This is like a gray area, and you have to be really smart about what permissions you give to go on autopilot. Let's get this setup. This is a Telegram bot powered by clot code. You message it, blah blah blah. So this is you get how it runs. Bind and clot code are both installed.
Phase one estimates three minutes. Like, I asked my community members. They said, like, it every guide is running in two minutes. It's going to tell you what to do, but also what it needs, and you just paste. It. Step two, create bot in Telegram. Very simple. So first of all, you need to download Telegram. Telegram runs both on your phone, on a tablet, on a desktop. Literally, you will be able to access this no matter where you are. So you go to Telegram. In a search, type bot
father.
This is what you're going to see. There's going to be, like, a phishing accounts. Make sure that this one with the blue check mark, open it, click create new bot. It's asking, like, what's the bot name? So put something like Julie bot. Here here is important. Treat your username private.
Because if you share your username, anybody can find it on Telegram just like we found bot favour. In a sense, we anybody can message you. I will tell you about security measures, how to prevent that anybody can message you and extract information from your Telegram bot. But even with usernames,
we're kind of private. But we said Julie, let's do Julie
one two three four five underscore bot. You create a bot. Click on your bot,
and this is oh my god. I'm so happy that they implemented this. This is the token that we need. Token is private. Never show it to anyone. Just copy this, paste it in your automated
setup. So I do copy,
and here you would say my
bot token is next thing that we need is Telegram user ID. So I'm going to show you how to get it, but before we do that, I want to make it very, very clear. Treat this as your password. I saw so many tutorials on YouTube from people setting up Clotbots,
and, basically,
they're showing on the video their user ID. If I have your username
and your Telegram user ID, I can spin up an agent in a second and basically message your bot passing in this Telegram user ID and extracting everything that they want. Anyway, go to user info bot. In the search, type this one. Once again, please click on the green one and not all the fishy ones. So this is the official.
Now I'm not going to click on it because it immediately exposes my
Telegram user ID. But, basically, once you click on it and click start, it tells your ID a string of numbers. Go back to your terminal and you paste the user ID. I'm not going to follow along here with automated setup because I think it's really straightforward.
And if you have any issues, you can submit them in a GitHub repo. But I'm going to explain you what's happening and how to set up the rest. And at this point,
you would be able to already message it. Okay? Now memory.
Because if you just send a message and you say, like, hey. My name is Goda. And just say, hi, Goda. And you're like, what's my name? There is no memory. Right? We have to set up memory. That's kind of like a basics that we need. Many different ways how you can do this. I personally use super base. We are next week having a workshop on comparison between super base and convex. But you want a database that is secure, is hosted in different regions
because of data protection.
Once we set up memory, which we are going to do in a second, you're going to have conversation history, also semantic search. Your bot not only pulls the whole messages, but pulls the meaning. So if you are like, hey. What was this kind of, like, invite
that they got last week? Okay? So this is not something very specific, but there is bits of pieces of information that matches multiple outputs.
I also implemented facts and goals. There is intent detection.
If you say something and it's a fact, it's going to detect that this is a fact. Like, for example, my daughter's name is x. It's going to add it to its memory so you don't have to repeat it again and again. Calls, many people do it differently. You can do task, like, whatever it is. But if you say, like, oh, I want to do this next week, that's a goal detected. It's going to add. So in proactive check ins, it's going to ask you, like, hey. How is that thing going? You wanted to do this at that date. Did you finish it? This is, a absolutely, like, a basic basic setup, but I think it already is kind of pretty cool experience. So where is your memories and data live? Like, we are going to use Superbase for this. So this is the platform, of alternative of Google's Firebase.
Once you create an account, you create your organization.
Inside an organization on the free tier, you are able to have two projects. So, actually,
I'm going to just delete this project
so I can show you. To create your own, you click to create new project.
You need to give it a name, database password.
Do create that. We never know what happens and save it somewhere. Just it's a good practice. Now the region.
Usually, you select the region because this is where your servers live. There are two ways to consider this. If you would ever set it up this for businesses, it's very important where data is stored and all the policies about it, but you're setting this up probably for yourself. You need to select where you are based because then it's the closest server to use when there's this latency.
You always want to be as close to the server that you selected.
And you need to enable this because we are going to use data API. And then you just create new project. That's it. Once you have your project, it's going to be empty, but we are going to let AI to set up the whole database for us. Edge functions, the tables, SQL is like everything is already preloaded for you. Of course, keep in mind, this is like very basic version.
Uh, there is a lot to be desired from this, which you can find in the full version and breakdown,
but it's good to start. It's good to start. You have this functional bot. We are leveraging edge functions. If you want to learn about that, I put it in writing here.
Next thing, in set the automated step, it's going to ask you for your project URL
and add on public key. Go to the top bar where it says connect.
In different connections, you can see API keys.
From here, you need your project URL and you need your Anon key. Copy both and give it to your setup. For setting up the whole database, we are going to use Superbase MCP server. In a automated setup, it's going to prompt you to get it officially from Superbase. That's very important. Use only official one. And install Superbase MCP server.
So there is the full guide how to do it, and automated setup is going to walk you through. Once you have Superbase
MCP,
it's going to ask you for your account token. If you want to find access token, you go to account preferences,
and here you have preferences and access token. Click generate new token. Give it a name. For expiry,
you can start with thirty days, but, honestly, you can set it to never as well. But, again, this is like a password to your database. Right? So treat it like one. Julie, I like, I I I don't know why it's Julie. Generate token. Boom. So this is what you will see as the access token. Again, copy and give it to automated setup. It's not necessary,
but you can set up semantic search. You're going to have messages. And for messages,
we have this embeddings.
So this is basically just a string of numbers and the coordinates of the word meaning for setting up semantic search.
It's going to install edge functions, but it's not going to work unless you give it API key. We are going to use OpenAI embeddings. You can use any other embeddings. To create OpenAI API account, you go to platform.openai.com.
Once you create account, if you don't have any, you are going to see something like this. It looks today like this, maybe tomorrow a bit different. You will have default project. I have multiple different projects. You can create a dedicated project, Julie. This allows you once you have a project, are more organized and you can track your API spendings.
To enable API, you have to set up billing. And I think if you're new, you're going to get, like, a $5
credit,
maybe changed. But, usually, for new users, they were giving some credits. Once you set up your project, we will need API keys. You don't have any billing enabled, it won't allow you to set up API keys. Go to settings,
billing, and attach a credit card and just add some balance. So I now use OpenAI,
I think, only for embeddings for the project,
and it's insanely cheap. Embeddings are super cheap. If you have $510,
it's going to last you forever.
Once you added some credit, go back to dashboard, API keys, and, again, create new secret key. You give it a name. We say Julie. Create secret key. This is what you need to copy. Now important,
we're going to place this API key in super base because this is just for super base. Once you copy and click done, it's going to disappear. You won't be able to copy it again. You will have to create new key. So copy this, maybe save it in some document. We need to go to edge functions.
I have many different edge functions,
but for edge functions to have functionality to create embeddings,
those need secret.
Add a secret, but here is super super important. You have to give it not some random name, but you have to give it exactly this. OpenAI
underscore API underscore key in capital letters. Paste it like this. And I already have one API key right here saved,
so I'm not going to add another one because then this is a variable. And if there are two, the same variables,
that doesn't really work. Regarding cost, super base free tier is insanely general as you get 500 megabytes
of storage, and we are storing only text. In a full setup, we are storing also images.
So for example, you can send an image. It detects intent. Considering that intent, it goes looks at the image. But also, we are storing image and creating embedding. So I don't know. Like, after a month, you can say, like, hey. I send you this image of camera.
What model was that camera? It's going to be able to tell you because we are storing all, so images become part of our memory. But to start Superbase is free. OpenAI
embeddings are pennies. This is the moment when you are testing your bot. So at this point,
you should be done with your setup. Now it's going to ask you some things about your profile so that basically it's not like dumb and it has a little bit of context information about you. Again, if you're already using Clot code and you have your MD file with information
about you, that context It's just an additional thing, and this is for people just getting started. If you want to start messaging your bot, you click on this username,
Julie. Click messages.
To actually start,
click big blue start button. Boom. You are inside. You just say hi, and let's say, for example, here we say thank you.
This is awesome.
At the top, you're going to see typing. Well, this is my full setup. I think I implemented
typing also in there. If I haven't, I'm going to add it because it's pretty cool. So you can actually see that something is happening. Right? Okay. So now this
right now, it runs only while your terminal is running. So we need to make sure that it's running all the time. So this is why we go on always on. And when I say all the time, you have to understand that this runs while your computer runs because it's on your machine.
In a full version, we set up a hybrid model where for when your computer is on, we are using Mac with your subscription, which is fixed cost. If you wanna go and your computer is off or in your backpack, you have VPS,
exactly the same function. We are using Cloud Agent SDK, but more on that in the full setup, and we can teach you, and we can help you set it up inside Commute. Now if you are on Mac, you're going to use LaunchHD.
If you're on Windows, it's called PM two. However, don't need to worry. It doesn't matter on what software you you are. You just basically know to meet it set up. Just say it, make it always on. It will know what to do. Test it if it works when terminal is closed. You just basically close it, terminate,
gone,
and then text your Telegram bot, and it should answer you no matter what. And if for some reason you want to stop it again, go to Cloud Code and say, hey. Stop my Telegram bot. From this point on, no matter when you open Cloud Code, if you say Telegram bot, it will know what you're talking about. Gosh. I imagine this video is already pretty long, but top questions that I received from the previous video, want to just address. So voice calls, voice transcription,
this is additional, like, phone calls. Also, that your phone calls have context of what happened. If I call now, hi, Siri. Call Go bot. So we can see if it actually has any memory. Okay? Hey, good. Hi. Do you remember what we did last?
Yeah. I do. This week, you've been pretty busy. You were working on filming content,
including getting that free Claude bot alternative setup with a mini course done. You also asked me to create that GoBot presentation and deploy it to GitHub pages, which we got live. Thank you. I think you'd recovered from the norovirus. Why?
Why is it always spilling a tea? Like, one one thing actually some I I saw a comment that the next task on me to make sure that when it is on a call,
that it has like a security measures to identify what is personal information and do not reveal that. But this is I I imagine this is just a problem that I have. Right? Because I just bring it up on video calls.
I call it call to task. I hope it becomes a thing. At the beginning of video, I included this, like, live progress and control.
So I really wanted that I can see what's happening because I was just giving big task
and
it goes. And I don't know what's happening. Right? So now it's reporting you what it's doing, and you can interrupt it and have control.
Proactive AI. So this is where I'm really proud about it. So, of course, you have smart chickens. So they run on a schedule and they are con contextual in the full version. There is, like, frameworks. It decides, should I even check-in?
Should I call? Should I text? What it's about? What's important?
Then you have morning briefings, for example. If you want to set it up, like, I love this executive briefings.
This full version course is in the community because, honestly, like, if you go, like, oh, why don't you open source everything? Yeah. I can. Same as any 10 JSON files for workflows.
Yeah. You can just give them, but the reality is that
99%
of people take those and hoard those things and never set it up because they run into some issue. I also built multi agent systems. This is kind of MVP,
the bigger project that I'm working on, which is autonomous entrepreneurs. So this is the idea is of board of directors. We have orchestrator.
I have researcher, content finance, strategy. This is how it looks. We are using Telegram groups, and then we have topics. We have specialized agents for each topic.
And for example, strategy, it knows whether it's strategy,
content, it knows whether it's content. But the general one is orchestrator.
If I send slash command board, it goes and checks with every single specialized agent what is working, what is the memory,
their
special skills.
Another thing that each agent can invoke, critic mode. So if they see that they need kind of like an edge, they use critic mode and there is the whole kind of smart prompt behind it. Each agent can also go and consult with another agent. But more on that in the community.
And this production development. So many people ask, like, okay. Can you set it up this for businesses? But this setup with VPS,
You can totally make this production development for the business
and make it always on. On VPS,
very important,
we are not using clot code. You are paying per API calls
and using agent SDK.
So this is different. And many people ask, like, oh, can I still use subscription on VPS?
Theoretically,
yes. But OnTraffic
is banning accounts.
So I would not recommend it. What I recommend is, like, a hybrid approach, which I use. Everything while my computer is on is going through the subscription.
But if my computer is off, it's going through APIs.
We have, like, smart routing. So if it is just a simple high, it goes to high. If it is, like, something a little bit more com complex on it, if it's really complex,
multistep process, it uses OPUS. So this is for cost management
and then, of course, fallback AI chain. So this is also for Mac and also VPS
that if on traffic goes down, that we have a fallback model because this is your AI second brain. This is your knowledge. This is your tools. You don't want to kind of, like, stop working. For fallbacks,
there are different ways to do it, but in my case, I'm using fallback as open router
to specific models, and second fallback is basically to the local model. You can also run local models on VPS if you want to. I'm curious what everyone is going to build on top. I already saw that people are building.
Build something that is yours and your infrastructure.
Inside of the community, we have a full course
explaining
multi agents and how to set up VPS and also how to do it securely,
proactive AI, ADS, and we have constant building. So we released the full version
yesterday.
I already pushed multiple updates and community members giving their ideas, and we are building on top of that. So I this is really exciting.