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

How to preview which agent and model a task would use with Agent Router

Run a dry run to see the agent, model, and effort the router would pick, without launching anything.

Short answer: Run git clone https://github.com/nidhi-singh02/agent-router.git and change into the cloned folder; then run npm install and then npm run build; run npm link -w @agent-router/router to put router on your PATH. All steps.

Credentials. Each run sends the task text to TypeSafe, so keep sensitive narrative data out of the task string.

Who it is forA developer with several agent subscriptions who wants to check the router's choice before starting paid or quota-limited work.

The problemIt is unclear which agent, model, and effort the router would pick for a given task, and starting the wrong one wastes quota.

The outcomeA decision card showing the selected agent, model, effort, reason, and quota, with no pane opened and nothing sent.

What you need first

  • Node.js 20 or newer
  • A TypeSafe API key, since routing always calls TypeSafe
  • At least one agent CLI you are logged in to: agent (Cursor), claude (Claude Code), codex, or opencode
  • Herdr, for launching agents without --dry-run
  • A config file with your accounts in the model-router home folder

Steps

  1. Run git clone https://github.com/nidhi-singh02/agent-router.git and change into the cloned folder.
  2. Run npm install and then npm run build.
  3. Run npm link -w @agent-router/router to put router on your PATH.
  4. Store your TypeSafe key with security add-generic-password -a "$USER" -s model-router-typesafe -w on macOS, then add your accounts to .model-router/config.json.
  5. Run router run "<task description>" --dry-run and read the decision card. (inferred, check the README)

Prompt for your agent

In the agent-router repo, run `router run "<task description>" --dry-run` and report the Selected line, the Why line, and the Quota line from the decision card. Verify that no Herdr pane was opened and no command was started.

Caveat. Routing always calls TypeSafe with no fallback, so the dry run needs a working TypeSafe key and at least one account set up in config.json.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for nidhi-singh02/agent-router and "Preview which agent and model a task would use"

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