Sophon Docs
API Reference

CLI Reference

Command-line interface for Sophon.

Installation

dotnet tool install -g sophon-cli

Commands

System

sophon start          # Start Sophon
sophon stop           # Stop Sophon
sophon status         # Show status
sophon doctor         # Diagnose issues
sophon backup         # Backup ~/.sophon
sophon restore FILE   # Restore backup
sophon upgrade        # Upgrade to latest

Models

sophon models list    # List providers
sophon models add     # Add provider (interactive)
sophon models test    # Test connections
sophon models remove ID

Channels

sophon channels list
sophon channels add
sophon channels test ID
sophon channels remove ID

Connections

sophon connect SERVICE     # Connect (OAuth or token)
sophon connect list        # List connections
sophon connect test SERVICE
sophon connect revoke SERVICE

Skills

sophon skills list
sophon skills install NAME

Memory

sophon memory search QUERY

Documents

sophon docs upload FILE
sophon docs summarize FILE