-
Notifications
You must be signed in to change notification settings - Fork 7
Getting Started
NJX-njx edited this page Mar 2, 2026
·
1 revision
Get OpenSoul installed and run your first chat in minutes.
- Node.js >= 22
- pnpm (recommended for building from source)
- An API key from a supported provider (OpenAI, Anthropic, Gemini, etc.)
git clone https://github.com/NJX-njx/opensoul.git
cd opensoul
pnpm install
pnpm buildmacOS / Linux:
curl -fsSL https://opensoul.ai/install.sh | bashWindows (PowerShell):
iwr -useb https://opensoul.ai/install.ps1 | iexopensoul onboard --install-daemonThe wizard guides you through:
- Auth: API key (Anthropic recommended) or OAuth
- Gateway settings: Port, token, bind host
- Channels: WhatsApp QR login, Telegram/Discord bot tokens
- Daemon: Background service installation (launchd/systemd)
# Skip channels that require external credentials
export OPENSOUL_SKIP_CHANNELS=1
export OPENSOUL_GATEWAY_TOKEN=dev-token
pnpm gateway:dev$env:OPENSOUL_SKIP_CHANNELS = "1"
$env:OPENSOUL_GATEWAY_TOKEN = "dev-token"
node scripts/run-node.mjs --dev gatewayopensoul onboard
opensoul gateway runopensoul gateway status
opensoul healthOpen the Control UI at http://127.0.0.1:18789/ to chat directly in the browser — no channel setup needed.
opensoul channels loginScan the QR code via WhatsApp → Settings → Linked Devices.
The wizard can configure tokens for you, or set them manually:
- See Channels for per-channel setup guides
By default, unknown DMs receive a shortcode and are not processed until approved:
opensoul pairing list whatsapp
opensoul pairing approve whatsapp <code>Place API keys in .env or ~/.opensoul/.env:
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
OPENROUTER_API_KEY=
GEMINI_API_KEY=
MINIMAX_API_KEY=
OPENSOUL_GATEWAY_TOKEN=- Configuration — Customize gateway and agent settings
- Channels — Set up messaging channels
- Control UI — Use the browser dashboard
- Architecture — Understand the system design
OpenSoul — Your AI Soul Companion | MIT License | Documentation
Getting Started
Core Concepts
Usage
Development
Links