Who it is forA developer who wants a browser-based AI coding workspace on a local repository.
The problemSetting up the web client and backend by hand is slow without the repo's dev command.
The outcomeA running web workspace at localhost:5173 that works on the chosen project folder.
What you need first
- Git
- Node.js 24.14.0 and pnpm 10.33.2, as pinned in mise.toml
- Clone of the zai-org/ZCode repository
- A local project folder to point the agent at
Steps
- Install Git, Node.js 24.14.0 and pnpm 10.33.2 as listed in mise.toml.
- Clone the repository and run
pnpm bootstrapfrom the repository root. - Run
ZCODE_SERVER_WORKSPACE=/path/to/project pnpm dev:webon macOS or Linux. - Open
http://localhost:5173in a browser.
Prompt for your agent
In the zai-org/ZCode repo, run `pnpm bootstrap`, then `ZCODE_SERVER_WORKSPACE=<project-path> pnpm dev:web`. Report the web dev server URL and confirm that the backend at http://localhost:3030 responds.
Caveat. The README gives the ZCODE_SERVER_WORKSPACE example only for macOS and Linux, and the browser must use port 5173 while the backend uses 3030.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for zai-org/ZCode and "Run a browser coding workspace on a local project"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer