Clawdbot One night of fire。
Yesterday, this Clawdbot was on several platforms, and as an open-source project, GitHub's Stars surged by more than 9000 in one day, adding over 200 PRs overnight, and the founders themselves said it blew up, and it was crazy。
In short, Clawdbot is a personal AI assistant, fully localized, working on Claude for 7 hours。
Why is it on fire
NOT BECAUSE 7*24 HOURS, NOT BECAUSE IT CAN ACCESS FILES, BROWSERS, E-MAILS, BUT BECAUSE THIS THING SUPPORTS YOUR INTERACTION ON THE APP。
For example, you're playing a game and you're putting him on an iMessage mission, and it's dry, and when you get back, you're done. The whole process was like sending a message to a friend in a tweet。
Support for almost all mainstream communication platforms: WhatsApp, Telegram, Slack, Discord, Google Chat, Signal, iMessage, Microsoft Teams, Matrix, Zalo, WebChat。
Second: it runs on your own equipment, Mac, PC, strawberry pie, cloud servers。
This point is also timely, and now AI bot is largely in the browser, and of course there is also a desktop end, such as Minimax, which introduced desktop-end APPs at the previous time, to operate the browser itself, and Claude Cowork to access local folder operations files。
But Clawdbot can be deployed in any terminal device, computers, watches, berry pies, even smart glasses, like, imagine that the space just opened。
However, if you deploy the equipment, it has to be on-line。
It's just a server application, the core of the Clawdbot architecture is Gateway, the brain of the entire system, the only central node through which all the messages go. If it's offline, the whole system is paralysed。
Because it's on the line, it's able to contact you on its own, send the weather, the agenda, the news, the mission schedule, and become an active assistant, unlike passive chat robots. If you just have to answer passively, you can use ChatGPT。
The Clawdbot fire also triggered a rush by Mac Mini, but it was not necessary at all, because I thought it would be most convenient to deploy on a cloud server, and I recommended it most。
Because it has access to your local equipment, and although I have not yet figured out how it was obtained, it is a very big one, and it is not deployed on your laptop to protect your local documents。
And your computer couldn't have been there 24 hours before it shut down. So choosing a cloud server is the best that can run for 24 hours。
I spent 30 bucks renting a VPS, Mac Mini the cheapest $599 (about $4300), a VPS 30 a month and 10 years to $3,600. And the VPS is broken and re-opened。
I see a lot of people who can't handle this. A lot of people are stuck in the deployment。
So this article, I put the deployment course at the topHands on your hands and hands from zero to working, so white can read。
Directly deploy from zero to service only 7 steps
Friends of Claude Code:
If you think the manual configuration is too complicated, I'm readySkillIt's smart enough to fit your configuration. It's automatic。
However, I would suggest that we take a look at the curriculum and understand the rationale for deployment. We'll find out how。
Manual deployment: You need three things

First step: Buying a cloud server (10 minutes)
For example: Ariyun/Ting Clouds/Wan Yun/Nonameless Cloud ServerFreshman friendly。
- open https://www.aliyun.com/product/swas (for example only, every cloud server)
- Registered login (cell phone number only)
- Select Configuration:
Geographical: Hong Kong (complex domestic filing required, not required in Hong Kong)
Mirror:Ubuntu 22.04 LTS
Package: 2 NUCLEAR 2G, 30GB SSD
length of time: Buy first 1 month
Pay complete, access console, open port。
Reset Passwordand set for themselves a good note。
Write down three messages:
IP address: xxxx.xxx.xxxxx
user name: root
password: xxx
- This server is the Lobster's Home, and it's going to run around here for seven times 24 hours。
Step 2: Create Telegram robot (5 minutes)
It can be done on the phone without a server。This is the entrance to your interaction with Clawdbot。
Procedure:
Open Telegram, search @BotFather
2. Click START, send the command:
/newbot
This step is to create a robot, BotFather, which will give you a name for the robot, just knock on the "qq robot." (Can be Chinese, similar nicknames)

Then you take a user name, MadscBot. Username similar to QQQ, cannot be repeated。
After successBotFather will send you a token。

4. copy token, savei don't know. this token, it's important because it's going to be givenClawdbotClawdbot connects to this bot。
5. Click t.me/McdscBot to add a robot friend in advance。
Step 3: Get Claude API Key (5 minutes)
THERE ARE TWO OPTIONS FOR RECOMMENDING THIRD-PARTY API TO DOMESTIC USERS。
Option A: Triangular Transit to Support Claude Model API
- Cell phone registration, payment for treasure/micro-credit
- It's worth 50 bucks for a long time
- Create API Key, Copy Save
- format: sk-xxxxxxxxxxxxxxxxxxxxxxxxxx
Program B: Official Anthropic API
- visit https://console.antropic.com
- Need a phone number from abroad
- Based on volume, approximately $15/million tokens
Take your API KeyThe next step is to use。
(10,000 words omitted here)
Step 4: Login server (3 minutes)
Landing the first purchase of the cloud server。
Windows Users:
1. Press Win+R, enter cmd, return the car
2. Enter: ssh root@your server IP
3. Enter password (do not show, paste the vehicle directly)
Seeing root@xxxx: ~# is connected
Mac/ Linux User:
1. Opening of terminals
2. Enter: ssh root@your server IP
3. Enter password
Step 5: Installation of Clawdbot (10 minutes)
Link to the server and copy the paste to execute the following command:
_# 1. Update_apt_
i don't know what you're talking about
_# 2. First key install Clawdbot_
curl-fsSL https://clawd.bot/install.sh bash
_#3. Waiting for installation to be completed, see "Installation Complete! "
Re-execut 2 steps if error is reported。
Step 6: Configure Clawdbot
It's the easiest step to make a mistake, working with me。
- edit profile: nano / root/.clawdbot/clawdbot.json
- Delete all content: Delete the original text by Ctrl+K line until the document is completely blank。
- Modify configuration: Copy the following code as it is。
IF YOU'RE USING A THIRD PARTY, API, copy this:
{“models”: {“presses”: {xxx”: {baseUrl”: “https://xx.xx”, “apikey”: “API Key”: “anthropic-messages”, “models”: [id]: “claude-opus-4-5-202511 },” “name”: “Claude Opus 4.5”; “ressoning”: “true”, “input”: [“text”, “intertext”; “intertextWindow”: 200000, “xmaTokens”: 4096},}, “channels”: {telegram”: {enabled”: , “toke”: “Tuket”: “Buket”: “Bkitmail”; intertextWindow: 200000, “xTokens: 4096} }, {telegrams”: “telegram”: {: {: {enabled_: {: {: {: { ♪ I'll be back ♪
If you're using official Anthropic API, copy this:
{ “Models”: {“providers”: {“antropic”: {“apikey”: “Press your Anthropic API Key”}}, “channels”: {“telegram”: {“enabled”: true,” “botToken”: “Press your Bot Token”, “profiles”: [“default”)}, “gents”: {“defaults”: {model”: {“primary”: “anthropic/claude-opus-4-5-20251101”} ♪ I'll be back ♪
And then we change three places。
- Replace "apikey" with "apikey" with "apikey" in quotation marks that paste your API Key here
- Replace "https//xxx.xx" with "Play your own" quote with "Base URL"
- Replace "bottoken" with "bottoken" in the quote "put your bottoken here"
Save exit:
- Press Ctrl+O to save (indicate file name, go straight back)
- Press Ctrl+X to exit
Step 7: Start service (5 minutes)
_# 1. ENABLE DURABILITY (TO KEEP SERVICES RUNNING) _
this post is part of our special coverage global voices 2011
_#2. Set up the environment variable_export XDG_RUNTIME_DIR=/run/user/0
_# 3. START-UP SERVICES_
-steml-user start codebot-gateway
_#4 CHECK STATUS_
-we're going to have to go back to work
It's working
If you see a red error, execute this view log:
i'm sorry, i'm sorry
Step 8: Match your Telegram account (3 minutes)
- Open Telegram, find your robot
- Send any message, like, hello
- Robot response:

4. Copy pairing
RETURN TO SERVER SSH WINDOW TO EXECUTE:
i'm not sure I'm going to do this
6 (REPLACE ABC 123 WITH YOUR PAIR)
Go back to Telegram and send another hi
If the robot returns, congratulations on the successful deployment! Zenium

III. The easiest pit to step on
When I deployed, I stepped on three major pits and shared them with you. Many people are stuck in these places。
TUNNEL 1: THIRD PARTY API CONFIGURATION POSITION
The third party Claude API's configuration has two hidden rulesIt's not in the official fileI tried all night to find out:
Example of error:
"api": "anthropic", error! a lot of people write this
"baseUrl": "https://xxx.xx/v1" More/v1
Correct Example:
"api": "antropic-messages", yes! it has to be written like this
"baseUrl": "https://xxx.xx" Do not bring/v1
Pocket 2: Reconfiguration must be cleared
This pit stuck me for half an hour. After each change of profile, the cache must be cleaned and restarted, otherwise the new configuration is not effective:
_# Cleanup Cache_rm-ref / root/.clawdbot/agendas/main/agent/sessions/*
_# Restart Service_export XDG_RUNTIME_DIR=/run/user/0
i'm sorry, i'm sorry
Symptom: THE OLD MODEL/API IS SHOWN IN THE LOG EVEN THOUGH THE CONFIGURATION HAS BEEN CHANGED. YOU SUSPECT THAT THE CONFIGURATION ISN'T WORKING, IT'S CHANGING OVER AND OVER AND OVER AGAIN。
reason: Clawdbot Caches session status, including model configuration, API connection, etc. Undefined cache, it continues with old ones。
Pocket 3: Services restarted (most difficult)
If you find that the service is automatically restarted every 10-15 seconds, there is an error in the log, usually because:
- Linger is not enabled – SSH SERVICE KILLED AFTER DISCONNECTION
- Session cache damage – old session file failed to start
Full Solutions:
_# 1. Enable linger (to keep services running)_
this post is part of our special coverage global voices 2011
loginctl show-user root | root Linger _ # confirms Linger=yes#2. Cleanup session cache_rm-ref / root/.clawdbot/agendas/main/agent/sessions/*
_# 3. Restart Service_export XDG_RUNTIME_DIR=/run/user/0
i'm sorry, i'm sorry
_#4 MONITOR LOG CONFIRMING THAT IT WILL NOT BE RESTARTED
i don't know
Why is Linger so important
Because Clawdbot uses the User Level System service, the service will stop by default after the user logs out (SSH disconnect). When Linger is enabled, the service becomes "continuing" even if you turn off the terminal。
Remember that, there's a lot less detour。
iv. Results: What can it do
After the deployment was completed, I made it fit my skill in Telegram。

And then, to Bot, he said, "Take a look at today's choice." Three seconds later, it spits out a full list of questions, including today ' s AI Technology Hotspot Top 5, and each news item shows a value rating and a suitable type of article, clearly and clearly。
Just like Claude Code, it was done in Telegram. I also tested the document to make it a table of 10 dissertations, which automatically resolves the document to extract key information to generate structured tables。
It could even write a Python script, pick up Hacker News at 8 a.m. and send me 10 before. If you're using Mac, it also controls the browser's automatic access to the website, fills out forms, downloads in bulk..
Anyway, Claude Code can do what he can, but the difference is that you send a message on the phone and it works on the server。