DEDUPED Hot AI repos, turned into use cases Get 5 a day

What you can do with Agent Router

Agent Router is a TypeScript command-line tool that picks an AI coding agent (Cursor, Claude Code, Codex, or OpenCode), a model, and a reasoning effort for a task, then starts that agent in a Herdr pane.

Trended earlier

Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk.

4 use cases

  • Preview which agent and model a task would use

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

    View prompt
    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.
  • Launch a task in a Herdr pane with the chosen agent

    Let the router pick an agent, open a new Herdr pane, start it, and hand it the task.

    View prompt
    In the agent-router repo, run `router run "<task description>"` from inside a Herdr pane and report the exit code. Verify that a new pane opened with the selected agent running, and that `router session` lists this launch.
  • Check subscription quota before routing a task

    Read account usage with the status command so you know which subscriptions still have capacity.

    View prompt
    In the agent-router repo, run `router status --usage` and list each account with its quota and whether it is eligible. Verify that shared accounts show their reserve and that no personal account is excluded only because quota is missing.
  • Let an agent route its next work phase via skill

    Link the model-router skill so an agent can route the next phase of your work through the router.

    View prompt
    Using the model-router skill from the agent-router repo, route the next phase of the plan at <plan path> and report which agent, model, and effort the router selected. Verify that the router decision card appears in the output before any work starts.

How to use Agent Router

  1. Check you have what it needs: 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.
  2. Open nidhi-singh02/agent-router on GitHub and read the README and license.
  3. Run git clone https://github.com/nidhi-singh02/agent-router.git and change into the cloned folder.
  4. Run npm install and then npm run build.
  5. Run npm link -w @agent-router/router to put router on your PATH.
  6. 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.

These steps come from our top use case, Preview which agent and model a task would use, which also has a copy-paste agent prompt.

Agent Router alternatives · Best AI repos for Software and DevOps

About this repo

Requirements

  • 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
Maintain Agent Router? Add the Featured on Deduped badge

Paste this into your README:

[![Featured on Deduped](https://dedupedai.com/badge/nidhi-singh02-agent-router.svg)](https://dedupedai.com/use-cases/nidhi-singh02-agent-router/?ref=badge)

More badge styles and HTML

Questions about Agent Router

What is Agent Router?

Agent Router is a TypeScript command-line tool that picks an AI coding agent (Cursor, Claude Code, Codex, or OpenCode), a model, and a reasoning effort for a task, then starts that agent in a Herdr pane. It is an open-source project on GitHub: https://github.com/nidhi-singh02/agent-router.

Who is Agent Router for?

Developers who use several AI coding agent subscriptions and want a quota-aware way to pick one for each task.

What can I do with Agent Router?

4 use cases so far, for example: Preview which agent and model a task would use; Launch a task in a Herdr pane with the chosen agent; Check subscription quota before routing a task. Each has steps and a copy-paste agent prompt.

What do I need to run Agent Router?

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.

What are alternatives to Agent Router?

Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.

Is Agent Router safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.