Skip to main content
The nullclaw onboard command guides you through initial configuration, creating ~/.nullclaw/config.json with your provider, channels, and security settings.

Usage

Options

string
API key for the provider (quick mode)
string
Provider name: openrouter, openai, anthropic, groq, ollama, etc.
boolean
Run full interactive wizard (recommended for first-time setup)
boolean
Reconfigure channels and allowlists only (preserve existing provider config)

Quick Mode

Fastest way to get started:
This creates a minimal config:

Interactive Wizard

The full wizard walks through:
1

Provider selection

Choose from 22+ AI providers:
  • OpenRouter (recommended - aggregates 100+ models)
  • Anthropic (Claude)
  • OpenAI (GPT-4, o1)
  • Groq (fast inference)
  • Ollama (local models)
  • And more…
2

API key setup

Enter your API key. The wizard will:
  • Validate the key format
  • Test connectivity
  • Encrypt the key with ChaCha20-Poly1305
3

Default model selection

Pick your primary model:
  • OpenRouter: openrouter/anthropic/claude-sonnet-4
  • Anthropic: claude-4
  • OpenAI: gpt-4o, o1
  • Ollama: llama3.2, qwen2.5
4

Channel configuration

Enable and configure messaging channels:
  • Telegram bot (token + allowlist)
  • Discord bot (token + guild)
  • Signal (phone number)
  • Nostr (keypair generation)
  • IRC, Slack, Matrix, etc.
5

Memory backend

Choose memory storage:
  • SQLite (recommended - hybrid vector + FTS5)
  • Markdown (simple file-based)
  • PostgreSQL (for production)
  • Redis (caching layer)
6

Security settings

Configure autonomy level:
  • Supervised (requires approval for risky commands)
  • Autonomous (full automation)
  • Restricted (read-only)
Set workspace restrictions:
  • workspace_only: true (recommended)
  • Command allowlist
  • Resource limits
7

Nostr setup (optional)

If enabling Nostr:
  • Generate new keypair or import existing
  • Configure relays (wss://relay.damus.io, etc.)
  • Set owner pubkey for DM allowlist
  • Install nak CLI tool

Channels-Only Mode

Reconfigure channels without touching provider settings:
Use this to:
  • Add new channels
  • Update allowlists
  • Change channel credentials
  • Enable/disable channels

Examples

OpenRouter + Telegram

Result:

Local Ollama

Configuration Output

Onboarding creates ~/.nullclaw/config.json with:
  • Encrypted API keys (ChaCha20-Poly1305)
  • Provider and model selection
  • Channel credentials and allowlists
  • Memory backend configuration
  • Security policies
  • Gateway settings
You can manually edit ~/.nullclaw/config.json after onboarding. See Configuration for full reference.

Validation

After onboarding, verify your setup:

See Also