Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

First Session

When you launch OpenCrabs for the first time, the onboarding wizard walks you through setup.

Onboarding Flow

  1. Provider selection — Choose your AI provider (Anthropic, OpenAI, Gemini, OpenRouter, or custom)
  2. API key — Enter your API key
  3. Model selection — Pick a default model (fetched live from the provider)
  4. Channel setup (optional) — Connect Telegram, Discord, Slack, or WhatsApp
  5. Image tools (optional) — Configure Gemini for image generation and vision

After onboarding, your agent boots up and introduces itself. It reads its brain files (SOUL.md, IDENTITY.md, AGENTS.md, TOOLS.md) and starts a conversation.

Bootstrap

On the very first run, the agent goes through a bootstrap phase:

  • Gets to know you (name, preferences, work style)
  • Establishes its identity (name, personality, emoji)
  • Opens SOUL.md together to discuss values
  • Sets up USER.md with your profile

The bootstrap file (BOOTSTRAP.md) deletes itself when complete.

Key Commands

CommandDescription
/helpShow all available commands
/modelsSwitch provider or model
/newCreate a new session
/sessionsSwitch between sessions
/cdChange working directory
/compactManually compact context
/evolveDownload latest version
/rebuildBuild from source
/approveSet approval policy

Approval Modes

Control how much autonomy the agent has:

ModeBehavior
/approveAsk before every tool use (default)
/approve autoAuto-approve for this session
/approve yoloAuto-approve always (persists)

Working Directory

The agent operates within a working directory for file operations. Change it with:

  • /cd command in chat
  • Directory picker in the TUI (Tab to select)
  • config_manager set_working_directory tool

The working directory is persisted per-session — switching sessions restores the directory automatically.