The four tests an open-source self-hosted AI agent stack must pass
Self-hosted AI agents for business fail on one question after the install: can you still read what the agent may touch? Kortix is the open-source CompanyOS, its configuration a git repo you can open, diff and carry to another machine, and my pick; I work on Kortix's marketing.
The same four tests, run across four vendors
What you can still read after each product is installed, and who ends up holding it. The n8n column is checked against its pricing page and license page, Gumloop's against its pricing page, and Copilot Studio's against Microsoft's page, each opened in October 2026. The Kortix column is the starter template in the repository, which anyone can open.
The grants, and the rule behind them
The agent block sits in the starter project's kortix.yaml and the rule beside it comes from the docs reference; both are things you can diff. The agent block is shortened to start at mode; the file also gives it a description.
agents: worker: mode: primary permission: allow prompt_file: agents/worker.md tools: "*" skills: "*" connectors: "*" secrets: "*" kortix_permissions: "*" workspace: { project_repository: true }
- **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`.
What self-hosted has to mean
The word arrives with an install command and a hosting invoice. Two of the products Kortix is set against in the comparison offer no self-host at all: Gumloop's pricing page lists Pro and Enterprise and no self-host, and its agents run inside its own product, while Copilot Studio is Microsoft's service, so there is no copy to run yourself and no box to open. The third, n8n, does hand you a server on a self-hosted plan, and that is where the cost of self-hosting shows up plainly: a machine you patch and a bill that stays on your side whether anyone uses it or not. So the word covers two different offers, and only one of them leaves you something to operate.
A business shopping for self-hosted AI agents is not shopping for metal. It wants three facts that survive the install. What may the agent touch? Where does the credential go? Who can change the rules? When those three live behind a vendor's admin console, the deployment topology bought nothing.
The same test runs through the Kortix launch post: "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."
The four tests
Run these against any vendor, ours included. Each one produces an artifact you can look at, or a shrug.
Configuration in files you can diff. Ask where an agent's instructions and its reach are written. If the answer is a form in a web console, you cannot review a change, cannot see who widened a grant last month, and cannot rebuild the setup on a second machine. Files in your own repository let a reviewer read the difference before it takes effect.
A credential boundary you can point at. Ask where the API key lives and who can read it. An installation that copies every key into the agent's working environment has moved the exposure, not removed it. A useful answer names the component that holds the value and what happens to a command that tries to print it.
A runtime you can swap. Ask what stays when you leave. A stack that boots from a documented compose file, with images you pull yourself, can be run on another host next quarter. One that exists only inside the vendor's account cannot leave with you.
A data path you can put on your own network. Ask where sessions run, where the control plane runs and where the prompt goes. "On your own servers" should come with a diagram, not a badge. The answer decides whether your security review passes and whether your data-processing terms mean anything.
Running the tests on Kortix
The first test is checkable before you install anything. A project's manifest is kortix.yaml, and it is short: it lists the project's skills, and each agent's block sets that agent's behavior through a description, a mode, a permission and a prompt file, then names every grant the agent holds.
# The agent a session or trigger runs when it names none. My Kortix starts# `worker` when it names no agent.default_agent: mykortixagents: worker: mode: primary permission: allow prompt_file: agents/worker.md tools: "*" skills: "*" connectors: "*" secrets: "*" kortix_permissions: "*" workspace: { project_repository: true }
The panel is shortened: the block also opens with a description. Every line shown is the file's own. The prompt text sits in agents/worker.md, and the description says what that file is for: "General-purpose worker: coding, research, writing, ops and data work, done end to end in its own sandbox." Change the prompt by editing a markdown file; change the reach by editing a grant. Both are diffs in your repository, reviewed like code.
The rule behind those grants comes from the docs reference, not from the file: a grant is "*", none or a list of names, and an omitted skills, connectors, secrets or kortix_permissions grant resolves to none. tools, permission and codemode sit outside that rule, and the same section says so in as many words: "Three keys are open by default: tools is "*" (kortix validate warns when an agent omits it), permission is allow, and codemode is on." A specialist you write therefore keeps every tool until someone narrows it, while the connectors and the secrets nobody named stay closed. The starter's own agent is granted broadly on purpose, and its block is where you see it.
Credential handling is the second test. Connector credentials are brokered server-side and never enter the machine. The agent asks for the call; the service that already holds the credential makes it.
The last two tests are answered by where the stack runs, and that part deserves a careful read rather than a slogan. Kortix gives you three arrangements. Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-host is free. A self-hosted install is one Docker Compose stack on a Linux server you control: the database, the API and the web app, installed and updated by kortix self-host. That machine holds the control plane, while the agent's work happens on Platinum sandboxes the platform provisions elsewhere, and the boundary between the two is what a security questionnaire is really asking about. One isolated sandbox per session. Each session has its own isolated machine and branch.
The work survives as commits too. Only what the agent pushes to its branch is still there tomorrow, which is why the repository is the record and not a transcript.
What self-hosting does not fix
Self-hosting does not move the model onto your hardware. The provider your project connects still receives the prompt, so the data-processing question follows the model, not the server rack. Pick the provider on those terms and write the answer down.
It does not remove operations either. A self-hosted Kortix instance is still one Docker Compose stack, and the prep before the first run is mostly DNS: point the instance domain, its api host and a wildcard preview domain at the host, open ports 80 and 443, then hand kortix self-host configure an admin email and a Platinum API key (PLATINUM_API_KEY). The model provider key comes later, in the web app after the first sign-in. Size the machine for the control plane, since agent sessions execute on Platinum sandboxes Kortix provisions off that host. Until you set EMAIL_URL, the instance accepts a sign-up only from an address with a pending invitation.
What it does fix is the part buyers usually cannot recover later. The configuration is text in a repository you own, the grants are readable, and the vendor can be replaced without rebuilding the setup from a support ticket. Whether that matters is a business decision. Whether it is true is a fact about the file.
Questions buyers ask before an install
Short answers, each one checkable in the repository or the hosting docs.
What is a self-hosted AI agent?
An agent whose configuration and credentials you hold rather than the vendor's console. In Kortix that is one agents.<name> block in kortix.yaml, which sets the agent's behavior and names every grant it holds, with its prompt in agents/<name>.md; both live in a repository you own.
Can I self-host AI agents for my business?
Yes. Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-host is free. Pick the arrangement your operations team can run, then read the manifest to see what each agent may touch.
Is self-hosting cheaper than SaaS?
Not by itself. You drop the subscription and take on compute, model usage and the ops work. Per-person SaaS pricing stays small only while the team does: Lindy's Team plan prices credits in steps, one of them $49.99 a month for 5,000 credits each (its pricing page, 29 October 2026), and Gumloop's Pro plan starts at $37 a month.
What hardware does a self-hosted AI agent need?
A Linux host reachable at a public address. The bootstrap installs Docker and the Compose stack, and kortix self-host configure takes an admin email and a Platinum API key; the model key is added in the web app after the first sign-in. Sessions execute on Platinum sandboxes, so the host runs the app and the database rather than the agent work.
Do self-hosted agents keep data on my servers?
The control plane does: database, API and web app sit in a Compose stack on your server. A session's machine is provisioned elsewhere by the sandbox provider, so check where yours runs before promising a boundary. Connector credentials are brokered server-side and never enter the machine.
Start with the file you can read.
Self-host it, run it in your VPC, or try the cloud first. The manifest is the same in all three.
Open source · One isolated sandbox per session · Self-host is free