Self-Hosting
Native Installation
Run Sophon as a native .NET application without Docker.
Prerequisites
- .NET 10 SDK
- Docker (optional — only needed for the code execution sandbox)
Without Docker, Sophon falls back to the process-based sandbox (ProcessSandboxOrchestrator) for code execution. All other features work normally.
Installation
dotnet tool install -g sophon-cliRunning
sophon startThis starts the Gateway server and opens the Dashboard at http://localhost:8080. On first run, the Setup Wizard guides you through adding your first LLM provider.
Building from Source
git clone https://github.com/buildersoftdev/sophon
cd sophon
dotnet build sophon.sln
dotnet run --project src/Sophon.GatewayConfiguration
User configuration is stored at ~/.sophon/config/appsettings.user.json. See the Configuration Reference for the full data directory layout and all available settings.