AGENT SANDBOX

AI Agent Sandbox for Secure AI Code Execution and Automation

Secure, programmable sandboxes for AI-generated code, browser workflows, computer use, and long-running tasks.

Agent Sandbox — GPU Cloud, Agent Applications, Model APIs diagram
Built for AI-native workloads

From agent execution to evals and RL

Support the full range of AI-native workloads—from coding agents and browser automation to evaluations, reinforcement learning environments, and long-running workflows.

01

Coding Agents

Run agents that write, execute, and iterate on code in isolated sandbox environments.

Learn more
02

Browser Automation

Power agents that browse the web, complete multi-step tasks, and extract structured results.

Learn more
03

Computer Use

Enable agents to interact with full desktop environments for GUI-based workflows and human-like actions.

Learn more
04

Evaluations & RL

Run repeatable evaluation and reinforcement learning workloads in controlled environments for testing, training, and iterative optimization.

Learn more
05

AI-Powered CI/CD

Run code review, test generation, and validation workflows in isolated sandboxes across your CI/CD pipelines.

Learn more
06

Long-running Workflows

Keep multi-step agent tasks running across extended sessions without breaking execution flow.

Learn more
Agent Sandbox

Fast startup. Strong isolation. Massive concurrency.

Launch sandbox instances in milliseconds, isolate every task, and scale to thousands of concurrent executions for real-world agent workloads.

Sub-second startup under 200ms

Sub-second startup

Launch sandbox instances in under 200ms on average, optimized for bursty and high-frequency workloads.

Secure isolation tasks

Secure isolation

Each task runs in an isolated sandbox with system-level separation to reduce data leakage and unauthorized access risks.

High concurrency at scale

Run thousands of sandbox instances in parallel with consistently low latency for high-throughput agent workloads.

Operating 1,159 instances
Sandbox Capabilities

Core runtime capabilities

Everything agents need to execute code, interact with systems, and stay in control across real-world workflows.

001
Code Execution

Code Execution

Run Python, JavaScript, C++, and other languages in a secure sandbox.

002
External APIs

External APIs

Allow agents to access external APIs and online data as needed.

003
Browser Use

Browser Use

Automate web navigation, form filling, and data extraction inside the sandbox.

004
Computer Use

Computer Use

Control full desktop environments for typing, clicking, scrolling, screenshots, and other GUI actions.

005
Persistent Sessions

Persistent Sessions

Pause and resume long-running agent tasks without losing state.

006
Live Session View

Live Session View

View and stream sandbox sessions with VNC for interactive monitoring and debugging.

Code examples

Run agents in a few lines of code

Install the SDK, set your API key, and start a sandbox for a coding agent or a full desktop.

pip install novita-sandbox
npm i novita-sandbox

SDK installation
1import os
2from novita_sandbox import Novita
3
4novita = Novita(api_key=os.environ["NOVITA_API_KEY"])
5
6# The codex template ships with Codex pre-installed
7sandbox = novita.sandbox.create(
8    "codex",
9    timeout=3600,
10    envs={"CODEX_API_KEY": os.environ["CODEX_API_KEY"]},
11)
12
13try:
14    # Run Codex non-interactively: take a prompt, print the result, exit
15    execution = sandbox.commands.run(
16        'codex exec --full-auto --skip-git-repo-check "Write a FizzBuzz script and run it"',
17        on_stdout=lambda data: print(data, end=""),
18        timeout=0,
19    )
20    print(execution)
21finally:
22    sandbox.kill()
23

Run Codex non-interactively in an isolated sandbox: it reads and edits code, runs commands, and returns the result.

Codex guide
Pricing

Flexible, Usage-Based Pricing

Per-second billing based on vCPU and memory allocation. No plans, no lock-ins, no hidden costs. Learn more

vCPU

Calculated per allocated vCPU-second

Unit Price$0.0000098 / vCPU-second

Memory

Calculated per allocated GiB-second

Unit Price$0.0000032 / GiB-second

Storage

Measured hourly and charged daily. First 60 GB included

Unit Price$0.00009 / GB-hour

Usage-Based Pricing Examples

1 vCPU + 512 MiB RAM

Short-lived agent task (5 min)

Est. Cost~$0.0034

2 vCPU + 1 GiB RAM

Code execution job (1 hr)

Est. Cost~$0.0821

8 vCPU + 8 GiB RAM

Multi-agent or RL workload (1 hr)

Est. Cost~$0.3744

* Free tier quota: 5 concurrent sandboxes, 1-hour max session. Top up your balance and use the sandbox to unlock paid tier (100 concurrent, 24-hour session) automatically.

Free vs Paid Tier
Start with the free tier. Top up your balance to unlock production-grade resources automatically
FREE TIER
Free usage5 concurrent sandboxes1 hour max session length2 vCPU per Sandbox4 GB RAM per SandboxNo priority scheduling
PAID TIER
Pay-as-you-go100 concurrent sandboxes24 hours max session lengthUp to 8 vCPU per sandboxUp to 8 GB RAM per sandboxSupport priority scheduling
Paid tier unlocks automatically once your account balance is above $0.
Built with Novita AI

Start building with Agent Sandbox

Get started with quickstarts, reusable templates, and isolated sandbox storage.

01

Quick Start

Launch your first sandbox in minutes.

Learn more
02

Templates

Define reusable sandbox environments once and use them across workloads.

Learn more
03

File system

Each sandbox includes an isolated filesystem for code, data, and session state.

Learn more

Enterprise

For advanced workloads that need higher resource limits, custom deployment regions, or dedicated infrastructure.

Uptime SLA99.95%
Max vCPUs per SandboxCustom
Deployment RegionYour Choice
Concurrent InstancesUnlimited
FAQ

Frequently asked questions

What is Novita Agent Sandbox?

Novita Agent Sandbox is a secure cloud runtime for AI agents. Each sandbox is an isolated environment where an agent can execute code, use a browser, control a desktop, and run long-running tasks without touching your own machine or other workloads.

Which coding agents can I run in a sandbox?

Claude Code and Codex have ready-made templates with the agent pre-installed, so you can create a sandbox and run the agent headless in a few lines of code. You can also install any other agent or tool in a custom template.

Does Agent Sandbox support computer use?

Yes. A desktop sandbox gives your computer use agent a full virtual desktop for typing, clicking, scrolling, and screenshots. You can stream it over VNC as an interactive session or as a view-only feed for monitoring.

How fast do sandboxes start, and how are they isolated?

Sandboxes start in under 200ms on average. Every task runs in its own sandbox with system-level separation, which reduces the risk of data leakage and unauthorized access between tasks.

Which languages and SDKs are supported?

Agents can run Python, JavaScript, C++, and other languages inside a sandbox. You control sandboxes with the novita-sandbox SDK for Python 3.9+ and Node.js 20+, or from the terminal with the Novita Sandbox CLI.

Can a sandbox keep state for long-running tasks?

Yes. Persistent sessions let you pause and resume long-running agent tasks without losing state, and each sandbox has its own isolated filesystem for code, data, and session files.

How is Agent Sandbox priced?

You pay per second for the vCPU and memory you allocate, with no upfront commitment. New accounts start on a free tier; top up your balance to unlock the paid tier with more concurrent sandboxes and longer sessions. See the pricing section above for current rates.

Everything you need to build production AI.

200+ models, on-demand GPUs, and secure agent runtimes — unified under one API. Free to start, scales as you grow.