Skip to content

# 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.

bash
opensoul onboard

Info: Fastest first chat: open the Control UI (no channel setup needed). Run opensoul dashboard and chat in the browser. Docs: Dashboard.

To reconfigure later:

bash
opensoul configure
opensoul agents add <name>

Note:--json does 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_fetch works without a key). Easiest path: opensoul configure --section web which stores tools.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_KEY or 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

# 5. Daemon Installation

  • macOS: LaunchAgent (requires user session).
  • Linux / WSL2: systemd user unit.
  • Lingering: Tries to enable loginctl enable-linger so 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 (npm or pnpm).

# Advanced Management

# Add another agent

bash
opensoul agents add <name>

Released under the MIT License.