First Run
This guide walks you through your first 5 minutes with GoClaw after installation.
After Installation
If you installed via the one-line installer:
curl -fsSL https://goclaw.org/install.sh | sh
You now have:
goclawbinary in~/.goclaw/bin/- PATH updated (restart your shell or run
source ~/.bashrc)
Verify the installation:
goclaw version
Setup Wizard
Run the interactive setup wizard:
goclaw onboard
The wizard walks you through:
- OpenClaw Detection — If found, offers to import settings (API keys, workspace, Telegram token)
- Agent Identity — Set agent name, emoji, and optional typing text
- Workspace — Creates your agent’s home directory with identity files
- User Account — Create your owner account with optional Telegram/WhatsApp IDs
- Channels — Enable Telegram, HTTP, WhatsApp as needed
- LLM Provider — Configure and test your primary model provider
- Voice Settings (optional) — Configure speech-to-text and voice LLM
- Security & Skills — Choose a security preset (
Assistant,Permissive,Hardened, orCustom) and skill source permissions - Review & Finish — Confirm settings and write config
After setup completes, you’ll have:
~/.goclaw/goclaw.json— Main configuration~/.goclaw/users.json— User accounts~/.goclaw/workspace/— Agent workspace with identity files
Starting GoClaw
Interactive TUI (Recommended for First Run)
goclaw tui
Opens an interactive terminal chat. You can immediately start talking to your agent. Press Ctrl+C to exit.
Background Daemon
goclaw start
Runs GoClaw as a background daemon with automatic restart on crash. Use this for production.
goclaw status # Check if running
goclaw restart # Restart after updates or config changes
goclaw stop # Stop the daemon
Foreground Mode
goclaw gateway
Runs in the foreground with logs to terminal. Useful for debugging.
goclaw gateway -d # Debug logging
goclaw gateway -t # Trace logging (very verbose)
Verifying It Works
On successful startup, you’ll see:
INFO gateway: starting
INFO config: loaded goclaw.json
INFO llm: registry created providers=1 agent_models=1
INFO anthropic: initialized model=claude-sonnet-4-20250514
INFO telegram: bot started username=MyAgentBot
INFO http: listening addr=:1337
Key indicators:
- LLM provider initialized with your model
- Channels started (Telegram, HTTP, etc.)
- No error messages
Quick Test
Via TUI
If using goclaw tui, just type a message:
You: Hello! What can you do?
Via Telegram
If Telegram is configured, message your bot. It should respond within a few seconds.
Via Web UI
If HTTP is enabled, open your browser:
http://localhost:1337/chat
Common First-Run Issues
“no providers configured”
Run goclaw onboard to configure at least one LLM provider.
“failed to authenticate” (Telegram)
Check your bot token in goclaw.json. Get a new token from @BotFather
.
“connection refused” (Ollama)
Ensure Ollama is running: ollama serve
“invalid API key”
Double-check your API key in goclaw.json. Keys are stored in llm.providers.<name>.apiKey.
Re-running Setup
You can re-run the wizard anytime:
goclaw onboard # Friendly first-run / guided setup path
goclaw setup # Auto-detect: edit if config exists, wizard if new
goclaw setup wizard # Force full wizard (re-walk all steps)
goclaw setup edit # Edit existing config (menu-based)
Next Steps
- Telegram Setup — Configure your Telegram bot
- WhatsApp Setup — Link your WhatsApp account
- Web UI — Access the HTTP interface
- Commands — Slash commands reference
- Tools — Available agent tools
- Configuration — Full config reference