dsh-agent-router

Routes subagent delegations once at spawn time by keyword rules over the delegation label and prompt: the first matching rule sets the child's provider/model/reasoningEffort, explicit caller routes are kept unless a rule opts in, and unmatched delegations pass through unchanged.

Overview

Routes subagent delegations once at spawn time by keyword rules over the delegation label and prompt: the first matching rule sets the child's provider/model/reasoningEffort, explicit caller routes are kept unless a rule opts in, and unmatched delegations pass through unchanged.

Installation

Install from GitHub

dsh plugin --profile web add github:gengwg/dsh-agent-router

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.