# Onboarding Wizard (CLI)
The onboarding wizard is the recommended way to set up OpenSoul on macOS, Linux, or Windows (via WSL2; strongly recommended). It configures a local Gateway or a remote Gateway connection, plus channels, skills, and workspace defaults in one guided flow.
opensoul onboardInfo: Fastest first chat: open the Control UI (no channel setup needed). Run
opensoul dashboardand chat in the browser. Docs: Dashboard.
To reconfigure later:
opensoul configure
opensoul agents add <name>Note:
--jsondoes not imply non-interactive mode. For scripts, use--non-interactive.
Tip: Recommended: set up a Brave Search API key so the agent can use
web_search(web_fetchworks without a key). Easiest path:opensoul configure --section webwhich storestools.web.search.apiKey. Docs: Web tools.
# QuickStart vs Advanced
The wizard starts with QuickStart (defaults) vs Advanced (full control).
# QuickStart (defaults)
- Local gateway (loopback)
- Workspace default (or existing workspace)
- Gateway port 18789
- Gateway auth Token (auto‑generated, even on loopback)
- Tailscale exposure Off
- Telegram + WhatsApp DMs default to allowlist (you'll be prompted for your phone number)
# Advanced (full control)
- Exposes every step (mode, workspace, gateway, channels, daemon, skills).
# What the wizard configures
Local mode (default) walks you through these steps:
# 1. Model/Auth
- Anthropic API key (recommended): Uses
ANTHROPIC_API_KEYor prompts for one, then saves it for the daemon. - Anthropic OAuth (Claude Code): Reuses credentials from Claude Code CLI when available.
- OpenAI / Codex: OAuth or API key support.
- Other Providers: Support for Gemini, Z.AI, Vercel AI Gateway, MiniMax, Moonshot (Kimi), and more.
- Auth Profiles: Credentials are stored in
~/.opensoul/agents/<agentId>/agent/auth-profiles.json.
# 2. Workspace
- Default location:
~/.opensoul/workspace. - Seeds bootstrap files for agent initialization.
- See Agent Workspace for layout details.
# 3. Gateway
- Configures port (default 18789), bind address, and auth mode.
- Security Tip: Keep Token auth enabled even on loopback for security.
- Optional Tailscale exposure for remote access.
# 4. Channels
- Setup for WhatsApp, Telegram, Discord, Google Chat, Mattermost, Signal, and iMessage.
- Configures pairing flow for secure DMs.
# 5. Daemon Installation
- macOS: LaunchAgent (requires user session).
- Linux / WSL2: systemd user unit.
- Lingering: Tries to enable
loginctl enable-lingerso the gateway stays up after logout. - Node vs Bun: Node is recommended for WhatsApp/Telegram stability.
# 6. Skills
- Installs recommended skills and checks dependencies.
- Configuration for Node manager (
npmorpnpm).
# Advanced Management
# Add another agent
opensoul agents add <name>