Daytona is an open-source runtime for executing AI-generated code in secure cloud sandboxes. Made for agentic & AI use cases. You can read more about it here.
How to use
To use Daytona with VibeKit, you need to create an image in the Daytona dashboard using the following DockerFile:
Claude Codex Dockerfile
# Use Ubuntu 22.04 as the base image
FROM ubuntu:22.04
# Install curl and git, update package list
RUN apt-get update && apt-get install -y curl git ripgrep
# Install Node.js 24.x
RUN curl -sL https://deb.nodesource.com/setup_24.x | bash - && apt-get install -y nodejs
# Confirm installations
RUN node -v && npm -v && git --version
# Install Claude Code globalliy
RUN npm install -g @anthropic-ai/claude-code
OpenAI Codex Dockerfile
# Use Ubuntu 22.04 as the base image
FROM ubuntu:22.04
# Install curl and git, update package list
RUN apt-get update && apt-get install -y curl git
# Install Node.js 24.x
RUN curl -sL https://deb.nodesource.com/setup_24.x | bash - && apt-get install -y nodejs
# Confirm installations
RUN node -v && npm -v && git --version
# Install OpenAI Codex globally
RUN npm install -g @openai/codex@latest
Opencode Dockerfile
# Use Ubuntu 22.04 as the base image
FROM ubuntu:22.04
# Install curl and git, update package list
RUN apt-get update && apt-get install -y curl git
# Install Node.js 24.x
RUN curl -sL https://deb.nodesource.com/setup_24.x | bash - && apt-get install -y nodejs
# Confirm installations
RUN node -v && npm -v && git --version
# Install OpenAI Codex globally
RUN npm i -g opencode-ai@latest
Configuration
import { VibeKit, VibeConfig } from "@vibe-kit/sdk";
const config: VibeConfig = {
...,
environment: {
daytona: {
// Required E2B API key
apiKey: "****",
image: "codex-image",
serverUrl: "https://app.daytona.io/api"
},
},
};
ENV variables and secrets
Coming soon…