For many engineers and regulated companies, handing email, source code, and internal documents to a closed SaaS agent is a non-starter. Even with strong privacy promises, you want to inspect the code, control the storage, and route model traffic directly to your own endpoints.
Comma is open source under AGPL-3.0. You can run the full stack — web app, Admin console, agent harness (Salix), and storage — on infrastructure you manage with Docker Compose, with zero Comma seat or credit charges for self-hosted instances.
What runs on your server
A single Docker Compose stack starts the complete platform on one machine or inside your VPC:
Sign-in codes go out through your own mail server (SMTP / transactional mail provider). Your files, messages, and memories never leave your own databases.
Configuring BYOK and private models
In a self-hosted instance — or on the hosted Free plan — you choose the model provider directly:
Configure your default provider endpoint, protocol, model ID, and API key in
.env(or the Admin console).Set Router and Worker models independently:
Fast model for the Router so chat responses stay instant.
Frontier coding/reasoning model (or local model server) for background Workers.
Optional: let team members attach Codex or Claude Code on their own Mac or Linux machines under Settings › Devices.
Model calls bill straight to your provider account — no Comma credits required.
Quickstart workflow (Docker Compose)
Clone the open-source repository and copy
.env.exampleto.env.Fill in your base URL, mail server credentials, database secrets, and model provider endpoint/key.
Start the stack with
docker compose up -d.Open your instance URL, sign in with your first admin email, and connect your first app or channel (GitHub, Linear, Slack, Feishu/Lark, Telegram, or MCP).
See the full configuration reference and backup/upgrade procedures in Self-host Docs.
Hosted vs. Self-hosted: how to choose
Operational habits for self-hosters
Back up PostgreSQL and MinIO together: Conversations reference stored attachment blobs in MinIO; keep snapshot schedules aligned.
Keep secrets out of prompts: Use OAuth apps and
credential_envreferences so Worker subprocesses receive credentials without leaking them into logs or context.Upgrade cleanly: Review release notes before pulling new container tags and follow the documented migration steps in
/docs/self-host/operations.
Next up: Comma for Admins · Comma for Engineering


