DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to build a UI plugin from the Excalidraw example with ZCode

Follow the UI Plugin guide to start a plugin from the Excalidraw canvas example.

Short answer: Read UI_PLUGIN.md for plugin capabilities, the page API, install and update steps and host debugging entry points; then start from the Excalidraw canvas collaboration example described in that guide; run pnpm dev:web and open http://localhost:5173 to check the plugin page in the browser. All steps.

Who it is forA developer who wants to add a custom page or panel to the ZCode interface.

The problemPlugin APIs and the install and update flow are documented separately from the code, so a guided start saves time.

The outcomeA working UI plugin tested in the web dev server and prepared for a zcode-plugins pull request.

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

  1. Read UI_PLUGIN.md for plugin capabilities, the page API, install and update steps and host debugging entry points.
  2. Start from the Excalidraw canvas collaboration example described in that guide.
  3. Run pnpm dev:web and open http://localhost:5173 to check the plugin page in the browser.
  4. Before opening a PR to zcode-plugins, declare whether it is a UI Plugin and enter the plugin name in the PR template.

Prompt for your agent

In the zai-org/ZCode repo, read UI_PLUGIN.md and build a plugin named <plugin-name> following the Excalidraw example. Report the files created and confirm that the plugin page loads at http://localhost:5173 under `pnpm dev:web`.

Caveat. The README only links to UI_PLUGIN.md, so the exact plugin API details must be taken from that file rather than from this README.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for zai-org/ZCode and "Build a UI plugin from the Excalidraw example"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer