AI Agent Hub
Back to plugins
dsh-self-evolution preview

dsh-self-evolution

Workflow Updated 2026.08.15

Run the following command in DeepSeek Harness:

dsh plugin install Lhy723/dsh-self-evolution

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install Lhy723/dsh-self-evolution inside an initialized DeepSeek Harness profile; source is available at https://github.com/Lhy723/dsh-self-evolution

About this plugin

The hardest part of evolving an Agent Profile is rarely “what to change” — it is “how to roll back when a change makes things worse.” dsh-self-evolution builds an iteration loop on a frozen Benchmark: each round the Optimizer proposes candidate file edits, the Evaluator scores them in a fully isolated context, and a candidate is accepted only if its score is strictly greater than the current baseline (using >, not >=); otherwise the system rolls back to the last verified snapshot. Every decision that matters — frozen digests, the Case×Run evaluation matrix, monotonic versioning, and snapshot validation — runs in deterministic host code, never through an LLM, eliminating the risk of a model convincing itself it improved. The plugin enforces context isolation across the three roles: private rubrics never leak into the Target or Optimizer prompts, inherited tools are cleared to { allow: [] } for Evaluator and Optimizer, and every candidate write passes through a whitelist, path-traversal guard, and a per-Profile mutex lock, making each change an auditable, reversible transaction. Built for teams and solo developers already running agents on DeepSeek Harness / Cordis who have a stable evaluation set and want to turn prompt tuning from manual trial-and-error into a repeatable, safe engineering workflow.

Screenshots

Use Cases

  • Iterate on AGENTS.md, Skills, and config against a frozen benchmark with strict accept-or-rollback
  • Run unattended batch optimization where every candidate must score strictly above baseline to be adopted
  • Audit version history and Scoreboard entries, then roll back to any verified snapshot with one call

Best For

  • Engineers operating agents on DeepSeek Harness or Cordis
  • Teams with stable evaluation sets who want to turn prompt tuning into an engineering process
  • Developers who need auditable, reversible Agent configuration iteration workflows