Open-source, secure, and elastic infrastructure for running AI-generated code, offering sub-90ms sandbox provisioning, LSP support, and persistent environments.
Daytona is an execution infrastructure designed specifically for AI-generated code, addressing security isolation and persistence challenges for AI agents.
Core Capabilities#
Infrastructure Layer:
- Sub-90ms sandbox provisioning, from code to execution
- Fully isolated runtime environment, zero-risk AI code execution
- Support for large-scale concurrent AI workflows
- Indefinitely persistent sandboxes for long-running tasks and stateful agents
- OCI/Docker compatible, supports any image for environment creation
Programmatic Control:
- FileSystem: Full CRUD operations with granular permission control
- Native Git: Built-in Git operations and secure credential handling
- LSP Support: Built-in language server for multi-language completion and real-time analysis
- Process Execution: Execute code and commands in isolated environments with real-time output streaming
Advanced Features:
- Environment Snapshots: Instantly save and restore agent workflows
- Multi-region Deployment: US East/West, EU Central/West, India South
- Volume Management: Share data across sandboxes without breaking isolation
- Computer Use: Programmatic control of Linux/macOS/Windows desktop environments
Human Collaboration Tools:
- Instant secure SSH access
- VS Code Browser one-click open
- Web Terminal: Full terminal in browser
Installation & Quick Start#
Python SDK: pip install daytona
TypeScript SDK: npm install @daytonaio/sdk
Go SDK: import "github.com/daytonaio/daytona/libs/sdk-go/pkg/daytona"
Minimal Example:
from daytona import Daytona, DaytonaConfig
config = DaytonaConfig(api_key="YOUR_API_KEY")
daytona = Daytona(config)
sandbox = daytona.create()
response = sandbox.process.code_run('print("Hello World")')
print(response.result)
sandbox.delete()
Typical Use Cases#
- AI Agent Development: Secure code execution environment
- LLM Applications: Optimize LLMs, agents, and evaluation testing
- Code Execution Isolation: Safely execute untrusted AI-generated code
- Development Environment Management: Programmatic dev environment management
- Desktop Automation: Cross-platform desktop automation
Architecture & Implementation#
- Core Languages: TypeScript (42.6%), MDX (24.4%), Go (16.1%), Python (9.2%)
- Supported Platforms: Python, TypeScript/Node.js, Ruby, Go
- License: AGPL-3.0
- Active Development: 1,974 commits, 211+ contributors, 159 releases
Pricing Model#
- vCPU: $0.0504/h
- Memory: $0.0162/h
- Storage: $0.000108/h (billed after 5GB)
- Free Tier: $200 free compute credits
Security & Compliance#
- Open source transparency, auditable code
- Customer-managed compute, sandboxes run in isolated environments
- HIPAA, SOC 2, and GDPR compliant