Skip to content
Open Source AI Agent Platform

Self-hosted vs managed open source agents: who owns the control plane

Self-hosted or managed comes down to two bills: the control plane you own and the sandbox compute you rent. Work the compute line from published rates and most teams land on mixed. Kortix, the open-source CompanyOS, is built for that split, and that is my pick; I work on Kortix's marketing, so weigh that accordingly.

Where the control plane lives, and where the work runs

Four options, each described from its own documentation and pricing pages.

Sources:KortixDifyFlowiseCloudways

Open source

KortixYes
DifyYes
FlowiseYes, code stays public
CloudwaysNo, it hosts open-source agents

Control plane runs on

KortixYour box, your VPC, or Kortix Cloud
DifyThe Compose stack you deploy
FlowiseThe install you start yourself
CloudwaysCloudways' dashboard and servers

Agent work runs on

KortixAn isolated sandbox per session
DifySandbox services inside your stack
FlowiseThe Node server you started
CloudwaysA dedicated instance Cloudways provisions

Update path

KortixNightly pull, migrate, then swap
DifyRe-apply your changes onto each release's files
FlowiseNone; no new releases after August 2026
CloudwaysValidated releases, patched for you

What you pay for

KortixAgent-computer hours; stopped compute is free, the disk keeps its GB-month
DifyA free Sandbox plan with 200 message credits; Professional $590 a workspace a year
FlowiseNothing to the vendor; your own server
CloudwaysA server tier, Scout through Swarm

What stays on your box

what a server backup holds
Source:https://kortix.com/docs/developers
Stop the stack so the files are consistent. Copy the instance directory and each Docker volume, then start again:Every secret and signing key | .env in the instance directory | YesThe Postgres database | volumes/db/data in the instance directory | YesStored files | volumes/storage in the instance directory | YesDrive folders and App volumes | Platinum volumes, at Platinum | NoEach session's /workspace | The session's Platinum sandbox | No

The rows marked Yes are the whole server backup: the instance directory and four Docker volumes. Drive folders and session workspaces sit at Platinum, outside it.

Two bills hide inside the self-host question

Most comparisons of self-hosted and managed AI agent platforms argue about principle: residency, vendor trust, who holds the keys. Those questions are real. They also miss the line that changes size when you switch. Every option here carries two costs. One is the control plane: workspaces, repos, secrets, policies, audit. The other is compute for the agents themselves. Self-host or managed decides who runs the control plane. Compute gets rented either way.

Kortix makes the split visible because it sells only half of it. Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-host is free. Sandbox compute does not travel with the control plane. A self-hosted Kortix still runs sessions on a sandbox provider you configure, with a key you supply. That makes a self-hosted deployment mixed by design: the company's records sit on your disk, and the machines your agents work on get billed by someone else. Which is the honest shape of the decision, and it changes what the options in the comparison table are competing on.

What sits on your box, and what never does

Kortix's self-hosted page draws the line item by item. On your box: Postgres as a directory you can back up, and file storage as a second directory beside it. Every workspace repo and every secret the platform holds stays there, along with roles, policies, triggers, channels and the audit record. The LLM gateway your sessions route through lives there too. Off the box: agent sandboxes, which run on the provider you configure, and the image registry, which needs no credentials.

A compliance reviewer would read that list as the useful half of the answer. The control plane holds what an audit asks about: who exists, what each person may do, and what happened. Sandboxes hold work in progress, and the good ones get thrown away.

Kortix keeps the throwaway part strict. One isolated sandbox per session. Each session has its own isolated machine and branch. The file one session breaks is not on the next session's disk.

The arithmetic, at published rates

Kortix's pricing page prices the agent computer, not the workspace. One credit is $0.01. Eleven credits buy one hour of the default machine, 2 vCPU and 4 GB of memory. Billing runs by the second, a stopped computer draws no compute, and the 20 GB disk it keeps is billed apart at $0.0526 a GB-month. The same page prices the parts at $0.0324 per vCPU-hour and $0.0108 per GB-hour of memory.

The hour reconciles from those two rates, before the disk line. Two vCPU at $0.0324 is $0.0648. Four GB at $0.0108 is $0.0432. Add them and you get $0.108, which is the 11 credits the page quotes, or $0.11 an hour.

Three team sizes, one rate.

  • A solo builder running one agent 40 hours a month spends 40 × 11 = 440 credits, so $4.40. The Free plan's 500 credits a month cover it with 60 to spare. A month where that agent idles draws no compute.
  • A five-person team at 25 agent hours each spends 5 × 25 × 11 = 1,375 credits, so $13.75. That fits inside the smallest paid tier: $50 a month for 5,000 credits, which is 454 agent-computer hours.
  • A forty-person company at 20 agent hours each spends 40 × 20 × 11 = 8,800 credits, so $88. The $100 tier carries 10,000 credits, or 909 hours, and the tiers run to $50,000 a month for 5,000,000 credits at the same 100 credits per dollar.

The compute line stays small. Forty people using agents twenty hours a month each cost $88, which is $2.20 a person. Idle hours bill nothing, so the quantity to forecast is hours of real work rather than cores reserved.

The control plane is the other line. On a self-hosted instance the software costs nothing, and the box is your provider's invoice. Kortix publishes no size and no price for that box, so the price belongs to whoever sells you the machine.

Four things that decide it before price does

A URL the sandbox can reach. Sessions run on a remote sandbox and call back into the control plane, so the installer asks first how the instance is reachable. A VPS with a domain and an api. subdomain is the production answer. A Cloudflare tunnel is the evaluation answer, and its URL changes on every restart. Use it to try the product, not to run on it.

Who holds the keys. On a self-hosted Kortix the gateway lives in your stack, model calls route over your own domain, and Kortix holds no credential in that path. The one credential the stack cannot start without is your sandbox provider's key. Teams that must show an auditor where the model keys live get a straight answer here.

Update cadence and rollback. A self-hosted Kortix updates itself. The updater checks once a day at a time you set, runs the migration, then starts the new services before stopping the old ones. You track a stable channel, the latest channel, or a version you pin. Dify's self-host docs go another way, asking you to compare each release's environment example against yours and re-apply your changes onto the new compose file. Both work. Only one of them asks nothing of you on a Friday.

What happens when the sandbox provider changes. Kortix runs sandbox compute on Platinum, with a legacy fallback whose removal is already scheduled. Any deployment whose control plane and compute have different owners carries that risk: one of them can change supplier without asking the other. Isolated topologies, where the compute has to move inside your network too, are scoped with Kortix rather than self-served.

The cost nobody puts in the table

Flowise wound down in 2026. Feature development stopped on 29 July, the repository went to public archive on 10 August, and end of life followed on 31 August. The code stays public and forks are yours to keep, so a self-hosted Flowise does not vanish. It stops receiving releases. The package you installed keeps working until something under it moves.

That is the continuity risk self-hosting genuinely carries, and the vendor comparison pages leave it out. Control of the code is not a supply of patches. A managed option buys the patches and gives up the code. A self-hosted option keeps the code and takes on the question of who maintains it when the maintainer leaves. Ask any self-host candidate which of the two it is, and what the exit looks like.

Where the managed side earns its place

Managed hosting fits a small team with nobody who wants to own a server, a handful of agents, and a preference for backups arriving done. Dify's cloud plans cover app builders, and the free entry point is a Sandbox plan with 200 message credits. Professional sits above it at $590 per workspace a year (Dify pricing).

Neither is a mistake. Both hide the same compute bill behind a different invoice. Neither lets you move the control plane in later without changing products.

The verdict

Run the two lines separately and most teams should start mixed. Rent everything for the first month, measure real agent hours, then move the control plane onto a box you own when a requirement shows up: residency, an audit, or a provider relationship you would rather not share. Kortix is built for that path. The self-hosted instance and the cloud run the same images on the same release train, and the move is a host switch in a CLI rather than a migration.

The safety machinery that makes either side usable is the same. Session work reaches main through a change request. Merge is default-deny for agents. An admin can grant the merge capability to an agent that should have one. Approval gates you set. Off until you set them.

The pricing page breakdown works the credit rates through a second time, and the self-hosted setup walkthrough covers the install. Start with the hours your agents actually run. Everything else follows from that number.

What buyers ask before picking a side

Can AI agents be self-hosted?

Yes. Agents need a runtime, a model key and somewhere to keep their files, and all three can be yours. Kortix runs its control plane as one Docker Compose stack on your own box.

Can you self host an AI agent?

Yes. Install Kortix on a box you control, point the CLI at that host, and keep working against it. One more command points the CLI back at the managed cloud.

Which platform is best for making AI agents?

Kortix, when you want the company's records in a git repo you own and the freedom to move between cloud and your own network. Dify and Cloudways cover narrower ground: app building and managed hosting of agents built elsewhere.

Which self-hosted AI agent platform should a team pick?

Kortix. The control plane is a single Compose stack, and the backup is the instance directory plus its four Docker volumes. The managed cloud runs the same images if you move later.

Try Kortix with your own model keys

Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-host is free.