Configuration
GoClaw is configured via ~/.goclaw/config.yaml.
All values can be overridden with environment variables prefixed GOCLAW_.
~/.goclaw/config.yaml
gateway:
port: 18789
token: "your-secret-token"
llm:
provider: "anthropic" # anthropic | openai | google | ollama
api_key: "sk-ant-..."
model: "claude-opus-4-6"
max_tokens: 4096
temperature: 0.7
agent:
name: "Claw"
persona: "You are Claw, a proactive personal AI assistant."
max_iterations: 5
memory:
dir: "~/.goclaw/memory"
days_back: 2
channels:
telegram:
enabled: true
token: "your-bot-token"
discord:
enabled: true
token: "your-bot-token"
whatsapp:
enabled: false
slack:
enabled: false
token: "xoxb-..."
app_token: "xapp-..."
skills:
dir: "~/.goclaw/skills"
sidecars:
- addr: "localhost:50052"
browser:
enabled: false
headless: true
voice:
enabled: false
elevenlabs_key: ""
voice_id: "21m00Tcm4TlvDq8ikWAM" Environment variable overrides
Variable
Config key
GOCLAW_LLM_API_KEY
llm.api_key
GOCLAW_GATEWAY_TOKEN
gateway.token
GOCLAW_CHANNELS_TELEGRAM_TOKEN
channels.telegram.token
GOCLAW_CHANNELS_DISCORD_TOKEN
channels.discord.token
GOCLAW_LLM_MODEL
llm.model