DEV Community

Cover image for How to Run Clawdbot Locally and Control It from Discord
0xkoji
0xkoji

Posted on

How to Run Clawdbot Locally and Control It from Discord

Clawdbot

Clears your inbox, sends emails, manages your calendar, checks you in for flights.
All from WhatsApp, Telegram, or any chat app you already use.

https://clawd.bot/

Docs
https://docs.clawd.bot/start/getting-started

Supported platforms

  • WhatsApp
  • Telegram
  • Discord
  • Slack
  • Signal
  • iMessage
  • Claude
  • GPT
  • Spotify
  • Hue
  • Obsidian
  • Twitter
  • Browser
  • Gmail
  • GitHub

Install Clawdbot

requirements

  • Nodejs v22+
  • pnpm (recommended) Unfortunately, bun is not recommended

Step 1: Install Nodejs

# Download and install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash

# in lieu of restarting the shell
\. "$HOME/.nvm/nvm.sh"

# Download and install Node.js:
nvm install 25

# Verify the Node.js version:
node -v # Should print "v25.4.0".

# Install Corepack:
npm install -g corepack

# Download and install pnpm:
corepack enable pnpm

# Verify pnpm version:
pnpm -v
Enter fullscreen mode Exit fullscreen mode

https://nodejs.org/en/download/current

mise install nodejs 22.22.0
Enter fullscreen mode Exit fullscreen mode

Step 2: Install Clawdbod

curl -fsSL https://clawd.bot/install.sh | bash

# version check
clawdbot -v
2026.1.23-1
Enter fullscreen mode Exit fullscreen mode

Step 3: Generate a Discord bot token

Go to https://discord.com/developers/applications and create a new application. In this post, I name Clawdbot.
Go to Bot section in the sidebar and turn on the following
Discord_Bot.
Then click Reset Token, and you can get a bot token. You will need to copy the token for onboarding.

Then go to OAuth2,

Step 4: Clawdbot onboarding

clawdbot onboard --install-daemon

๐Ÿฆž Clawdbot 2026.1.23-1 (c8afa82)
   It's not "failing," it's "discovering new ways to configure the same thing wrong."

โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–ˆโ–‘โ–‘โ–‘โ–ˆโ–‘โ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–€โ–ˆโ–€
โ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆโ–‘โ–‘โ–‘โ–ˆโ–‘โ–ˆโ–‘โ–ˆโ–‘โ–ˆโ–‘โ–ˆโ–‘โ–‘โ–ˆโ–‘โ–ˆโ–‘โ–‘โ–‘โ–ˆโ–‘โ–ˆโ–‘โ–‘โ–‘โ–ˆโ–‘โ–‘โ–ˆโ–‘
โ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–ˆโ–‘โ–ˆโ–‘โ–ˆโ–‘โ–ˆโ–‘โ–‘โ–ˆโ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–ˆโ–‘โ–‘โ–‘โ–ˆโ–‘โ–‘โ–ˆโ–‘
โ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆโ–‘โ–‘โ–‘โ–ˆโ–‘โ–ˆโ–‘โ–ˆโ–‘โ–ˆโ–‘โ–ˆโ–‘โ–‘โ–ˆโ–‘โ–ˆโ–‘โ–‘โ–ˆโ–‘โ–‘โ–ˆโ–‘โ–‘โ–‘โ–ˆโ–‘โ–‘โ–ˆโ–‘
โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–ˆโ–‘โ–‘โ–‘โ–ˆโ–‘โ–‘โ–ˆโ–‘โ–ˆโ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–ˆโ–‘
              ๐Ÿฆž FRESH DAILY ๐Ÿฆž
โ”Œ  Clawdbot onboarding
โ”‚
โ—‡  Security โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                         โ”‚
โ”‚  Please read: https://docs.clawd.bot/security           โ”‚
โ”‚                                                         โ”‚
โ”‚  Clawdbot agents can run commands, read/write files,    โ”‚
โ”‚  and act through any tools you enable. They can only    โ”‚
โ”‚  send messages on channels you configure (for example,  โ”‚
โ”‚  an account you log in on this machine, or a bot        โ”‚
โ”‚  account like Slack/Discord).                           โ”‚
โ”‚                                                         โ”‚
โ”‚  If youโ€™re new to this, start with the sandbox and      โ”‚
โ”‚  least privilege. It helps limit what an agent can do   โ”‚
โ”‚  if itโ€™s tricked or makes a mistake.                    โ”‚
โ”‚  Learn more: https://docs.clawd.bot/sandboxing          โ”‚
โ”‚                                                         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡  I understand this is powerful and inherently risky.
Continue?
โ”‚  Yes
โ”‚
โ—‡  Onboarding mode
โ”‚  QuickStart
โ”‚
โ—‡  QuickStart โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                      โ”‚
โ”‚  Gateway port: 18789                 โ”‚
โ”‚  Gateway bind: Loopback (127.0.0.1)  โ”‚
โ”‚  Gateway auth: Token (default)       โ”‚
โ”‚  Tailscale exposure: Off             โ”‚
โ”‚  Direct to chat channels.            โ”‚
โ”‚                                      โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡  Model/auth provider
โ”‚  OpenAI
โ”‚
โ—‡  OpenAI auth method
โ”‚  OpenAI Codex OAuth (Codex CLI)
โ”‚
โ—‡  Model configured โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                             โ”‚
โ”‚  Default model set to openai-codex/gpt-5.2  โ”‚
โ”‚                                             โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡  Default model
โ”‚  Keep current (openai-codex/gpt-5.2)
โ”‚
โ—‡  Channel status โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                             โ”‚
โ”‚  Telegram: not configured                   โ”‚
โ”‚  WhatsApp: not configured                   โ”‚
โ”‚  Discord: not configured                    โ”‚
โ”‚  Slack: not configured                      โ”‚
โ”‚  Signal: not configured                     โ”‚
โ”‚  iMessage: not configured                   โ”‚
โ”‚  Nostr: install plugin to enable            โ”‚
โ”‚  Microsoft Teams: install plugin to enable  โ”‚
โ”‚  Mattermost: install plugin to enable       โ”‚
โ”‚  Nextcloud Talk: install plugin to enable   โ”‚
โ”‚  Matrix: install plugin to enable           โ”‚
โ”‚  BlueBubbles: install plugin to enable      โ”‚
โ”‚  Zalo: install plugin to enable             โ”‚
โ”‚  Zalo Personal: install plugin to enable    โ”‚
โ”‚  Tlon: install plugin to enable             โ”‚
โ”‚                                             โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡  How channels work โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                         โ”‚
โ”‚  DM security: default is pairing; unknown DMs get a     โ”‚
โ”‚  pairing code.                                          โ”‚
โ”‚  Approve with: clawdbot pairing approve <channel>       โ”‚
โ”‚  <code>                                                 โ”‚
โ”‚  Public DMs require dmPolicy="open" + allowFrom=["*"].  โ”‚
โ”‚  Multi-user DMs: set                                    โ”‚
โ”‚  session.dmScope="per-channel-peer" to isolate          โ”‚
โ”‚  sessions.                                              โ”‚
โ”‚  Docs:                                                  โ”‚
โ”‚  start/pairi                                            โ”‚
โ”‚  ng                                                     โ”‚
โ”‚                                                         โ”‚
โ”‚  Telegram: simplest way to get started โ€” register a     โ”‚
โ”‚  bot with @BotFather and get going.                     โ”‚
โ”‚  WhatsApp: works with your own number; recommend a      โ”‚
โ”‚  separate phone + eSIM.                                 โ”‚
โ”‚  Discord: very well supported right now.                โ”‚
โ”‚  Slack: supported (Socket Mode).                        โ”‚
โ”‚  Signal: signal-cli linked device; more setup (David    โ”‚
โ”‚  Reagans: "Hop on Discord.").                           โ”‚
โ”‚  iMessage: this is still a work in progress.            โ”‚
โ”‚  Nostr: Decentralized protocol; encrypted DMs via       โ”‚
โ”‚  NIP-04.                                                โ”‚
โ”‚  Microsoft Teams: Bot Framework; enterprise support.    โ”‚
โ”‚  Mattermost: self-hosted Slack-style chat; install the  โ”‚
โ”‚  plugin to enable.                                      โ”‚
โ”‚  Nextcloud Talk: Self-hosted chat via Nextcloud Talk    โ”‚
โ”‚  webhook bots.                                          โ”‚
โ”‚  Matrix: open protocol; install the plugin to enable.   โ”‚
โ”‚  BlueBubbles: iMessage via the BlueBubbles mac app +    โ”‚
โ”‚  REST API.                                              โ”‚
โ”‚  Zalo: Vietnam-focused messaging platform with Bot      โ”‚
โ”‚  API.                                                   โ”‚
โ”‚  Zalo Personal: Zalo personal account via QR code       โ”‚
โ”‚  login.                                                 โ”‚
โ”‚  Tlon: decentralized messaging on Urbit; install the    โ”‚
โ”‚  plugin to enable.                                      โ”‚
โ”‚                                                         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡  Select channel (QuickStart)
โ”‚  Discord (Bot API)
โ”‚
โ—‡  Discord bot token โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                       โ”‚
โ”‚  1) Discord Developer Portal โ†’ Applications โ†’ New     โ”‚
โ”‚  Application                                          โ”‚
โ”‚  2) Bot โ†’ Add Bot โ†’ Reset Token โ†’ copy token          โ”‚
โ”‚  3) OAuth2 โ†’ URL Generator โ†’ scope 'bot' โ†’ invite to  โ”‚
โ”‚  your server                                          โ”‚
โ”‚  Tip: enable Message Content Intent if you need       โ”‚
โ”‚  message text. (Bot โ†’ Privileged Gateway Intents โ†’    โ”‚
โ”‚  Message Content Intent)                              โ”‚
โ”‚  Docs:                                                โ”‚
โ”‚  discord                                              โ”‚
โ”‚                                                       โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
03:41:11 [agents/auth-profiles] synced openai-codex credentials from codex cli
โ”‚
โ—‡  Enter Discord bot token
โ”‚  <Discord bot token>
โ”‚
โ—‡  Configure Discord channels access?
โ”‚  Yes
โ”‚
โ—‡  Discord channels access
โ”‚  Open (allow all channels)
โ”‚
โ—‡  Selected channels โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                  โ”‚
โ”‚  Discord โ€” very well supported right now. Docs:  โ”‚
โ”‚  discord                                        โ”‚
โ”‚  ]8;;                                           โ”‚
โ”‚                                                  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
Updated ~/.clawdbot/clawdbot.json
Workspace OK: ~/clawd
Sessions OK: ~/.clawdbot/agents/main/sessions
โ”‚
โ—‡  Skills status โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                            โ”‚
โ”‚  Eligible: 10              โ”‚
โ”‚  Missing requirements: 39  โ”‚
โ”‚  Blocked by allowlist: 0   โ”‚
โ”‚                            โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡  Configure skills now? (recommended)
โ”‚  Yes
โ”‚
โ—‡  Preferred node manager for skill installs
โ”‚  npm
โ”‚
โ—‡  Install missing skill dependencies
โ”‚  Skip for now
โ”‚
โ—‡  Set GOOGLE_PLACES_API_KEY for goplaces?
โ”‚  No
โ”‚
โ—‡  Set GOOGLE_PLACES_API_KEY for local-places?
โ”‚  No
โ”‚
โ—‡  Set GEMINI_API_KEY for nano-banana-pro?
โ”‚  No
โ”‚
โ—‡  Set OPENAI_API_KEY for openai-image-gen?
โ”‚  No
โ”‚
โ—‡  Set OPENAI_API_KEY for openai-whisper-api?
โ”‚  No
โ”‚
โ—‡  Set ELEVENLABS_API_KEY for sag?
โ”‚  No
โ”‚
โ—‡  Hooks โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                      โ”‚
โ”‚  Hooks let you automate actions when agent commands  โ”‚
โ”‚  are issued.                                         โ”‚
โ”‚  Example: Save session context to memory when you    โ”‚
โ”‚  issue /new.                                         โ”‚
โ”‚                                                      โ”‚
โ”‚  Learn more: https://docs.clawd.bot/hooks            โ”‚
โ”‚                                                      โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡  Enable hooks?
โ”‚  Skip for now
โ”‚
โ—‡  Gateway service runtime โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                        โ”‚
โ”‚  QuickStart uses Node for the Gateway service (stable  โ”‚
โ”‚  + supported).                                         โ”‚
โ”‚                                                        โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‘  Installing Gateway serviceโ€ฆ
Installed LaunchAgent: /Users/koji/Library/LaunchAgents/com.clawdbot.gateway.plist
Logs: /Users/koji/.clawdbot/logs/gateway.log
โ—‡  Gateway service installed
โ”‚
โ—‡  
Health check failed: gateway closed (1006 abnormal closure (no close frame)): no close reason
  Gateway target: ws://127.0.0.1:18789
  Source: local loopback
  Config: /Users/koji/.clawdbot/clawdbot.json
  Bind: loopback
โ”‚
โ—‡  Health check help โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                  โ”‚
โ”‚  Docs:                                           โ”‚
โ”‚  https://docs.clawd.bot/gateway/health           โ”‚
โ”‚  https://docs.clawd.bot/gateway/troubleshooting  โ”‚
โ”‚                                                  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
Missing Control UI assets. Build them with `pnpm ui:build` (auto-installs UI deps).
โ”‚
โ—‡  Optional apps โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                        โ”‚
โ”‚  Add nodes for extra features:         โ”‚
โ”‚  - macOS app (system + notifications)  โ”‚
โ”‚  - iOS app (camera/canvas)             โ”‚
โ”‚  - Android app (camera/canvas)         โ”‚
โ”‚                                        โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡  Control UI โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                         โ”‚
โ”‚  Web UI: http://127.0.0.1:18789/                        โ”‚
โ”‚  Web UI (with token):                                   โ”‚
โ”‚  http://127.0.0.1:18789/?token=2da11cb64b3563eeac74c45  โ”‚
โ”‚  f555882108610c614ce69d2db                              โ”‚
โ”‚  Gateway WS: ws://127.0.0.1:18789                       โ”‚
โ”‚  Gateway: not detected (gateway closed (1006 abnormal   โ”‚
โ”‚  closure (no close frame)): no close reason)            โ”‚
โ”‚  Docs: https://docs.clawd.bot/web/control-ui            โ”‚
โ”‚                                                         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡  Workspace backup โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                         โ”‚
โ”‚  Back up your agent workspace.                          โ”‚
โ”‚  Docs: https://docs.clawd.bot/concepts/agent-workspace  โ”‚
โ”‚                                                         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡  Security โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                     โ”‚
โ”‚  Running agents on your computer is risky โ€” harden  โ”‚
โ”‚  your setup: https://docs.clawd.bot/security        โ”‚
โ”‚                                                     โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡  Dashboard ready โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                         โ”‚
โ”‚  Dashboard link (with token):                           โ”‚
โ”‚  http://127.0.0.1:18789/?token=2da11cb64b3563eeac74c45  โ”‚
โ”‚  f555882108610c614ce69d2db                              โ”‚
โ”‚  Opened in your browser. Keep that tab to control       โ”‚
โ”‚  Clawdbot.                                              โ”‚
โ”‚                                                         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡  Web search (optional) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                         โ”‚
โ”‚  If you want your agent to be able to search the web,   โ”‚
โ”‚  youโ€™ll need an API key.                                โ”‚
โ”‚                                                         โ”‚
โ”‚  Clawdbot uses Brave Search for the `web_search` tool.  โ”‚
โ”‚  Without a Brave Search API key, web search wonโ€™t       โ”‚
โ”‚  work.                                                  โ”‚
โ”‚                                                         โ”‚
โ”‚  Set it up interactively:                               โ”‚
โ”‚  - Run: clawdbot configure --section web                โ”‚
โ”‚  - Enable web_search and paste your Brave Search API    โ”‚
โ”‚    key                                                  โ”‚
โ”‚                                                         โ”‚
โ”‚  Alternative: set BRAVE_API_KEY in the Gateway          โ”‚
โ”‚  environment (no config changes).                       โ”‚
โ”‚  Docs: https://docs.clawd.bot/tools/web                 โ”‚
โ”‚                                                         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡  What now โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                      โ”‚
โ”‚  What now: https://clawd.bot/showcase ("What People  โ”‚
โ”‚  Are Building").                                     โ”‚
โ”‚                                                      โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ””  Onboarding complete. Dashboard opened with your token; keep that tab to control Clawdbot.
Enter fullscreen mode Exit fullscreen mode

Step 5: Check Clawdbot gateway status

clawdbot gateway status

๐Ÿฆž Clawdbot 2026.1.23-1 (c8afa82)
   If it works, it's automation; if it breaks, it's a "learning opportunity."

โ”‚
โ—‡  
Service: LaunchAgent (loaded)
File logs: /tmp/clawdbot/clawdbot-2026-01-25.log
Command: /usr/local/bin/node /Users/koji/.npm-global/lib/node_modules/clawdbot/dist/entry.js gateway --port 18789
Service file: ~/Library/LaunchAgents/com.clawdbot.gateway.plist
Service env: CLAWDBOT_GATEWAY_PORT=18789

Config (cli): ~/.clawdbot/clawdbot.json
Config (service): ~/.clawdbot/clawdbot.json

Gateway: bind=loopback (127.0.0.1), port=18789 (service args)
Probe target: ws://127.0.0.1:18789
Dashboard: http://127.0.0.1:18789/
Probe note: Loopback-only gateway; only local clients can connect.

Runtime: running (pid 54025, state active)
RPC probe: ok

Listening: 127.0.0.1:18789
Troubles: run clawdbot status
Troubleshooting: https://docs.clawd.bot/troubleshooting
Enter fullscreen mode Exit fullscreen mode

If everything works and you have access to http://127.0.0.1:18789/, you will see the following.

chat

Step 6: Send a message to Clawdbot

Now, it's time to send a message to the bot on Discord.
discord

simple research on discord

Step 7: Use TUI (Terminal UI)

https://docs.clawd.bot/tui


clawdbot tui


 hello                                                         

 Hello.                                                        

 If you tell me one thing you want help with today, Iโ€™ll take  
 it from there.                                                
 Also: what should I call you?                                 
 connected | idle                                              
 agent main | session main (clawdbot-tui) |                    
 openai-codex/gpt-5.2 | tokens 9.4k/400k (2%)                          
Enter fullscreen mode Exit fullscreen mode

Top comments (0)