Members-Only
Recent Talks & Demos are for members only
You must be an AI Tinkerers active member to view these talks and demos.
Orchestrating Claude Inside Vercel Sandboxes for an Isolated Commerce Environment
Learn how Claude operates in isolated Vercel sandboxes to manage a live commerce system. Discover Git-based mutations, typed commerce SDK calls, and Just Bash execution for a robust AI architecture.
This talk walks through how we run Claude inside per-session Vercel Sandboxes to operate on a live Next.js commerce system.
Each session provisions an isolated sandbox where Claude connects via the Claude Agent SDK over WebSockets. The initial prompt fetches a Git repository of the storefront, which becomes the working workspace. From there, Claude proposes structured mutations that are applied incrementally as diffs and commits, with optional deployment to Vercel.
Commerce state (products, pricing, checkout) is never modified via arbitrary code edits. Instead, mutations flow through typed calls exposed by our Commerce SDK. UI changes can be generative; transactional operations must pass validated primitives.
We’re evolving the system toward an in-memory project file representation to reduce cold starts and avoid long sandbox wakeups. Mutations are first applied to this in-memory graph, then executed via Just Bash inside the sandbox, enabling background transitions while keeping the live instance responsive.
The demo focuses on the WebSocket orchestration loop, sandbox isolation boundaries, tool schema design, and the failure cases we encountered while ensuring the commerce system remains consistent and deployable at all times.