Google Cloud Debuts Cloud Run Instances for Stateful Serverless AI Agents
Google Cloud has introduced Cloud Run instances in public preview, introducing a dedicated singleton compute resource to the Cloud Run ecosystem alongside existing stateless services, scheduled jobs, and worker pools. Under this new execution model, developers can deploy a single container that runs continuously for up to seven days with automated restart policies. The runtime assigns a persistent HTTPS endpoint that remains unchanged across restarts and configuration updates, while offering lifecycle control to stop and resume instances on demand. Compute pricing leverages shared vCPU allocations with burst capacity, dropping continuous execution costs for a 1 vCPU and 1 GiB memory profile to approximately $5.70 per month.
This release matters because the emergence of autonomous AI agents—such as background workers interacting with APIs, messaging clients, and long-running reasoning loops—has broken traditional Function-as-a-Service (FaaS) assumptions. Until now, hosting state-aware or always-listening agents required either provisioning dedicated Compute Engine virtual machines, which entails handling operating system patches, custom firewalls, and manual endpoint configuration, or shoehorning them into autoscaling serverless containers that suffer cold starts and aggressive invocation timeouts. Cloud Run instances provide the operational simplicity and security sandboxing of serverless while maintaining the lifecycle guarantees necessary for persistent agent processes, delivering measured cold-start reductions of up to 88% in production agent deployments.
The update highlights a broader architectural convergence taking place across 2026 serverless platforms. The definition of serverless has evolved from rigid, ephemeral function handlers toward flexible compute abstractions that accommodate diverse runtime lifecycles. Major cloud providers are retooling their serverless engines—such as AWS expanding MicroVM capabilities and Azure aligning Functions with Container Apps—to cater to AI-driven, persistent, and agentic compute patterns that do not fit traditional event-driven molds.
In practice, DevOps and platform engineers can deploy long-running agent workloads like OpenClaw or proprietary reasoning bots directly via the gcloud CLI with volume mounts to Cloud Storage for persistent state. Teams evaluating this runtime should note that Cloud Run instances do not horizontally autoscale by default; they are purpose-built for singleton tasks where continuous presence and cost predictability supersede dynamic concurrency scaling.
Read original source