The restart test for an open-source self-hosted AI agent platform
Reboot the box and count what comes back: a self-hosted AI agent platform is judged by what survives. Kortix, the open-source CompanyOS, is my pick and keeps one git repo: agents, skills, memory and connector rules as files, with kortix.yaml at the root; I work at Kortix, so weigh that accordingly. Three projects take the same test.
Three projects, one restart test
Restart the machine and count the settings, skills and schedules that return without anyone retyping them.
Install
One bootstrap script on a Linux server with DockerKortix- OpenWorkA desktop app for macOS, Windows and Linux
- EigentClone the repo, then npm install with Node.js and Python
Where configuration lives
One git repo: agents, skills, memory, triggers, toolsKortix- OpenWorkSkills, MCP servers and plugins packaged for one-click import
- EigentA repo checkout with env files and local Spaces
What a restart keeps
The repo and the instance directory on your disksKortix- OpenWorkYour local files and the packages you imported
- EigentWhatever you committed or backed up first
Model keys
Your own providers, added in the appKortix- OpenWork50+ providers on your own keys
- EigentCloud APIs, bring-your-own keys or local runtimes
Open source
Yes, the whole platformKortix- OpenWorkYes, the desktop app
- EigentYes, the application
Where truth lives
# kortix.yamldefault_agent: assistantimports:- triggers/ # every .yaml and .yml file below this folderagents:assistant:prompt: You write reports.Every part of the system is a folder
my-agent/├── kortix.yaml the manifest: the agent `worker` and its grants├── agents/ the agent's prompt: worker.md├── skills/ 11 skills, one folder each, with a SKILL.md├── memory/MEMORY.md the project memory├── README.md└── .gitignoreDeny first, in writing
A grant is "*" (every name), none (or ""), or a list of names. Quote the *: a bare * is a YAML alias, and kortix validate prints the quoted line. all is the accepted alias of "*", and a list that contains "*" is every name too.Omitted means none. An omitted skills, subagents, commands, extensions, connectors, secrets, apps or kortix_permissions grants nothing.Three keys are open by default: tools is "*" (kortix validate warns when an agent omits it), permission is allow, and codemode is on.One agent's reach, in a manifest
agents:researcher:mode: subagentprompt: You research orders and report what you find. Never edit files.permission:edit: denytools: [read, glob, grep, lookup_order, web_search]connectors: [helpdesk]What a restart actually tests
Power-cycle the box your agents run on. Then count what comes back without anyone retyping a setting. That count is the test: a restart brings back only what the system keeps outside the running app. Files on your disks return as they were. State inside a hosted application returns only if the vendor built an export, in whatever shape the export takes.
A vendor account is not a build you can put on your own machine. It buys a seat in a vendor's service, with a settings screen and a plan attached, and the next reboot decides how much of it survives. Companies that host AI agents on their own hardware usually arrive here after a scare or an audit: a plan changes, an account locks, a reviewer asks to see the logs. A team already inside Google Workspace meets the same boundary from the other side, and what Gemini Enterprise and Antigravity hand that team, and where each one stops settles that half of the question. The choice weighed here is narrower. Where do the agents, the memory and the connector rules physically live? Kortix answers with a git repo. The comparison measures two other open-source projects against it, and the wider field is mapped on the open-source AI agent platforms page. The Kortix blog takes the same question at book length.
The manifest declares the fleet
Three things share the name self-hosted: the harness that runs an agent, the rules that govern what it may reach, and the machine its sessions run on. Two of the three are files in a repository. A Kortix project is a git repo with kortix.yaml at its root, and the platform can host that repo or you can connect your own on GitHub. Agents are markdown files under agents/. Skills are folders with a SKILL.md. Memory is a directory the sessions read and write. Triggers are entries in the manifest. Most of a project's setup lives in those files, which is what makes it reviewable.
The agents map in the same file declares each agent, its behaviour and what it may use: connectors, secrets, permissions and skills. The reference says it outright: an omitted skills, subagents, commands, extensions, connectors, secrets, apps or kortix_permissions grant is none, while tools defaults to "*" with a kortix validate warning, permission to allow, and codemode to on. An agent's own block names it, sets its mode and its prompt, and lists its grants: tools, skills, commands, extensions, connectors, secrets and workspace. The markdown file is the system prompt, and both harnesses read it. Model, mode and permission sit in the agents.<name> block: one line there changes an agent's reach, one line of prompt changes its behavior.
Sessions keep the same shape. Each boots in its own sandbox, clones the repo and works on its own branch, so the files are also the material agents edit. When the server restarts, the stack returns from the instance directory and the fleet returns from the repo.
The review the repo makes possible
When an agent's reach is a line in a file, the review is a diff of that line. Kortix draws the line at the default branch: "Session work reaches main through a change request. Merge is default-deny for agents." A person reads the diff before a new permission, a new trigger or a rewritten skill reaches the running system. The same review covers every other file in the repo.
OpenWork's own demo shows its version of the gate. The agent drafts a message and asks before posting it to Slack. That ask lives in the conversation, where nothing records it as a change a reviewer can diff.
What the repo does not hold
Two things stay out of the repo on purpose, and both matter when the lights go out. Secret values live in the instance directory, in one .env that holds every secret and signing key. Lose its encryption key and stored credentials become unreadable, which is why the self-hosting docs ask you to guard that file. Model keys live in the app, added per project after sign-in. That choice can point at a runner on your own hardware, which moves the token bill onto a machine you already own and adds a reachability problem: the sandbox has to be able to call the endpoint. What decides whether a model can run locally is a question about the endpoint and the gateway rules.
The sessions themselves never sit on your server. Every session runs on Platinum, the reference sandbox provider (checked 21 October 2026), then calls back to your instance over the network. That split keeps the host small enough to copy, and it marks the third part of the three: compute is the one piece a repo cannot carry. The instance directory holds the Postgres data, the stored files and the .env, and the docs count it as the whole backup. An auditor reads your repo and that directory directly, with no vendor in the middle.
From bare box to running instance
The self-hosting docs keep the setup short. You need a Linux server with a public IP, DNS pointed at it, ports 80 and 443 open, and a Platinum API key (PLATINUM_API_KEY). Setup asks for a domain, an admin email and that key. It does not ask for a model key. You connect your model provider in the app after the first sign-in: any model provider with your own keys. On a bare box, one bootstrap script installs Docker, the CLI and the stack together:
curl -fsSL https://raw.githubusercontent.com/kortix-ai/CompanyOS/dev/scripts/kortix-selfhost-up.sh \| bash -s -- --domain kortix.example.com --email ops@example.com --platinum-key <platinum_api_key>A first trial needs no DNS at all. The docs' tunnel mode runs the stack on your own machine and publishes only the API through a Cloudflare tunnel. That is enough to judge the system before you point a production domain at it. Where everything runs stays your choice afterwards: "Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-host is free." Whichever you pick, the repo is the part that survives, so keep it on storage you control and back up the instance directory beside it. The self-hosting walkthrough on this site takes each step with its flags, and the getting-started walkthrough covers the first project and first session.
Questions a self-hosting team asks
What does a self-hosted AI agent platform cost to run?
Two bills: the hardware and the tokens. The managed option bills credits: Free is $0 with 500 credits per month, every feature and 1 project, on your own provider keys or ChatGPT subscription. Paid plans start at $50 a month for 5,000 credits, and members are free, sharing one credit pool. (Kortix pricing, checked October 2026). OpenWork's desktop app is free with your own keys; its cloud has a free tier for up to five people, and the Team plan is $10 a seat a month (openworklabs.com, checked October 2026).
Why self-host after Claude Cowork merged into Claude?
Since September 16, 2026 Cowork has been a capability inside Claude, with no product of its own to install (the announcement). The merge did not change where that capability is kept: Claude's product page names two routes, a Claude plan or a cloud of your own on Amazon Bedrock, Gemini Enterprise Agent Platform or Microsoft Foundry (Claude Cowork, checked October 2026). Both are services rather than installs, so nothing of the product lands on a disk you can copy.
How do I move an instance to a new server?
Stop the stack so the database files stay consistent, copy the instance directory, and start on the new box: a self-hosted AI platform moves that easily only when its state is files. That directory holds every secret and signing key, the Postgres data and the stored files; the docs count it as the whole backup (Read the docs). Your project repos travel the way any git repository does.
What happens when the platform updates itself?
The bundled updater checks once a day by default and rolls the app services. The stable channel ships releases that already ran in production; you can pin one exact version instead. Your repo is input the stack reads, so an update rolls images and migrations without touching your files.
Do I need a model key before the first start?
No. Setup asks for a domain, an admin email and a sandbox provider key. The model provider connects in the app after the first sign-in, per project.
Can I build an AI agent on my own?
Yes. An agent is one block under
agents:in kortix.yaml plus the prompt file it names, so the first one is a repo you already own. The block holds the prompt, the model and what the agent may reach, and no vendor sits between the file and the session.Can I host an AI agent locally?
Partly. The stack, the repo and a model endpoint you serve can share one machine, while each session's compute runs on a sandbox provider that calls back to your instance, so the box holding the rules is not always the box doing the work. A stack bound to loopback starts no sessions, because the sandbox cannot reach it (Read the docs).
opensourceclaudecowork.com
© 2026
Own what a restart brings back
Start on Kortix Cloud or self-host the same repo on hardware you control.