dsh-routing-suite: DSH Agent: Automatic Switching of Thinking Modes by Task Type
yjh051108/dsh-routing-suite
About the project
A tool that automatically switches an agent's thinking mode based on task type within the DeepSeek Harness (DSH) environment. It bundles a runtime injector and routing presets (router-standard) into a single repository, applying them immediately at session start after installation.
The core feature is 'task-aware thinking mode routing.' It classifies and applies planning-centric (spec), execution-centric (react), or mixed modes based on the nature of the user's input message. It matches optimized personas for each model, improving discrimination for the Pro model and classification accuracy for the Flash model.
What sets it apart from existing approaches is the 'proximal guidance' mechanism. It injects fixed guidelines immediately after each user message turn, boosting cache hit rates to 92–94%. This achieves a routing success rate of 96% and a convergence rate of 100%, with measured data (P1-P23) showing an increase in open-ended task completion rates from 0% to 100%.
From version v0.3.0, routing actually works from the first request. Previous versions had an issue where the first turn was always processed in the default mode, but now initial messages are captured via the agent inbox for immediate classification. Unnecessary API calls have also been eliminated to improve cost efficiency.
yjh051108/dsh-routing-suite
dsh-routing-suite — injector + router-standard kit: install the runtime injector first, then the task-aware reasoning-mode router preset (measured P1-P23).
PowerShell
This introduction was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report errors, attribution issues, or removal requests via Contact.