daytona  by daytonaio

Infrastructure for running AI-generated code

created 1 year ago
21,035 stars

Top 2.1% on sourcepulse

GitHubView on GitHub
Project Summary

Daytona provides a secure, elastic infrastructure for executing AI-generated code, targeting developers and AI engineers. It offers rapid sandbox creation and isolated runtimes to mitigate risks associated with untrusted code, enabling efficient parallel AI workflows.

How It Works

Daytona utilizes a sandboxing approach to isolate AI-generated code execution. It emphasizes sub-90ms sandbox creation and provides programmatic control via APIs for file, Git, and code execution. The architecture supports OCI/Docker compatibility for flexible runtime environments and aims for features like filesystem and memory state forking for massive parallelization.

Quick Start & Requirements

  • Install SDKs: pip install daytona-sdk or npm install @daytonaio/sdk.
  • Requires an account at https://app.daytona.io and an API key.
  • Follow Getting Started docs.

Highlighted Details

  • Sub-90ms sandbox creation.
  • Isolated runtime for secure execution.
  • Programmatic control via File, Git, LSP, and Execute APIs.
  • OCI/Docker compatible sandbox environments.

Maintenance & Community

  • Active development indicated by release badges.
  • Community support available via Slack.
  • Contributing guide available for developers.

Licensing & Compatibility

  • Licensed under AGPL-3.0.
  • AGPL-3.0 is a strong copyleft license, requiring derivative works to also be open-sourced under the same license. This may impose restrictions on linking with closed-source commercial applications.

Limitations & Caveats

The "Fork Sandbox filesystem and memory state" feature is marked as "Coming soon!", indicating it is not yet available. The AGPL-3.0 license may present compatibility challenges for commercial, closed-source integrations.

Health Check
Last commit

1 day ago

Responsiveness

1 day

Pull Requests (30d)
101
Issues (30d)
24
Star History
2,400 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.