examples/sandbox-coding-agent-vercel/README.md
Note: This is the Vercel-optimized version of the sandbox-coding-agent example. It uses the
hono/verceladapter and is configured for Vercel deployment.
Example project demonstrating a Rivet Actor chat UI backed by the new rivetkit/sandbox actor.
git clone https://github.com/rivet-dev/rivet.git
cd rivet/examples/sandbox-coding-agent-vercel
pnpm install
pnpm dev
rivetkit/sandbox instead of constructing SandboxAgent clients directlySANDBOX_PROVIDER=docker|daytona|e2bSANDBOX_PROVIDER=daytona or SANDBOX_PROVIDER=e2bDAYTONA_API_KEYE2B_API_KEYOPENAI_API_KEY, ANTHROPIC_API_KEY, or CODEX_API_KEYThe example keeps a thin UI-facing agent actor, but the sandbox lifecycle and sandbox-agent API now live behind sandboxActor(...).
src/actors.ts)frontend/App.tsx)src/server.ts)Read more about Rivet Actors, actions, and events.
MIT