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

How to compare a judge in shadow mode before trusting it with Mu

Log what the judge would do without letting it change anything, then read the verdicts.

Short answer: Install Mu with npm i -g mu-agent and run mu setup; then open ~/.mu/agent/mu.json and set the content to {"modes": {"default": "shadow"}}; run mu on a small task in your project folder. All steps.

Who it is forA developer who wants evidence that a judge makes good calls before relying on it for permissions or context.

The problemSwitching on an unfamiliar judge changes agent behavior with no preview of its decisions.

The outcomeA ledger of judge verdicts, with probabilities and timings, for decision points that changed nothing.

What you need first

  • Node.js 22.19 or newer for the command line, or the desktop installer for macOS, Windows or Linux
  • An API key or a supported ChatGPT, Claude, Grok or Google subscription (the free Jev on OpenCode Zen answers until you set a judge key)
  • A project folder to work in

Steps

  1. Install Mu with npm i -g mu-agent and run mu setup.
  2. Open ~/.mu/agent/mu.json and set the content to {"modes": {"default": "shadow"}}.
  3. Run mu on a small task in your project folder.
  4. Run mu ledger to read each verdict, its probabilities and its timing.
  5. Once you have seen enough, remove the shadow setting so the decision points return to their default of active. (inferred, check the README)

Prompt for your agent

Set up the mu coding agent (github.com/qybaihe/mu) in shadow mode by writing `{"modes": {"default": "shadow"}}` to ~/.mu/agent/mu.json, then run a small task with `mu` in <project path>. Expected output: a ledger of verdicts that changed no behavior. Verify with `mu ledger` that the entries show probabilities and timing.

Caveat. The README only describes shadow mode as a per-decision-point setting, so check the default config before relying on the exact JSON shape.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for qybaihe/mu and "Compare a judge in shadow mode before trusting it"

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