← Back to Leaderboard
Oandylizf

andylizf/open-daytona

Rootless gVisor sandboxes on Slurm for agent RL via the Daytona SDK

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A · 85/100
Maintenance Activity
● Updated yesterday
Latest Release
runsc-20261123.0-62-devpts-isig1-cow1-recyc2-mapr1-segv1-admit1
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption10/25
Release Cadence20/20
License Clarity20/20
Self-HostedCLIGPUAPI
Total Stars
★ 241
24h Growth
+33
7d Growth
+241
Forks
13

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

andylizf/open-daytona Star History (2026-11-28 - 2026-12-04) DAILY STAR HISTORY (7-DAY D1 TELEMETRY) +240 in 6d · avg +40/day 255 128 0 2026-11-28: ★ 12026-11-29: ★ 402026-11-30: ★ 1262026-12-01: ★ 1642026-12-02: ★ 1982026-12-03: ★ 2082026-12-04: ★ 241 ★ 241 11-28 12-01 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

open-daytona turns ordinary Slurm allocations into a sandbox pool. Rollout workers send bearer-authenticated HTTP requests to the Python gateway, which places new sandboxes on the least-loaded node with a preference for cached images. Later calls go to the daemon that owns the sandbox. Gateway and daemon expose the same native API, so a worker can also target one node directly. Pilot jobs register daemons on shared storage; reverse SSH relays cover deployments where the gateway cannot reach compute nodes directly.

On each node, sbxd.py re-executes under unshare -Ur and launches gVisor runsc as root only inside its own user namespace. This avoids host root, Docker, subordinate UID ranges, and delegated cgroups. The node stack splits image builds, memory enforcement, and network proxying into builder.py, memenforce.py, and netproxy.py. Python code uses the standard library by default; the gateway adds the Daytona protocol layer alongside the native /v1 API.

Key Capabilities & Differentiators

The pool provides per-sandbox networking and a disk cap that surfaces as ENOSPC inside the sandbox. When the polled memory limit triggers, the largest process is killed with exit code 137 while the sandbox stays alive. CPU admission defaults to one running sandbox per 0.8 core, with excess creates queued in FIFO order. The unmodified Daytona SDK passed 21 of 21 checks at 0.234.0 and 20 of 20 at 2.3.0. Native Python and asyncio clients offer alternatives for custom harnesses.

A replay of 1,536 recorded terminal-agent episodes, with no model or GPU, measured a median command round trip of 0.070 s under CPU admission versus 0.156 s on hosted Daytona from the same client machine. A separate run that started all 1,536 sandboxes at once measured a 4.0 s median from create to ready versus 32.1 s on hosted Daytona. These measure different operating modes: under default admission, queue time can dominate time to readiness. Neither result is a GPU throughput benchmark.

Trade-offs & Limitations

Compared with hosted Daytona, open-daytona trades a managed service for control over Slurm allocations, admission, and image locality. Rootless deployment is useful where administrators won't delegate cgroups, but core pinning is not a hard CPU quota, and polling allows memory overshoot before enforcement. The single gateway serves plain HTTP; keep it on a trusted network rather than exposing it as a public service. The measured latency advantage does not account for the effort of operating the gateway, pilots, and cache.

Treat Daytona compatibility as a tested subset, not interchangeability. Some SDK setters have no effect; inbound ports, preview links, and Docker-in-Docker are unavailable. The image builder supports one FROM stage, and cold builds take tens of seconds to minutes. GPU support is NVIDIA-only through gVisor nvproxy; all GPUs for a sandbox must be on one node, and GPU sandboxes cannot be stopped and restarted. Test syscall-heavy, memory-mapping-heavy, small-file, and network-intensive workloads before committing capacity.

Hardware & Deployment Guide

Deploy on Linux x86_64 or aarch64 with unprivileged user namespaces enabled and verify unshare -Ur true on the target nodes. The server scripts require Python 3.9 or newer; the packaged CLI requires 3.10 or newer. Plan for tens of GB of node-local disk. The checkout workflow lists curl, bzip2, and tar, plus lz4 for the shared image cache. Slurm pools need storage shared between login and compute nodes for configuration and pilot registration.

For single-node evaluation, open-daytona up starts a loopback gateway and one daemon and prints the endpoint and credentials. The Linux x86_64 wheel bundles runsc and static BusyBox, so startup itself needs no downloads; offline sandbox creation still needs images available via the shared cache. For a cluster, configure slurm/open-daytona.env.example, submit pilots with slurm/start_pilots.sh, and point the gateway at their registry. The recent x86_64 runsc releases revise the small-waste recycling patch and then add a SIGSEGV mapping patch. The installer defaults to the patched build and offers --upstream for stock gVisor. GPU deployment also requires a driver supported by nvproxy.

Capacity: Slurm pilot jobs register node daemons on a shared filesystem; the gateway places sandboxes by load and image locality.
Isolation: gVisor runsc runs inside an unprivileged user namespace without Docker, host root, subordinate UID ranges, or delegated cgroups.
Integration: Daytona SDK 0.x and 2.x protocol support alongside a native /v1 API and an asyncio adapter.
Admission: The default keeps one running sandbox per 0.8 core and queues excess creates in FIFO order.
Benchmarking: replay/ compares environment responses across backends without rerunning the model; command latency and burst startup were measured in separate runs.
Packaging: The Linux x86_64 wheel bundles patched runsc and static BusyBox, so the service can start offline if sandbox images are available from a shared cache.
Best For

Teams with Slurm capacity running terminal-agent RL, evaluation, or replay that want self-hosted isolation and can validate their Daytona SDK calls against the compatibility list.

Skip If

You need public preview endpoints, Docker Compose inside sandboxes, hard cgroup-style quotas, or multi-node GPU sandboxes, or cannot enable unprivileged user namespaces.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releases · Newer release runsc-20261123.0-62-devpts-isig1-cow1-recyc2-mapr1-segv1-admit1 (2026-12-03) shipped after this reviewMethodology

Quick Start & Installation

Self-HostedCLIGPUAPI
pip install open-daytona            # add [harbor] for Harbor
open-daytona up                     # prints DAYTONA_API_URL and DAYTONA_API_KEY
eval "$(open-daytona env)"          # in any shell, while the pool runs
open-daytona down                   # stops the pool and its sandboxes

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
open-daytona ★241+241PythonApache-2.0Rootless gVisor sandboxes on Slurm for agent RL via the Daytona SDK
nanobot50.5k+157PythonMITA self-hosted Python gateway for personal AI across web, terminal and chat.
hermes-agent268.1k+1.5kPythonMITSelf-hosted Python agent with persistent memory and automation across chat and C
daily_stock_analysis75.9k+870PythonMITA Python Agent workbench for multi-market watchlist research and scheduled repor

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/andylizf/open-daytona.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

andylizf/open-daytona Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about open-daytona

Can I switch an existing Daytona-based harness without changing its SDK?

Point the unmodified Daytona Python SDK at the gateway and supply its bearer token. The gateway routes each sandbox operation to the daemon that owns it. The compatibility layer supports the SDK's 0.x and 2.x protocols; check docs/daytona-compat.md for individual methods, since some setters are accepted without taking effect. The native /v1 API and asyncio adapter are alternatives if you do not need Daytona compatibility.

How should I size a pilot job, and is there a fixed VRAM requirement?

CPU-only workloads need no GPU; size the pool around peak concurrency, sandbox memory, and tens of GB of node-local disk. The default admission rate of one running sandbox per 0.8 core is a starting point, not a CPU quota. For GPU workloads, verify that gVisor nvproxy supports the NVIDIA driver and size VRAM for the workloads and concurrency on each node. The CPU-only replay does not establish GPU overhead or VRAM requirements.

Can a company self-host and redistribute open-daytona?

Yes. The project is Apache-2.0 licensed and can be self-hosted for internal or commercial use. If redistributing the package or Linux x86_64 wheel, review LICENSE and NOTICE, including the terms for the bundled runsc and BusyBox. Daytona SDK compatibility does not imply affiliation with or endorsement by Daytona Platforms.

When does this make more sense than hosted Daytona?

Choose open-daytona when you already have Slurm capacity and want control over placement and admission while retaining the Daytona SDK. Hosted Daytona avoids operating a gateway, pilots, and an image cache. In the documented CPU replay, open-daytona had lower median command latency with admission enabled, but the startup comparison used a separate burst run without admission. Validate both queue delay and compatibility on your own workload before switching.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining andylizf/open-daytona? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature andylizf/open-daytona on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare