Daytona

Security & Safety 🟢 Actively maintained
71.8k stars

Daytona is a secure and elastic infrastructure runtime for executing AI-generated code and agent workflows. It provides sandboxes—isolated, full composable computers with dedicated kernel, filesystem, and network—that spin up in under 90ms. It is designed for developers and AI agents needing consistent, scalable environments for code execution.

How To Use Your Rolex Daytona - Set & Change Time, Chronograph | Bob's Watches

🎬 How To Use Your Rolex Daytona - Set & Change Time, Chronograph | Bob's Watches · Bob's Watches - Buy & Sell Rolex

✨ Key features

  • Sandboxes: isolated, full composable computers with dedicated kernel, filesystem, network.
  • Spins up in under 90ms from code to execution.
  • Supports Python, TypeScript, JavaScript, and other languages via SDKs.
  • Stateful snapshots for persistent agent operations across sessions.
  • OCI/Docker compatible with massive parallelization and unlimited persistence.
  • Programmatic access via SDKs, API, and CLI.

🎯 Use cases

  • Running AI-generated code in secure, isolated sandboxes.
  • Building AI agent workflows that require persistent state across sessions.
  • Executing code in Python, TypeScript, or JavaScript without local setup.
  • Integrating sandbox lifecycle management into applications via SDKs.
  • Using snapshots to maintain state for long-running agent tasks.

📦 Installation

🧰 Requirements: Requires an account at app.daytona.io and an API key. SDKs available for Python, TypeScript, Ruby, Go, and Java.

Python

pip install daytona

TypeScript

npm install @daytona/sdk

Ruby

gem install daytona

Go

go get github.com/daytonaio/daytona/libs/sdk-go

Java

Gradle:

dependencies {
    implementation("io.daytona:sdk:x.y.z")
}

Maven:

<dependency>
  <groupId>io.daytona</groupId>
  <artifactId>sdk</artifactId>
  <version>x.y.z</version>
</dependency>

🚀 Usage

Python SDK

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)

⚠️ Good to know

This repository is no longer maintained as of June 2026; development moved to a private codebase, and it remains public for use without support or warranty.

❓ FAQ

How do I get started with Daytona?

Create an account at app.daytona.io, generate an API key, then use the SDK or CLI to create a sandbox.

What languages are supported by the SDKs?

Python, TypeScript, Ruby, Go, and Java SDKs are available.

Can I run code in a sandbox?

Yes, you can execute code using the process.code_run method in the SDKs, as shown in the quick start examples.

Is Daytona still actively maintained?

No, as of June 2026, the repository is no longer maintained; development has moved to a private codebase.

📊 Repository

Stars★ 71,789
Forks🍴 5,647
Open issues🐛 453
Last commit🕒 Jul 24, 2026
Created📅 Feb 2024
Websitedaytona.io

🤖 Overview, features, install steps and FAQ were generated from the project's README on Sep 4, 2026. Always check the original source before running commands.