Installation
Getting started
Section titled “Getting started”Three commands and you’re live — under five minutes from install to running agents.
-
Install the package — one self-contained wheel with the compiled UI and agent gateway bundled in.
Terminal window pipx install snippbot -
Run the setup wizard — opens
http://localhost:18781/setupfor first-time configuration.Terminal window snippbot setup -
Start the daemon — launches the daemon and its agent gateway on port 18781.
Terminal window snippbot start
Prerequisites
Section titled “Prerequisites”| Requirement | Minimum | Install |
|---|---|---|
| Python | 3.11+ | python.org |
| pipx | latest | pipx.pypa.io |
Install
Section titled “Install”Install from PyPI
Section titled “Install from PyPI”We recommend pipx, which installs Snippbot into its own isolated environment and puts the snippbot command on your PATH. This works the same on macOS, Linux, and Windows:
pipx install snippbotThen run the setup wizard and start the daemon:
snippbot setup # interactive browser wizard (opens http://localhost:18781/setup)snippbot start # start the daemonServer / VM install
Section titled “Server / VM install”To run Snippbot on a remote server or VM and reach it from other machines, bind to 0.0.0.0 instead of the default 127.0.0.1:
snippbot setup --host 0.0.0.0 # run the wizard bound to all interfacessnippbot start --host 0.0.0.0 # start the daemon bound to all interfacesOpen ports 18781 (API + UI) and 8787 (agent gateway) in your firewall.
Setup wizard
Section titled “Setup wizard”After installation, the 8-step setup wizard runs automatically:
| Step | Name | What it does |
|---|---|---|
| 1 | Genesis | System checks (Python, ports, disk space, databases) |
| 2 | Permissions | Grant microphone and notification access (optional) |
| 3 | Identity | Your display name, email, and avatar |
| 4 | Account | Create login credentials (username/password or API key) |
| 5 | Voice | Configure text-to-speech provider (optional) |
| 6 | Model | Select AI provider and enter API keys |
| 7 | Marketplace | Install starter packages (optional) |
| 8 | Ignition | Verify servers are running, enter the Awakening experience |
Start and stop
Section titled “Start and stop”Manage the daemon with the CLI:
snippbot start # Start daemonsnippbot stop # Stop daemonsnippbot status # Check statussnippbot start runs the server in the foreground — it stops when you close
the terminal or reboot. To keep it running, register it as a service (next section).
Run on startup (managed service)
Section titled “Run on startup (managed service)”To start Snippbot on login and restart it automatically if it crashes, install it
as a user-level service — no sudo required. One command picks the right
mechanism for your OS (systemd on Linux, launchd on macOS, Task Scheduler on Windows):
snippbot service install # install + startsnippbot service status # check itsnippbot service uninstall # stop + removeOptions: --host, --port, and --data-dir are pinned into the unit (e.g.
snippbot service install --host 0.0.0.0 to expose it on a network). See
snippbot service for details.
Headless Linux servers (no logged-in user) want a system service instead, so
it runs at boot independent of login. Either run loginctl enable-linger $USER
after the command above, or use the installer’s system-unit path:
./scripts/install-vps.sh --service.
Uninstall
Section titled “Uninstall”To remove Snippbot, use the CLI. It stops the daemon (its agent gateway child stops with it), removes the systemd service if one was installed, and prints the final package-removal command:
snippbot uninstall # stop daemon + remove service; keep your datasnippbot uninstall --purge # also delete ALL data in ~/.snippbot (prompts first)snippbot uninstall --purge --yes # ...without the confirmation promptYour data in ~/.snippbot/ is kept unless you pass --purge. Because a running process can’t reliably delete the environment it’s executing from, uninstall finishes by printing the exact command to remove the package itself (pipx uninstall snippbot or pip uninstall). See setup / doctor / reset / uninstall for details.
Data directory
Section titled “Data directory”All user data is stored in ~/.snippbot/:
~/.snippbot/├── config.toml # System config (ports, log level, API keys)├── setup.json # Setup wizard state├── auth.db # Users, sessions, API keys├── profile_settings.db # User profile and preferences├── snippbot.db # Main application database├── avatar.* # User avatar├── logs/ # Daemon + gateway logs└── backups/ # Automatic backup snapshotsVerify it’s running
Section titled “Verify it’s running”Open http://localhost:18781 in your browser. You should see the Snippbot dashboard — the compiled UI is served directly from the daemon.
You can also verify from the command line:
curl http://localhost:18781/health# {"status": "ok", "service": "snippbot", "uptime_seconds": 3600.5}Troubleshooting
Section titled “Troubleshooting”Server won’t start:
tail -f ~/.snippbot/logs/daemon.log # Check daemon logstail -f ~/.snippbot/logs/gateway.log # Check agent gateway logslsof -i :18781 # Check if the port is in usePort conflict:
snippbot stop # Stop the running daemonsnippbot stop --force # Force kill if it won't stopDatabase issues:
ls -la ~/.snippbot/*.db # Check databases existsnippbot doctor # Run health checkssnippbot reset --soft # Re-run setup wizardFor more, see Troubleshooting → Common Errors.