---
title: "AzatAI Sandbox: isolated machines for AI agents and code | AzatAI"
description: "AzatAI Sandbox starts isolated Firecracker microVMs in under a second, for AI agents, CI jobs and untrusted code. Each sandbox has its own Linux kernel and starts from a template."
url: "https://azat.ai/products/sandbox"
language: "en"
image: "https://azat.ai/og/en.png"
---

AzatAI Sandbox

# A fresh machine for every task

AzatAI Sandbox starts isolated virtual machines on demand. Give an AI agent, a CI job or untrusted code a Linux machine of its own, control it from code, and delete it when the work is done.

Available

sandbox.py

```
from azatai import Sandbox

sbx = Sandbox.create("my-template")
run = sbx.commands.run("pytest -q")
print(run.stdout)
sbx.kill()
```

What you get

## Real virtual machines, ready in under a second

Each sandbox is a small virtual machine of its own, not a container on a shared kernel.

### Its own kernel

Each sandbox is a Firecracker microVM with its own Linux kernel. It does not share a kernel with other sandboxes or with the host.

### Ready in under a second

A sandbox starts from its template in under a second. Pause it and resume it later with its state kept.

### Start from a template

Describe a machine once in code: the base image, packages and files. Every sandbox starts from it ready to work, Docker included.

### Control it from code

Start, pause and delete sandboxes, run commands and read or write files through an API.

### Up to 32 vCPUs

A sandbox can have up to 32 vCPUs, 128 GiB of memory and 100 GiB of disk, and can run for up to 24 hours.

### Kept apart

A sandbox can reach the internet, but nothing on our internal network.

What it is for

## Work you do not want on your own machines

A sandbox is a safe place for code that you did not write or did not review.

- AI agents Let an agent write and run code, install packages and use tools in a machine of its own, away from your systems.
- [CI jobs AzatAI CI runs every GitHub Actions job in a fresh sandbox, which is deleted when the job ends.](https://azat.ai/products/ci)
- Untrusted code Run code from users, plugins or pull requests in a sandbox, apart from your data and your network.

## Want sandboxes for your product?

Tell us what will run in them and how many you need at once. We answer with a plan for your workload.

[Talk to us](https://azat.ai/contact)
```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"AzatAI","item":"https://azat.ai"},{"@type":"ListItem","position":2,"name":"AzatAI Sandbox","item":"https://azat.ai/products/sandbox"}]}
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://azat.ai/#organization","name":"AzatAI","url":"https://azat.ai/","logo":{"@type":"ImageObject","url":"https://azat.ai/icon-512.png","width":512,"height":512},"description":"AzatAI is an AI company. AzatAI Stack, our trust layer for AI products, gives them sign-in for people and AI agents, data and encrypted file storage. Our own products and our client systems run on it.","slogan":"The trust layer for AI"},{"@type":"WebSite","@id":"https://azat.ai/#website","name":"AzatAI","url":"https://azat.ai","inLanguage":"en","publisher":{"@id":"https://azat.ai/#organization"}}]}
```
