Run AI Code.

Run AI Code.

Secure and Elastic Infrastructure for

Running Your AI-Generated Code.

Secure and Elastic Infrastructure for

Running Your AI-Generated Code.

pip install daytona

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

from daytona import Daytona

daytona = Daytona()
sandbox = daytona.create()

response = sandbox.process.code_run(
    'print("Hello World!")'
)
print(response.result)

response = sandbox.process.exec(
    'echo "Hello World from exec!"', cwd="/home/daytona", timeout=10
)
print(response.result)

file_content = b"Hello, World!"
sandbox.fs.upload_file("/home/daytona/data.txt", file_content)

pip install daytona

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

from daytona import Daytona

daytona = Daytona()
sandbox = daytona.create()

response = sandbox.process.code_run(
    'print("Hello World!")'
)
print(response.result)

response = sandbox.process.exec(
    'echo "Hello World from exec!"', cwd="/home/daytona", timeout=10
)
print(response.result)

file_content = b"Hello, World!"
sandbox.fs.upload_file("/home/daytona/data.txt", file_content)

pip install daytona

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

from daytona import Daytona

daytona = Daytona()
sandbox = daytona.create()

response = sandbox.process.code_run(
    'print("Hello World!")'
)
print(response.result)

response = sandbox.process.exec(
    'echo "Hello World from exec!"', cwd="/home/daytona", timeout=10
)
print(response.result)

file_content = b"Hello, World!"
sandbox.fs.upload_file("/home/daytona/data.txt", file_content)

Fast, Scalable, Stateful
Infrastructure for AI Agents.

Lightning-Fast Infrastructure for AI Development

Sub 90ms sandbox creation from code to execution.

90ms


sandbox = daytona.create

sandbox = daytona.create

Separated & Isolated Runtime Protection

Execute AI-generated code with zero risk to your infrastructure.

Massive Parallelization

for Concurrent AI Workflows

Execute code in isolated environments with realtime output.

Programmatic Control.
File, Git, LSP, and Execute API.

Process Execution

Execute code and commands in isolated envs with real-time output streaming.

File System Operations

Manage sandboxes with full CRUD operations and granular permission controls.

Git Integration

Native Git operations and secure credential handling.

Builtin LSP Support

Language server features with multi-language completion and real-time analysis.

from daytona import Daytona, CreateSandboxParams

daytona = Daytona()

params = CreateSandboxParams(
    language="python",
)
sandbox = daytona.create(params)

# Run the code securely inside the sandbox
response = sandbox.process.code_run('print("Hello World!")')
if response.exit_code != 0:
    print(f"Error: {response.exit_code} {response.result}")
else:
    print(response.result)

# Execute an os command in the sandbox
response = sandbox.process.exec('echo "Hello World from exec!"', cwd="/home/daytona", timeout=10)
if response.exit_code != 0:
    print(f"Error: {response.exit_code} {response.result}")
else:
    print(response.result)

daytona.remove(sandbox)

Process Execution

Execute code and commands in isolated envs with real-time output streaming.

File System Operations

Manage sandboxes with full CRUD operations and granular permission controls.

Git Integration

Native Git operations and secure credential handling.

Builtin LSP Support

Language server features with multi-language completion and real-time analysis.

from daytona import Daytona, CreateSandboxParams

daytona = Daytona()

params = CreateSandboxParams(
    language="python",
)
sandbox = daytona.create(params)

# Run the code securely inside the sandbox
response = sandbox.process.code_run('print("Hello World!")')
if response.exit_code != 0:
    print(f"Error: {response.exit_code} {response.result}")
else:
    print(response.result)

# Execute an os command in the sandbox
response = sandbox.process.exec('echo "Hello World from exec!"', cwd="/home/daytona", timeout=10)
if response.exit_code != 0:
    print(f"Error: {response.exit_code} {response.result}")
else:
    print(response.result)

daytona.remove(sandbox)

Process Execution

Execute code and commands in isolated envs with real-time output streaming.

File System Operations

Manage sandboxes with full CRUD operations and granular permission controls.

Git Integration

Native Git operations and secure credential handling.

Builtin LSP Support

Language server features with multi-language completion and real-time analysis.

from daytona import Daytona, CreateSandboxParams

daytona = Daytona()

params = CreateSandboxParams(
    language="python",
)
sandbox = daytona.create(params)

# Run the code securely inside the sandbox
response = sandbox.process.code_run('print("Hello World!")')
if response.exit_code != 0:
    print(f"Error: {response.exit_code} {response.result}")
else:
    print(response.result)

# Execute an os command in the sandbox
response = sandbox.process.exec('echo "Hello World from exec!"', cwd="/home/daytona", timeout=10)
if response.exit_code != 0:
    print(f"Error: {response.exit_code} {response.result}")
else:
    print(response.result)

daytona.remove(sandbox)

AI-First Infrastructure.
Optimized for LLMs, Agents, and Evals.

More Than a Sandbox.
The Runtime AI Agents Actually Need.

Snapshot v32

Node.js 18.0

Snapshot v33

Node.js 18.0

01/12/2025

Environment Snapshots

Save, Restore, and Resume Any Agent Workflow Instantly

Snapshot v32

Node.js 18.0

Snapshot v33

Node.js 18.0

01/12/2025

Environment Snapshots

Save, Restore, and Resume Any Agent Workflow Instantly

Snapshot v32

Node.js 18.0

Snapshot v33

Node.js 18.0

01/12/2025

Environment Snapshots

Save, Restore, and Resume Any Agent Workflow Instantly

India Asia-South

EU Central(Frankfurt)

EU West(London)

US East(WashingtonDC)

US West(Oregon)

Run Near Your Agents

Low-Latency Sandboxes Deployed in Your Region

India Asia-South

EU Central(Frankfurt)

EU West(London)

US East(WashingtonDC)

US West(Oregon)

Run Near Your Agents

Low-Latency Sandboxes Deployed in Your Region

India Asia-South

EU Central(Frankfurt)

EU West(London)

US East(WashingtonDC)

US West(Oregon)

Run Near Your Agents

Low-Latency Sandboxes Deployed in Your Region

Stateful by Design

Daytona Sandboxes Run Indefinitely — Built for Long-Running Tasks and Persistent Agents

Stateful by Design

Daytona Sandboxes Run Indefinitely — Built for Long-Running Tasks and Persistent Agents

Stateful by Design

Daytona Sandboxes Run Indefinitely — Built for Long-Running Tasks and Persistent Agents

Volumes

Let Agents Access Shared Data Across Sandboxes Without Breaking Isolation

Volumes

Let Agents Access Shared Data Across Sandboxes Without Breaking Isolation

Volumes

Let Agents Access Shared Data Across Sandboxes Without Breaking Isolation

Human in the Loop.
Full Access for Debugging, Oversight, or Intervention—Without Breaking Autonomy.

SSH Tunnel

Secure Shell Access to Any Sandbox, Instantly and Safely

VS Code Browser

Open Sandboxes in Your Editor With One Click.

Web Terminal

Full Terminal in the Browser. No Setup. No Latency.

user@user-mac ~ daytona

login as: admin

user@user-mac ~ daytona

login as: admin

user@user-mac ~ daytona

login as: admin

Trust Through Transparency. 


Open Codebase. Your Cloud. Certified Security.

Open-Source Transparency

Verify Every Line of Code. No Black Boxes. No Hidden Logic.

Bring Your Own Cloud

Deploy in Your Own Environment. Keep Full Control and Data Residency.

Enterprise Compliance

Meets ISO 27001, SOC 2, and GDPR Standards Out of the Box.

Per Hour

Per Second

Compute

vCPU

$0.0504/h

Memory

GiB

$0.0162/h

Storage

GiB

$0.000108/h

*5 GB Free then price for each GB/s after

Only Pay When Your Code Is Running.

Scale up to hundreds of nodes and down to zero within seconds.

Pay for actual compute, by the CPU cycle. With $200 of compute on us.

GPU

12GB GDDR6

GPU

16-CORE

GPU

16-CORE

GPU

8-CORE

GPU

32-CORE

GPU

12GB GDDR6

Per Hour

Per Second

Compute

vCPU

$0.00001400/s

Memory

GiB

$0.00000450/s

Storage

GiB

$0.00000003/s

*5 GB Free then price for each GB/s after

Only Pay When Your Code Is Running.

Scale up to hundreds of nodes and down to zero within seconds.

Pay for actual compute, by the CPU cycle. With $200 of compute on us.

GPU

12GB GDDR6

GPU

16-CORE

GPU

16-CORE

GPU

8-CORE

GPU

32-CORE

GPU

12GB GDDR6

Per Hour

Per Second

Compute

vCPU

$0.00001400/s

Memory

GiB

$0.00000450/s

Storage

GiB

$0.00000003/s

*5 GB Free then price for each GB/s after

Only Pay When Your Code Is Running.

Scale up to hundreds of nodes and down to zero within seconds.

Pay for actual compute, by the CPU cycle. With $200 of compute on us.

GPU

12GB GDDR6

GPU

16-CORE

GPU

16-CORE

GPU

8-CORE

GPU

32-CORE

GPU

12GB GDDR6

What Builders Say About Daytona.

Agents can now use the same tools as humans.
Everything Docker Provides Natively Now as Part of Daytona.

Declarative Image Builder

Build Snapshots Through the SDK. No CLI. No Uploads. No Registry.

Image Templates Based on Docker

Use Off-the-Shelf Docker Images Without Modification or Wrappers.

Image Templates Based on Docker

Use Off-the-Shelf Docker Images Without Modification or Wrappers.

Image Templates Based on Docker

Use Off-the-Shelf Docker Images Without Modification or Wrappers.

Docker in Docker

Easily Run Docker Containers Inside Daytona Sandboxes.

Docker in Docker

Easily Run Docker Containers Inside Daytona Sandboxes.

Docker in Docker

Easily Run Docker Containers Inside Daytona Sandboxes.

Dockerfile Support

Drop in a Dockerfile and Daytona Handles the Rest.

Dockerfile Support

Drop in a Dockerfile and Daytona Handles the Rest.

Dockerfile Support

Drop in a Dockerfile and Daytona Handles the Rest.

Dev Container Support

With Daytona, Agents Also Get Ready-to-Code Environments From a Single File

Dev Container Support

With Daytona, Agents Also Get Ready-to-Code Environments From a Single File

Dev Container Support

With Daytona, Agents Also Get Ready-to-Code Environments From a Single File

FAQs

Extra questions about the how and the why?
Reach out on our community channel and we’ll happily expand.

What is Daytona and how does it enable AI?

What is Daytona and how does it enable AI?

What is Daytona and how does it enable AI?

How does Daytona ensure the safe execution of AI-generated code?

How does Daytona ensure the safe execution of AI-generated code?

How does Daytona ensure the safe execution of AI-generated code?

What are AI Sandboxes and how do they enhance agentic AI workflows?

What are AI Sandboxes and how do they enhance agentic AI workflows?

What are AI Sandboxes and how do they enhance agentic AI workflows?

How can I integrate Daytona into my existing development stack?

How can I integrate Daytona into my existing development stack?

How can I integrate Daytona into my existing development stack?

What security measures does Daytona implement for AI development?

What security measures does Daytona implement for AI development?

What security measures does Daytona implement for AI development?

Can I Run My Own Instance of Daytona?

Can I Run My Own Instance of Daytona?

Can I Run My Own Instance of Daytona?

How does Daytona support the development and deployment of AI agents?

How does Daytona support the development and deployment of AI agents?

How does Daytona support the development and deployment of AI agents?

NEWSLETTER
Subscribe to DotFiles Insider, a fortnightly newsletter for developers covering stories, techniques, guides and the latest product innovations.
NEWSLETTER
Subscribe to DotFiles Insider, a fortnightly newsletter for developers covering stories, techniques, guides and the latest product innovations.
NEWSLETTER
Subscribe to DotFiles Insider, a fortnightly newsletter for developers covering stories, techniques, guides and the latest product innovations.