daytona  by daytonaio

Infrastructure for running AI-generated code

Created 2 years ago
72,232 stars

Top 0.3% 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)
299
Issues (30d)
47
Star History
9,663 stars in the last 30 days

Explore Similar Projects

Starred by Junyang Lin Junyang Lin(Core Maintainer at Alibaba Qwen), Eric Zhu Eric Zhu(Coauthor of AutoGen; Research Scientist at Microsoft Research), and
2 more.

OpenSandbox by alibaba

1.9%
10k
Sandbox platform for AI and LLM applications
Created 3 months ago
Updated 23 hours ago
Starred by Yaowei Zheng Yaowei Zheng(Author of LLaMA-Factory), Eric Zhu Eric Zhu(Coauthor of AutoGen; Research Scientist at Microsoft Research), and
25 more.

E2B by e2b-dev

0.7%
12k
Open-source cloud runtime for AI apps and agents
Created 3 years ago
Updated 1 day ago
Feedback? Help us improve.