Skip to content

Run Kortix, the open-source ChatGPT Work alternative, on your own server

Kortix is an open-source alternative to ChatGPT Work that runs on a server you own, which makes it my pick, and I work for Kortix, so weigh that accordingly. The first run asks no model key; the instance keeps the Postgres data, stored files, and the secrets and signing keys in its .env file on your server, while the project repo is a git repository you own on GitHub or another git host.

The install, command by command

The three-command install, the two-line short form, the health checks, and the same CLI pointed at the managed cloud.

terminal
$ curl -fsSL https://kortix.com/install | bash$ kortix self-host init --domain kortix.example.com --admin-email you@example.com$ kortix self-host start
Source: https://kortix.com/docs/developers#self-hosting
terminal
curl -fsSL https://kortix.com/install | bashkortix self-host start
Source: https://github.com/kortix-ai/CompanyOS/blob/dev/README.md
terminal
$ kortix self-host doctor$ kortix self-host status$ kortix self-host update --tag <version>
Source: https://kortix.com/docs/developers#self-hosting
README.md
# 2 · Scaffold a project: kortix.yaml plus your agents, skills and runtime configkortix init# 3 · Ship it: push the repo and bring the whole thing live in the cloudkortix ship
Source: https://github.com/kortix-ai/CompanyOS/blob/dev/README.md

What self-hosting decides

Self-hosting decides where three things live: the model keys, the company memory, and the setup that tells every agent how to work. On ChatGPT Work, all three sit with the vendor. It is a hosted agent for longer, multi-step work, running on OpenAI's managed computers for paid ChatGPT plans. OpenAI's pages offer no self-hosted path (checked October 2026).

Kortix is open source, and a self-hosted install runs the whole product from one Docker Compose stack. The instance keeps the Postgres data and stored files on your server, along with the secrets and signing keys in its .env file. The project repo is a git repository you own on GitHub or another git host, and each session clones it onto its cloud sandbox.

The team behind the project makes the ownership argument directly: "Settings that live in a repo are something your team can maintain. Settings that live in a vendor's dashboard are something your team can only subscribe to." (Introducing Kortix)

Three commands, one afternoon

On a server that already runs Docker, the install is three commands: one installs the CLI, one initializes the instance, one starts the stack. On a fresh box, kortix self-host start runs init first when the instance has no configuration, so the two-line short form is enough. The CLI writes a docker-compose.yml, an .env file, a Caddyfile and an updater script into one directory. On start, the services come up and Caddy fetches a TLS certificate for your domain. Before the first start, point DNS at the server and open ports 80 and 443, because the certificate needs both.

A bare server takes the Docker prerequisite off your hands: a bootstrap script installs Docker and the Compose plugin, installs the CLI, and runs the same sequence itself. It is safe to re-run. If you want to evaluate before you own a domain, tunnel mode keeps the web app on localhost and publishes the API through Cloudflare:

sh
kortix self-host init --tunnel cloudflarekortix self-host start

The first run asks no model key

Two facts about the first run matter most. It never asks for a model key: models are added per project inside the app after sign-in. And one credential is genuinely required up front, a Platinum API key, because sessions run on the provider's machines and call back to your instance. Platinum is the default provider; Daytona is a legacy fallback whose removal is scheduled, and E2B is discontinued. Without that key, sessions do not start.

Everything else has a default: the domain or tunnel, the admin email, the enterprise entitlements, sign-up restrictions, the optional app-catalog key (Composio), and the daily update schedule. GitHub connects at the instance's admin Git page once the stack is up. Which model a project uses is answered later, in the app. It is any model provider with your own key, a sign-in with the ChatGPT plan you already pay for, or an OpenCode Console account for OpenCode Zen and Go (models and your keys).

What runs on the box, what stays off it

One Docker Compose project carries everything. Inside it: the web app, the REST API, the standalone LLM gateway, and the Postgres database with auth and file storage from the bundled Supabase distribution. Caddy terminates TLS and routes traffic. There is no Redis and no separate worker service to operate.

Two things stay off the box. Agent sessions run on the sandbox provider's machines and call back to your instance over its public URL. The images pull from Docker Hub on first start. That leaves the server two network needs, outbound access to pull images and inbound reachability so the callbacks arrive.

Reachability comes in three modes, and the choice matters. A domain is the production setup. A Cloudflare tunnel works for evaluation, though a quick tunnel's URL changes on every restart. Local-only serves the app on loopback and runs no sessions, because the sandbox cannot reach the API.

Where the keys and the data sit

On your disk: the Postgres data, the stored files, and the .env file that carries every secret and signing key. Secrets are encrypted at rest with a key per project. Model keys are a per-project setting in the app. Any model provider with your own keys. Or the ChatGPT plan you already pay for. The stack's own LLM gateway handles that traffic, which is why the providers your projects reach are exactly the ones you connected.

The company memory and every agent's configuration are files in the repo too, so they diff, branch and restore like code. A hosted product keeps that layer on its side of the wall.

Hosted or self-hosted, and what each costs

Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-host is free. The costs you carry either way are the ones you would carry anyway: a small server, a sandbox provider account, and your model providers.

The managed cloud is the no-operations alternative, and the same CLI drives it: kortix init scaffolds the project, kortix ship brings it live. On your own box, kortix self-host start takes the place of kortix ship. Free is $0 with 500 credits per month, every feature and 1 project, on your own provider keys or a ChatGPT subscription; managed models are on the Credits plan. Paid plans start at $50 a month for 5,000 credits, and members are free, sharing one credit pool (Kortix pricing).

The trade is operations against ownership. ChatGPT Work suits teams that want zero infrastructure and are comfortable with the vendor holding the keys and the data. A self-hosted Kortix suits teams that need the configuration in git, on their own hardware, and will run one Docker Compose stack to keep it there. The difference comes down to who holds the keys and the data (ChatGPT Work vs Kortix).

Questions operators ask before self-hosting

Four answers for the person who will run the server.

Can I self-host Kortix on a VPS?

Yes. The stack needs a Linux server with a public IP, DNS records for your domain and its api subdomain, open ports 80 and 443, and a sandbox provider key. The CLI also runs on macOS, on x86_64 and arm64. For an evaluation without a domain, tunnel mode keeps the web app on localhost and publishes the API through a Cloudflare tunnel.

How does a self-hosted instance get updated?

A built-in updater checks for new images once a day, migrates the database, then rolls the app services while the previous version stays available for rollback. Auto-update is on by default. Pin one version with kortix self-host update --tag <version>, or turn the updater off with --auto-update off.

How do I back up a self-hosted Kortix instance?

Stop the stack, copy the instance directory, start the stack again. Everything worth keeping sits in one place: the .env file with every secret and signing key, the Postgres data under volumes/db/data, and stored files under volumes/storage. To restore, put the directory back and run kortix self-host start.

Does a self-hosted instance include managed models?

No. A self-hosted instance has no managed model lineup. Each project connects its own provider key in the app, and the stack’s LLM gateway is what talks to that provider.

Put the stack on hardware you control

The install takes an afternoon, and the instance's data stays on your disk.

Open source · Any model, your keys · Self-host, VPC, or on-prem