OpenClaw Ollama 本地模型部署教程1️⃣ 前置条件操作系统Windows 10/11 或 Linux (Ubuntu 20.04)硬件要求GPU: 推荐 RTX 30xx 系列或以上支持 CUDA显存: ≥16GB VRAMCPU: Intel i5 / AMD Ryzen 5 或更高内存: ≥32GB 推荐大量代码上下文可能占用内存软件工具Python 3.11GitDocker可选但 Ollama 本地部署推荐使用 Docker 或直接本地包2️⃣ 安装 Ollama 本地模型2.1 下载 Ollama官方地址https://ollama.comWindows 用户直接下载安装包Linux 用户使用命令行安装curl -sSL https://ollama.com/install.sh | bash2.2 初始化 Ollamaollama setup按提示配置 API 端口和默认模型目录默认本地监听端口http://localhost:114342.3 下载或部署模型Ollama 支持多种本地模型如deepseek-coder-v2可以直接拉取ollama pull deepseek-coder-v2:16b模型会被缓存在本地后续 API 调用无需联网确认模型状态ollama list3️⃣ 安装 OpenClawOpenClaw 是一个本地 AI Review 框架结合 Ollama API 调用模型。3.1 克隆 OpenClaw 仓库git clone https://github.com/okidokitech/OpenClaw.git cd OpenClaw3.2 安装 Python 依赖python -m venv venv source venv/bin/activate # Linux / Mac venv\Scripts\activate # Windows pip install -r requirements.txt包含主要依赖requests调用 Ollama APIrich/tqdm可选显示进度4️⃣ 配置 OpenClaw 调用 Ollama 本地模型在 OpenClaw 项目中修改配置文件或脚本OLLAMA_URL http://localhost:11434/api/generate MODEL deepseek-coder-v2:16b这里MODEL需要和 Ollama 本地模型一致确保 Ollama 已经在本地运行并监听端口5️⃣ 测试 Ollama 本地模型你可以用 Python 测试import requests OLLAMA_URL http://localhost:11434/api/generate MODEL deepseek-coder-v2:16b prompt Write a simple Spring Boot REST controller in Java that returns Hello World. resp requests.post(OLLAMA_URL, json{ model: MODEL, prompt: prompt, stream: False }) print(resp.json()[response])✅ 如果返回 Java 代码说明本地 Ollama 模型部署成功6️⃣ OpenClaw 使用 Ollama Review Java 项目配置项目路径PROJECT_ROOT /path/to/your/java/project SRC_PATH f{PROJECT_ROOT}/src/main/java REPORT_PATH f{PROJECT_ROOT}/ai_review_report.md PROMPT_FILE f{PROJECT_ROOT}/tools/ai-review/prompt/springboot_code_review_zh.txt执行 OpenClaw review 脚本上一步你已有完整脚本python review_project.py脚本会扫描 Controller批量提取 API 方法调用 Ollama 本地模型生成 Review输出report.md可选设置批量 Review 参数、过滤模块或类7️⃣ Tips 与注意事项显存不足16GB VRAM 可以跑deepseek-coder-v2:16b若模型太大可以选择小一点的版本性能优化批量 Review 时按模块分开避免单次输入过长可以只拉取必要模型文件日志和调试Ollama 输出可通过ollama logs查看OpenClaw 可以增加print()或tqdm显示进度8️⃣ 总结流程图Java Project │ ├─ scan Controllers → extract API methods │ ├─ gather related files (Service/Mapper/DO) │ └─ call Ollama local model via OpenClaw │ └─ generate AI Review │ └─ report.md这样你就可以在完全本地环境下完成 AI 代码审查不依赖远程 API保证安全和速度。iwr -useb https://openclaw.ai/install.ps1 | iex OpenClaw Installer [OK] Windows detected [*] Existing OpenClaw installation detected [OK] Node.js v22.22.1 found [*] Installing OpenClaw (openclawlatest)... npm.cmd : npm error code 128 所在位置 行:474 字符: 22 ... npmOutput (Get-NpmCommandPath) install -g $packageName$Tag 2 ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : NotSpecified: (npm error code 128:String) [], RemoteException FullyQualifiedErrorId : NativeCommandErrornpm cache clean --force iwr -useb https://openclaw.ai/install.ps1 | iexiwr -useb https://openclaw.ai/install.ps1 | iex OpenClaw Installer [OK] Windows detected [OK] Node.js v22.22.1 found [*] Installing OpenClaw (openclawlatest)... [OK] OpenClaw installed OpenClaw installed successfully (OpenClaw 2026.3.13 (61d171a))! The lobster has landed. Your terminal will never be the same. Starting setup... OpenClaw 2026.3.13 (61d171a) — Your personal assistant, minus the passive-aggressive calendar reminders. Windows detected - OpenClaw runs great on WSL2! Native Windows might be trickier. Quick setup: wsl --install (one command, one reboot) Guide: https://docs.openclaw.ai/windows ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ██░▄▄▄░██░▄▄░██░▄▄▄██░▀██░██░▄▄▀██░████░▄▄▀██░███░██ ██░███░██░▀▀░██░▄▄▄██░█░█░██░█████░████░▀▀░██░█░█░██ ██░▀▀▀░██░█████░▀▀▀██░██▄░██░▀▀▄██░▀▀░█░██░██▄▀▄▀▄██ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ OPENCLAW T OpenClaw onboarding | o Security --------------------------------------------------------------------------------- | | | Security warning — please read. | | | | OpenClaw is a hobby project and still in beta. Expect sharp edges. | | By default, OpenClaw is a personal agent: one trusted operator boundary. | | This bot can read files and run actions if tools are enabled. | | A bad prompt can trick it into doing unsafe things. | | | | OpenClaw is not a hostile multi-tenant boundary by default. | | If multiple users can message one tool-enabled agent, they share that delegated tool | | authority. | | | | If you’re not comfortable with security hardening and access control, don’t run | | OpenClaw. | | Ask someone experienced to help before enabling tools or exposing it to the internet. | | | | Recommended baseline: | | - Pairing/allowlists mention gating. | | - Multi-user/shared inbox: split trust boundaries (separate gateway/credentials, ideally | | separate OS users/hosts). | | - Sandbox least-privilege tools. | | - Shared inboxes: isolate DM sessions (session.dmScope: per-channel-peer) and keep | | tool access minimal. | | - Keep secrets out of the agent’s reachable filesystem. | | - Use the strongest available model for any bot with tools or untrusted inboxes. | | | | Run regularly: | | openclaw security audit --deep | | openclaw security audit --fix | | | | Must read: https://docs.openclaw.ai/gateway/security | | | -------------------------------------------------------------------------------------------- | o I understand this is personal-by-default and shared/multi-user use requires lock-down. Continue? | Yes | o Onboarding mode | QuickStart | o Existing config detected --------- | | | workspace: ~\.openclaw\workspace | | gateway.mode: local | | | ------------------------------------ | o Config handling | Reset | o Reset scope | Full reset (config creds sessions workspace) Failed to move to Trash (manual delete): ~\.openclaw\openclaw.json Failed to move to Trash (manual delete): ~\.openclaw\agents\main\sessions Failed to move to Trash (manual delete): ~\.openclaw\workspace | o QuickStart ------------------------- | | | Gateway port: 18789 | | Gateway bind: Loopback (127.0.0.1) | | Gateway auth: Token (default) | | Tailscale exposure: Off | | Direct to chat channels. | | | -------------------------------------- | o Model/auth provider | Custom Provider | o API Base URL | http://127.0.0.1:11434/v1 | o How do you want to provide this API key? | Paste API key now | o API Key (leave blank if not required) | ollama | o Endpoint compatibility | OpenAI-compatible | o Model ID | glm-4.7-flash:latest | o Verification successful. | o Endpoint ID | custom-127-0-0-1-11434 | o Model alias (optional) | ollama Configured custom provider: custom-127-0-0-1-11434/glm-4.7-flash:latest | o Channel status ---------------------------- | | | Telegram: needs token | | WhatsApp (default): not linked | | Discord: needs token | | Slack: needs tokens | | Signal: needs setup | | signal-cli: missing (signal-cli) | | iMessage: needs setup | | imsg: missing (imsg) | | IRC: not configured | | Google Chat: not configured | | LINE: not configured | | Feishu: install plugin to enable | | Google Chat: install plugin to enable | | 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 | | LINE: install plugin to enable | | Zalo: install plugin to enable | | Zalo Personal: install plugin to enable | | Synology Chat: install plugin to enable | | Tlon: install plugin to enable | | | --------------------------------------------- | o How channels work ----------------------------------------------------------------------- | | | DM security: default is pairing; unknown DMs get a pairing code. | | Approve with: openclaw pairing approve channel code | | Public DMs require dmPolicyopen allowFrom[*]. | | Multi-user DMs: run: openclaw config set session.dmScope per-channel-peer (or | | per-account-channel-peer for multi-account channels) to isolate sessions. | | Docs: channels/pairing | | | | 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. | | IRC: classic IRC networks with DM/channel routing and pairing controls. | | Google Chat: Google Workspace Chat app with HTTP webhook. | | Slack: supported (Socket Mode). | | Signal: signal-cli linked device; more setup (David Reagans: Hop on Discord.). | | iMessage: this is still a work in progress. | | LINE: LINE Messaging API webhook bot. | | Feishu: 飞书/Lark enterprise messaging with doc/wiki/drive tools. | | 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. | | Synology Chat: Connect your Synology NAS Chat to OpenClaw with full agent capabilities. | | Tlon: decentralized messaging on Urbit; install the plugin to enable. | | | ------------------------------------------------------------------------------------------- | o Select channel (QuickStart) | Skip for now Config overwrite: C:\Users\Neo\.openclaw\openclaw.json (sha256 f25e40a28c2ec9b0c1a1b592c6807d50b677d793c2cf23045e74be7a2fdfb9db - 6370fdc5cb475811071770c36bb79022309d43773ca2fd360a5bec335a68525b, backupC:\Users\Neo\.openclaw\openclaw.json.bak) Updated ~\.openclaw\openclaw.json Workspace OK: ~\.openclaw\workspace Sessions OK: ~\.openclaw\agents\main\sessions | o Web search ---------------------------------------- | | | Web search lets your agent look things up online. | | Choose a provider and paste your API key. | | Docs: https://docs.openclaw.ai/tools/web | | | ----------------------------------------------------- | o Search provider | Skip for now | o Skills status ------------- | | | Eligible: 4 | | Missing requirements: 40 | | Unsupported on this OS: 8 | | Blocked by allowlist: 0 | | | ----------------------------- | o Configure skills now? (recommended) | Yes | o Install missing skill dependencies | Skip for now | o Set GOOGLE_PLACES_API_KEY for goplaces? | No | o Set GEMINI_API_KEY for nano-banana-pro? | No | o Set NOTION_API_KEY for notion? | No | o Set OPENAI_API_KEY for openai-image-gen? | No | o Set OPENAI_API_KEY for openai-whisper-api? | No | o Set ELEVENLABS_API_KEY for sag? | No | o Hooks ------------------------------------------------------------------ | | | Hooks let you automate actions when agent commands are issued. | | Example: Save session context to memory when you issue /new or /reset. | | | | Learn more: https://docs.openclaw.ai/automation/hooks | | | -------------------------------------------------------------------------- | o Enable hooks? | Skip for now Config overwrite: C:\Users\Neo\.openclaw\openclaw.json (sha256 6370fdc5cb475811071770c36bb79022309d43773ca2fd360a5bec335a68525b - 476b4f0cb24bc772089fb5eecda5bec0b821edd0b1503c1acc55a70822df57c8, backupC:\Users\Neo\.openclaw\openclaw.json.bak) | o Gateway service runtime -------------------------------------------- | | | QuickStart uses Node for the Gateway service (stable supported). | | | ---------------------------------------------------------------------- | • Installing Gateway service… Installed Scheduled Task: OpenClaw Gateway Task script: C:\Users\Neo\.openclaw\gateway.cmd o Gateway service installed. | o Agents: main (default) Heartbeat interval: 30m (main) Session store (main): C:\Users\Neo\.openclaw\agents\main\sessions\sessions.json (0 entries) | o Optional apps ------------------------ | | | Add nodes for extra features: | | - macOS app (system notifications) | | - iOS app (camera/canvas) | | - Android app (camera/canvas) | | | ---------------------------------------- | o Control UI --------------------------------------------------------------------- | | | Web UI: http://127.0.0.1:18789/ | | Web UI (with token): | | http://127.0.0.1:18789/#token920fd2a8571f772b0be28897c5a49009f99169b366feafb8 | | Gateway WS: ws://127.0.0.1:18789 | | Gateway: reachable | | Docs: https://docs.openclaw.ai/web/control-ui | | | ---------------------------------------------------------------------------------- | o Start TUI (best option!) --------------------------------- | | | This is the defining action that makes your agent you. | | Please take your time. | | The more you tell it, the better the experience will be. | | We will send: Wake up, my friend! | | | ------------------------------------------------------------ | o Token ------------------------------------------------------------------------------------ | | | Gateway token: shared auth for the Gateway Control UI. | | Stored in: ~/.openclaw/openclaw.json (gateway.auth.token) or OPENCLAW_GATEWAY_TOKEN. | | View token: openclaw config get gateway.auth.token | | Generate token: openclaw doctor --generate-gateway-token | | Web UI keeps dashboard URL tokens in memory for the current tab and strips them from the | | URL after load. | | Open the dashboard anytime: openclaw dashboard --no-open | | If prompted: paste the token into Control UI settings (or use the tokenized dashboard | | URL). | | | -------------------------------------------------------------------------------------------- | * How do you want to hatch your bot? | Hatch in TUI (recommended) | Open the Web UI | Do this later —
OpenClaw + Ollama 本地模型部署教程
OpenClaw Ollama 本地模型部署教程1️⃣ 前置条件操作系统Windows 10/11 或 Linux (Ubuntu 20.04)硬件要求GPU: 推荐 RTX 30xx 系列或以上支持 CUDA显存: ≥16GB VRAMCPU: Intel i5 / AMD Ryzen 5 或更高内存: ≥32GB 推荐大量代码上下文可能占用内存软件工具Python 3.11GitDocker可选但 Ollama 本地部署推荐使用 Docker 或直接本地包2️⃣ 安装 Ollama 本地模型2.1 下载 Ollama官方地址https://ollama.comWindows 用户直接下载安装包Linux 用户使用命令行安装curl -sSL https://ollama.com/install.sh | bash2.2 初始化 Ollamaollama setup按提示配置 API 端口和默认模型目录默认本地监听端口http://localhost:114342.3 下载或部署模型Ollama 支持多种本地模型如deepseek-coder-v2可以直接拉取ollama pull deepseek-coder-v2:16b模型会被缓存在本地后续 API 调用无需联网确认模型状态ollama list3️⃣ 安装 OpenClawOpenClaw 是一个本地 AI Review 框架结合 Ollama API 调用模型。3.1 克隆 OpenClaw 仓库git clone https://github.com/okidokitech/OpenClaw.git cd OpenClaw3.2 安装 Python 依赖python -m venv venv source venv/bin/activate # Linux / Mac venv\Scripts\activate # Windows pip install -r requirements.txt包含主要依赖requests调用 Ollama APIrich/tqdm可选显示进度4️⃣ 配置 OpenClaw 调用 Ollama 本地模型在 OpenClaw 项目中修改配置文件或脚本OLLAMA_URL http://localhost:11434/api/generate MODEL deepseek-coder-v2:16b这里MODEL需要和 Ollama 本地模型一致确保 Ollama 已经在本地运行并监听端口5️⃣ 测试 Ollama 本地模型你可以用 Python 测试import requests OLLAMA_URL http://localhost:11434/api/generate MODEL deepseek-coder-v2:16b prompt Write a simple Spring Boot REST controller in Java that returns Hello World. resp requests.post(OLLAMA_URL, json{ model: MODEL, prompt: prompt, stream: False }) print(resp.json()[response])✅ 如果返回 Java 代码说明本地 Ollama 模型部署成功6️⃣ OpenClaw 使用 Ollama Review Java 项目配置项目路径PROJECT_ROOT /path/to/your/java/project SRC_PATH f{PROJECT_ROOT}/src/main/java REPORT_PATH f{PROJECT_ROOT}/ai_review_report.md PROMPT_FILE f{PROJECT_ROOT}/tools/ai-review/prompt/springboot_code_review_zh.txt执行 OpenClaw review 脚本上一步你已有完整脚本python review_project.py脚本会扫描 Controller批量提取 API 方法调用 Ollama 本地模型生成 Review输出report.md可选设置批量 Review 参数、过滤模块或类7️⃣ Tips 与注意事项显存不足16GB VRAM 可以跑deepseek-coder-v2:16b若模型太大可以选择小一点的版本性能优化批量 Review 时按模块分开避免单次输入过长可以只拉取必要模型文件日志和调试Ollama 输出可通过ollama logs查看OpenClaw 可以增加print()或tqdm显示进度8️⃣ 总结流程图Java Project │ ├─ scan Controllers → extract API methods │ ├─ gather related files (Service/Mapper/DO) │ └─ call Ollama local model via OpenClaw │ └─ generate AI Review │ └─ report.md这样你就可以在完全本地环境下完成 AI 代码审查不依赖远程 API保证安全和速度。iwr -useb https://openclaw.ai/install.ps1 | iex OpenClaw Installer [OK] Windows detected [*] Existing OpenClaw installation detected [OK] Node.js v22.22.1 found [*] Installing OpenClaw (openclawlatest)... npm.cmd : npm error code 128 所在位置 行:474 字符: 22 ... npmOutput (Get-NpmCommandPath) install -g $packageName$Tag 2 ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : NotSpecified: (npm error code 128:String) [], RemoteException FullyQualifiedErrorId : NativeCommandErrornpm cache clean --force iwr -useb https://openclaw.ai/install.ps1 | iexiwr -useb https://openclaw.ai/install.ps1 | iex OpenClaw Installer [OK] Windows detected [OK] Node.js v22.22.1 found [*] Installing OpenClaw (openclawlatest)... [OK] OpenClaw installed OpenClaw installed successfully (OpenClaw 2026.3.13 (61d171a))! The lobster has landed. Your terminal will never be the same. Starting setup... OpenClaw 2026.3.13 (61d171a) — Your personal assistant, minus the passive-aggressive calendar reminders. Windows detected - OpenClaw runs great on WSL2! Native Windows might be trickier. Quick setup: wsl --install (one command, one reboot) Guide: https://docs.openclaw.ai/windows ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ██░▄▄▄░██░▄▄░██░▄▄▄██░▀██░██░▄▄▀██░████░▄▄▀██░███░██ ██░███░██░▀▀░██░▄▄▄██░█░█░██░█████░████░▀▀░██░█░█░██ ██░▀▀▀░██░█████░▀▀▀██░██▄░██░▀▀▄██░▀▀░█░██░██▄▀▄▀▄██ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ OPENCLAW T OpenClaw onboarding | o Security --------------------------------------------------------------------------------- | | | Security warning — please read. | | | | OpenClaw is a hobby project and still in beta. Expect sharp edges. | | By default, OpenClaw is a personal agent: one trusted operator boundary. | | This bot can read files and run actions if tools are enabled. | | A bad prompt can trick it into doing unsafe things. | | | | OpenClaw is not a hostile multi-tenant boundary by default. | | If multiple users can message one tool-enabled agent, they share that delegated tool | | authority. | | | | If you’re not comfortable with security hardening and access control, don’t run | | OpenClaw. | | Ask someone experienced to help before enabling tools or exposing it to the internet. | | | | Recommended baseline: | | - Pairing/allowlists mention gating. | | - Multi-user/shared inbox: split trust boundaries (separate gateway/credentials, ideally | | separate OS users/hosts). | | - Sandbox least-privilege tools. | | - Shared inboxes: isolate DM sessions (session.dmScope: per-channel-peer) and keep | | tool access minimal. | | - Keep secrets out of the agent’s reachable filesystem. | | - Use the strongest available model for any bot with tools or untrusted inboxes. | | | | Run regularly: | | openclaw security audit --deep | | openclaw security audit --fix | | | | Must read: https://docs.openclaw.ai/gateway/security | | | -------------------------------------------------------------------------------------------- | o I understand this is personal-by-default and shared/multi-user use requires lock-down. Continue? | Yes | o Onboarding mode | QuickStart | o Existing config detected --------- | | | workspace: ~\.openclaw\workspace | | gateway.mode: local | | | ------------------------------------ | o Config handling | Reset | o Reset scope | Full reset (config creds sessions workspace) Failed to move to Trash (manual delete): ~\.openclaw\openclaw.json Failed to move to Trash (manual delete): ~\.openclaw\agents\main\sessions Failed to move to Trash (manual delete): ~\.openclaw\workspace | o QuickStart ------------------------- | | | Gateway port: 18789 | | Gateway bind: Loopback (127.0.0.1) | | Gateway auth: Token (default) | | Tailscale exposure: Off | | Direct to chat channels. | | | -------------------------------------- | o Model/auth provider | Custom Provider | o API Base URL | http://127.0.0.1:11434/v1 | o How do you want to provide this API key? | Paste API key now | o API Key (leave blank if not required) | ollama | o Endpoint compatibility | OpenAI-compatible | o Model ID | glm-4.7-flash:latest | o Verification successful. | o Endpoint ID | custom-127-0-0-1-11434 | o Model alias (optional) | ollama Configured custom provider: custom-127-0-0-1-11434/glm-4.7-flash:latest | o Channel status ---------------------------- | | | Telegram: needs token | | WhatsApp (default): not linked | | Discord: needs token | | Slack: needs tokens | | Signal: needs setup | | signal-cli: missing (signal-cli) | | iMessage: needs setup | | imsg: missing (imsg) | | IRC: not configured | | Google Chat: not configured | | LINE: not configured | | Feishu: install plugin to enable | | Google Chat: install plugin to enable | | 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 | | LINE: install plugin to enable | | Zalo: install plugin to enable | | Zalo Personal: install plugin to enable | | Synology Chat: install plugin to enable | | Tlon: install plugin to enable | | | --------------------------------------------- | o How channels work ----------------------------------------------------------------------- | | | DM security: default is pairing; unknown DMs get a pairing code. | | Approve with: openclaw pairing approve channel code | | Public DMs require dmPolicyopen allowFrom[*]. | | Multi-user DMs: run: openclaw config set session.dmScope per-channel-peer (or | | per-account-channel-peer for multi-account channels) to isolate sessions. | | Docs: channels/pairing | | | | 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. | | IRC: classic IRC networks with DM/channel routing and pairing controls. | | Google Chat: Google Workspace Chat app with HTTP webhook. | | Slack: supported (Socket Mode). | | Signal: signal-cli linked device; more setup (David Reagans: Hop on Discord.). | | iMessage: this is still a work in progress. | | LINE: LINE Messaging API webhook bot. | | Feishu: 飞书/Lark enterprise messaging with doc/wiki/drive tools. | | 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. | | Synology Chat: Connect your Synology NAS Chat to OpenClaw with full agent capabilities. | | Tlon: decentralized messaging on Urbit; install the plugin to enable. | | | ------------------------------------------------------------------------------------------- | o Select channel (QuickStart) | Skip for now Config overwrite: C:\Users\Neo\.openclaw\openclaw.json (sha256 f25e40a28c2ec9b0c1a1b592c6807d50b677d793c2cf23045e74be7a2fdfb9db - 6370fdc5cb475811071770c36bb79022309d43773ca2fd360a5bec335a68525b, backupC:\Users\Neo\.openclaw\openclaw.json.bak) Updated ~\.openclaw\openclaw.json Workspace OK: ~\.openclaw\workspace Sessions OK: ~\.openclaw\agents\main\sessions | o Web search ---------------------------------------- | | | Web search lets your agent look things up online. | | Choose a provider and paste your API key. | | Docs: https://docs.openclaw.ai/tools/web | | | ----------------------------------------------------- | o Search provider | Skip for now | o Skills status ------------- | | | Eligible: 4 | | Missing requirements: 40 | | Unsupported on this OS: 8 | | Blocked by allowlist: 0 | | | ----------------------------- | o Configure skills now? (recommended) | Yes | o Install missing skill dependencies | Skip for now | o Set GOOGLE_PLACES_API_KEY for goplaces? | No | o Set GEMINI_API_KEY for nano-banana-pro? | No | o Set NOTION_API_KEY for notion? | No | o Set OPENAI_API_KEY for openai-image-gen? | No | o Set OPENAI_API_KEY for openai-whisper-api? | No | o Set ELEVENLABS_API_KEY for sag? | No | o Hooks ------------------------------------------------------------------ | | | Hooks let you automate actions when agent commands are issued. | | Example: Save session context to memory when you issue /new or /reset. | | | | Learn more: https://docs.openclaw.ai/automation/hooks | | | -------------------------------------------------------------------------- | o Enable hooks? | Skip for now Config overwrite: C:\Users\Neo\.openclaw\openclaw.json (sha256 6370fdc5cb475811071770c36bb79022309d43773ca2fd360a5bec335a68525b - 476b4f0cb24bc772089fb5eecda5bec0b821edd0b1503c1acc55a70822df57c8, backupC:\Users\Neo\.openclaw\openclaw.json.bak) | o Gateway service runtime -------------------------------------------- | | | QuickStart uses Node for the Gateway service (stable supported). | | | ---------------------------------------------------------------------- | • Installing Gateway service… Installed Scheduled Task: OpenClaw Gateway Task script: C:\Users\Neo\.openclaw\gateway.cmd o Gateway service installed. | o Agents: main (default) Heartbeat interval: 30m (main) Session store (main): C:\Users\Neo\.openclaw\agents\main\sessions\sessions.json (0 entries) | o Optional apps ------------------------ | | | Add nodes for extra features: | | - macOS app (system notifications) | | - iOS app (camera/canvas) | | - Android app (camera/canvas) | | | ---------------------------------------- | o Control UI --------------------------------------------------------------------- | | | Web UI: http://127.0.0.1:18789/ | | Web UI (with token): | | http://127.0.0.1:18789/#token920fd2a8571f772b0be28897c5a49009f99169b366feafb8 | | Gateway WS: ws://127.0.0.1:18789 | | Gateway: reachable | | Docs: https://docs.openclaw.ai/web/control-ui | | | ---------------------------------------------------------------------------------- | o Start TUI (best option!) --------------------------------- | | | This is the defining action that makes your agent you. | | Please take your time. | | The more you tell it, the better the experience will be. | | We will send: Wake up, my friend! | | | ------------------------------------------------------------ | o Token ------------------------------------------------------------------------------------ | | | Gateway token: shared auth for the Gateway Control UI. | | Stored in: ~/.openclaw/openclaw.json (gateway.auth.token) or OPENCLAW_GATEWAY_TOKEN. | | View token: openclaw config get gateway.auth.token | | Generate token: openclaw doctor --generate-gateway-token | | Web UI keeps dashboard URL tokens in memory for the current tab and strips them from the | | URL after load. | | Open the dashboard anytime: openclaw dashboard --no-open | | If prompted: paste the token into Control UI settings (or use the tokenized dashboard | | URL). | | | -------------------------------------------------------------------------------------------- | * How do you want to hatch your bot? | Hatch in TUI (recommended) | Open the Web UI | Do this later —