Insights AI News Clawdbot setup guide: How to run local automations
post

AI News

28 Jan 2026

Read 17 min

Clawdbot setup guide: How to run local automations

Clawdbot setup guide shows how to run local automations securely and produce auditable workflows now.

Clawdbot setup guide in one place: install the open-source agent, connect your chat apps, add safe skills, and run reliable automations on your own hardware. This guide explains the Gateway, Nodes, Channels, and Lobster workflows in clear steps so you can go from chat to action with audit and control. Clawdbot turns your chats into real actions you can trust. It runs on your machine or server, connects to models like Anthropic or OpenAI, and calls tools on your system only when allowed. The core idea is simple: the model decides when to use a tool, while a typed workflow engine makes each run safe and repeatable. In this Clawdbot setup guide, you will install the stack, connect a channel, add skills, and ship your first automation.

Clawdbot setup guide: Prerequisites and choices

What you need before you start

  • A computer or small server running macOS, Windows, or Linux. A low-cost VPS also works.
  • Basic terminal access and permission to install a global npm package.
  • An API key for a model provider (Anthropic, OpenAI, Google, or another you prefer), or a local model backend if you plan to run models on-device.
  • At least one chat channel to connect, such as Telegram, WhatsApp, Signal, Slack, or Discord.
  • Optional: a domain or local network access if you plan to use the web control UI from multiple devices.

Decide how you will host

  • Home server or desktop: Best for full local control and access to files, shell, and smart home devices.
  • Cloud VPS: Good for always-on presence and stable networks. Keep sensitive tools on local Nodes if needed.
  • Hybrid: Run the Gateway on a VPS and a Node on your laptop. The Gateway routes requests; the Node performs local actions.

How Clawdbot works: Gateway, Nodes, and Channels

Gateway

The Gateway is the brain. It routes messages, calls models, invokes tools, tracks sessions, and schedules jobs. It exposes a local web UI and a WebSocket control plane on ws://127.0.0.1:18789. Your chat messages arrive here. The Gateway decides which agent to use and which tools are allowed.

Nodes

Nodes are helper processes that give safe access to local resources. A Node can read files, control a browser, listen to a microphone, or call OS-specific APIs. You can run Nodes on macOS, Windows, Linux, iOS, or Android devices. The Gateway sends commands to Nodes when a skill requires local access.

Channels

Channels connect chat platforms like WhatsApp, Telegram, Signal, Slack, Discord, Microsoft Teams, Matrix, or Zalo. You attach channels to the Gateway. Once connected, you can talk to your agent from your favorite app and receive proactive messages.

Skills and ClawdHub

Skills are tools the agent can call. Each skill is described in a SKILL.md file. The file lists what the tool does and the order of steps. ClawdHub is the catalog where you can discover and install skills. You can also write your own skills and keep them local.

Install and onboard in minutes

Step 1: Install the core

  • Fast install script: curl -fsSL https://clawd.bot/install.sh | bash
  • Or via npm: npm i -g clawdbot

The installer bootstraps Node.js (if needed), the Gateway, and core components.

Step 2: Onboard

  • Run: clawdbot onboard
  • Choose a model provider and paste your API key.
  • Pick a storage location for configuration and memory.
  • Confirm the local web UI and the control port. The default WebSocket control plane runs at ws://127.0.0.1:18789.

Step 3: Start and verify

  • Start the Gateway: clawdbot start
  • Open the control UI in your browser. Check the status page for sessions, channels, and nodes.
  • If you run a Node on another device, start it and watch for a successful handshake in the UI.

Connect your chat channels safely

Telegram

  • Talk to @BotFather to create a bot and get the token.
  • In the Clawdbot UI, add a Telegram channel and paste the token.
  • Send a “hello” message to confirm bi-directional delivery.

WhatsApp

  • Choose your preferred WhatsApp integration backend as supported by your setup.
  • Follow the QR or token flow in the UI.
  • Test by sending a message to your agent contact from your phone.

Slack or Discord

  • Create an app or bot in the platform dashboard.
  • Grant minimal scopes the skill needs.
  • Install to your workspace or server and invite the bot to a channel.

Set one channel as your default “home” for proactive messages. Use per-channel policies to restrict which skills may run from each app.

Add skills with SKILL.md and ClawdHub

Install community skills

  • Open ClawdHub in the UI. Browse skills for messaging, email, calendar, files, shell, or browser control.
  • Click install. Review the skill’s description, required permissions, and any environment variables.
  • Enable safety options like confirmation prompts and timeouts.

Write your first SKILL.md

A SKILL.md is a simple Markdown file with a header and an ordered set of steps. For example, a safe project backup skill could say:

  • Name: backup-project
  • Description: Create a timestamped archive of the current repository and store it in a backups folder.
  • Steps: check git status, create archive, verify size, move to backups path, and report success.
  • Optional flag: disable-model-invocation: true (so only explicit user approval can run it).

After saving the file, the Gateway reads it and shows a new tool in the UI. You can then ask your agent to “run project backup” and it will execute the steps as described. Because the steps live in text, you can audit changes in git and review them with teammates.

Build reliable automations with Lobster workflows

Why use Lobster

Lobster is a typed workflow runtime. Instead of a model calling tools in a loop, Lobster runs a precise pipeline. Steps pass typed JSON, not loose text. The runtime enforces timeouts, output limits, and sandbox rules. You can pause at an approval step, then resume with a token later. This keeps automations deterministic and easy to trust.

Design a daily briefing pipeline

Here is a simple plan for a daily briefing workflow you can express in Lobster:

  • Collect today’s calendar events as JSON.
  • Fetch unread emails and extract subjects and senders.
  • Ask the model to summarize both sets into bullet points.
  • Pause for approval. Show the summary in the UI.
  • If approved, send the briefing to your default chat channel.

When you ask, “Send my morning briefing,” the agent resolves the pipeline, fills parameters like date and channel, and runs it. The approval gate prevents surprises. Each run is logged with inputs, outputs, and timing for audit.

Best practices for pipelines

  • Keep steps small and single-purpose. This makes errors easy to spot.
  • Use conditions for risky actions, like deploy or delete.
  • Put rate limits and output caps on web or email steps.
  • Prefer structured input and output. Let the model format JSON, not free text.

Proactive routines and scheduling ideas

Use the Gateway as an operator

The Gateway can schedule jobs and track state. You can run automations at a time, on a cadence, or when a condition changes. Here are ideas you can try:

  • Daily briefings at 7:30 AM that include calendar, key emails, and a task list.
  • Weekly recap on Friday with shipped pull requests, commits, and meeting notes.
  • Monitors for CI failures that message you with the logs and a “retry build” button.
  • Local file watchers that tag or archive files in a downloads folder.

Because your stack runs locally or on your server, you choose which data leaves your network. Model calls happen only when a pipeline or skill needs them.

Security, privacy, and guardrails

Principle of least privilege

  • Enable only the skills you need. Disable high-risk tools by default.
  • Restrict shell access to read-only or safe subcommands where possible.
  • Scope each channel to the minimal skills it should trigger.

Data handling

  • Keep secret keys in environment variables or the encrypted store the Gateway provides.
  • Review logs in the UI to see what data flows to a model or tool.
  • Prefer on-device summarization for sensitive text when using a local model.

Execution safety

  • Use approval gates for side effects like send, deploy, delete, or transfer.
  • Set timeouts and output limits on all web and file operations.
  • Run Nodes with user-level permissions, not as root.

Troubleshooting and performance tips

Common issues

  • Port conflicts: If ws://127.0.0.1:18789 is in use, change the control port in settings.
  • Channel delivery: Re-check bot tokens or QR sessions. Send a test message from both sides.
  • Model timeouts: Lower prompt size, increase timeout, or switch to a faster model.
  • Missing tools: Confirm the skill is enabled and the Node with the needed capability is online.

Make it faster

  • Cache recent context and reduce repeated calls in pipelines.
  • Use smaller prompts and typed JSON to cut token usage.
  • Run a local model for light tasks like classification or extraction.
  • Upgrade Node.js to a current LTS for better runtime performance.

Real-world examples you can try today

Inbox triage with approval

  • List unread emails and classify them by sender and urgency.
  • Draft archive or label actions as JSON.
  • Pause for approval, then apply changes only if you approve.

Safe deploy after tests

  • Check that the git working tree is clean.
  • Run unit tests and parse results.
  • Gate the deploy step on test success and an explicit yes.

Smart home check-in

  • Read temperature and energy use from local devices.
  • Summarize and notify you on your preferred channel if a threshold is crossed.

Project housekeeping

  • Find large files in a repository and compress or move them.
  • Write a short report with before/after sizes and links.

Standup assistant

  • Gather yesterday’s commits, PR comments, and calendar notes.
  • Draft a 3-bullet standup update and post it to your team channel after approval.

Who should use Clawdbot and how to choose your stack

Individuals

  • Run on a laptop or mini PC. Use Telegram or WhatsApp as your main channel.
  • Start with a few low-risk skills: reminders, file cleanup, or daily briefings.

Small teams

  • Host the Gateway on a small VPS for uptime. Keep a Node on each developer laptop for local tasks.
  • Share SKILL.md files in a repo and review them like code.

Cost and latency

  • Use remote models for high-quality summaries or generation.
  • Use a local model for quick classification, extraction, and routing to reduce cost and increase speed.

Bookmark this guide and expand safely

You now have the core path: install, onboard, connect a channel, add or write a skill, and ship a Lobster workflow with approval gates. Bookmark this Clawdbot setup guide as you expand your toolbox. Add one skill at a time. Use typed pipelines for every action that matters. Keep logs, approvals, and limits in place so you can trust each run.

With Clawdbot, your assistant lives where your data lives, and it acts like a careful operator. Start today with a simple routine, like a morning briefing. Then move to inbox triage, weekly recaps, and safe deploys. This Clawdbot setup guide is your map from chat to real, reliable automations you control.

(Source: https://www.marktechpost.com/2026/01/25/what-is-clawdbot-how-a-local-first-agent-stack-turns-chats-into-real-automations/)

For more news: Click Here

FAQ

Q: What is Clawdbot and what can I do with it? A: Clawdbot is an open source personal AI assistant you run on your own hardware that connects language models such as Anthropic and OpenAI to tools like messaging apps, files, the shell, browser automation and smart home devices. This Clawdbot setup guide explains the architecture and how to install, connect channels, add skills, and run Lobster workflows so chats become auditable automations. Q: How does Clawdbot’s architecture work? A: The architecture centers on a Gateway process that routes messages, calls models, invokes tools, tracks sessions, schedules jobs and exposes a WebSocket control plane on ws://127.0.0.1:18789. Nodes run on devices to provide safe access to local resources like the file system or browser automation, and Channels attach chat platforms to the Gateway as integrations. Q: How do I install and onboard Clawdbot? A: You can install Clawdbot with the one-line script curl -fsSL https://clawd.bot/install.sh | bash or by installing the global npm package npm i -g clawdbot, and the installer bootstraps Node.js, the Gateway, and core components. After installation run clawdbot onboard to choose a model provider, paste your API key, pick storage for configuration and memory, and confirm the local web UI and control port as described in this Clawdbot setup guide. Q: How do I connect chat channels like Telegram, WhatsApp, Slack, or Discord? A: In the Clawdbot UI add the appropriate channel backend: for Telegram create a bot via @BotFather and paste the token, for WhatsApp follow the QR or token flow supported by your chosen backend, and for Slack or Discord create an app, grant minimal scopes and install it to your workspace or server. After connecting, send a test message to confirm bi-directional delivery and set one channel as your default home while using per-channel policies to restrict which skills may run. Q: What is a SKILL.md and how do I add skills to Clawdbot? A: A SKILL.md is a Markdown file that defines a skill with a small header and an ordered set of steps, listing what the tool does, required permissions and safety options like disable-model-invocation. You can install community skills from ClawdHub in the UI or write and save local SKILL.md files so the Gateway reads them and exposes the skill as a tool for agents to call. Q: What is Lobster and how does it make automations safer? A: Lobster is the typed workflow runtime that runs multi-step pipelines for Clawdbot, making steps exchange typed JSON rather than unstructured text and enforcing timeouts, output limits and sandbox policies. By moving orchestration into Lobster pipelines the agent runs deterministic, auditable workflows with approval gates and the ability to pause and resume with a resumeToken, which this Clawdbot setup guide highlights for safe automations. Q: How can I secure Clawdbot and protect my data? A: Follow the principle of least privilege by enabling only the skills you need, restricting shell access to safe subcommands, and scoping each channel to minimal permissions. Keep secret keys in environment variables or the Gateway’s encrypted store, review logs to see what data flows to models or tools, use approval gates for side effects, set timeouts and output limits, and run Nodes with user-level permissions rather than as root. Q: What common issues might I run into and how can I improve performance? A: Common issues include port conflicts on the default control plane ws://127.0.0.1:18789, channel delivery problems that usually stem from bot tokens or QR sessions, model timeouts that can be addressed by lowering prompt size, increasing timeouts or switching models, and missing tools when a Node is offline. To improve performance cache recent context, prefer typed JSON and smaller prompts to cut token usage, run a local model for light tasks, and keep Node.js on a current LTS release.

Contents