Skip to main content

Overview

PicoClaw’s ultra-lightweight design makes it perfect for Raspberry Pi devices. With less than 10MB RAM usage and fast startup times, it runs smoothly even on low-powered boards like the Pi Zero 2 W.

Supported Devices

  • Raspberry Pi Zero 2 W (tested)
  • Raspberry Pi 3/4/5
  • Any Raspberry Pi with ARMv7 (32-bit) or ARM64 (64-bit) support

Performance Expectations

Installation Methods

Method 1: Download Precompiled Binary

  1. Download the appropriate binary for your Raspberry Pi OS:
Replace v0.1.1 with the latest version from the Releases page.
  1. Initialize PicoClaw:
  1. Configure your API keys in ~/.picoclaw/config.json
  2. Test the installation:

Method 2: Build from Source

Building from source gives you the latest features and allows customization.

Prerequisites

Build Instructions

Binary Locations

After building:
  • 32-bit binary: build/picoclaw-linux-arm
  • 64-bit binary: build/picoclaw-linux-arm64

Install the Binary

Determining Your OS Architecture

Use the binary that matches your Raspberry Pi OS:

Configuration

Basic Configuration

After installation, configure PicoClaw:
Edit ~/.picoclaw/config.json to set your API keys:

Running as a Service

For always-on operation, see the systemd setup guide.

Raspberry Pi Zero 2 W Specific Notes

The Pi Zero 2 W has:
  • 512MB RAM (PicoClaw uses <10MB)
  • 1GHz quad-core ARM Cortex-A53
  • WiFi and Bluetooth
Tips for Pi Zero 2 W:
  1. Use 32-bit OS - Better memory efficiency on 512MB RAM
  2. Enable swap - Recommended for stability:
  1. Optimize config - Use lower max_tokens to reduce memory:

Troubleshooting

Binary Won’t Run

Out of Memory Errors

  • Check current memory usage: free -h
  • Reduce max_tokens in config
  • Enable swap (see Pi Zero notes above)
  • Close other applications

Slow Performance

  • Ensure you’re using the correct binary for your architecture
  • Check CPU temperature: vcgencmd measure_temp
  • Ensure adequate cooling

Next Steps