dsh-cortex
Run the following command in DeepSeek Harness:
dsh plugin install iguowz/dsh-cortex
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install iguowz/dsh-cortex in DeepSeek Harness to install this plugin; the full source repository is at https://github.com/iguowz/dsh-cortex
About this plugin
Most agent pipelines route every single step to the strongest model, so cost scales linearly with task complexity while quality bottlenecks still sit at planning and acceptance. Cortex reframes the host primary model as a high-leverage supervisor that only plans, decomposes, routes, verifies, and accepts; the dense generation and stat-heavy subtasks are dynamically assigned to cheaper executor models, cutting the average cost per successful task while holding quality steady.
Under the hood, Cortex provides a recursive task tree, four-stage quality gates (Gate0 through Gate3), a four-pool budget engine with automatic degradation, fingerprint-based policy reuse, a failure-recovery decision tree, and a seven-dimension model evaluation system with Pareto-frontier tracking and drift monitoring. For purely statistical subtasks it can bypass the model entirely via the L0 engine for zero-call exact computation; for medium-sensitivity repetitive work, multi-round voting on weaker models approaches strong-model reliability at roughly one-hundredth the cost. All state is persisted and survives restarts, and a bundled Web console plus the Watchdog scheduler round out the orchestration loop.
If your project already runs on DeepSeek-Harness and your tasks involve multi-step planning, cross-model collaboration, or per-token cost sensitivity, Cortex is a drop-in orchestration layer: it installs via a single plugin command, auto-mounts on the next boot with no manual profile edits, and the supervisor drives the entire pipeline autonomously through 13 built-in tools.
Use Cases
- Multi-step complex tasks that pair strong-model planning with low-cost executor models to cut token spend
- Automatic retry, model switching, or strong-model escalation when a subtask fails, keeping the pipeline alive
- Continuous per-model evaluation across task types with adaptive routing-weight updates
- Scheduled or cross-workspace batch task injection where the supervisor auto-evaluates goals and iterates until met
Best For
- Developers running DeepSeek-Harness who need cost-aware multi-model collaboration
- Teams that must add quality gates, budget constraints, and failure recovery to production agent pipelines
- Algorithm engineers who want seven-dimension model evaluation and Pareto-frontier analysis across LLMs
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.