Dsh Tool Bandit Search
siruignaw-sys/dsh-tool-bandit-search · tools
A DeepSeek Harness plugin that replaces the standard tool with a tool that learns which search strategy to use through a contextual multi-armed bandit, instead of relying on a single hardcoded approach.
★ 2GitHub stars
0Forks
2026-08-26Last updated
TypeScriptLanguage
MITLicense
Key features
- quick — a single search query, capped at 5 results.
- Fast, good for simple factual lookups.
- thorough — three query variants (the original plus two reframed angles) run in parallel and merged/deduplicated, capped at 10 results.
- Slower, better for open-ended or multi-perspective questions.
- Quality — how many results came back, relative to that arm's own maximum (so a 5-of-5 "quick" result is scored the same as a 10-of-10 "thorough" result — neither arm is structurally favored by its own result cap).
Requirements
- Runs on top of dsh's native ctx.web search service — no separate API key needed beyond whatever search provider your dsh profile already has configured (e.g.
- Bandit state is in-memory and resets on every restart.
Install command
dsh plugin --profile web add github:siruignaw-sys/dsh-tool-bandit-search