docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
---
2026-01-04 14:32:47 +00:00
summary: "Frequently asked questions about Clawdbot setup, configuration, and usage"
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
---
2026-01-08 06:40:42 +01:00
# FAQ
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 07:58:14 +01:00
Quick answers plus deeper troubleshooting for real-world setups (local dev, VPS, multi-agent, OAuth/API keys, model failover). For runtime diagnostics, see [Troubleshooting ](/gateway/troubleshooting ). For the full config reference, see [Configuration ](/gateway/configuration ).
## First 60 seconds if something's broken
2026-01-11 03:34:28 +01:00
1) **Quick status (first check)**
2026-01-08 07:58:14 +01:00
```bash
2026-01-11 03:34:28 +01:00
clawdbot status
2026-01-08 07:58:14 +01:00
```
2026-01-11 03:34:28 +01:00
Fast local summary: OS + update, gateway/daemon reachability, agents/sessions, provider config + runtime issues (when gateway is reachable).
2026-01-08 07:58:14 +01:00
2026-01-11 03:34:28 +01:00
2) **Pasteable report (safe to share)**
2026-01-08 08:24:16 +01:00
```bash
2026-01-11 03:34:28 +01:00
clawdbot status --all
2026-01-08 08:24:16 +01:00
```
2026-01-11 03:34:28 +01:00
Read-only diagnosis with log tail (tokens redacted).
2026-01-08 08:24:16 +01:00
2026-01-11 03:34:28 +01:00
3) **Daemon + port state**
2026-01-08 07:58:14 +01:00
```bash
2026-01-11 03:34:28 +01:00
clawdbot daemon status
2026-01-08 07:58:14 +01:00
```
2026-01-11 03:34:28 +01:00
Shows supervisor runtime vs RPC reachability, the probe target URL, and which config the daemon likely used.
2026-01-08 07:58:14 +01:00
2026-01-11 03:34:28 +01:00
4) **Deep probes**
2026-01-08 07:58:14 +01:00
```bash
2026-01-11 03:34:28 +01:00
clawdbot status --deep
2026-01-08 07:58:14 +01:00
```
2026-01-11 03:34:28 +01:00
Runs gateway health checks + provider probes (requires a reachable gateway). See [Health ](/gateway/health ).
2026-01-08 07:58:14 +01:00
2026-01-08 08:24:16 +01:00
5) **Tail the latest log**
2026-01-09 02:56:29 +01:00
```bash
clawdbot logs --follow
```
If RPC is down, fall back to:
2026-01-08 07:58:14 +01:00
```bash
tail -f "$(ls -t /tmp/clawdbot/clawdbot-*.log | head -1)"
```
2026-01-09 02:56:29 +01:00
File logs are separate from service logs; see [Logging ](/logging ) and [Troubleshooting ](/gateway/troubleshooting ).
2026-01-08 07:58:14 +01:00
2026-01-11 03:34:28 +01:00
6) **Run the doctor (repairs)**
```bash
clawdbot doctor
```
Repairs/migrates config/state + runs health checks. See [Doctor ](/gateway/doctor ).
7) **Gateway snapshot**
```bash
clawdbot health --json
clawdbot health --verbose # shows the target URL + config path on errors
```
Asks the running gateway for a full snapshot (WS-only). See [Health ](/gateway/health ).
2026-01-08 06:40:42 +01:00
## What is Clawdbot?
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
### What is Clawdbot, in one paragraph?
2026-01-02 11:24:41 +00:00
2026-01-08 06:40:42 +01:00
Clawdbot is a personal AI assistant you run on your own devices. It replies on the messaging surfaces you already use (WhatsApp, Telegram, Slack, Discord, Signal, iMessage, WebChat) and can also do voice + a live Canvas on supported platforms. The **Gateway** is the always‑ on control plane; the assistant is the product.
2026-01-02 11:30:27 +00:00
2026-01-08 06:40:42 +01:00
## Quick start and first‑ run setup
2026-01-02 11:24:41 +00:00
2026-01-08 06:40:42 +01:00
### What’ s the recommended way to install and set up Clawdbot?
2026-01-02 11:24:41 +00:00
2026-01-08 06:40:42 +01:00
The repo recommends running from source and using the onboarding wizard:
2026-01-03 06:09:48 +00:00
```bash
2026-01-08 06:40:42 +01:00
git clone https://github.com/clawdbot/clawdbot.git
cd clawdbot
2026-01-03 06:09:48 +00:00
2026-01-08 06:40:42 +01:00
pnpm install
2026-01-03 06:09:48 +00:00
2026-01-08 06:40:42 +01:00
# Optional if you want built output / global linking:
pnpm build
2026-01-03 06:09:48 +00:00
2026-01-08 06:40:42 +01:00
# If the Control UI assets are missing or you want the dashboard:
2026-01-09 07:02:42 +00:00
pnpm ui:build # auto-installs UI deps on first run
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-04 14:32:47 +00:00
pnpm clawdbot onboard
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
```
2026-01-08 06:40:42 +01:00
The wizard can also build UI assets automatically. After onboarding, you typically run the Gateway on port **18789** .
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
### What runtime do I need?
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
Node ** >= 22** is required. `pnpm` is recommended; `bun` is optional.
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
### What does the onboarding wizard actually do?
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
`clawdbot onboard` is the recommended setup path. In **local mode** it walks you through:
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-12 01:36:30 +00:00
- **Model/auth setup** (Anthropic **setup-token** recommended for Claude subscriptions, OpenAI Codex OAuth supported, API keys optional, LM Studio local models supported)
2026-01-08 06:40:42 +01:00
- **Workspace** location + bootstrap files
- **Gateway settings** (bind/port/auth/tailscale)
- **Providers** (WhatsApp, Telegram, Discord, Signal, iMessage)
- **Daemon install** (LaunchAgent on macOS; systemd user unit on Linux/WSL2)
- **Health checks** and **skills** selection
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
It also warns if your configured model is unknown or missing auth.
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-11 02:05:29 +01:00
### How does Anthropic "setup-token" auth work?
The wizard can run `claude setup-token` on the gateway host (or you run it yourself), then stores the token as an auth profile for the **anthropic** provider. That profile is used for model calls the same way an API key or OAuth profile would be. If you already ran `claude setup-token` , pick **Anthropic token (paste setup-token)** and paste it. More detail: [OAuth ](/concepts/oauth ).
2026-01-12 01:36:30 +00:00
### Do you support Claude subscription auth (Claude Code OAuth)?
Yes. Clawdbot can **reuse Claude Code CLI credentials** (OAuth) and also supports **setup-token** . If you have a Claude subscription, we recommend **setup-token** on the gateway host for the most reliable long‑ running setup (requires Claude Pro/Max + the `claude` CLI). OAuth reuse is supported, but avoid logging in separately via Clawdbot and Claude Code to prevent token conflicts. See [Anthropic ](/providers/anthropic ) and [OAuth ](/concepts/oauth ).
2026-01-12 01:45:04 +00:00
### Is AWS Bedrock supported?
Not currently. Clawdbot doesn’ t ship a Bedrock provider today. If you must use Bedrock, the common workaround is an OpenAI‑ compatible proxy in front of Bedrock, then point Clawdbot at that endpoint. See [Model providers ](/providers/models ) and [Model providers (full list) ](/concepts/model-providers ).
2026-01-11 02:05:29 +01:00
### How does Codex auth work?
Clawdbot supports **OpenAI Code (Codex)** via OAuth or by reusing your Codex CLI login (`~/.codex/auth.json` ). The wizard can import the CLI login or run the OAuth flow and will set the default model to `openai-codex/gpt-5.2` when appropriate. See [Model providers ](/concepts/model-providers ) and [Wizard ](/start/wizard ).
2026-01-08 06:40:42 +01:00
### Can I use Bun?
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
Bun is supported for faster TypeScript execution, but **WhatsApp requires Node** in this ecosystem. The wizard lets you pick the runtime; choose **Node** if you use WhatsApp.
2026-01-07 02:03:06 +01:00
2026-01-12 01:25:53 +00:00
### Can multiple people use one WhatsApp number with different Clawdbots?
2026-01-12 01:28:52 +00:00
Yes, via **multi‑ agent routing** . Bind each sender’ s WhatsApp **DM** (peer `kind: "dm"` , sender E.164 like `+15551234567` ) to a different `agentId` , so each person gets their own workspace and session store. Replies still come from the **same WhatsApp account** , and DM access control (`whatsapp.dmPolicy` / `whatsapp.allowFrom` ) is global per WhatsApp account. See [Multi-Agent Routing ](/concepts/multi-agent ) and [WhatsApp ](/providers/whatsapp ).
2026-01-12 01:25:53 +00:00
2026-01-12 01:16:31 +00:00
### Does Homebrew work on Linux?
Yes. Homebrew supports Linux (Linuxbrew). Quick setup:
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.profile
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install < formula >
```
If you run Clawdbot via systemd, ensure the service PATH includes `/home/linuxbrew/.linuxbrew/bin` (or your brew prefix) so `brew` -installed tools resolve in non‑ login shells.
2026-01-09 23:10:09 +01:00
### Can I switch between npm and git installs later?
Yes. Install the other flavor, then run Doctor so the gateway service points at the new entrypoint.
From npm → git:
```bash
git clone https://github.com/clawdbot/clawdbot.git
cd clawdbot
pnpm install
pnpm build
pnpm clawdbot doctor
clawdbot daemon restart
```
From git → npm:
```bash
npm install -g clawdbot@latest
clawdbot doctor
clawdbot daemon restart
```
Doctor detects a gateway service entrypoint mismatch and offers to rewrite the service config to match the current install (use `--repair` in automation).
2026-01-11 23:33:31 +00:00
### How do I customize skills without keeping the repo dirty?
Use managed overrides instead of editing the repo copy. Put your changes in `~/.clawdbot/skills/<name>/SKILL.md` (or add a folder via `skills.load.extraDirs` in `~/.clawdbot/clawdbot.json` ). Precedence is `<workspace>/skills` > `~/.clawdbot/skills` > bundled, so managed overrides win without touching git. Only upstream-worthy edits should live in the repo and go out as PRs.
2026-01-12 01:16:31 +00:00
### How do I install skills on Linux?
Use **ClawdHub** (CLI) or drop skills into your workspace. The macOS Skills UI isn’ t available on Linux.
Install the ClawdHub CLI (pick one package manager):
```bash
npm i -g clawdhub
```
```bash
pnpm add -g clawdhub
```
```bash
bun add -g clawdhub
```
Install skills:
```bash
clawdhub install < skill-slug >
clawdhub update --all
```
ClawdHub installs into `./skills` under your current directory; Clawdbot treats that as `<workspace>/skills` on the next session. For shared skills across agents, place them in `~/.clawdbot/skills/<name>/SKILL.md` . Some skills expect binaries installed via Homebrew; on Linux that means Linuxbrew (see the Homebrew Linux FAQ entry above). See [Skills ](/tools/skills ) and [ClawdHub ](/tools/clawdhub ).
2026-01-08 21:51:21 +01:00
### Is there a dedicated sandboxing doc?
Yes. See [Sandboxing ](/gateway/sandboxing ). For Docker-specific setup (full gateway in Docker or sandbox images), see [Docker ](/install/docker ).
2026-01-08 06:40:42 +01:00
## Where things live on disk
2026-01-07 02:03:06 +01:00
2026-01-08 06:40:42 +01:00
### Where does Clawdbot store its data?
2026-01-07 02:03:06 +01:00
2026-01-08 08:24:16 +01:00
Everything lives under `$CLAWDBOT_STATE_DIR` (default: `~/.clawdbot` ):
2026-01-07 02:03:06 +01:00
2026-01-08 06:40:42 +01:00
| Path | Purpose |
|------|---------|
2026-01-08 08:24:16 +01:00
| `$CLAWDBOT_STATE_DIR/clawdbot.json` | Main config (JSON5) |
| `$CLAWDBOT_STATE_DIR/credentials/oauth.json` | Legacy OAuth import (copied into auth profiles on first use) |
| `$CLAWDBOT_STATE_DIR/agents/<agentId>/agent/auth-profiles.json` | Auth profiles (OAuth + API keys) |
| `$CLAWDBOT_STATE_DIR/agents/<agentId>/agent/auth.json` | Runtime auth cache (managed automatically) |
| `$CLAWDBOT_STATE_DIR/credentials/` | Provider state (e.g. `whatsapp/<accountId>/creds.json` ) |
| `$CLAWDBOT_STATE_DIR/agents/` | Per‑ agent state (agentDir + sessions) |
| `$CLAWDBOT_STATE_DIR/agents/<agentId>/sessions/` | Conversation history & state (per agent) |
| `$CLAWDBOT_STATE_DIR/agents/<agentId>/sessions/sessions.json` | Session metadata (per agent) |
2026-01-02 16:04:02 +00:00
2026-01-08 06:40:42 +01:00
Legacy single‑ agent path: `~/.clawdbot/agent/*` (migrated by `clawdbot doctor` ).
2026-01-02 16:04:02 +00:00
2026-01-09 12:44:23 +00:00
Your **workspace** (AGENTS.md, memory files, skills, etc.) is separate and configured via `agents.defaults.workspace` (default: `~/clawd` ).
2026-01-02 16:04:02 +00:00
2026-01-11 10:23:52 +00:00
### How do I completely uninstall Clawdbot?
See the dedicated guide: [Uninstall ](/install/uninstall ).
2026-01-09 01:54:28 +01:00
### Can agents work outside the workspace?
Yes. The workspace is the **default cwd** and memory anchor, not a hard sandbox.
Relative paths resolve inside the workspace, but absolute paths can access other
host locations unless sandboxing is enabled. If you need isolation, use
2026-01-09 12:44:23 +00:00
[`agents.defaults.sandbox` ](/gateway/sandboxing ) or per‑ agent sandbox settings. If you
2026-01-09 01:54:28 +01:00
want a repo to be the default working directory, point that agent’ s
`workspace` to the repo root. The Clawdbot repo is just source code; keep the
workspace separate unless you intentionally want the agent to work inside it.
Example (repo as default cwd):
```json5
{
agent: {
workspace: "~/Projects/my-repo"
}
}
```
2026-01-08 07:58:14 +01:00
### I’ m in remote mode — where is the session store?
Session state is owned by the **gateway host** . If you’ re in remote mode, the session store you care about is on the remote machine, not your local laptop. See [Session management ](/concepts/session ).
2026-01-08 06:40:42 +01:00
## Config basics
2026-01-02 16:04:02 +00:00
2026-01-08 06:40:42 +01:00
### What format is the config? Where is it?
2026-01-02 16:04:02 +00:00
2026-01-08 08:24:16 +01:00
Clawdbot reads an optional **JSON5** config from `$CLAWDBOT_CONFIG_PATH` (default: `~/.clawdbot/clawdbot.json` ):
2026-01-02 16:04:02 +00:00
2026-01-08 06:40:42 +01:00
```
2026-01-08 08:24:16 +01:00
$CLAWDBOT_CONFIG_PATH
2026-01-08 06:40:42 +01:00
```
2026-01-02 16:04:02 +00:00
2026-01-08 06:40:42 +01:00
If the file is missing, it uses safe‑ ish defaults (including a default workspace of `~/clawd` ).
2026-01-02 16:04:02 +00:00
2026-01-08 07:58:14 +01:00
### I set `gateway.bind: "lan"` (or `"tailnet"`) and now nothing listens / the UI says unauthorized
Non-loopback binds **require auth** . Configure `gateway.auth.mode` + `gateway.auth.token` (or use `CLAWDBOT_GATEWAY_TOKEN` ).
```json5
{
gateway: {
bind: "lan",
auth: {
mode: "token",
token: "replace-me"
}
}
}
```
Notes:
- `gateway.remote.token` is for **remote CLI calls** only; it does not enable local gateway auth.
- The Control UI authenticates via `connect.params.auth.token` (stored in app/UI settings). Avoid putting tokens in URLs.
2026-01-11 01:51:07 +01:00
### Why do I need a token on localhost now?
The wizard generates a gateway token by default (even on loopback) so **local WS clients must authenticate** . This blocks other local processes from calling the Gateway. Paste the token into the Control UI settings (or your client config) to connect.
If you **really** want open loopback, remove `gateway.auth` from your config. Doctor can generate a token for you any time: `clawdbot doctor --generate-gateway-token` .
2026-01-08 06:40:42 +01:00
### Do I have to restart after changing config?
2026-01-03 06:09:48 +00:00
2026-01-08 06:40:42 +01:00
The Gateway watches the config and supports hot‑ reload:
2026-01-02 16:04:02 +00:00
2026-01-08 06:40:42 +01:00
- `gateway.reload.mode: "hybrid"` (default): hot‑ apply safe changes, restart for critical ones
- `hot` , `restart` , `off` are also supported
2026-01-02 16:04:02 +00:00
2026-01-12 01:32:54 +00:00
### How do I run a central Gateway with specialized workers across devices?
2026-01-12 01:48:08 +00:00
The common pattern is **one Gateway** (e.g. Raspberry Pi) plus **nodes** and **agents** :
2026-01-12 01:32:54 +00:00
- **Gateway (central):** owns providers (Signal/WhatsApp), routing, and sessions.
- **Nodes (devices):** Macs/iOS/Android connect as peripherals and expose local tools (`system.run` , `canvas` , `camera` ).
- **Agents (workers):** separate brains/workspaces for special roles (e.g. “Hetzner ops”, “Personal data”).
- **Sub‑ agents:** spawn background work from a main agent when you want parallelism.
- **TUI:** connect to the Gateway and switch agents/sessions.
Docs: [Nodes ](/nodes ), [Remote access ](/gateway/remote ), [Multi-Agent Routing ](/concepts/multi-agent ), [Sub-agents ](/tools/subagents ), [TUI ](/tui ).
2026-01-11 03:17:06 +01:00
## Remote gateways + nodes
### How do commands propagate between Telegram, the gateway, and nodes?
Telegram messages are handled by the **gateway** . The gateway runs the agent and
only then calls nodes over the **Bridge** when a node tool is needed:
Telegram → Gateway → Agent → `node.*` → Node → Gateway → Telegram
Nodes don’ t see inbound provider traffic; they only receive bridge RPC calls.
### Do nodes run a gateway daemon?
No. Only **one gateway** should run per host. Nodes are peripherals that connect
to the gateway (iOS/Android nodes, or macOS “node mode” in the menubar app).
2026-01-08 06:40:42 +01:00
A full restart is required for `gateway` , `bridge` , `discovery` , and `canvasHost` changes.
2026-01-05 01:03:01 +01:00
2026-01-08 06:40:42 +01:00
### Is there an API / RPC way to apply config?
2026-01-05 01:03:01 +01:00
2026-01-08 06:40:42 +01:00
Yes. `config.apply` validates + writes the full config and restarts the Gateway as part of the operation.
2026-01-05 01:03:01 +01:00
2026-01-08 06:40:42 +01:00
### What’ s a minimal “sane” config for a first install?
2026-01-05 01:03:01 +01:00
```json5
{
2026-01-08 06:40:42 +01:00
agent: { workspace: "~/clawd" },
whatsapp: { allowFrom: ["+15555550123"] }
2026-01-05 01:03:01 +01:00
}
```
2026-01-08 06:40:42 +01:00
This sets your workspace and restricts who can trigger the bot.
2026-01-02 16:04:02 +00:00
2026-01-08 06:40:42 +01:00
## Env vars and .env loading
2026-01-02 16:04:02 +00:00
2026-01-08 06:40:42 +01:00
### How does Clawdbot load environment variables?
2026-01-02 16:04:02 +00:00
2026-01-08 06:40:42 +01:00
Clawdbot reads env vars from the parent process (shell, launchd/systemd, CI, etc.) and additionally loads:
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
- `.env` from the current working directory
- a global fallback `.env` from `~/.clawdbot/.env` (aka `$CLAWDBOT_STATE_DIR/.env` )
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
Neither `.env` file overrides existing env vars.
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 22:37:06 +01:00
You can also define inline env vars in config (applied only if missing from the process env):
```json5
{
env: {
OPENROUTER_API_KEY: "sk-or-...",
vars: { GROQ_API_KEY: "gsk-..." }
}
}
```
See [/environment ](/environment ) for full precedence and sources.
2026-01-08 06:40:42 +01:00
### “I started the Gateway via a daemon and my env vars disappeared.” What now?
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
Two common fixes:
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
1) Put the missing keys in `~/.clawdbot/.env` so they’ re picked up even when the daemon doesn’ t inherit your shell env.
2) Enable shell import (opt‑ in convenience):
2026-01-06 20:56:12 +00:00
2026-01-08 06:40:42 +01:00
```json5
{
env: {
shellEnv: {
enabled: true,
timeoutMs: 15000
}
}
}
2026-01-06 20:56:12 +00:00
```
2026-01-08 06:40:42 +01:00
This runs your login shell and imports only missing expected keys (never overrides). Env var equivalents:
`CLAWDBOT_LOAD_SHELL_ENV=1` , `CLAWDBOT_SHELL_ENV_TIMEOUT_MS=15000` .
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 07:58:14 +01:00
## Sessions & multiple chats
### How do I start a fresh conversation?
Send `/new` or `/reset` as a standalone message. See [Session management ](/concepts/session ).
2026-01-11 10:23:52 +00:00
### How do I completely reset Clawdbot (but keep it installed)?
Use the reset command:
```bash
clawdbot reset
```
Non-interactive full reset:
```bash
clawdbot reset --scope full --yes --non-interactive
```
Then re-run onboarding:
```bash
clawdbot onboard --install-daemon
```
Notes:
- The onboarding wizard also offers **Reset** if it sees an existing config. See [Wizard ](/start/wizard ).
- If you used profiles (`--profile` / `CLAWDBOT_PROFILE` ), reset each state dir (defaults are `~/.clawdbot-<profile>` ).
- Dev reset: `clawdbot gateway --dev --reset` (dev-only; wipes dev config + credentials + sessions + workspace).
2026-01-10 19:56:43 +01:00
### Do I need to add a “bot account” to a WhatsApp group?
No. Clawdbot runs on **your own account** , so if you’ re in the group, Clawdbot can see it.
By default, anyone in that group can **mention** the bot to trigger a reply.
If you want only **you** to be able to trigger group replies:
```json5
{
whatsapp: {
groupPolicy: "allowlist",
groupAllowFrom: ["+15551234567"]
}
}
```
### Why doesn’ t Clawdbot reply in a group?
Two common causes:
- Mention gating is on (default). You must @mention the bot (or match `mentionPatterns` ).
- You configured `whatsapp.groups` without `"*"` and the group isn’ t allowlisted.
See [Groups ](/concepts/groups ) and [Group messages ](/concepts/group-messages ).
2026-01-08 07:58:14 +01:00
### Do groups/threads share context with DMs?
Direct chats collapse to the main session by default. Groups/channels have their own session keys, and Telegram topics / Discord threads are separate sessions. See [Groups ](/concepts/groups ) and [Group messages ](/concepts/group-messages ).
2026-01-08 06:40:42 +01:00
## Models: defaults, selection, aliases, switching
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
### What is the “default model”?
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
Clawdbot’ s default model is whatever you set as:
2026-01-02 16:04:02 +00:00
```
2026-01-09 12:44:23 +00:00
agents.defaults.model.primary
2026-01-02 16:04:02 +00:00
```
2026-01-08 06:40:42 +01:00
Models are referenced as `provider/model` (example: `anthropic/claude-opus-4-5` ). If you omit the provider, Clawdbot currently assumes `anthropic` as a temporary deprecation fallback — but you should still **explicitly** set `provider/model` .
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
### How do I switch models on the fly (without restarting)?
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
Use the `/model` command as a standalone message:
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
```
/model sonnet
/model haiku
/model opus
/model gpt
/model gpt-mini
/model gemini
/model gemini-flash
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
```
2026-01-08 06:40:42 +01:00
You can list available models with `/model` , `/model list` , or `/model status` .
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-09 14:17:49 +00:00
You can also force a specific auth profile for the provider (per session):
```
/model opus@anthropic:claude -cli
/model opus@anthropic:default
```
Tip: `/model status` shows which agent is active, which `auth-profiles.json` file is being used, and which auth profile will be tried next.
2026-01-09 02:07:33 +01:00
### Why do I see “Model … is not allowed” and then no reply?
2026-01-09 12:44:23 +00:00
If `agents.defaults.models` is set, it becomes the **allowlist** for `/model` and any
2026-01-09 02:07:33 +01:00
session overrides. Choosing a model that isn’ t in that list returns:
```
Model "provider/model" is not allowed. Use /model to list available models.
```
That error is returned **instead of** a normal reply. Fix: add the model to
2026-01-09 12:44:23 +00:00
`agents.defaults.models` , remove the allowlist, or pick a model from `/model list` .
2026-01-09 02:07:33 +01:00
2026-01-08 06:40:42 +01:00
### Are opus / sonnet / gpt built‑ in shortcuts?
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-09 12:44:23 +00:00
Yes. Clawdbot ships a few default shorthands (only applied when the model exists in `agents.defaults.models` ):
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
- `opus` → `anthropic/claude-opus-4-5`
- `sonnet` → `anthropic/claude-sonnet-4-5`
- `gpt` → `openai/gpt-5.2`
- `gpt-mini` → `openai/gpt-5-mini`
- `gemini` → `google/gemini-3-pro-preview`
- `gemini-flash` → `google/gemini-3-flash-preview`
2026-01-03 06:09:48 +00:00
2026-01-08 06:40:42 +01:00
If you set your own alias with the same name, your value wins.
2026-01-03 06:09:48 +00:00
2026-01-08 06:40:42 +01:00
### How do I define/override model shortcuts (aliases)?
2026-01-03 06:09:48 +00:00
2026-01-09 12:44:23 +00:00
Aliases come from `agents.defaults.models.<modelId>.alias` . Example:
2026-01-03 06:09:48 +00:00
2026-01-08 06:40:42 +01:00
```json5
2026-01-03 06:09:48 +00:00
{
2026-01-08 06:40:42 +01:00
agent: {
model: { primary: "anthropic/claude-opus-4-5" },
models: {
"anthropic/claude-opus-4-5": { alias: "opus" },
"anthropic/claude-sonnet-4-5": { alias: "sonnet" },
"anthropic/claude-haiku-4-5": { alias: "haiku" }
2026-01-03 06:09:48 +00:00
}
}
}
```
2026-01-08 06:40:42 +01:00
Then `/model sonnet` (or `/<alias>` when supported) resolves to that model ID.
2026-01-03 11:43:36 +00:00
2026-01-08 06:40:42 +01:00
### How do I add models from other providers like OpenRouter or Z.AI?
2026-01-03 11:43:36 +00:00
2026-01-08 06:40:42 +01:00
OpenRouter (pay‑ per‑ token; many models):
2026-01-03 11:43:36 +00:00
2026-01-08 06:40:42 +01:00
```json5
{
agent: {
model: { primary: "openrouter/anthropic/claude-sonnet-4-5" },
models: { "openrouter/anthropic/claude-sonnet-4-5": {} }
},
env: { OPENROUTER_API_KEY: "sk-or-..." }
}
2026-01-03 11:43:36 +00:00
```
2026-01-08 06:40:42 +01:00
Z.AI (GLM models):
2026-01-03 11:43:36 +00:00
2026-01-08 06:40:42 +01:00
```json5
{
agent: {
model: { primary: "zai/glm-4.7" },
models: { "zai/glm-4.7": {} }
},
env: { ZAI_API_KEY: "..." }
}
```
2026-01-03 11:43:36 +00:00
2026-01-08 06:40:42 +01:00
If you reference a provider/model but the required provider key is missing, you’ ll get a runtime auth error (e.g. `No API key found for provider "zai"` ).
2026-01-03 11:43:36 +00:00
2026-01-08 06:40:42 +01:00
## Model failover and “All models failed”
2026-01-03 11:43:36 +00:00
2026-01-08 06:40:42 +01:00
### How does failover work?
2026-01-03 11:43:36 +00:00
2026-01-08 06:40:42 +01:00
Failover happens in two stages:
2026-01-03 11:43:36 +00:00
2026-01-08 06:40:42 +01:00
1) **Auth profile rotation** within the same provider.
2026-01-09 12:44:23 +00:00
2) **Model fallback** to the next model in `agents.defaults.model.fallbacks` .
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
Cooldowns apply to failing profiles (exponential backoff), so Clawdbot can keep responding even when a provider is rate‑ limited or temporarily failing.
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
### What does this error mean?
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
```
No credentials found for profile "anthropic:default"
```
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
It means the system attempted to use the auth profile ID `anthropic:default` , but could not find credentials for it in the expected auth store.
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
### Fix checklist for `No credentials found for profile "anthropic:default"`
2026-01-02 11:50:09 +00:00
2026-01-08 06:40:42 +01:00
- **Confirm where auth profiles live** (new vs legacy paths)
- Current: `~/.clawdbot/agents/<agentId>/agent/auth-profiles.json`
- Legacy: `~/.clawdbot/agent/*` (migrated by `clawdbot doctor` )
- **Confirm your env var is loaded by the Gateway**
- If you set `ANTHROPIC_API_KEY` in your shell but run the Gateway via systemd/launchd, it may not inherit it. Put it in `~/.clawdbot/.env` or enable `env.shellEnv` .
- **Make sure you’ re editing the correct agent**
- Multi‑ agent setups mean there can be multiple `auth-profiles.json` files.
- **Sanity‑ check model/auth status**
2026-01-09 00:32:48 +00:00
- Use `clawdbot models status` to see configured models and whether providers are authenticated.
2026-01-02 11:50:09 +00:00
2026-01-08 06:40:42 +01:00
### Why did it also try Google Gemini and fail?
2026-01-02 11:50:09 +00:00
2026-01-08 06:40:42 +01:00
If your model config includes Google Gemini as a fallback (or you switched to a Gemini shorthand), Clawdbot will try it during model fallback. If you haven’ t configured Google credentials, you’ ll see `No API key found for provider "google"` .
2026-01-02 11:50:09 +00:00
2026-01-09 12:44:23 +00:00
Fix: either provide Google auth, or remove/avoid Google models in `agents.defaults.model.fallbacks` / aliases so fallback doesn’ t route there.
2026-01-02 11:50:09 +00:00
2026-01-08 06:40:42 +01:00
## Auth profiles: what they are and how to manage them
2026-01-02 11:50:09 +00:00
2026-01-08 09:29:29 +01:00
Related: [/concepts/oauth ](/concepts/oauth ) (OAuth flows, token storage, multi-account patterns, CLI sync)
2026-01-08 06:40:42 +01:00
### What is an auth profile?
2026-01-02 11:50:09 +00:00
2026-01-08 06:40:42 +01:00
An auth profile is a named credential record (OAuth or API key) tied to a provider. Profiles live in:
2026-01-02 11:50:09 +00:00
2026-01-08 06:40:42 +01:00
```
~/.clawdbot/agents/< agentId > /agent/auth-profiles.json
```
2026-01-02 16:04:02 +00:00
2026-01-08 06:40:42 +01:00
### What are typical profile IDs?
2026-01-02 11:50:09 +00:00
2026-01-08 06:40:42 +01:00
Clawdbot uses provider‑ prefixed IDs like:
2026-01-02 11:50:09 +00:00
2026-01-08 06:40:42 +01:00
- `anthropic:default` (common when no email identity exists)
- `anthropic:<email>` for OAuth identities
- custom IDs you choose (e.g. `anthropic:work` )
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
### Can I control which auth profile is tried first?
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
Yes. Config supports optional metadata for profiles and an ordering per provider (`auth.order.<provider>` ). This does **not** store secrets; it maps IDs to provider/mode and sets rotation order.
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-09 21:57:52 +01:00
Clawdbot may temporarily skip a profile if it’ s in a short **cooldown** (rate limits/timeouts/auth failures) or a longer **disabled** state (billing/insufficient credits). To inspect this, run `clawdbot models status --json` and check `auth.unusableProfiles` . Tuning: `auth.cooldowns.billingBackoffHours*` .
2026-01-09 14:17:49 +00:00
You can also set a **per-agent** order override (stored in that agent’ s `auth-profiles.json` ) via the CLI:
```bash
# Defaults to the configured default agent (omit --agent)
clawdbot models auth order get --provider anthropic
# Lock rotation to a single profile (only try this one)
clawdbot models auth order set --provider anthropic anthropic:claude-cli
# Or set an explicit order (fallback within provider)
clawdbot models auth order set --provider anthropic anthropic:claude-cli anthropic:default
# Clear override (fall back to config auth.order / round-robin)
clawdbot models auth order clear --provider anthropic
```
To target a specific agent:
```bash
clawdbot models auth order set --provider anthropic --agent main anthropic:claude-cli
```
2026-01-08 06:40:42 +01:00
### OAuth vs API key: what’ s the difference?
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
Clawdbot supports both:
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
- **OAuth** often leverages subscription access (where applicable).
- **API keys** use pay‑ per‑ token billing.
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
The wizard explicitly supports Anthropic OAuth and OpenAI Codex OAuth and can store API keys for you.
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
## Gateway: ports, “already running”, and remote mode
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
### What port does the Gateway use?
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
`gateway.port` controls the single multiplexed port for WebSocket + HTTP (Control UI, hooks, etc.).
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
Precedence:
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-02 16:04:02 +00:00
```
2026-01-08 06:40:42 +01:00
--port > CLAWDBOT_GATEWAY_PORT > gateway.port > default 18789
2026-01-02 11:50:09 +00:00
```
2026-01-08 08:40:05 +01:00
### Why does `clawdbot daemon status` say `Runtime: running` but `RPC probe: failed`?
Because “running” is the **supervisor’ s** view (launchd/systemd/schtasks). The RPC probe is the CLI actually connecting to the gateway WebSocket and calling `status` .
Use `clawdbot daemon status` and trust these lines:
- `Probe target:` (the URL the probe actually used)
- `Listening:` (what’ s actually bound on the port)
- `Last gateway error:` (common root cause when the process is alive but the port isn’ t listening)
### Why does `clawdbot daemon status` show `Config (cli)` and `Config (daemon)` different?
You’ re editing one config file while the daemon is running another (often a `--profile` / `CLAWDBOT_STATE_DIR` mismatch).
Fix:
```bash
clawdbot daemon install --force
```
Run that from the same `--profile` / environment you want the daemon to use.
2026-01-08 06:40:42 +01:00
### What does “another gateway instance is already listening” mean?
2026-01-05 18:38:30 +01:00
2026-01-08 06:40:42 +01:00
Clawdbot enforces a runtime lock by binding the WebSocket listener immediately on startup (default `ws://127.0.0.1:18789` ). If the bind fails with `EADDRINUSE` , it throws `GatewayLockError` indicating another instance is already listening.
2026-01-05 18:38:30 +01:00
2026-01-08 06:40:42 +01:00
Fix: stop the other instance, free the port, or run with `clawdbot gateway --port <port>` .
2026-01-05 18:38:30 +01:00
2026-01-08 06:40:42 +01:00
### How do I run Clawdbot in remote mode (client connects to a Gateway elsewhere)?
2026-01-05 18:38:30 +01:00
2026-01-08 06:40:42 +01:00
Set `gateway.mode: "remote"` and point to a remote WebSocket URL, optionally with a token/password:
2026-01-05 18:38:30 +01:00
2026-01-08 06:40:42 +01:00
```json5
{
gateway: {
mode: "remote",
remote: {
url: "ws://gateway.tailnet:18789",
token: "your-token",
password: "your-password"
}
}
}
```
2026-01-02 11:50:09 +00:00
2026-01-08 06:40:42 +01:00
Notes:
- `clawdbot gateway` only starts when `gateway.mode` is `local` (or you pass the override flag).
- The macOS app watches the config file and switches modes live when these values change.
2026-01-04 20:10:20 +03:00
2026-01-08 08:40:05 +01:00
### The Control UI says “unauthorized” (or keeps reconnecting). What now?
Your gateway is running with auth enabled (`gateway.auth.*` ), but the UI is not sending the matching token/password.
Facts (from code):
- The Control UI stores the token in browser localStorage key `clawdbot.control.settings.v1` .
- The UI can import `?token=...` (and/or `?password=...` ) once, then strips it from the URL.
Fix:
- Set `gateway.auth.token` (or `CLAWDBOT_GATEWAY_TOKEN` ) on the gateway host.
- In the Control UI settings, paste the same token (or refresh with a one-time `?token=...` link).
### I set `gateway.bind: "tailnet"` but it can’ t bind / nothing listens
`tailnet` bind picks a Tailscale IP from your network interfaces (100.64.0.0/10). If the machine isn’ t on Tailscale (or the interface is down), there’ s nothing to bind to.
Fix:
- Start Tailscale on that host (so it has a 100.x address), or
- Switch to `gateway.bind: "loopback"` / `"lan"` .
2026-01-08 06:40:42 +01:00
### Can I run multiple Gateways on the same host?
2026-01-04 20:10:20 +03:00
2026-01-08 06:40:42 +01:00
Yes, but you must isolate:
2026-01-06 03:25:21 +01:00
2026-01-08 06:40:42 +01:00
- `CLAWDBOT_CONFIG_PATH` (per‑ instance config)
- `CLAWDBOT_STATE_DIR` (per‑ instance state)
2026-01-09 12:44:23 +00:00
- `agents.defaults.workspace` (workspace isolation)
2026-01-08 06:40:42 +01:00
- `gateway.port` (unique ports)
2026-01-04 20:10:20 +03:00
2026-01-08 06:40:42 +01:00
There are convenience CLI flags like `--dev` and `--profile <name>` that shift state dirs and ports.
2026-01-11 02:17:10 +01:00
When using profiles, service names are suffixed (`com.clawdbot.<profile>` , `clawdbot-gateway-<profile>.service` ,
`Clawdbot Gateway (<profile>)` ).
2026-01-04 20:10:20 +03:00
2026-01-08 06:40:42 +01:00
## Logging and debugging
2026-01-02 11:50:09 +00:00
2026-01-08 06:40:42 +01:00
### Where are logs?
2026-01-02 11:50:09 +00:00
2026-01-08 07:58:14 +01:00
File logs (structured):
2026-01-06 03:25:21 +01:00
2026-01-02 11:50:09 +00:00
```
2026-01-08 06:40:42 +01:00
/tmp/clawdbot/clawdbot-YYYY-MM-DD.log
2026-01-04 20:10:20 +03:00
```
2026-01-02 11:50:09 +00:00
2026-01-08 06:40:42 +01:00
You can set a stable path via `logging.file` . File log level is controlled by `logging.level` . Console verbosity is controlled by `--verbose` and `logging.consoleLevel` .
2026-01-06 20:56:12 +00:00
2026-01-08 06:48:28 +00:00
Fastest log tail:
```bash
clawdbot logs --follow
```
2026-01-08 07:58:14 +01:00
Service/supervisor logs (when the gateway runs via launchd/systemd):
2026-01-08 08:24:16 +01:00
- macOS: `$CLAWDBOT_STATE_DIR/logs/gateway.log` and `gateway.err.log` (default: `~/.clawdbot/logs/...` ; profiles use `~/.clawdbot-<profile>/logs/...` )
2026-01-11 02:17:10 +01:00
- Linux: `journalctl --user -u clawdbot-gateway[-<profile>].service -n 200 --no-pager`
- Windows: `schtasks /Query /TN "Clawdbot Gateway (<profile>)" /V /FO LIST`
2026-01-08 07:58:14 +01:00
See [Troubleshooting ](/gateway/troubleshooting#log-locations ) for more.
### How do I start/stop/restart the Gateway daemon?
Use the daemon helpers:
```bash
clawdbot daemon status
clawdbot daemon restart
```
If you run the gateway manually, `clawdbot gateway --force` can reclaim the port. See [Gateway ](/gateway ).
2026-01-08 06:40:42 +01:00
### What’ s the fastest way to get more details when something fails?
2026-01-02 11:50:09 +00:00
2026-01-08 06:40:42 +01:00
Start the Gateway with `--verbose` to get more console detail. Then inspect the log file for provider auth, model routing, and RPC errors.
2026-01-02 11:50:09 +00:00
2026-01-08 07:58:14 +01:00
## Media & attachments
### My skill generated an image/PDF, but nothing was sent
2026-01-08 23:25:45 +01:00
Outbound attachments from the agent must include a `MEDIA:<path-or-url>` line (on its own line). See [Clawdbot assistant setup ](/start/clawd ) and [Agent send ](/tools/agent-send ).
2026-01-08 07:58:14 +01:00
CLI sending:
```bash
2026-01-09 08:59:54 +01:00
clawdbot message send --to +15555550123 --message "Here you go" --media /path/to/file.png
2026-01-08 07:58:14 +01:00
```
Note: images are resized/recompressed (max side 2048px) to hit size limits. See [Images ](/nodes/images ).
2026-01-08 06:40:42 +01:00
## Security and access control
2026-01-02 11:50:09 +00:00
2026-01-08 06:40:42 +01:00
### Is it safe to expose Clawdbot to inbound DMs?
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
Treat inbound DMs as untrusted input. Defaults are designed to reduce risk:
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
- Default behavior on DM‑ capable providers is **pairing** :
- Unknown senders receive a pairing code; the bot does not process their message.
2026-01-10 16:36:43 +01:00
- Approve with: `clawdbot pairing approve <provider> <code>`
- Pending requests are capped at **3 per provider** ; check `clawdbot pairing list <provider>` if a code didn’ t arrive.
2026-01-08 06:40:42 +01:00
- Opening DMs publicly requires explicit opt‑ in (`dmPolicy: "open"` and allowlist `"*"` ).
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
2026-01-08 06:40:42 +01:00
Run `clawdbot doctor` to surface risky DM policies.
2026-01-03 06:09:48 +00:00
2026-01-11 23:13:35 +00:00
### WhatsApp: will it message my contacts? How does pairing work?
No. Default WhatsApp DM policy is **pairing** . Unknown senders only get a pairing code and their message is **not processed** . Clawdbot only replies to chats it receives or to explicit sends you trigger.
Approve pairing with:
```bash
clawdbot pairing approve whatsapp < code >
```
List pending requests:
```bash
clawdbot pairing list whatsapp
```
Wizard phone number prompt: it’ s used to set your **allowlist/owner** so your own DMs are permitted. It’ s not used for auto-sending. If you run on your personal WhatsApp number, use that number and enable `whatsapp.selfChatMode` .
2026-01-08 06:40:42 +01:00
## Chat commands, aborting tasks, and “it won’ t stop”
2026-01-06 14:17:56 -06:00
2026-01-08 06:40:42 +01:00
### How do I stop/cancel a running task?
2026-01-03 06:09:48 +00:00
2026-01-08 06:40:42 +01:00
Send any of these **as a standalone message** (no slash):
2026-01-03 06:09:48 +00:00
```
2026-01-08 06:40:42 +01:00
stop
abort
esc
wait
exit
2026-01-03 06:09:48 +00:00
```
2026-01-08 06:40:42 +01:00
These are abort triggers (not slash commands).
2026-01-05 14:11:33 +00:00
2026-01-08 06:40:42 +01:00
For background processes (from the bash tool), you can ask the agent to run:
2026-01-05 01:02:30 +01:00
2026-01-03 06:09:48 +00:00
```
2026-01-08 06:40:42 +01:00
process action:kill sessionId:XXX
2026-01-03 19:14:05 +00:00
```
2026-01-08 06:40:42 +01:00
Slash commands only run when the **entire** message is the command (must start with `/` ). Inline text like `hello /status` is ignored.
2026-01-03 19:14:05 +00:00
2026-01-08 06:40:42 +01:00
### Why does it feel like the bot “ignores” rapid‑ fire messages?
2026-01-03 16:53:51 +00:00
2026-01-08 06:40:42 +01:00
Queue mode controls how new messages interact with an in‑ flight run. Use `/queue` to change modes:
2026-01-03 16:53:51 +00:00
2026-01-08 06:40:42 +01:00
- `steer` — new messages redirect the current task
- `followup` — run messages one at a time
- `collect` — batch messages and reply once (default)
- `steer-backlog` — steer now, then process backlog
- `interrupt` — abort current run and start fresh
2026-01-03 16:53:51 +00:00
2026-01-08 06:40:42 +01:00
You can add options like `debounce:2s cap:25 drop:summarize` for followup modes.
2026-01-03 16:53:51 +00:00
2026-01-08 06:40:42 +01:00
## Common troubleshooting
2026-01-03 14:08:19 +00:00
2026-01-08 06:40:42 +01:00
### “All models failed” — what should I check first?
2026-01-03 14:08:19 +00:00
2026-01-08 06:40:42 +01:00
- **Credentials** present for the provider(s) being tried (auth profiles + env vars).
2026-01-09 12:44:23 +00:00
- **Model routing**: confirm `agents.defaults.model.primary` and fallbacks are models you can access.
2026-01-08 06:40:42 +01:00
- **Gateway logs** in `/tmp/clawdbot/…` for the exact provider error.
- **`/model status` ** to see current configured models + shorthands.
2026-01-03 14:08:19 +00:00
2026-01-08 07:58:14 +01:00
### I’ m running on my personal WhatsApp number — why is self-chat weird?
Enable self-chat mode and allowlist your own number:
```json5
{
whatsapp: {
selfChatMode: true,
dmPolicy: "allowlist",
allowFrom: ["+15555550123"]
}
}
```
See [WhatsApp setup ](/providers/whatsapp ).
2026-01-08 06:40:42 +01:00
### WhatsApp logged me out. How do I re‑ auth?
2026-01-03 14:08:19 +00:00
2026-01-08 06:40:42 +01:00
Run the login command again and scan the QR code:
2026-01-03 14:08:19 +00:00
2026-01-08 06:40:42 +01:00
```bash
2026-01-08 07:40:08 +01:00
clawdbot providers login
2026-01-08 06:40:42 +01:00
```
2026-01-03 14:08:19 +00:00
2026-01-08 06:40:42 +01:00
### Build errors on `main` — what’ s the standard fix path?
2026-01-03 14:08:19 +00:00
2026-01-08 06:40:42 +01:00
1) `git pull origin main && pnpm install`
2) `pnpm clawdbot doctor`
3) Check GitHub issues or Discord
4) Temporary workaround: check out an older commit
2026-01-03 06:09:48 +00:00
2026-01-08 06:40:42 +01:00
## Answer the exact question from the screenshot/chat log
2026-01-03 06:09:48 +00:00
2026-01-08 06:40:42 +01:00
**Q: “What’ s the default model for Anthropic with an API key?”**
2026-01-03 06:09:48 +00:00
2026-01-09 12:44:23 +00:00
**A:** In Clawdbot, credentials and model selection are separate. Setting `ANTHROPIC_API_KEY` (or storing an Anthropic API key in auth profiles) enables authentication, but the actual default model is whatever you configure in `agents.defaults.model.primary` (for example, `anthropic/claude-sonnet-4-5` or `anthropic/claude-opus-4-5` ). If you see `No credentials found for profile "anthropic:default"` , it means the Gateway couldn’ t find Anthropic credentials in the expected `auth-profiles.json` for the agent that’ s running.
docs: add FAQ with common questions from Discord
Covers:
- Installation & setup (data locations, unauthorized errors, fresh start, doctor)
- Migration & deployment (new machine, VPS, Docker)
- Multi-instance & contexts (one Clawd philosophy, groups for separation)
- Context & memory (200k tokens, autocompaction, workspace location)
- Platforms (supported platforms, multi-platform, WhatsApp numbers)
- Troubleshooting (build errors, WhatsApp logout, gateway issues)
- Chat commands reference
Based on community questions from #help channel.
🦞
2026-01-02 11:22:05 +00:00
---
2026-01-08 06:40:42 +01:00
Still stuck? Ask in Discord or open a GitHub discussion.