Why Novita
- An isolated runtime for every agent. Each sandbox has its own filesystem and runtime, so AI-generated code runs apart from your systems and from other sandboxes. Access to the sandbox controller is authenticated by default, so only your credentials can run commands or read files on a machine.
- Templates built like Docker images. Start from any Docker image, including private registries on AWS, Google Cloud, Oracle, and Huawei Cloud, layer on packages, files, and environment variables, and set each template’s CPU and memory. Every machine from the template starts ready to work, and the
basetemplate works with no setup at all. - Network controls and secrets. Deny all outbound traffic and allow only the hosts and networks an agent needs, by IP range, hostname, or wildcard domain. Novita’s secrets hold a placeholder in the sandbox and substitute the real value only in HTTPS request headers to hosts you allow, so the credential never lands on the machine.
- Pay for what runs. Billing is per second for CPU and RAM, and each sandbox includes 20 GB of ephemeral storage.
Set up a Novita pool
1
Create an API key
On the Novita Key Management page, create an API key. Store the key as an org-owned secret in Omnara.
2
Choose a template
The template is the blueprint each machine starts from, and it sets each machine’s CPU and memory. Novita’s See Novita’s template guide.
base template works as is and gives each machine 2 vCPUs and 1 GB of memory.To build your own, start from a Docker image or Dockerfile that meets the custom image requirements, and set its size when you build it. For example, with the novita CLI:3
Create the pool
On the Machines page, click New pool and choose Novita. Enter the credential, the template, the CPU and memory maximums, and capacity limits. The maximums must be at least the template’s size.Novita ends each machine after 30 days.To use the API instead, call Create a pool with the fields under API fields. The dashboard can’t set the domain, so to use another Novita region, set
domain through the API.API fields
When you create a pool through the API, send these fields in the Create a pool request.provider_config applies to the whole pool, and default_machine_provider_options sets the options for each new machine, which project grants and agent configs can override. For example:
templateis a template ID, name, ornamespace/name, without a tag, such asbase. The template sets each machine’s size, so CPU and memory defaults are optional, and the maximums must be at least the template’s size.domainselects the Novita region. Omit it to useus-phx-1.sandbox.novita.ai. The region must support Novita secrets.- Optional:
startup_scriptindefault_machine_provider_optionsruns on each new machine before the daemon starts, andallowed_templatesinprovider_configis an allowlist.