Run AI Code.

Run AI Code.

Secure and Elastic Infrastructure for

Running Your Al-Generated Code.

Secure and Elastic Infrastructure for

Running Your Al-Generated Code.

pip install daytona_sdk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

from daytona_sdk import Daytona

daytona = Daytona()
workspace = daytona.create()

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

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

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

pip install daytona_sdk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

from daytona_sdk import Daytona

daytona = Daytona()
workspace = daytona.create()

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

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

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

pip install daytona_sdk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

from daytona_sdk import Daytona

daytona = Daytona()
workspace = daytona.create()

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

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

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

Fast, Scalable, Stateful
Infrastructure for AI Agents.

Lightning-Fast Infrastructure for AI Development

Instant 200ms environment creation from code to runtime.

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 workspaces 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_sdk import Daytona, CreateWorkspaceParams

daytona = Daytona()

params = CreateWorkspaceParams(
    language="python",
)
workspace = daytona.create(params)

# Run the code securely inside the workspace
response = workspace.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 workspace
response = workspace.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(workspace)

Process Execution

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

File System Operations

Manage workspaces 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_sdk import Daytona, CreateWorkspaceParams

daytona = Daytona()

params = CreateWorkspaceParams(
    language="python",
)
workspace = daytona.create(params)

# Run the code securely inside the workspace
response = workspace.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 workspace
response = workspace.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(workspace)

Process Execution

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

File System Operations

Manage workspaces 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_sdk import Daytona, CreateWorkspaceParams

daytona = Daytona()

params = CreateWorkspaceParams(
    language="python",
)
workspace = daytona.create(params)

# Run the code securely inside the workspace
response = workspace.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 workspace
response = workspace.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(workspace)

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

More Than a Sandbox.
Your Complete AI Workspace.

Snapshot v33

Node.js 18.0

01/12/2025

Stateful Operations With Environment Snapshots
Your Workspaces Can Live Forever
Your Workspaces Can Live Forever

user@user-mac ~ daytona

login as: admin

admin@192.168.1.1's password:

user@

Native SSH Access
Native SSH Access
Access Workspace With Any IDE
Access Workspace With Any IDE
OCI/Docker Compatibility
OCI/Docker Compatibility

Trust Through Transparency. 


Security Through Isolation.

Open-Source Transparency

Inspect and verify our codebase.

Complete Environment Isolation

Enterprise-grade security.

VPN Access

Secure private networking.

Self-Hosting Options

Deploy in your infrastructure.

Enterprise Compliance

ISO 27001, GDPR, SOC 2 certified.

Get Enterprise Trial

Get Enterprise Trial

Get Enterprise Trial

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 $30 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 $30 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 $30 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.

Agnostic AI Infrastructure.

Works With Any Language & LLM

Enterprise-grade security.

Global, Elastic Infrastructure for Seamless AI Scaling.

Auto-scaling and load balancing across regions.

Talk to Our Sales Team

Talk to Our Sales Team

Talk to Our Sales Team

Get Enterprise Trial

Get Enterprise Trial

Get Enterprise Trial

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?

Does Daytona support GPU-enabled environments for AI and ML tasks?

Does Daytona support GPU-enabled environments for AI and ML tasks?

Does Daytona support GPU-enabled environments for AI and ML tasks?

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?