CLI Commands
Complete reference for the SignalPilot command-line interface.The CLI is a bootstrap installer that sets up the SignalPilot-AI Jupyter extension. The extension itself (not the CLI) is the actual product.
Command Syntax
Using uvx signalpilot (recommended)
Run SignalPilot without installation using uvx:Using sp (after global install)
Install globally withuv tool install signalpilot to use the shorter sp command:
All
uvx signalpilot commands and arguments work identically with sp. See Alternative Installation Methods for global installation.Core Commands
uvx signalpilot (or sp init)
Initialize SignalPilot workspace and launch Jupyter Lab.
- Creates
~/SignalPilotHomeworkspace with starter notebooks - Installs isolated Python 3.12 + Jupyter Lab + SignalPilot extension
- Installs data packages (pandas, numpy, matplotlib, seaborn, plotly)
- Optimizes Jupyter cache for fast startup
- Launches Jupyter Lab at
http://localhost:8888
First-time setup only. After installation, use
uvx signalpilot lab to launch.uvx signalpilot version
Check the installed CLI version.
uvx signalpilot lab
Launch Jupyter Lab with SignalPilot.
- Opens Jupyter Lab in your current directory
- Uses home environment from
~/SignalPilotHome/.venv - Opens browser at
http://localhost:8888
SignalPilot Options
Launch in
~/SignalPilotHome directory with home environment.Use local
.venv in current directory. Requires .venv with jupyterlab and signalpilot-ai installed.Jupyter Lab Arguments
SignalPilot passes through standard Jupyter Lab arguments:Advanced Jupyter Lab configuration
Advanced Jupyter Lab configuration
uvx signalpilot home
Shortcut for uvx signalpilot lab --home.
~/SignalPilotHome directory with home environment.
Example:
uvx signalpilot upgrade
Upgrade SignalPilot CLI and Jupyter extension.
.venv in the current directory instead of home environment.
How Upgrade Works
The upgrade command updates two components:- CLI tool (
signalpilot) — The installer/launcher you run from terminal - Jupyter extension (
signalpilot-ai) — The actual product inside your.venv
uvx signalpilot upgrade:
Detect installation type
Checks if
~/.local/bin/signalpilot exists to determine if you installed globally with uv tool install or run ephemerally with uvx.Upgrade CLI
- uvx users: Clears uvx cache with
uv cache clean signalpilot. Nextuvx signalpilotfetches fresh version. - Tool users: Runs
uv tool install --force signalpilot+ clears cache.
| Installation Type | CLI Upgrade | Library Upgrade |
|---|---|---|
| uvx (ephemeral) | uv cache clean signalpilot | uv pip install --upgrade signalpilot-ai |
| uv tool (global) | uv tool install --force + cache clean | uv pip install --upgrade signalpilot-ai |
Why this approach?
Why this approach?
Why context-aware? uvx users prefer ephemeral execution without permanent installations. The CLI respects this by only clearing cache rather than installing globally.Why not
uvx --refresh? The --refresh flag is unreliable (known uv issue). uv cache clean signalpilot reliably ensures the next uvx signalpilot run fetches the latest version from PyPI.What’s preserved? Your workspace, notebooks, skills, rules, and configuration remain untouched. Only the CLI and extension binaries are updated.Auto-Update System
SignalPilot automatically checks for updates when you launch Jupyter Lab.Minor Updates
Non-breaking updates show a notification:Major Updates
Breaking changes prompt for immediate upgrade:Disable Auto-Check
Edit~/SignalPilotHome/.signalpilot/config.toml:
Update checks run in the background and never slow down Jupyter startup.
Working Modes
SignalPilot offers three launch modes:- Default Mode
- Home Mode
- Project Mode
Current directory + Home environmentUse when:
- Quick exploration in any folder
- Don’t need custom dependencies
- Want to use stable home environment
What Gets Installed
Python Packages
signalpilot-ai— AI agent integration (the actual product)jupyterlab— Modern Jupyter interfacepandas,numpy— Data manipulationmatplotlib,seaborn,plotly— Visualizationpython-dotenv,tomli— Configuration utilities
Directory Structure
Alternative Installation Methods
Option 1: Run with uvx (Recommended)
Option 2: Install with uv tool
sp command globally. Use sp lab, sp home to launch later.
Global installations don’t auto-update. Reinstall periodically:
Option 3: Install with pip
Troubleshooting Commands
Check Installation
Debug Jupyter Startup
Requirements
- Python 3.10 or higher
- uv package manager (recommended)