Cover illustration for “What Happens to Your AI Agent When You Skip Kubernetes and Choose Managed Infrastructure”
First Agent Setup

What Happens to Your AI Agent When You Skip Kubernetes and Choose Managed Infrastructure

October 28, 20268 min read1,856 words

Share

Text: Marcus Oyelaran

Managed platforms handle persistence and recovery so you focus on building agents.

Managed cloud hosting for AI agents takes over the work of running a cluster and provides persistent state, per-user isolation, automatic recovery, and durable orchestration. Production can stay reliable without Kubernetes if the platform has those capabilities built in. The real trade is not control for convenience, but responsibility for infrastructure versus time spent improving and selling the agent.

Why Kubernetes became the default for production services and why AI agents strain that assumption

Kubernetes became the default for production services around a model of stateless, containerized distributed applications. Conventional services start fast, die cleanly, and restart identically. Agents put pressure on that model because they are stateful, long-running, and unpredictable in their resource needs. They keep conversation history, open file handles, and mid-task state that must survive when a process restarts.

Restarting a container is therefore only part of recovery. The agent also needs its working context and task progress. Operators must build the supporting runtime, including spare capacity for quick starts and on-demand compute provisioning when workloads grow. Kubernetes can support that architecture, but a complete agent runtime still takes a lot of custom work.

That work also creates an organizational bottleneck. Deploying an agent can mean multiple YAML files, hundreds of lines of configuration, and a ticket in someone else’s queue. Either the developer learns cluster operations or a platform team becomes the gatekeeper for each deployment. Giving agent builders cluster permissions lets them skip the queue, but also makes them run systems far outside their job. Kubernetes can run agents, but the surrounding work competes with building them.

What four infrastructure layers does production AI agent hosting need, and where does generic hosting fall short?

A production agent needs compute, persistent storage, orchestration, and monitoring. Compute runs the inference and business logic, and storage holds the artifacts, files, and conversation history. Orchestration coordinates multi-step workflows. Monitoring reveals what the agent is doing and why. A hosting comparison that stops at compute leaves most of this system out of view.

The distinction becomes clear when an agent produces lasting output. Ephemeral compute without file persistence can work for a chatbot, but a contract-processing agent needs to store extracted data. A research agent needs to save findings, and a coding agent needs to commit artifacts. Those outputs must outlive the process that created them.

A raw VPS leaves these layers for the operator to assemble. Kubernetes provides the infrastructure, but someone still has to build the persistence, workflow recovery, and monitoring the agent needs. That labor changes the price comparison. A self-managed server’s fee excludes recurring maintenance and troubleshooting, while managed hosting can bundle all four layers into a flat monthly fee. Once engineering time enters the calculation, managed hosting can be materially cheaper than the server that looked inexpensive on its own.

What managed infrastructure actually takes over: state, isolation, recovery, and orchestration by design

Purpose-built managed infrastructure makes those supporting layers part of the platform. Persistent, isolated environments retain files, memory, and channel connections between sessions rather than resetting the agent’s working life with each task. Each agent or customer session has its own boundary. Each tenant’s data, credentials, and conversation history stay out of reach of other tenants.

Recovery handles two different kinds of failure. When an agent process crashes, the platform detects it and restarts it, while redundant backups and disaster recovery address the broader recovery requirements. Durable orchestration records task progress so a long-running job can resume at a specific step after a failure, timeout, or human-approval pause. The operator no longer has to build the durable-execution layer or personally restart a dead agent.

Security hardening is built in from the start, with the setup work already done. It includes encrypted transit and storage, firewall and DDoS protection, API key rotation, and network isolation between tenants. Local machines deliver roughly 70–85% uptime because power outages, ISP issues, and OS reboots interrupt them. A self-hosted VPS offers meaningfully higher availability, while purpose-built managed platforms target greater reliability through automated recovery. Self-hosted operators maintain the mechanisms behind that target themselves, while managed platforms take on that work.

Per-user sandboxing as the correct unit of scale for agent-powered products

For a customer-facing product, the useful unit of scale is one isolated, persistent agent per customer. Onboarding provisions that environment automatically instead of requiring a founder to configure it by hand. Code that is untrusted or user-specific still needs a sandbox for each session, with a clean filesystem, network isolation, and no access to data from other tenants.

On a DIY VPS architecture, each new client adds work because the full setup process has to be done again. Managed provisioning replaces that repetition with an API call or onboarding trigger, bringing marginal onboarding work close to zero in ops time. Self-hosting can reproduce this architecture, but doing so requires building and maintaining the automation. The managed product supplies it before the customer roster grows.

Credentials make the isolation boundary especially consequential. An agent can break production because it received access no new hire would get on day one. The right architecture scopes access, routes changes through ephemeral environments, gates production promotion through human or policy checks, and records actions in an immutable audit trail tied to a per-agent machine identity. The Action Gateway pattern adds centralized tool permissions, approval for sensitive operations, rate limits, and timeouts. Those controls prevent agents sharing external systems from cascading failures into one another, and make security assurances relevant to both the hosting vendor and each customer’s agent.

Why the integration layer — not compute — is the hardest part of making agents useful in production

An agent becomes useful when it can act in Gmail, Slack, GitHub, or Notion. Building integrations independently means managing OAuth tokens, webhook configurations, and API versioning for every application. Tool access can also consume the context needed for actual work. Loading just two common MCP servers as standard MCP schemas can use tens of thousands of tokens before a user interaction begins, making that approach impractical across hundreds of integrations.

Composio’s catalog, as evaluated in 2026, covers hundreds of pre-authenticated toolkits. Its SDK is permissively licensed, while its hosted toolkit platform is proprietary. Shared Connections, which was introduced September 14, 2026, lets people on a team use the same company account without passing credentials to one another. These connections support concrete workflows, including checking Gmail for client keywords and creating Notion tasks for matches. Another workflow creates an issue in an issue tracker when a GitHub PR has a specific label.

However, managed integrations remain an operational dependency. Composio’s API degraded over time in April 2026, with webhook triggers for several applications down for a long stretch. A background cleanup job had stopped pruning a trigger-processing table. The incident shows why reliable compute cannot guarantee a working agent workflow. A platform that bundles integrations through a monitored tool layer takes responsibility for maintaining and recovering that dependency, rather than leaving the operator to discover that work has silently stopped. It shifts the reliability burden without making third-party failure impossible.

Security and compliance as procurement gates, not post-deployment concerns

Enterprise buyers evaluate more than whether an agent runs. A typical B2B buyer expects SOC 2 Type II, and ISO 27001 matters to buyers who work internationally or in more than one country. Healthcare and US public-sector deployments add requirements such as HIPAA and FedRAMP. These requirements can stop a buyer from buying before deployment starts. Strong runtime isolation helps support the security case, but it is not a substitute for documented controls and the evidence a buyer requires.

HIPAA’s Security Rule applies when an AI system accesses, processes, or transmits Protected Health Information. That includes transient processing inside the context window during inference. Storage is not the only boundary that counts. Saying the model never stored the data does not remove exposure if PHI passed through its context. In practice, PII and PHI must be redacted before data leaves the customer environment, production must use each provider’s zero-retention settings, and ePHI can go to a cloud model only with a business associate agreement.

Self-hosting puts the burden of establishing and maintaining the required controls on the operator. Audits, penetration tests, documented controls, and a repeatable way to collect evidence take work of their own, apart from building the agent. Managed infrastructure can come with compliance controls already in place, so each customer deployment can build on them. The platform still has to meet the buyer’s actual bar. SOC 2 Type I does not answer a requirement for Type II, and general certifications do not replace the agreements or controls a regulated workflow needs.

Turning a working agent into a resalable product: what white-label infrastructure makes possible

The expensive work happens once per template, including behavior design, guardrails, integrations, and workflow scripts. Each additional client then becomes a configuration pass. When that pass is repeatable and automated, growth does not require proportional setup labor.

Branding alone cannot produce that result. A product built for resale gives each client an environment of its own, with its own data, configuration, and conversation history. Agencies are productizing offers such as AI sales engineer demo embeds, SMS and voice reactivation agents, speed-to-lead agents, chatbot and visitor tracking, and churn prevention. Each becomes a per-client branded deliverable built on a reusable foundation.

Runtime fragmentation can eat into those gains. An agency may need OpenClaw for one customer, a coding agent for another, and a general-purpose agent for a third. Separate hosting vendors can mean separate contracts, dashboards, and isolation models for each runtime. The agency then becomes the integration layer itself. That coordination adds labor as the client roster grows, working against the template economics that made resale attractive. Infrastructure that runs that mix of runtimes in the same way lets the agency spend more of its time on the service its customers use.

What operators actually preserve when they skip Kubernetes: capability, control, and founder time

An agent needs persistent state, reliable recovery, scoped credentials, customer isolation, and dependable access to the tools where its work happens. Managed infrastructure preserves those capabilities when they are built into the service. Control then sits in agent behavior, permissions, approval rules, and customer configuration rather than in the machinery required to keep processes running.

The work removed is concrete and recurring. VPS provisioning, Docker configuration, SSH hardening, certificate management, manual monitoring setup, crash response, and OS patching stop being the founder’s operating checklist. Those tasks may be necessary underneath the platform, but they do not have to belong to the company selling the agent. The released time can go into improving and selling the product. That shift is especially valuable when every new customer would otherwise add another environment to maintain.

Stripe offers the clean analogy for this division of work. It let software companies take payments without becoming payments companies. With managed agent infrastructure, AI companies can give each customer an agent without having to become infrastructure companies themselves. The decision criterion is therefore the job the founder is trying to do. If the agent is the product, the infrastructure should disappear from that job without disappearing from the architecture.

Sources

  1. AI Agent Hosting for Agencies (2026)

More in First Agent Setup