Live Demo · How It Works · Guide
nanocode agents in Vercel Functions: one Workflow run per session, with every write to the agent's journal recorded as a step of the run. A template and the source of nanocode.xyz/vercel.
- Durable. A Function holds the journal in memory and appends each write to the run with durable-harness. When it dies mid-turn, the queue starts another that replays the log and finishes the turn.
- No sandbox. Code Mode cells run beside the agent in the Function: bash on a workspace kept in the same journal, git, Python and WebAssembly.
- One module. The runtime is nanocode-ts, the Rust SDK compiled to WebAssembly. This repository holds the Next.js app around it.
npm install
npm run dev # next dev, at http://localhost:3000
npm run drill # Kill a turn midway and check that it resumes
npx vercel deploy # Deploy to a Vercel projectDECISIONS.md records what each change established, with its measurements.
MIT or Apache-2.0.