Quick Start
This guide will get you from zero to a working AI assistant in just a few minutes.Prerequisites: Make sure you have installed PicoClaw before proceeding.
Overview
Getting started with PicoClaw is a simple 3-step process:Step 1: Initialize
Run the onboarding command to set up your workspace and configuration:~/.picoclaw/config.json— Main configuration file~/.picoclaw/workspace/— Working directory for the agent
You should see a success message indicating that the configuration was created.
Step 2: Configure API Keys
PicoClaw needs an LLM provider to function. Open the configuration file:Basic Configuration Structure
Here’s what the config file looks like:Configuration Breakdown
agents.defaults — Core Settings
agents.defaults — Core Settings
| Field | Description | Default |
|---|---|---|
workspace | Working directory for the agent | ~/.picoclaw/workspace |
model_name | Name reference for the model to use | gpt4 |
max_tokens | Maximum tokens per response | 8192 |
temperature | Creativity level (0.0-1.0) | 0.7 |
max_tool_iterations | Max tool calls per conversation turn | 20 |
model_list — Provider Configuration
model_list — Provider Configuration
The
model_list array defines available LLM models:request_timeout is optional. If omitted or set to <= 0, PicoClaw uses the default timeout (120s).tools.web — Search Configuration
tools.web — Search Configuration
Web search is optional but enhances the assistant’s capabilities:
- Brave Search (recommended): Best results, 2000 free queries/month
- Tavily: Optimized for AI agents, 1000 free queries/month
- DuckDuckGo: No API key required, free fallback option
Get API Keys
Web Search (Optional)
Recommended:
- Brave Search — 2000 queries/month
- Tavily — 1000 queries/month
- DuckDuckGo — No key required (enabled by default)
Example Configurations
See
config.example.json in the PicoClaw repository for a complete configuration template with all available options.Step 3: Start Chatting
Once configured, you can start using PicoClaw immediately!CLI Chat
Expected Output
When you run your first command, you should see something like:Congratulations! Your PicoClaw AI assistant is now running.
Next Steps
Connect Chat Apps
PicoClaw can integrate with multiple chat platforms:Telegram
Easy setup with just a bot token
Discord
Simple bot token + intents configuration
Native QR scan or bridge URL
AppID + AppSecret
DingTalk
Client credentials setup
WeCom
Multiple integration modes
config.json. Example for Telegram:
Create a Bot
Get Your User ID
Message @userinfobot on Telegram to get your user ID.
See the full Chat Apps Configuration guide for detailed setup instructions for all platforms.
Advanced Features
Scheduled Tasks
Set up periodic tasks and reminders with cron-like scheduling
Heartbeat
Automatic periodic task execution from
HEARTBEAT.mdCustom Skills
Extend functionality with custom skill modules
Security Sandbox
Restrict agent access to specific directories
Common Commands
| Command | Description |
|---|---|
picoclaw onboard | Initialize config & workspace |
picoclaw agent -m "..." | Chat with the agent (one-shot) |
picoclaw agent | Interactive chat mode |
picoclaw gateway | Start gateway for chat apps |
picoclaw status | Show current status |
picoclaw cron list | List scheduled jobs |
picoclaw cron add ... | Add a scheduled job |
Troubleshooting
"API key configuration issue"
"API key configuration issue"
This means you haven’t configured an LLM provider API key yet, or the key is invalid.Solution:
- Get an API key from one of the supported providers
- Add it to
~/.picoclaw/config.jsonin themodel_listsection - Make sure the
model_nameinagents.defaultsmatches an entry inmodel_list
"Web search says API key configuration issue"
"Web search says API key configuration issue"
This is normal if you haven’t configured a search API key. PicoClaw will provide helpful links for manual searching.To enable web search:
- Get a free Brave Search API key (2000 queries/month)
- Or enable DuckDuckGo (no key required):
"Content filtering errors"
"Content filtering errors"
Some providers (like Zhipu) have content filtering that may block certain queries.Solution:
- Try rephrasing your query
- Use a different model/provider
- Check the provider’s content policy
Telegram bot: "Conflict: terminated by other getUpdates"
Telegram bot: "Conflict: terminated by other getUpdates"
This happens when multiple instances of the bot are running.Solution:
- Make sure only one
picoclaw gatewayis running at a time - Kill any existing gateway processes:
pkill picoclaw
What’s Next?
Full Configuration Guide
Explore all configuration options and advanced features
Chat App Integration
Connect Telegram, Discord, WhatsApp, and more
CLI Reference
Complete command-line interface documentation
GitHub Repository
View source code and contribute
You’re all set! Enjoy your ultra-lightweight AI assistant.