Sign Up

Daytona Documentation

Start managing your sandboxes with Daytona.

Daytona is secure and elastic cloud infrastructure built for autonomous agents.

Daytona provides composable computers for agents — sandboxes — virtual machines with hardware isolation, a dedicated kernel, filesystem, network, and allocated vCPU, RAM, and disk.

Sandboxes are the core component of the Daytona platform, spinning up in under 90ms from code to execution and running any code in Python, TypeScript, and JavaScript. Built on OCI/Docker compatibility and massive parallelization, sandboxes deliver consistent, predictable environments for AI, autonomous agents, and reinforcement learning.

Get started

  1. Create an account → app.daytona.com
  2. Get an API key → app.daytona.com/dashboard/keys
  3. Save the API key → DAYTONA_API_KEY environment variable or in a .env file.
DAYTONA_API_KEY=YOUR_API_KEY
  1. Install the Python SDK

    pip install daytona
  2. Create a sandbox and run code

    from daytona import Daytona
    
    daytona = Daytona()
    
    sandbox = daytona.v2.create()
    
    response = sandbox.run_code('print("Hello World")')
    print(response.logs.stdout)

References

Daytona provides a comprehensive set of resources for developers and agents to get started and build on the platform. You can find the following resources in the documentation: