Prerequisites
Before you start, make sure you have:- Node.js 18+ (Node.js 22+ required for Discord’s zero-dependency WebSocket support)
- At least one AI backend:
- Credentials for at least one messaging channel (Telegram, WhatsApp, or Discord)
Set up Nuggets
Run the interactive setup wizard
- Choosing your messaging channels (Telegram, WhatsApp, Discord)
- Selecting your AI backend (Pi, Codex, or local model)
- Entering API keys and channel credentials
.env file is created in the project root.Review your .env file
Open
.env and confirm the variables look correct. A minimal Telegram + Pi setup looks like:.env
Start the gateway
Send your first message
Open your Telegram, WhatsApp, or Discord client and send a message to your bot:The assistant replies using your configured AI backend. It has no memories yet — let’s fix that.
Verify everything works
Run the type checker and tests to confirm your install is healthy:Next steps
Setup reference
Complete environment variable reference for all channels and backends.
Memory overview
Understand the three-layer memory system and the recall-first pattern.
Gateway channels
Configure Telegram, WhatsApp, and Discord in detail.
Backend modes
Compare Pi, Codex, and local model backends.