name: daytona description: Daytona sandbox infrastructure and SDK usage for running agent servers, executing commands, and previewing apps. Use when provisioning or managing Daytona sandboxes. metadata: tags: daytona, sandbox, agent-sdk, preview, execution source: https://www.daytona.io/docs/en/
Daytona
Use this skill when you need to run the Agent SDK server inside Daytona, provision sandboxes, or execute commands in isolated environments.
Quick steps
- Install the SDK:
npm install @daytonaio/sdk. - Create a sandbox with the right runtime (
typescript,javascript, orpython). - Use
sandbox.process.executeCommand()orsandbox.process.codeRun()for execution. - Use
sandbox.getPreviewLink()/getSignedPreviewUrl()for preview URLs. - Stop or delete sandboxes when done.
References
- references/daytona-sdk.md - SDK setup, sandbox lifecycle, and execution basics.
- references/daytona-auth.md - API key setup and auth scopes.
- references/daytona-preview.md - Preview URL and authentication details.
- references/daytona-process-sessions.md - Background process sessions and log streaming.
- references/daytona-agent-sdk.md - Claude Agent SDK guide in Daytona.
Scripts
- scripts/daytona-sandbox.ts - Create sandbox, run a command, fetch preview link.