Vibeleaderboard
← All Intel
Intel / post

Cua Fleet Adds Declarative Sandbox Pools and a Terraform Provider

Source
x.com
Date
Cua@trycua

1/​ Starting today: Infrastructure Field Notes - short clips from Robert, our Chief of Infra, explaining how we think about sandboxes and the systems behind them. First up: declarative configuration for sandbox pools in Cua Cloud Fleet 📷

Context

Cua runs Fleet, a cloud service that keeps pools of virtual desktops and other sandboxes ready for AI agents. In the first of a series of short clips from its infrastructure lead, Cua argues that code is good for controlling sandboxes but awkward for provisioning them. Many services make you configure pools and warm pools, sandboxes kept running so an does not wait for one to boot, through code. Cua's alternative is a declarative API in its SDK: you apply a configuration describing the pool, and the system decides whether to create it, update it or leave it alone. The clip compares this to why infrastructure engineers like Kubernetes and Terraform, and says Cua also offers a Terraform provider. This account comes from an automatic transcript of the clip's audio. Its visuals were not examined.

The provider's current documentation, for a version published in mid-September after the clip, shows what a declaration contains: a pool name, CPU and memory per sandbox, the disk image to boot, and a size. Size comes in one of two forms, never both: a fixed number of warm sandboxes, or autoscaling with a minimum, starting and maximum pool size. Destroying the resource removes the pool and the namespace it owns, and a command can export an SDK-made pool as Terraform. A team can then keep its agent sandboxes in version-controlled configuration and review changes to them the way it reviews other infrastructure changes. That matters for jobs such as Cua's managed Omarchy desktops, where Cua describes the routine as creating a pool, claiming a sandbox, running the job and deleting the pool.

Terms in this piece · Glossary
  • sandbox — An isolated environment where AI-generated code or agent actions run without being able to touch anything real.
  • AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
More from Cua
Recommended reads
Comments

Checking sign-in…

Loading comments…