The real split in agentic development platforms#
Every team adopting artificial intelligence coding agents faces an architecture decision: run agents on a vendor’s multi-tenant cloud, or self-host them on your own Kubernetes cluster.
Vendor cloud agents (such as Devin, cloud-hosted Codex sandboxes, or SaaS background agents) are fast to try because you click sign up and link GitHub. The friction arrives when you move from a toy repo to real production systems: private registries, internal APIs, strict security reviews, and unpredictable per-seat cloud bills.
Nested takes the other path: bring your own Kubernetes cluster. There is no shared Nested backend.
Architecture and cost comparison#
| Dimension | Vendor cloud coding agents | Nested (self-hosted on your Kubernetes) |
|---|---|---|
| Where code, prompts, and logs live | Vendor’s multi-tenant cloud | Postgres and S3-compatible storage inside your cluster |
| Private VPC / internal API access | Requires tunnels, IP allowlists, or exposing internal tools | Runs inside your cluster under your own NetworkPolicies |
| Coding agent & model lock-in | Locked to one vendor’s agent and billing tier | Cursor, Claude Code, Kimi CLI, or any ACP-compatible agent |
| Agent sandbox isolation | Vendor-managed container or VM | Sysbox user-namespace pods, optional Kata microVMs, optional Environment VMs |
| MCP tool token overhead | Often injects full tool schemas on every turn | On-demand MCP catalog + Code Mode avoids ~28k schema tokens per session |
| Idle compute cost | Bundled into SaaS seat/compute markup | Scales to zero after 10 quiet minutes on your existing cluster |
| Setup & operations | Zero cluster ops | Requires a Kubernetes cluster and nested-install |
Four reasons teams move to self-hosted AI agents#
- Data stays inside your boundary. Prompts, repository context, runbooks, memories, and encrypted connector tokens stay in your own Postgres and object store. Only model calls (to the provider you choose), enabled connectors, and optional Environments leave the cluster. See Why Nested runs inside your Kubernetes cluster.
- Real access to internal engineering systems. Agents sit beside your staging services, internal GitLab or Gitea servers, private registries, and Teleport-protected apps without opening holes in your perimeter.
- Predictable, lower software development costs. You pay your own infrastructure and model API rates with zero SaaS markup, scale idle agents to zero automatically, cut prompt bloat with MCP Catalog and Code Mode, and cap crash loops at 3 recoveries per hour. See Lower software development costs with AI agents.
- Portable AI skills and software factory gates. Package your team’s
SKILL.mdrules, MCP servers, and checked software factory formulas into versioned packs that work across Cursor, Claude Code, and Kimi CLI.
When a vendor cloud agent is still the right choice#
Be honest about the trade-off:
- You do not run Kubernetes. If nobody on your team operates a cluster, start with a vendor cloud agent or local coding tools instead of standing up Kubernetes just for agents.
- One developer working on public repos. A local CLI or a simple hosted agent has less setup overhead than a team platform.
When you already operate Kubernetes and want an agentic development platform where security, agent sandboxes, and AI skills belong to your organization, self-hosting pays for itself fast.
Questions
- Why self-host AI coding agents instead of using a vendor cloud agent?
- Self-hosting keeps source code, prompts, memories, and connector tokens inside your own Kubernetes cluster, lets agents reach internal services under your NetworkPolicies, avoids vendor seat markups, and lets you switch between Cursor, Claude Code, Kimi CLI, and ACP agents.
- Does self-hosting AI agents mean I have to host the LLM weights too?
- No. Your agent pods, workspaces, and data stores run in your Kubernetes cluster, while model calls go to your chosen provider account (or a private OpenAI-compatible / Ollama endpoint if you run one).
- Is self-hosted agentic development cheaper than vendor cloud agents?
- For teams that already run Kubernetes, yes: idle agents scale to zero after 10 minutes, MCP Catalog and Code Mode cut prompt token waste, and you pay raw provider rates without per-seat SaaS markups.
More from the blog
3 min read
Agent sandboxes on Kubernetes: Sysbox, Kata, and Environments
How an AI agent sandbox isolates untrusted code execution on Kubernetes: Sysbox user namespaces, Kata microVMs, deny-by-default env, and short-lived VMs.
2 min read
AI skills for coding agents: turning team standards into verified packs
What an AI skill is, why copy-pasted prompts drift across teams, and how Nested packages SKILL.md files, MCP servers, and formulas into verified packs.





