Documentation Index
Fetch the complete documentation index at: https://mintlify.com/nearai/ironclaw/llms.txt
Use this file to discover all available pages before exploring further.
This guide walks you through installing IronClaw, running the setup wizard, and having your first conversation.
Before You Begin
Make sure you have:IronClaw Installed
Follow the Installation Guide to install IronClaw on your system.
Database Ready
PostgreSQL 15+ with pgvector, or libSQL (embedded, no setup needed).
Setup Wizard
IronClaw includes an interactive setup wizard that guides you through configuration.Configure database
Choose your database backend:
- libSQL (Embedded)
- PostgreSQL
Recommended for local development — zero dependencies, no server required.The wizard will prompt:Press Enter to use the default, or specify a custom path.
- No (default) — Local file only
- Yes — Enter your Turso URL and auth token for cloud sync
Configure security
IronClaw encrypts secrets (API keys, tokens) with a master key.The wizard will prompt:
- OS Keychain (Recommended)
- Environment Variable
- Skip (No Secrets)
Select 1 to generate and store the key in your system keychain (macOS Keychain, GNOME Keyring, KWallet).The key is stored securely and loaded automatically on startup.
Select inference provider
Choose your LLM provider:
- NEAR AI (Default)
- Anthropic (Claude)
- OpenAI
- Ollama (Local)
- OpenRouter
- OpenAI-compatible
Select 1 for NEAR AI.The wizard will open your browser to authenticate via GitHub or Google OAuth. After authentication, your session token is saved automatically.
Select model
The wizard will fetch available models from your provider and display a list:Select your preferred model, or choose Custom model ID to enter a specific model identifier.
Configure embeddings (optional)
Embeddings enable semantic search across your workspace memory.
- Yes (default) — The wizard will configure embeddings using your LLM provider or OpenAI
- No — Workspace will use keyword search only
Semantic search lets you find notes and context by meaning, not just keywords. Highly recommended.
Configure channels (optional)
IronClaw supports multiple communication channels:
HTTP Webhook Server
HTTP Webhook Server
Exposes a REST API for triggering tasks via HTTP.The wizard will prompt for:
- Host (default:
0.0.0.0) - Port (default:
8080) - Webhook secret (for request authentication)
Telegram Bot
Telegram Bot
Interact with IronClaw via Telegram DMs.The wizard will prompt for:
- Telegram bot token (get one from @BotFather)
/start to your bot in Telegram to pair.Signal Messaging
Signal Messaging
Interact with IronClaw via Signal.Requires a running
signal-cli daemon. See Signal Setup for details.Cloudflare Tunnel
Cloudflare Tunnel
Expose your local IronClaw instance to the internet via Cloudflare Tunnel (ngrok alternative).Requires
cloudflared to be installed.Install extensions (optional)
The wizard can install pre-built WASM tools from the registry:Select Yes to browse and install tools like GitHub, Gmail, Google Calendar, etc.
You can install extensions later via the CLI or web gateway.
Configure Docker sandbox (optional)
The Docker sandbox runs code in isolated containers.
- Yes — Requires Docker to be installed and running
- No (default) — Code execution disabled
Your First Conversation
Start the interactive REPL:Try these commands:
Ask a question
Search your workspace
Running as a Service
To keep IronClaw running in the background:- Docker
- systemd (Linux)
- launchd (macOS)
Create a Start the services:
docker-compose.yml:docker-compose.yml
Next Steps
Configuration
Learn how to configure LLM providers, channels, and secrets
Tools & Extensions
Explore built-in tools and install extensions
Channels
Set up Telegram, HTTP webhooks, and web gateway
CLI Reference
Explore all available commands
Troubleshooting
Wizard exits with database error
Wizard exits with database error
Problem:
Failed to connect to databaseSolution:- Ensure PostgreSQL is running:
brew services list(macOS) orsystemctl status postgresql(Linux) - Verify pgvector is installed:
psql -c "SELECT * FROM pg_available_extensions WHERE name = 'vector';" ironclaw - For libSQL, ensure parent directory exists:
mkdir -p ~/.ironclaw
Authentication fails for NEAR AI
Authentication fails for NEAR AI
Problem: Browser doesn’t open or authentication times outSolution:
- Check your internet connection
- Manually visit the auth URL printed by the wizard
- Try API key mode instead: Set
NEARAI_API_KEYin your environment
No models found (Ollama)
No models found (Ollama)
Problem:
No models found. Pull one first: ollama pull llama3Solution:REPL doesn't start
REPL doesn't start
Problem:
ironclaw command hangs or crashesSolution:- Check logs:
RUST_LOG=ironclaw=debug ironclaw - Verify database connection:
psql $DATABASE_URL - Re-run setup:
ironclaw onboard