A self-hosted web app for running pi agents in sandbox workspaces.
Documentation · Quick Start · Contributing
- Organize multi-turn conversations by project, follow replies and tool output as they arrive, and resume interrupted runs from saved steps.
- Share an E2B sandbox or an SSH-hosted Docker container across each project's sessions, with interactive terminals, files, and Git changes.
- Connect an OpenAI-compatible model endpoint and select MCP servers in the composer.
- Sign in with OpenID Connect and use the UI in English, Simplified Chinese, or Traditional Chinese.
Install Go 1.26.2 or later, a C compiler for the default SQLite-enabled build, and Node.js 24 or later with npm. Node.js 22.13 or later in the 22.x series also works.
-
Register an OpenID Connect client with callback URL
http://127.0.0.1:5173/auth/oauth/callback. SetSHINONA_OAUTH_ISSUER,SHINONA_OAUTH_CLIENT_ID, andSHINONA_OAUTH_CLIENT_SECRETin the checkout root’s.env, then start the API.go run ./cmd/shinona
-
In a second terminal, install the web dependencies and start the frontend.
npm --prefix web ci npm --prefix web run dev
-
Sign in at http://127.0.0.1:5173. On a new installation, the first successful sign-in becomes an administrator.
-
In Settings → Model, set an OpenAI-compatible base URL and API key. Fetch the model list and select a default model.
-
For E2B, set the API key in Settings → Sandbox and add the control-plane URL if you self-host E2B. For SSH, add a Docker host in Settings → SSH servers and select it under the project's Manage sandbox menu.
See the guide for OIDC account pre-creation, upgrades, LAN preview, MCP, and workspace configuration. .env.example lists the startup variables.
SHINONA_DATABASE accepts a SQLite path, a MySQL URL, or a PostgreSQL URL. Shinona serves HTTP and runs its embedded step workers in one
process. On Tencent Cloud SCF, Shinona deploys as a single HTTP function backed by MySQL. See the deployment guide.
Shinona uses the Apache License 2.0.

