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

How to run the terminal agent from source on a project with ZCode

Build and launch the Agent CLI and TUI directly from the apps/zcode-cli source.

Short answer: Complete the setup in the repository root with pnpm bootstrap; then check the entry point with pnpm --filter @zcode/cli dev --help; start the interactive terminal agent with pnpm --filter @zcode/cli dev. All steps.

Who it is forA developer who wants the terminal coding agent without the desktop app or a packaged release.

The problemThe packaged zcode command may point at an older install, so source runs are needed to test changes.

The outcomeAn interactive TUI session started from the current source, with the CLI help output confirmed first.

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. Complete the setup in the repository root with pnpm bootstrap.
  2. Check the entry point with pnpm --filter @zcode/cli dev --help.
  3. Start the interactive terminal agent with pnpm --filter @zcode/cli dev.
  4. Read the CLI usage guide at apps/zcode-cli/docs/usage/README.md for model setup, non-interactive calls and trajectory recording.

Prompt for your agent

In the zai-org/ZCode repo, run `pnpm bootstrap` and then `pnpm --filter @zcode/cli dev --help`. Report the available options and state whether the help text lists a non-interactive mode.

Caveat. This entry point runs the Agent CLI directly and skips the --web routing that the packaged zcode command provides.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for zai-org/ZCode and "Run the terminal agent from source on a project"

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