---
title: Daytona - Secure Infrastructure for Running AI-Generated Code
description: "Deploy Al code with confidence using Daytona's lightning-fast infrastructure. 90ms environment creation,\nstateful operations, and enterprise-grade security."
published: "Apr 9, 2026, 1:24 PM UTC"
---

Run AI Code.

Secure and Elastic Infrastructure for 

Running Your AI-Generated Code.

[Start for Free](https://app.daytona.io/)

[View Docs](https://www.daytona.io/docs/)

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(file_content, "/home/daytona/data.txt")
```

###### Agents at these companies use Daytona

### 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

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)
```

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

- [AI EvaluationsScale evals across parallel environments with reproducible snapshot states.]
- [Code InterpreterRun untrusted code in isolated environments with real-time output streaming.]
- [Coding AgentsExecute AI agents code with RESTful API and state persistence across parallel runs.]
- Data AnalysisProcess large datasets on clusters with optimized data locality.
- Data VisualisationEnable your AI agent to run code and instantly render charts, plots, and visual outputs.
- Reinforcement Learning for AgentsSimplify RL training and enable long-horizon planning in dynamic, stateful environments
- Computer UseLet Your Agent Use the Computer Like a Human Would.

### 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

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

##### Volumes

Let Agents Access Shared Data Across Sandboxes Without Breaking Isolation

### Computer Use

##### Computer Use Sandbox

Secure virtual desktops (Linux, Windows, macOS) you can control with code. Deploy desktop automation with full programmatic access and isolated environments.

##### Linux (Ubuntu)

Linux desktop with full root access. Ready for automation, development, and testing with complete programmatic control.

[Get Started](https://www.daytona.io/docs/en/computer-use-linux/)

##### MacOS

macOS desktop for iOS development and testing. Code-controlled macOS instances perfect for mobile app automation and development.

[Get Started](https://www.daytona.io/docs/en/computer-use-macos/)

##### Windows

Full Windows desktop with programmatic control. Perfect for Windows-specific automation, testing, and development workflows.

[Get Started](https://www.daytona.io/docs/en/computer-use-windows/)

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

##### SSH Access

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

### Trust Through Transparency.    Open Codebase. Your Cloud. Certified Security.

[Talk to Our Team](./contact)

##### Open-Source Transparency

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

##### Customer-Managed Compute

Sandboxes run on isolated, customer-managed compute, in your cloud or on-prem. Daytona provides the control plane. No shared compute. No cross-tenant risk.

Enterprise Compliance

Meets HIPAA, 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

*\**Price per **GiB** after first 5 free

### Instant Sandboxes. Pay-as-You-Go.

Daytona lets you spin up sandboxes in milliseconds and shut them down just as fast.

Use what you need, when you need it. $200 in free compute included.

GPU, 12GB GDDR6, GPU, 16-CORE, GPU, 16-CORE, GPU, 8-CORE, GPU, 32-CORE, GPU, 12GB GDDR6

### What Builders Say About Daytona.

- One thing that Daytona does incredibly well is its sandbox provisioning times. When you're provisioning tens of thousands of sandboxes, those milliseconds add up, and no other solution we tested could match their speed.Abhi IngleChief Product & Strategy Officer at SambaNova
- While building our coding agent, we hit limitations around our sandboxing. Daytona jumped in, contributed a working PR within hours, and fully unblocked us. They pulled a Collison.Harrison ChaseCEO & Founder of LangChain
- Maintaining a homegrown sandbox solution that powers apps for billions of global users was expensive and time-consuming. We didn’t have the bandwidth to upgrade it because we wanted to move forward with our actual AI products.Paul van der BoorVice President of AI at Prosus
- Provisioning development environments remains to be a pain. Existing solutions focus too much on remote environments somewhere in 'the cloud'. Daytona's approach is much smarter – help the developer in any environment, remote or local.Jernej StrasnerDirector of Engineering at Sentry
- At last, we can standardize development environments to function more like a well-oiled machine than bespoke artworks. This lets devs spin up and shut down environments seamlessly, avoiding configuration drift.Shawn WangWriter, Speaker, Developer Advocate
- The industry has chosen the cloud as the premier place to distribute software, but space for building software is wide open. Daytona is uniquely positioned to own this space and I want to be a part of that revolution.Brian DouglasFounder and CEO, Open Sauced

### 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.

##### Docker in Docker

Easily Run Docker Containers Inside Daytona Sandboxes.

##### Dockerfile Support

Drop in a Dockerfile and Daytona Handles the Rest.

##### Docker Compose Support

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

[Talk to Our Team](https://www.daytona.io/contact)

[Join Community Slack](https://go.daytona.io/slack)

[Run AI Code on Daytona](https://app.daytona.io/)

### 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?

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

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

How can I integrate Daytona into my existing development stack?

What security measures does Daytona implement for AI development?

Can I Run My Own Instance of Daytona?

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

###### NEW

###### Startup Program

[Learn More](./startups)

Company

[About](./about)

[Careers](./careers)

[Brand](./brand)

[Press](./press)

[Partner](https://www.daytona.io/partner)

[Events](./events)

[Pacers Program](./pacers)

[Startup Program](./startups)

Support

[Documentation](https://www.daytona.io/docs/)

[Contact](./contact)

[Blog](https://www.daytona.io/dotfiles)

[Definitions](https://www.daytona.io/definitions)

[Pricing](./pricing)

[System Status](https://status.app.daytona.io/)

[Changelog](https://www.daytona.io/changelog)

[Trust Center](https://trust.daytona.io)

Follow daytona

[Github](https://github.com/daytonaio/daytona)

[Slack](https://go.daytona.io/slack)

[Twitter](https://twitter.com/daytonaio)

[Youtube](https://youtube.com/@daytonaio)

[Linkedin](https://www.linkedin.com/company/daytonaio/)

[RSS](https://www.daytona.io/rss.xml)

Popular Topics

[AI Agents SDK](https://www.daytona.io/dotfiles/securing-ai-code-building-safe-sandboxes-with-daytona-sdk)

[AI Stack Map](https://www.daytona.io/dotfiles/building-better-ai-agents-the-ai-enablement-stack)

[AI Infrastructure](https://www.daytona.io/dotfiles/the-infrastructure-backbone-of-ai-driven-development)

[Train GPT Model](https://www.daytona.io/dotfiles/train-gpt-models-instantly-with-daytona-infrastructure)

[LLM Code Isolation](https://www.daytona.io/dotfiles/harnessing-ai-through-standardization-and-isolation)

[Run AI Code](https://www.daytona.io/dotfiles/run-ai-generated-code-safely-with-daytona-sandboxes-part-1)

[Secure AI Code](https://www.daytona.io/dotfiles/managing-files-in-ai-sandbox-environments)

[AI-Ready Workspaces](https://www.daytona.io/dotfiles/powering-ai-development-codeanywhere-showcase)

[AI Sandbox](https://www.daytona.io/dotfiles/sandboxing-ai-development-with-agent-agnostic-infrastructure)

© 2026 Daytona PlatformS Inc.

[Privacy Policy](./privacy-policy)

[Terms of Service](./terms-of-service)

[SLA](./sla)

[DPA](./dpa)

---

## Navigation

- [Docs](https://www.daytona.io/docs/)
- [Customers](./customers)
- [Pricing](./pricing)
- [Startups](./startups)
- [Blog](https://www.daytona.io/dotfiles)
- [Sign in](https://app.daytona.io/)
- [65.3k](https://github.com/daytonaio/daytona)
