How it works
- You create a Novita machine pool in Omnara and fill in the Novita API Key and template.
- When an agent starts or calls
create_machine, Omnara creates a sandbox from that template through the Novita API. - Omnara starts its daemon
omnaradin the sandbox. The daemon connects back to Omnara on its own, and the agent’s commands are then sent down that connection and executed in the sandbox. - When the machine is released or the agent is archived, Omnara deletes the corresponding sandbox.
Prerequisites
- An Omnara account: Omnara Cloud or a self-hosted instance.
- A Novita account.
- If Omnara is self-hosted: the instance must have a public HTTPS address that the Novita network can reach (
OMNARA_PUBLIC_URL). The daemon downloads the install script from that address and establishes the connection, so an instance that only listens onlocalhostcannot use any cloud sandbox.
Setup
Create a Novita API Key
Create an API Key on the Key Management page in the Novita console.Choose a template
The template determines each machine’s system environment, CPU and memory. Use thebase template
Novita’s base template works as-is: 2 vCPU, 1 GB memory, and Debian 12. Commands run as the user account, and the home directory is /home/user.
Use a custom template
A custom template must meet the following conditions for Omnara to install and start the daemon in it:
- The runtime user has a writable
HOME(or setsOMNARA_HOME). - A POSIX shell and common tools:
curl,base64,sha256sumorshasum. - Outbound access to the Omnara API (HTTPS and WebSocket).
CLI
Save the API Key in Omnara
Save the Novita API Key as an organization-level secret. On the dashboard, open Organization → Secrets in Omnara, create a new secret, and paste the API Key. You can also create it inline by clicking New secret in the next step when you create the machine pool.
Create a Novita machine pool
On the dashboard:- Select All projects in the project switcher, open Machines, click New pool, and choose Novita.
- Select the API Key secret from the previous step.
- Enter the template name or template ID, for example
base. - Enter the per-machine CPU and memory limits and the total pool capacity. The limits must be no smaller than the template’s size.
domain or the working directory; use the API when you need them.

CPU and memory are determined by the template, so
default_machine_cpu and default_machine_memory_mb can be left empty.
Grant the machine pool to a project
Machine pools belong to the organization, and a project can use one only after it is granted access. On the dashboard, add the project grant in the machine pool’s details.Step 6: Use it in the agent configuration
Reference the machine pool by name inmachine_sources in agent.yaml:

provisioning to online in Omnara, the agent can execute commands in it. You can see the sandbox in the Novita console or with novita sandbox list; it carries omnara-machine metadata.
