Environment:AI Builder Club Skills daytona cli
| Knowledge Sources | |
|---|---|
| Domains | Cloud_Infrastructure, Agent_Engineering |
| Last Updated | 2026-10-24 00:00 GMT |
Overview
Daytona CLI cloud provider for crabbox — provisions and manages isolated cloud development environments with a 60-second exec cap and no auto-stop.
Description
This environment provides the Daytona CLI, which serves as the cloud provider backend for crabbox. Daytona provisions cloud boxes (development environments) that include a full Linux environment with Docker support. Key constraints: each crabbox run exec is capped at 60 seconds (long-running setup must be backgrounded and polled), and boxes are not auto-stopped (explicit down is required to release resources).
Usage
Use this environment as the cloud provider for Parallel Isolation when running concurrent agent loops. The cbx.sh wrapper uses PROVIDER=daytona by default. Required by the cbx_sh implementation.
System Requirements
| Category | Requirement | Notes |
|---|---|---|
| OS | macOS, Linux | CLI tool |
| Hardware | Any (compute is remote) | Minimal local resources |
| Disk | 50MB | CLI binary + config |
Dependencies
System Packages
daytonaCLI (installed and on PATH)crabboxCLI (see Environment:AI_Builder_Club_Skills_crabbox_cli)
Python Packages
- None
Credentials
The following must be set in .env or .env.local (sourced by cbx.sh:24-25):
- Daytona API key / authentication token (provider-specific)
- Any service secrets to forward to the box via
env.allow
Quick Install
# Install Daytona CLI (follow official docs)
# Verify:
daytona version
# Configure provider credentials in .env
Code Evidence
Provider configuration from cbx.sh:19:
PROVIDER=daytona
Secret sourcing from cbx.sh:24-25:
[ -f .env ] && { set -a; . ./.env; set +a; }
[ -f .env.local ] && { set -a; . ./.env.local; set +a; }
60-second exec cap workaround from cbx.sh:47-48:
echo "▸ starting setup.sh on the box (backgrounded)…"
R "$ID" -- bash -lc 'unset NODE_OPTIONS; setsid bash setup.sh >/tmp/setup.log 2>&1 </dev/null & echo started' >/dev/null
No auto-stop warning from cbx.sh:15:
# down <name> — release the box (Daytona has NO auto-stop)
Common Errors
| Error Message | Cause | Solution |
|---|---|---|
timed out waiting for STACK READY |
Setup took > 10 minutes (60 polls × 10s) | Check cbx.sh logs NAME; first run pulls Docker images (slow)
|
| Authentication errors | Daytona API key not set or expired | Verify credentials in .env
|
box not found |
Lease ID stale or box already released | Run cbx.sh down NAME to clean up, then cbx.sh up NAME
|
Compatibility Notes
- 60-second exec cap: All
crabbox runcommands are capped at 60s. Long-running operations (likesetup.sh) must be backgrounded withsetsidand polled via log file. - No auto-stop: Boxes remain running and billing until explicitly stopped with
crabbox stop. Always runcbx.sh down. - No
cpcommand: File transfer requires base64 encoding workaround (implemented incbx.sh get).