Prerequisites
Before you begin, make sure you have:- Rust 1.85+ (if building from source)
- PostgreSQL 15+ with pgvector extension
- A NEAR AI account (free tier available) or API key for another LLM provider
If you don’t have PostgreSQL installed, see the database configuration guide for installation instructions.
Quick start
Set up your database
Create a PostgreSQL database and enable the pgvector extension:
Alternative: Use libSQL (embedded database)
Alternative: Use libSQL (embedded database)
If you prefer an embedded database, IronClaw supports libSQL/Turso:Configure it during onboarding by selecting libSQL as your database backend.
Run the onboarding wizard
Configure IronClaw with the interactive setup wizard:The wizard will guide you through:
- Database setup - Enter your PostgreSQL connection string or choose libSQL
- LLM provider - Authenticate with NEAR AI or configure an alternative provider
- Secrets encryption - Choose OS keychain, environment variable, or skip
- Embeddings - Enable semantic search with OpenAI, Ollama, or NEAR AI
- Channels - Optional setup for Telegram, HTTP webhooks, or Signal
- Extensions - Enable dynamic tool building
- Docker sandbox - Enable isolated job execution (requires Docker)
- Heartbeat - Enable proactive background monitoring
What’s next?
Core concepts
Learn about IronClaw’s philosophy, architecture, and security model
Configuration
Configure alternative LLM providers, channels, and advanced features
Features
Explore multi-channel support, dynamic tools, and persistent memory
CLI reference
Complete reference for all commands and options
Troubleshooting
Command not found: ironclaw
Command not found: ironclaw
The installer should add
ironclaw to your PATH automatically. If it doesn’t work:- Restart your terminal to reload PATH
- Manually add the installation directory to PATH:
- Linux/macOS: Add
export PATH="$HOME/.cargo/bin:$PATH"to~/.bashrcor~/.zshrc - Windows: The installer modifies the system PATH—restart your terminal
- Linux/macOS: Add
- Verify the binary exists:
ls ~/.cargo/bin/ironclaw(Linux/macOS) orwhere ironclaw(Windows)
Database connection failed
Database connection failed
Common causes:
- PostgreSQL not running: Start it with
brew services start postgresql(macOS) orsudo systemctl start postgresql(Linux) - Wrong credentials: Check your connection string format:
postgresql://user:pass@localhost/ironclaw - pgvector not installed: Run
psql ironclaw -c "CREATE EXTENSION IF NOT EXISTS vector;" - Database doesn’t exist: Create it with
createdb ironclaw
NEAR AI authentication failed
NEAR AI authentication failed
If the browser OAuth flow doesn’t work:
- Get an API key from near.ai
- Set it in your environment:
export NEARAI_API_KEY=your-key - Re-run
ironclaw onboard --skip-auth
Docker sandbox not available
Docker sandbox not available
The Docker sandbox requires Docker to be installed and running:
- macOS: Install Docker Desktop
- Linux: Install Docker Engine:
curl -fsSL https://get.docker.com | sh - Windows: Install Docker Desktop
docker psFor more help, run
ironclaw doctor to diagnose common issues or check the troubleshooting guide.