Deploying AI Agents and Coding Agents on Your Own Cloud
How to deploy AI agents and coding agents on your own cloud: the controls they need, a Kubernetes reference architecture, and a step-by-step setup. Plus a sandbox comparison and a verdict on Vercel BYOC.
How to deploy AI agents on your own cloud: containerize the agent, run it as a long-running service or worker on Kubernetes in your own AWS, GCP, Azure or Scaleway account, put its MCP servers, database, queue and secrets in the same VPC, give each agent its own scoped credential, restrict its outbound traffic, and test every change in a full-stack preview environment.
Production agents need five controls before anything else: isolation, credentials and secrets, network egress rules, an audit trail that names the agent, and cost limits. Most agent incidents trace back to one of the five being missing.
A Kubernetes reference architecture has six parts: the agent runtime, MCP servers, a model gateway, a sandbox tier for untrusted code, state (database, queue, vector store), and observability. Each part runs as its own service with its own credentials.
Sandboxes are a separate decision. E2B, Vercel Sandbox and Northflank use microVMs, Modal uses gVisor, Daytona gives each sandbox a dedicated kernel, and Kubernetes with gVisor or Kata Containers lets you run the same isolation on your own nodes. Only Northflank, Daytona (Bring Your Own Compute), a self-hosted E2B runtime and raw Kubernetes keep sandboxes in your own account.
Vercel BYOC is not enough to run agents and their backends in your own cloud. It is Enterprise only, AWS only, and covers Vercel Functions (Node.js and Python on Lambda). TLS terminates at Vercel's CDN, and databases, Daemons, Sandbox, containers and Services stay outside your account.
Qovery, the Agentic DevOps platform, runs agents, MCP servers, backends, databases and a preview environment per pull request in your own AWS, GCP, Azure or Scaleway account, or any Kubernetes cluster, with API Policy Tokens that scope each agent and an audit log that names it. It is not an execution sandbox, so pair it with one if your agents run untrusted code.
In November 2026 the headline on vercel.com reads "Agentic Infrastructure". I run a company that competes for part of the same budget, so take my view with that in mind. I still think the phrase is right, and I think Vercel deserves credit for naming the category out loud.
The question I get from CTOs this month is narrower than the headline. They already decided agents are going to production. What they want to know is where those agents should run, next to which backend and which database, inside whose cloud account, and what stops an agent from doing something nobody approved. The same question now comes up for coding agents: Claude Code, Cursor and Codex open pull requests that touch APIs and migrations, and someone has to decide where that code runs and what credentials the agent holds while it ships.
This guide is the long answer. It covers what a production agent needs, a Kubernetes reference architecture, a step-by-step deployment of an agent service and an MCP server, a comparison of the sandboxes people pair with agents, and the question that comes up in every second call: is Vercel BYOC enough? At the end there is a list of our deeper guides on each piece.
What is agentic infrastructure?
Agentic infrastructure is the infrastructure AI agents run on and the infrastructure they operate. The first half is a runtime: compute that can hold a long agent loop, a database for state, queues, network access to your internal tools, and somewhere safe to execute code the agent wrote. The second half is a control surface: an API and permissions model that lets an agent deploy, roll back or scale things on your behalf without holding admin credentials.
Vercel uses the term mostly for the first half, and for coding agents shipping apps. We use it for both halves, because in production the two meet. The agent that writes a migration also runs it, and the worker that serves an agent also needs a database it can reach. I wrote a longer piece on the control-surface side in what an agentic infrastructure platform is, and the agentic infrastructure topic page collects everything we publish on it. This guide is about where the workloads live and how they get there.
The stakes are real on both sides. Gartner predicts that more than 40% of agentic AI projects will be canceled by the end of 2027, citing escalating costs, unclear business value and inadequate risk controls. In the same release it expects 33% of enterprise software applications to include agentic AI by 2028, up from less than 1% in 2024. Two of those three cancellation reasons are infrastructure decisions: what the agent costs to run, and who can prove what it did.
Kubernetes is already where most teams run AI in production. The CNCF Annual Cloud Native Survey found that 82% of container users run Kubernetes in production, and 66% of organizations hosting generative AI models use it for some or all of their inference. So the agent infrastructure question for most companies is whether agents join that estate or live on a separate platform.
What does an AI agent need in production?
A production agent needs eight things, and the gaps between platforms show up in the last four.
Need
Why an agent needs it
What fails without it
Long-running execution
Tool loops wait on models and APIs for minutes or hours
Agent-written code running next to production secrets
Model access and routing
Several model providers, fallbacks, cost tracking
Hard-coded keys and one provider outage taking you down
Scoped identity and audit
Each agent acts with its own least-privilege credential
"The bot did it" in a post-mortem, with no way to tell which bot
A preview environment per change
Agent PRs touch APIs, workers and migrations, not only UI
Agent changes tested against nothing, merged on hope
The first four are the classic backend list. The sandbox and model routing are where Vercel is strong. The last two, identity and full-stack previews, are where most agent projects get stuck once security reviews start, because the agent now holds credentials to real infrastructure.
Which five controls should be in place before an agent touches production?
Before an agent reaches production, put five controls in place: isolation, scoped credentials and secrets, egress rules, an audit trail that names the agent, and cost limits. Security reviews ask about these five first, and each one has a concrete Kubernetes answer.
Control
What it means for an agent
How to do it on Kubernetes
How Qovery handles it
Isolation
The agent, its tools and any code it writes cannot reach other workloads or tenants
One namespace per environment, NetworkPolicies, a separate node pool with gVisor or Kata for untrusted code
Each environment runs in its own namespace; a NetworkPolicy guide blocks traffic between environments; untrusted code goes to a sandbox you pick
Credentials and secrets
Model keys and tool tokens never sit in the image or the prompt, and each agent has its own credential
External Secrets Operator or the CSI driver, one service account per agent
Secret variables that cannot be read back, external secrets from AWS Secrets Manager, GCP Secret Manager and others, and an API Policy Token per agent
Network egress
The agent can reach its model provider and approved tools, nothing else
Egress NetworkPolicies plus a forward proxy with a domain allowlist
A documented egress proxy setup (Squid allowlist, optional NetworkPolicy) deployed as services in the environment
Audit
Every action is recorded under the agent that took it
Kubernetes audit logs plus your own attribution layer, because Kubernetes sees credentials, not agents
Each policy token appears in the audit log as policy:<token-id>:<token-name>
Cost limits
Agents and their environments stop when nobody needs them, and model spend has a ceiling
Resource limits, autoscaling bounds, scheduled scale-down, budgets at the model gateway
Min and max instances per service, deployment rules that stop non-production environments outside working hours, and preview environments deleted when the PR closes; model budgets stay in your gateway
Egress is the control teams skip most often, and it is the one that turns a prompt injection into a data leak. An agent that can call any URL can send whatever it read to any URL. A domain allowlist with the model provider, your Git host and your internal APIs takes an afternoon to set up and closes that path.
What does a Kubernetes reference architecture for AI agents look like?
A Kubernetes reference architecture for AI agents has six parts: the agent runtime, one or more MCP servers, a model gateway, a sandbox tier for untrusted code, state, and observability. Each part runs as its own service with its own credentials, so a compromise or a bug in one part does not hand over the others.
Here is how the pieces connect. A request or event reaches the agent runtime, a long-running Deployment or worker that holds the agent loop (LangGraph, the OpenAI Agents SDK, the Vercel AI SDK on Node.js, or your own code). The runtime never calls a model provider directly. It calls the model gateway, which holds the provider keys, applies fallbacks and enforces budgets. When the agent needs a tool, it calls an MCP server over the network. MCP servers are separate services that wrap one system each (your ticketing, your warehouse, your deploy API), and each one holds only that system's credential. The Model Context Protocol transport spec defines Streamable HTTP for exactly this remote setup. When the agent writes code it wants to run, the code goes to the sandbox tier, which has no production secrets and denies outbound traffic by default. State lives in a database and queue in the same VPC. Observability collects logs, metrics and traces from all of it, and the platform's audit log records who changed what.
Component
What it does
How it runs on Kubernetes
What it can reach
Examples
Agent runtime
Runs the agent loop, plans, calls tools
Deployment (API) or worker, no request timeout, autoscaled on queue depth or CPU
Model gateway, MCP servers, its database; egress through an allowlist proxy
LangGraph, OpenAI Agents SDK, Vercel AI SDK, custom code
MCP servers
Expose tools and data to the agent
One internal-only Deployment per tool domain, no public endpoint
Only the one system it wraps, with that system's credential
Your own MCP servers, vendor MCP servers you self-host
Model gateway
Routes model calls, holds keys, fallbacks, spend limits
Deployment in the cluster, or a managed gateway
Model providers only
LiteLLM Proxy, Vercel AI Gateway, Amazon Bedrock, a self-hosted vLLM endpoint
Sandbox tier
Runs code the agent wrote and nobody reviewed
Separate node pool with a gVisor or Kata Containers RuntimeClass, or an external sandbox service
Nothing by default; open specific domains per task
gVisor, Kata Containers, E2B, Modal, Vercel Sandbox, Northflank, Daytona
Prometheus, Grafana, Datadog, Qovery Observe, the platform audit log
Two design choices matter more than the tool picks. First, keep credentials one hop away from the agent: the gateway holds model keys, each MCP server holds one tool's token, and the agent holds neither. If an agent's context gets poisoned, it can misuse the tools it was given but it cannot read the keys behind them. Second, treat the sandbox as a different trust zone from the rest of the cluster. On your own nodes that means a dedicated node pool and a RuntimeClass that points at gVisor or Kata. The Kubernetes SIG Apps project agent-sandbox adds a Sandbox custom resource for stateful, singleton agent workloads and delegates the isolation itself to runtimes such as gVisor or Kata Containers.
How do you deploy an AI agent on your own cloud, step by step?
To deploy an AI agent on your own cloud, package the agent as a container, run it as a long-running service or worker on Kubernetes in your own AWS, GCP, Azure or Scaleway account, give it a managed database and queue in the same VPC, inject model keys from a secrets manager, give the agent its own scoped credential, and test every change in a preview environment before it reaches production. A platform can do the plumbing, but the order stays the same.
Containerize the agent. Your agent loop becomes a Docker image with a health endpoint. Treat it like any backend service: one image, configuration in environment variables.
Pick the account and the cluster. Run it where your data already lives. That is usually one Kubernetes cluster per environment tier in your own account, or a cluster you already operate. Agents that wait minutes on tools need a service or worker with no request timeout, which rules out most function runtimes for the main loop.
Give it state next to it. Conversation history, task queues and embeddings belong in a managed database (Amazon RDS with pgvector, Cloud SQL, Azure Database for PostgreSQL) and a queue in the same VPC, so the agent never crosses the public internet to reach its own memory.
Handle model access and secrets. Store provider keys in your cloud's secrets manager, call models through a gateway you choose, and restrict egress so the agent can reach the model providers and your internal tools and nothing else.
Give the agent its own identity. One credential per agent, scoped to the exact actions it needs, with every call recorded under that credential. This matters twice: for the agent you deploy, and for the coding agents (Claude Code, Cursor, Codex) that deploy it.
Test changes in a full-stack preview. Every pull request that touches the agent, its API or a migration gets an isolated copy of the environment, database included, and the copy disappears when the PR closes.
Watch cost and behavior. Tag agent workloads, set budgets, stop non-production agents outside working hours, and keep logs and traces in your own account for the post-mortem you will eventually need.
Step
DIY on EKS, GKE or AKS
With Qovery in your account
Cluster in your account
You build and upgrade it
Qovery creates and upgrades it, or you connect an existing cluster
Build and deploy the agent image
CI pipeline plus Helm or Argo CD
Git-push deploy; images pushed to a registry in your account
Database and queue
Terraform modules you maintain
Managed services through Blueprints (e.g. Amazon RDS)
Secrets and model keys
External Secrets or CSI driver
Secret variables and secrets manager integrations
Scoped agent identity and audit
Kubernetes RBAC plus your own attribution layer
API Policy Tokens (OPA) and per-agent audit entries
Preview environment per PR
ApplicationSet templates, DNS, TLS, data
Cloned from a blueprint environment, deleted on merge
How do you deploy an agent service and an MCP server with Qovery?
You deploy them as two applications in the same Qovery environment: the MCP server with no public endpoint, the agent service pointing at it through a built-in internal hostname, and model keys stored as secrets. Every step below comes from the Qovery documentation, and each one links to its page. If you would rather have a coding agent do it, skip to the hand-off section further down.
Before you start. You need a Qovery account (the Free plan works, no credit card) and a cluster. Either let Qovery create a cluster in your cloud account, connect a Kubernetes cluster you already run with the Qovery Operator, or try everything on your laptop with qovery demo up, which creates a local k3s cluster in Docker (try it with an agent). Both services need a Dockerfile in their repository, and both must listen on 0.0.0.0, not localhost.
Create a project and an environment. In the Console, open your organization, click New Project, then inside the project click Create Environment, pick a type (PRODUCTION, STAGING or DEVELOPMENT) and the cluster to deploy to (Deploy your first application). Each environment runs in its own Kubernetes namespace.
Add the MCP server as an internal application. In the environment, click New Service, then Create application. Name it mcp-server, choose Git Repository as the source, pick the repository, branch and root path. Set the port your server listens on (for example 8080) and leave Publicly Accessible off, so only services inside the cluster can call it. Add a liveness and a readiness probe on a health path (application settings).
Add the agent service. Create a second application, agent, the same way. If it serves an API, set its port and turn Publicly Accessible on with external port 443. If it is a pure worker that consumes a queue, it needs no public port. Set CPU, memory and minimum and maximum instances. The application docs note that event-driven (KEDA) autoscaling can set the minimum to zero for sporadic workloads.
Point the agent at the MCP server. Qovery injects built-in variables for service interconnection, such as QOVERY_APPLICATION_<NAME>_HOST_INTERNAL. On the agent, create a variable that interpolates them, for example MCP_SERVER_URL set to http://{{QOVERY_APPLICATION_MCP_SERVER_HOST_INTERNAL}}:{{QOVERY_APPLICATION_MCP_SERVER_PORT}}/mcp (environment variables). Replace /mcp with the path your server uses.
Store model keys as secrets. Add the model provider key as a secret variable. Secret values are encrypted and cannot be read back through the Console or the API. If your keys already live in AWS Secrets Manager or GCP Secret Manager, use external secrets so the value is fetched at deployment time instead of copied. On AWS, the AWS Bedrock Access blueprint creates an IAM policy limited to the models you name.
Add the agent's database. For state and embeddings on AWS, add the Amazon RDS for PostgreSQL blueprint to the same environment and expose its connection details to the agent through variables or aliases.
Restrict outbound traffic. Follow the egress proxy guide: a Squid proxy in the environment enforces a domain allowlist (your model provider and your Git host, for instance), the agent's proxy variables route traffic through it, and an optional NetworkPolicy stops the agent from bypassing it. Add the environment isolation policy if several environments share the cluster.
Deploy and watch. Click Deploy on the environment (or Create and Deploy when you create each service). Qovery builds both images, pushes them to a registry in your account and deploys them. Follow progress in the deployment logs, and use Qovery Observe for metrics and logs that stay in your infrastructure.
Give the agent a scoped identity. If the agent itself calls the Qovery API (to redeploy, roll back or read logs), create an API Policy Token in your organization settings, under the Token API section (labelled Policy API Token in the Console). Only an organization Owner or Admin can create one. The Console pre-fills a policy that reads one environment, writes one service and deploys that environment, with no deletion. Policies cannot be edited, so you delete and recreate the token to change one, and expiration is set through the API only. The policy examples cover common agent jobs such as rolling back a bad release or stopping idle environments.
Set cost limits. Add a deployment rule that stops development and staging environments outside working hours, and turn on preview environments so each pull request gets its own copy that is deleted when the PR closes. Model spend limits belong in your gateway or provider account.
At the end you have two services in your own account, one of them unreachable from the internet, a database next to them, an allowlist on outbound traffic, and an agent credential that shows up in the audit log under its own name.
Which sandbox should run your agents' untrusted code?
Pick a sandbox by where it has to run and how long sessions last. E2B, Modal and Vercel Sandbox are hosted services with per-second or per-hour billing. Northflank and Daytona can run sandboxes in your own cloud, and E2B's runtime is open source. Kubernetes with gVisor or Kata Containers gives you the same isolation on your own nodes at the cost of operating it.
Prices and limits below come from each vendor's own pricing page or documentation, checked 23 Nov 2026. Hourly figures are converted from per-second rates where the vendor bills per second.
gVisor: user-space kernel that intercepts system calls. Kata: lightweight VMs with a dedicated kernel (QEMU, Cloud Hypervisor or Firecracker)
Your own cluster, on a dedicated node pool through a RuntimeClass
Whatever you configure
Open source; you pay for the nodes and the engineering time
Teams with a platform team that want sandboxes next to the rest of their estate
Qovery
Not an execution sandbox
Your account or cluster
Not applicable
Not applicable
Deploying and governing the agents, MCP servers and databases around the sandbox you pick
A few things the table does not show. Hosted sandboxes are the fastest path and the easiest to price per task, but the code and any data you pass in leave your account. Self-hosting E2B or Daytona's Bring Your Own Compute keeps execution on your infrastructure while the vendor still runs a control plane. Raw gVisor or Kata gives you full control and the full operating burden. If you want a longer read, I compared the best AI coding agent sandboxes and wrote a practical Claude Code sandbox guide.
Qovery is not one of these, and I would rather say it plainly than blur it. Qovery deploys and governs the long-running agents, MCP servers and databases in your account. The step where an agent executes code nobody reviewed belongs in one of the options above.
How do coding agents fit into this setup?
Coding agents fit in two places: they write and ship the agent code, and they sometimes operate the infrastructure afterwards. Both need the same treatment as a production agent, meaning a scoped credential, a place to test, and an audit trail.
When Claude Code, Cursor or Codex opens a pull request that changes the agent, its MCP server or a migration, the change should run in a full-stack preview environment, database included, before a human reviews it. Frontend-only previews miss most of what an agent changes in a backend; I covered that gap in preview environments for AI coding agents.
When a coding agent deploys or troubleshoots, it should call a platform API with a scoped token rather than hold a kubeconfig or cloud admin keys. The Qovery MCP Server is read-only by default, and the Agent Skills give the coding agent a documented path for deploying instead of improvised cloud CLI calls. For agents that need write access, an API Policy Token limits them to the exact actions in their policy. The longer argument is in how to let AI coding agents deploy without handing them your cloud account.
Run your agents, backends and databases in your own cloud.
Qovery deploys AI agents and the services around them into your own AWS, GCP, Azure or Scaleway account, or your existing Kubernetes cluster, with scoped API Policy Tokens and per-agent audit trails. The Free plan includes unlimited AI agents.
Vercel covers the build-and-run loop for TypeScript and Python agents very well, and it covers it on Vercel's own compute. The pieces fit together, which matters more than any single feature.
The AI SDK is an open-source TypeScript toolkit for calling models, streaming responses and defining tools. AI Gateway sits in front of many model providers behind one endpoint, so you can switch models, set fallbacks and track spend in one place. Fluid compute bills functions on Active CPU, which suits agents because time spent waiting on a model does not count. On the Pro plan, Active CPU costs $0.128 per hour and provisioned memory $0.0106 per GB-hour for functions.
For code the agent writes, Vercel Sandbox runs untrusted or agent-generated code in isolated Firecracker microVMs, with snapshots and persistent sandboxes. Drives, persistent volumes you mount into a sandbox, became generally available on October 15, 2026, at $0.05 per GB-month on Pro. For long work, Vercel Workflows pause and resume durable steps, and Queues handle message processing.
The newest piece is Daemons, long-running background processes built from container images, such as queue consumers and workflow workers. Daemons entered public beta on October 15, 2026. During the beta they run in production only, preview deployments are not supported, there is no autoscaling and no persistent storage, and you set instance counts per region by hand. They cost $0.128 per Active CPU-hour and $0.0212 per GB-hour of provisioned memory on Pro.
Plans are simple to read: Hobby is $0, Pro is $20 per month with a $20 usage credit, and Enterprise is custom. Vercel Functions run up to 800 seconds on Pro and Enterprise, with a 30-minute extended maximum in beta, and up to 4 GB of memory and 2 vCPUs (Vercel Functions limits).
If your agent is a TypeScript feature inside a Next.js product, calls hosted models, and keeps its state in a Marketplace database, this stack is hard to beat. I would not move that agent anywhere.
Is Vercel BYOC enough to run AI agents in your own cloud?
No, not for an agent that comes with a backend and a database. Vercel BYOC moves one thing into your account, Vercel Functions, and only on AWS. It does not move the data path, the workers or the storage.
Here is what Vercel's BYOC documentation says, as of November 19, 2026. BYOC is available on Enterprise plans and became generally available on AWS. It runs the Vercel Functions behind your project as AWS Lambda functions in your own AWS account, while "Vercel still routes requests, serves static assets, and manages the deployment". The Vercel CDN receives each request and terminates TLS, and your function's response returns through Vercel to the client. The supported runtimes are Node.js and Python. Functions on the Edge runtime or the container runtime, and Services, are not supported. You run the builds on your own machines or CI, and your team owns the IAM roles, the networking, the AWS quotas and the cleanup of old deployments.
Vercel is candid about the limits. Under "When not to use BYOC", the docs list the case where "all traffic must stay in your account", because requests and responses pass through Vercel, and the case where your team cannot own AWS operations.
Agent component
Vercel default
Vercel BYOC
In your own account with Qovery
Agent API as a Node.js or Python function
Vercel
Your AWS account (Lambda)
Your account, as a container
Request and response path
Through Vercel
Through Vercel (TLS ends at Vercel's CDN)
Your load balancer
Long-running worker
Daemons (beta) on Vercel
Stays on Vercel
Your account
Agent database and vector store
Marketplace partner
Marketplace partner
Managed DB (e.g. RDS) or container DB in your account
Sandbox for untrusted code
Vercel Sandbox
Stays on Vercel
Not offered; pair with a sandbox provider
Containers, Helm charts, Terraform modules
Container functions, Services
Not supported
Supported
Clouds
Vercel regions
AWS only
AWS, GCP, Azure, Scaleway, any Kubernetes cluster
Plan
Hobby, Pro, Enterprise
Enterprise only
Every plan, including Free
There is a second Enterprise option that often gets confused with BYOC. Secure Compute gives your functions a dedicated VPC with static IPs, VPC peering and site-to-site VPN. Vercel describes it as a dedicated network "that Vercel runs on your behalf". It gives your functions private connectivity to your databases, and the functions still run on Vercel.
So BYOC is enough in one specific case: your agent is a Node.js or Python function, you are on AWS, you are on Enterprise, and your security team accepts that request and response data transits Vercel. If the agent also has a worker, a database, a vector store or a GPU service that must sit in your account, BYOC leaves all of those where they were.
Which platforms let you run AI agents with their backends and databases in your own cloud account?
Three options run the whole agent stack inside an account you own: Qovery, Northflank, and a self-built platform on EKS, GKE or AKS. Render and Railway are good agent platforms that host for you. Vercel sits on both sides of the line depending on the plan. For a ranked list judged on guardrails and audit, see our comparison of platforms for deploying AI agents in production.
Platform
Where the agent runs
Backends, workers, cron
Databases in your account
Clouds
Preview env per PR (full stack)
Agent permissions and audit
Untrusted-code sandbox
Vercel
Vercel; Lambda in your AWS with Enterprise BYOC
Functions, Services, Daemons (beta)
No, Marketplace partners
Vercel regions; AWS for BYOC
Frontend and functions; Daemons excluded in beta
Team roles, deployment protection
Yes, Vercel Sandbox
Qovery
Your account or cluster
Yes
Yes, managed (e.g. RDS) or container
AWS, GCP, Azure, Scaleway, any cluster
Yes, cloned from a blueprint environment
API Policy Tokens (OPA), per-agent audit, read-only MCP by default
No
Northflank
Northflank cloud or your account (BYOC)
Yes
Yes, in your VPC with BYOC
AWS, GCP, Azure, Oracle, CoreWeave and others
Yes
Team RBAC, API tokens
Yes, microVMs and gVisor
Render
Render's infrastructure
Yes, workers, cron, Workflows
No, Render Postgres on Render
Render regions
Yes
Team roles
Yes, Render Sandboxes
Railway
Railway's infrastructure
Yes
No, on Railway
Railway regions
Yes
Team roles
No dedicated product
Raw EKS / GKE / AKS
Your account
Yes, you build it
Yes
Each provider separately
You build it
Kubernetes RBAC, you build attribution
You add one (e.g. gVisor, Kata)
Northflank is the closest peer to Qovery here, and I will say so plainly. Its BYOC mode keeps workloads, databases, logs and secrets in your VPC, and its sandboxes run as microVMs (Cloud Hypervisor) or gVisor for GPU workloads, in your VPC too. If running untrusted agent code is central to your product and you want it in your own account, Northflank covers that in one platform, and Qovery does not.
Render has leaned into agents with Render Sandboxes and Render Workflows, next to background workers, cron jobs and managed Postgres. It is a strong choice for a team that wants agents, workers and a database on one managed bill. The workloads run on Render's infrastructure, so it does not answer the own-account question.
Railway gives small teams the fastest path from a repo to a running service and database on Railway's platform. Same trade as Render: great developer experience, vendor-hosted.
Raw EKS, GKE or AKS gives you everything and asks for everything. The control plane is cheap, $0.10 per cluster per hour on EKS standard support ($0.60 per hour once a version moves to extended support). The cost is the platform you build around it: per-PR environments, RBAC that maps to your teams, a policy layer for agent credentials, upgrades every few months, and on-call. If you already have a platform team with Argo CD, Helm and Terraform in place, this is a legitimate answer.
Qovery sits on top of your cloud account or cluster and gives you the platform without building it, which is the part I know best, so I cover it in its own section.
How do you govern AI agents that deploy and operate infrastructure?
You give each agent its own credential, scope that credential to the exact actions the agent needs, record every call under that credential, and give agent changes an isolated place to run before they merge. Kubernetes alone does not do the attribution part, which is why we built it into Qovery.
Kubernetes authenticates credentials and has no idea which agent holds one. I went through the details, field by field, in how to get per-agent attribution and audit trails on Kubernetes. The short version is that if three agents share one token, your audit log shows one actor.
On Qovery, agents call the Qovery API instead of holding a kubeconfig. API Policy Tokens are organization tokens whose authorization comes from an Open Policy Agent policy written in Rego. You can allow an agent to redeploy and roll back one environment and deny everything else at the API level. The policy fails closed: anything other than an explicit allow is denied. Each token shows up in the audit log as its own actor, policy:<token-id>:<token-name>, so a post-mortem can tell the triage agent from the deploy agent.
The Qovery MCP Server is read-only by default. Write access needs an explicit flag in the agent configuration and write access enabled in the Qovery Console, so a curious agent cannot change production by accident. Agent Skills (qovery-deploy, qovery-preview, qovery-troubleshoot and others) give coding agents such as Claude Code, Cursor and Codex a documented way to deploy, so they do not improvise with raw cloud CLIs.
The last piece is the preview environment per pull request. When an agent opens a PR that changes an API, a worker and a migration, Qovery clones the environment, database included, runs the change in your account, and deletes it when the PR closes. I wrote about why frontend-only previews are not enough for agent-written backends in Vercel preview environments vs full-stack previews.
How does Qovery run agents, backends and databases in your own cloud?
Qovery is the Agentic DevOps platform we build. The control plane is ours, and the data plane is your cloud account or your Kubernetes cluster. We never host your applications.
You connect an AWS, GCP, Azure or Scaleway account, and Qovery creates and operates a Kubernetes cluster there, or you connect a cluster you already run by installing the Qovery Operator with Helm (EKS, GKE, AKS, Kapsule, k3s or on-premise, Kubernetes 1.31 and up). Qovery never stores your kubeconfig; the Operator opens an outbound connection and runs deployments inside your cluster (BYOK docs). From there, an agent service and its MCP servers are containers like any other. They deploy on git push, sit next to their API and workers in one environment, and get a database from a managed cloud service such as Amazon RDS through Blueprints, or a container database for development. Secrets come from secret variables or your secrets manager integration, and GPU node pools are available per service on Qovery-managed clusters when an agent needs local inference.
Because the workloads run in your account, the bill is yours too. AWS Savings Plans, Google Cloud committed use discounts and Azure reservations apply to agent compute the same way they apply to the rest of your estate.
There are three things Qovery does not do. It is not an execution sandbox, so if your agents run code nobody reviewed, keep Vercel Sandbox, Northflank, E2B or a similar isolation layer for that step. Qovery does not include a model gateway either, so your agents call model providers directly or through a gateway you choose, including Vercel's AI Gateway or a LiteLLM proxy you deploy as a service. Cross-cloud networking is not built in. If an agent on AWS must reach a database on GCP, you configure it with a VPN, Cilium Cluster Mesh or Tailscale.
On pricing, the Free plan covers 3 users plus unlimited AI agents, one Kubernetes cluster of your own and 1,000 deployment minutes a month, with no credit card. Paid plans (Starter, Growth, Scale and Enterprise) are on the pricing page. Bring-your-own-Kubernetes works on every plan. To try the flow before touching a cloud account, qovery demo up creates a local k3s cluster in Docker on your laptop (quickstart).
Which option should you pick for your AI agents?
Pick by where the agent's data has to live and by what the agent touches, then by developer experience.
TypeScript agents inside a web app, hosted models, no residency requirement: Vercel. Use the AI SDK, AI Gateway and Sandbox, and keep it simple.
Running untrusted, agent-generated code is the product: a dedicated sandbox. E2B, Modal or Vercel Sandbox if hosted is fine; Northflank, Daytona's Bring Your Own Compute or a self-hosted E2B runtime if it must run in your own account. Qovery is the wrong tool for that step.
Agents with workers and a database, one managed bill, no own-account requirement: Render or Railway.
Agents, MCP servers, backends, databases and per-PR environments in your own AWS, GCP, Azure or Scaleway account, with scoped agent permissions and audit: Qovery, or Northflank if its sandboxes tip the balance.
You already run a platform team on EKS, GKE or AKS with GitOps: raw Kubernetes, plus gVisor or Kata for the sandbox tier and a policy and attribution layer for agent credentials.
Function code must run in your AWS account, you are on Vercel Enterprise, and traffic through Vercel is acceptable: Vercel BYOC.
The hybrid setup is common and sensible. Keep the Next.js frontend and the AI SDK agent UI on Vercel, and run the long-running agents, workers, databases and vector stores in your own account with Qovery. The two talk over authenticated HTTPS or private networking. If you want the one-page version of that comparison, it lives on Qovery vs Vercel, and the broader list of options is in our Vercel alternatives guide.
How do I hand this setup to my coding agent?
Install the Qovery Agent Skills and the MCP Server, then ask your agent in plain language. These are the only commands you need:
BASH|Agent Skills: one install, every compatible agent (Claude Code, Cursor, Codex, OpenCode, Gemini CLI...)
curl -fsSL https://skill.qovery.com/install.sh | bash
# Project-scoped instead of global
curl -fsSL https://skill.qovery.com/install.sh | bash -s -- --project
# MCP Server for Claude Code: OAuth, read-only by default
claude mcp add --transport http qovery https://mcp.qovery.com/mcp --callback-port 4242
# MCP Server with write access, only when explicitly wanted (also needs write access enabled in the Qovery Console)
claude mcp add --transport http qovery "https://mcp.qovery.com/mcp?read_write=true" --callback-port 4242
The skills deploy (qovery-onboard, qovery-deploy, qovery-troubleshoot, qovery-optimize, qovery-speedup, qovery-preview, qovery-terraform), and the MCP Server operates what already exists. After installing, ask something like "deploy this agent service, its MCP server and a Postgres database to my AWS account with Qovery, keep the MCP server private, and give me a preview environment per pull request". The agent proposes a plan and you approve each step. The AI agent quickstart and the Claude Code integration have the details.
Related guides
Each part of this guide has a deeper article. Start with the one that matches the decision in front of you.
Package the agent as a container, deploy it as a long-running service or worker on Kubernetes in your own AWS, GCP, Azure or Scaleway account, and give it a managed database, a queue and secrets in the same VPC. Put its tools behind internal MCP servers, restrict outbound traffic to an allowlist, give each agent its own scoped credential, and test changes in a preview environment per pull request. Qovery does these steps in your account from a git push, or your coding agent can do them through the Qovery Agent Skills after you approve the plan.
What is agentic infrastructure?
Agentic infrastructure is the infrastructure AI agents run on and the infrastructure they operate. It covers long-running compute, state and databases, private network access, sandboxes for untrusted code and model access, plus a control surface where each agent has a scoped identity and an audit trail. Vercel uses the term for its agent runtime; platforms like Qovery focus on running and governing agents inside your own cloud account.
What does a Kubernetes architecture for AI agents include?
It includes an agent runtime (a Deployment or worker), one internal MCP server per tool domain, a model gateway that holds provider keys and budgets, a sandbox tier on a separate node pool with gVisor or Kata Containers (or an external sandbox service), a database and queue in the same VPC, and observability with an audit log. Each part runs with its own credentials so one compromised part does not expose the others.
Which sandbox should I use for agent-generated code?
Use a hosted sandbox such as E2B, Modal or Vercel Sandbox if the code and data can leave your account, and Northflank, Daytona's Bring Your Own Compute or a self-hosted E2B runtime if they cannot. Teams with a platform team can run gVisor or Kata Containers on their own Kubernetes nodes. Qovery is not an execution sandbox; it deploys the agents, MCP servers and databases around the sandbox you choose.
Can Qovery deploy an MCP server next to my agent?
Yes. An MCP server is an application in the same Qovery environment as the agent, with Publicly Accessible turned off so only services inside the cluster reach it. The agent finds it through Qovery's built-in internal hostname variables, and both run in your own cloud account or cluster.
Is Vercel BYOC enough to run AI agents in our own cloud?
Only if your agent is a Node.js or Python Vercel Function, you are on AWS and on Vercel Enterprise, and your security team accepts that requests and responses pass through Vercel. BYOC runs functions as Lambda in your AWS account, but TLS terminates at Vercel's CDN, and databases, Daemons, Sandbox, containers and Services stay outside your account. Agents with workers and databases need a platform that deploys the whole stack into your account.
Which platforms let you run AI agents with their backends and databases in your own cloud account?
Qovery and Northflank run agents, backend services and databases inside your own cloud account while they operate the control plane. Qovery supports AWS, GCP, Azure, Scaleway and any existing Kubernetes cluster; Northflank supports AWS, GCP, Azure, Oracle Cloud and others. You can also build it yourself on EKS, GKE or AKS. Render, Railway and Vercel's default plans host agents on their own infrastructure.
Can I keep my agent UI on Vercel and run the agents in my own cloud?
Yes, and it is the setup I recommend most often. Keep the Next.js app, the AI SDK and AI Gateway on Vercel, and run long-running agents, workers, databases and vector stores in your own account with Qovery. Connect them over authenticated HTTPS, and keep model keys and regulated data on the backend side.
Romaric founded Qovery to make Kubernetes accessible to every engineering team. He writes about platform strategy, developer experience, and the future of cloud infrastructure.
Next step
Run your agents, backends and databases in your own cloud.
Qovery deploys AI agents and the services around them into your own AWS, GCP, Azure or Scaleway account, or your existing Kubernetes cluster, with scoped API Policy Tokens and per-agent audit trails. The Free plan includes unlimited AI agents.