Documentation Index
Fetch the complete documentation index at: https://mintlify.com/nullclaw/nullclaw/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start
Get NullClaw running in under 5 minutes. This guide covers building from source, initial setup, and running your first agent command.Prerequisite: You must use Zig 0.15.2 (exact version).
0.16.0-dev and other Zig versions are currently unsupported and may fail to build.Verify before building: zig version should print 0.15.2.Prerequisites
Required
- Zig 0.15.2 (exact version)
- Git for cloning the repository
- libc (standard C library)
Optional
- SQLite (if building with SQLite memory backend - enabled by default)
- Docker (for sandboxed tool execution)
- OpenSSL/LibreSSL (for TLS support in channels)
Install Zig 0.15.2
Build NullClaw
Build the binary
Build with size optimization for the smallest binary:Build output:The binary will be created at
zig-out/bin/nullclaw.Binary size: The ReleaseSmall build produces a ~678 KB binary on most platforms.For development builds (with debug symbols), use:
Initial Setup
Run the onboarding wizard
NullClaw includes an interactive setup wizard to configure your AI provider and preferences:Or quick setup with API key:The wizard will:
- Ask for your AI provider (OpenRouter, OpenAI, Anthropic, etc.)
- Request your API key (stored encrypted)
- Configure default model preferences
- Set up security and workspace settings
- Optionally configure messaging channels (Telegram, Discord, etc.)
Run Your First Agent
Interactive chat mode
Enter interactive mode for a conversation:You’ll see a prompt where you can type messages:
Start the Gateway (Optional)
For 24/7 operation with messaging channels, run the gateway:The gateway binds to
127.0.0.1:3000 by default and requires pairing for security. Use --port to change the port:Start Specific Channels
After gateway is running, start configured channels:Run as a Service
For production deployment, install NullClaw as a system service:System Diagnostics
Run comprehensive system checks:Benchmark Your Installation
Measure startup time and memory usage:Next Steps
Configuration Guide
Learn about advanced configuration options and provider setup
Available Tools
Explore the built-in tools NullClaw can use
Security Model
Understand sandboxing, pairing, and access controls
Channel Setup
Configure Telegram, Discord, Slack, and other messaging platforms
Troubleshooting
Build Errors
Zig version mismatch
Zig version mismatch
Error:
error: incompatible zig versionSolution: Ensure you’re using exactly Zig 0.15.2:SQLite linking error
SQLite linking error
Error:
error: unable to find library 'sqlite3'Solution: Install SQLite development headers:Permission denied
Permission denied
Error:
permission denied: zig-out/bin/nullclawSolution: Make the binary executable:Runtime Issues
Provider authentication failed
Provider authentication failed
Error:
error: provider authentication failedSolution: Check your API key:Config file not found
Config file not found
Error:
error: config file not foundSolution: Run the onboarding wizard:For more help, see the full documentation or open an issue on GitHub.