Week of Nov 9: Worker sizes
Choose your workers’ CPU and memory
Until now, every managed worker could use at most 1 GB of memory, so an agent whose tool loads a large index or a day of logs was stopped each time the tool ran, with no setting to change. You can now choose a worker size for each environment, or a default for the project that every environment without its own size inherits.
Sizes run from Micro (0.25 vCPU, 0.25 GB) to Medium 2x (2 vCPU, 4 GB) at launch. The list can change, so check the current one with agnt5 worker-size list or in Studio. A size’s memory is a hard ceiling. Its CPU is guaranteed, and can burst to 2 vCPU when the machine has room.
agnt5 worker-size list # the sizes on offer
agnt5 worker-size show # the project default and each environment's size
agnt5 worker-size set medium-1x --env production # one environment
agnt5 worker-size set small-2x # the project defaultIn Studio, go to Settings → Environments and choose Change size on an environment. The Deployments table and each deployment’s page show the size it runs at, as do agnt5 deploy status and agnt5 deployment status.
- Sizes belong to environments, not deploys. A deploy, promotion, or rollback never changes a size, so a build promoted from preview runs at production’s size.
- Nothing changes until you set a size. Environments that were already deployed keep the CPU and memory they have today.
- A resize replaces running workers. The old workers keep serving until the new ones are ready, and runs in progress resume on a new worker. A workflow step or tool call that was cut off can run again, so make tools with outside effects safe to repeat.
- Sizes fit your plan’s quota. A size that doesn’t fit is refused before anything changes, with an error that says what the project would need.
Worker sizes covers how a size is chosen, what a resize does to running work, and what to do when a worker runs out of memory.
CLI
agnt5 worker-sizelists, shows, sets, and clears worker sizes. Runagnt5 updateto get it.agnt5 deploy statusandagnt5 deployment statusprint the size a deployment runs at.