Configuration

Config file: ~/.picoclaw/config.json (or set via environment variables).

Workspace layout

PicoClaw stores data in your configured workspace (default ~/.picoclaw/workspace):

~/.picoclaw/workspace/
├── sessions/   # Conversation sessions and history
├── memory/     # Long-term memory (MEMORY.md)
├── state/      # Persistent state (last channel, etc.)
├── cron/       # Scheduled jobs database
├── skills/     # Custom skills
├── AGENTS.md   # Agent behavior guide
├── HEARTBEAT.md # Periodic task prompts (every 30 min)
├── IDENTITY.md # Agent identity
├── SOUL.md     # Agent soul
├── TOOLS.md    # Tool descriptions
└── USER.md     # User preferences

Agents defaults

OptionDefaultDescription
workspace~/.picoclaw/workspaceWorking directory for the agent
restrict_to_workspacetrueRestrict file/command access to workspace
modelglm-4.7Default LLM model
max_tokens8192Max tokens per response
temperature0.7Sampling temperature
max_tool_iterations20Max tool calls per turn

Providers

Set providers.<name>.api_key and optionally api_base. See Providers & API Keys for details.

Tools (web search)

Brave Search (API key) or DuckDuckGo (no key). Example:

"tools": {
  "web": {
    "brave": { "enabled": false, "api_key": "YOUR_KEY", "max_results": 5 },
    "duckduckgo": { "enabled": true, "max_results": 5 }
  }
}

Heartbeat

Periodic tasks via HEARTBEAT.md. Config:

"heartbeat": {
  "enabled": true,
  "interval": 30
}

Interval in minutes (min: 5). Env: PICOCLAW_HEARTBEAT_ENABLED, PICOCLAW_HEARTBEAT_INTERVAL.

Full config example

See config.example.json on GitHub for a complete template.