Skip to content
Open Source Copilot Alternative

Self-hosting

Self-host the open-source stack on your server

You cannot self-host Microsoft Copilot. Microsoft sells its Copilots as cloud services, and its documentation offers regional residency, never self-hosting. Kortix is the open-source alternative: its whole stack runs on your server, free, with one bootstrap command and no model key on the first run, and in my opinion it is the pick, though I work on Kortix’s marketing, so read it with that in mind.

The open-source CompanyOS

Self-host is free · Sessions run on Platinum, not on your server · Platinum key before sessions start

Kortix session transcript on a desktop screen: a Kortix AI platform search with 9 sources, the presentations skill with 10 files, and shell commands that build a pitch deck.kortix.com
kortix self-host init --domain kortix.example.com --admin-email [email protected]kortix self-host start
One isolated sandbox per session. Each session has its own isolated machine and branch.

The commands that stand the stack up

From the Kortix self-hosting docs; DNS records and ports 80 and 443 come first.

terminal
$ kortix self-host configure
https://kortix.com/docs/host
terminal
$ kortix self-host start
https://kortix.com/docs/host
terminal
$ kortix self-host doctor

What Microsoft’s own pages say about where Copilot runs

Microsoft sells the Copilots as cloud services, and its documentation is blunt about the boundary. The comparison weighs two of them. GitHub Copilot is the coding agent in your editor and on GitHub. Microsoft 365 Copilot is the one inside Word, Excel, PowerPoint and Teams.

The Exchange hybrid guide states that Microsoft Copilot is cloud-based and has no access to on-premises mailboxes (Microsoft Learn, checked October 2026). Content that stays on your own Exchange server gets no grounding at all. The privacy pages place prompts, responses and retrieved content under the same contractual commitments as your other Microsoft 365 content, and say the models Microsoft hosts and operates are bound by those commitments, including that no data leaves Microsoft (Data, privacy, and security for Microsoft Copilot, checked October 2026).

What Microsoft documents instead of self-hosting is residency. Copilot Studio can keep its data in Azure datacenters inside a geographic boundary and commit to the EU Data Boundary. That picks a region inside Microsoft’s estate. A region you select is not a server you own.

What self-hosting Kortix involves

Kortix is the open-source CompanyOS, and the agents, the skills, the memory and the connectors are files in a repository the team holds. On a bare Linux server, one bootstrap script installs Docker and the CLI, then starts the stack with a TLS certificate. On a server that already runs Docker, the three commands in the panels are the whole path.

The first run asks six things and no model key. GitHub connects in the dashboard (Settings → Git). Models are BYOK in the app. Pipedream is optional. The stack has no Redis and no separate worker.

What the setup wants before sessions start is a Platinum key (PLATINUM_API_KEY). The configure step asks for it beside your admin email and the preview domain, and without it sessions do not start. Model keys wait until after the first sign-in, when you add them in the web app. The docs carry the full checklist.

No domain yet, and you want to see it work first? Tunnel mode runs the stack on your own machine for evaluation. The web app opens at localhost:13737, and a Cloudflare tunnel publishes the API over HTTPS:

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

Domain mode is the production setup, with TLS issued for your domain. The box stays online by design. The start command pulls its images from docker.io, and the instance must be reachable so the sandboxes can call back.

What stays on your infrastructure

Sessions run on Platinum sandboxes, not on the server, so the box runs the application stack while agent compute stays with Platinum. One Docker Compose project holds every service on the self-hosted end: the web frontend, the API, the standalone LLM gateway, and the Supabase distribution. That distribution brings its own Postgres database, auth and file storage. Caddy terminates TLS on ports 80 and 443, and a daily updater pulls new images and rolls the app services. kortix self-host init writes docker-compose.yml, .env, a Caddyfile and updater.sh into ~/.config/kortix/self-host/<instance>/.

What leaves the box is a short list. Sessions run on the Platinum sandboxes you configured. Model calls go to the providers your workspaces connect. The application images arrive from Docker Hub. The database and file storage stay put, under the instance directory on your disk. The hosting docs map that shape part by part. If the driver is moving off Copilot altogether, the migration guide covers the switch.

What each option costs

Microsoft 365 Copilot is a paid add-on on top of a qualifying Microsoft 365 plan. The add-on lists at $30 a user a month, paid yearly (Microsoft’s Copilot page, checked October 2026). GitHub Copilot also bills per person: Free carries limited chat and agent use and 2,000 code completions a month, Pro is $10, Pro+ $39 and Max $100, and Business is $19 and Enterprise $39 per granted seat (GitHub’s plans, checked October 2026).

Self-hosting sits outside both lists. The software itself carries no fee. The bill becomes the server, the domain, a Platinum key and the model keys you connect. If you would rather not run the stack, Kortix Cloud bills agent work in credits, and the pricing page carries the current tiers.

Self-hosting decides the shortlist

Kortix first, then the two Copilots teams weigh it against; every rival cell comes from that vendor’s own pages, checked October 2026.

Open source
KortixYes. Read it, fork it, audit it.
Microsoft 365 CopilotNo
GitHub CopilotNo
Self-hosting
KortixSelf-host is free.
Microsoft 365 CopilotNot offered
GitHub CopilotNot offered
Where data lives
KortixYour server: the stack, its data, your repo
Microsoft 365 CopilotMicrosoft’s cloud, beside your Microsoft 365 content
GitHub CopilotGitHub’s cloud
Pricing shape
KortixUsage credits; members free
Microsoft 365 CopilotA per-seat add-on, paid yearly
GitHub CopilotPer person, with a free tier

Prices are quoted in the prose with dates, since they move.

Questions self-hosters ask first

No. Microsoft’s own documentation describes Copilot as cloud-based and gives it no access to on-premises mailboxes, and none of its Copilot documentation offers a self-hosted deployment; regional data residency is the closest control, checked October 2026.

One Linux server with a public IP; the bootstrap installs Docker and the Compose plugin for you. Add DNS records for the domain and its api subdomain, open ports 80 and 443, and a wildcard record for previews. A Platinum key is required before sessions start, and the box runs the application stack while agent compute and models stay with the providers you configure.

The software itself carries no fee. You pay for the server, the domain, a Platinum key, and model usage from the providers you connect. If you would rather not run the stack at all, Kortix Cloud bills agent work in credits; the pricing page has the tiers.

Put the stack on your own server

Open source, free to self-host, and a short path from DNS to a first session.