Skip to content

OpenClaw

OpenClaw

OpenClaw is an open-source, privacy-first AI agent that runs entirely on your device. Your health data stays local — never sent to external AI services.

Why OpenClaw?

  • 100% Private — All processing happens on your device
  • Open Source — Transparent code, community-driven
  • No Cloud Required — Works offline, syncs when needed
  • Self-Hosted AI — Run your own language model

Installation

Requirements

  • macOS 12+ or Linux (Ubuntu 20.04+)
  • 8GB RAM minimum (16GB recommended)
  • 10GB free disk space

Step 1: Install OpenClaw

Terminal window
# macOS
brew install openclaw
# Linux
curl -fsSL https://openclaw.dev/install.sh | bash

Step 2: Download AI Model

Terminal window
# Download lightweight model (recommended)
openclaw model download llama-3.1-8b
# Or larger model for better responses
openclaw model download llama-3.1-70b

Step 3: Install Famasi Plugin

Terminal window
# Install Famasi MCP plugin
openclaw plugin install famasi
# Configure
openclaw config set famasi.enabled true
Terminal window
# Link your Famasi account
openclaw famasi link --phone +2348012345678
# Enter OTP when prompted

Usage

Start OpenClaw:

Terminal window
openclaw

You’ll see a local chat interface at http://localhost:8745

Example Conversations

You: Find Amoxicillin near me
OpenClaw: Searching local pharmacies for Amoxicillin...
Found 3 pharmacies:
1. GreenCross (0.5km) — ₦2,500 ✓ In stock
2. HealthPlus (1.2km) — ₦2,300 ✓ In stock
3. MediCare (2.0km) — ₦2,400 ✗ Out of stock
Would you like to place an order?
You: Order from GreenCross
OpenClaw: Creating order at GreenCross Pharmacy...
Order Summary:
- Amoxicillin 500mg (24 capsules)
- Quantity: 1
- Price: ₦2,500
- Delivery: ₦500
- Total: ₦3,000
Confirm? (yes/no)
You: yes
OpenClaw: ✓ Order placed! ID: ORD-789
Payment link: https://pay.famasi.ai/ORD-789

Privacy Features

Local-Only Mode

Terminal window
# Enable strict local mode
openclaw config set network.local_only true
# Data never leaves your device
# Orders queued until you explicitly sync

Encrypted Storage

Terminal window
# Enable encryption
openclaw config set storage.encrypted true
# Set passphrase
openclaw encrypt --passphrase "your-secure-passphrase"

No Telemetry

OpenClaw doesn’t collect:

  • Usage data
  • Crash reports
  • Health information
  • Conversation logs

Configuration

Edit ~/.openclaw/config.yaml:

famasi:
enabled: true
phone: "+2348012345678"
default_pharmacy: "PH-123"
ai:
model: "llama-3.1-8b"
temperature: 0.7
privacy:
local_only: false
encrypted_storage: true
sync:
auto_sync: true
interval: "15m"

Commands

CommandDescription
openclawStart the agent
openclaw syncSync queued actions
openclaw statusCheck connection status
openclaw ordersView local order history
openclaw exportExport your data

Offline Mode

When offline, OpenClaw:

  1. Saves your requests locally
  2. Shows estimated pharmacy data
  3. Queues orders for later
  4. Syncs when connection restored
Terminal window
# Check offline queue
openclaw queue list
# Force sync
openclaw sync --force

Building from Source

Terminal window
# Clone repository
git clone https://github.com/openclaw/openclaw.git
cd openclaw
# Build
make build
# Install locally
make install

Troubleshooting

IssueSolution
”Model not found”Run openclaw model download llama-3.1-8b
”Famasi plugin not loaded”Run openclaw plugin install famasi
High memory usageUse smaller model or reduce context window
Slow responsesEnable GPU acceleration with --gpu flag

Community

  • GitHub: github.com/openclaw/openclaw
  • Discord: discord.gg/openclaw
  • Docs: docs.openclaw.dev

Next steps