dsh-sieve
Token-saving judgment plugins for DeepSeek Harness
一句话定位
Token-saving judgment plugins for DeepSeek Harness
安装方式
在 DSH 的 web profile 中执行下面的命令;装完刷新页面即可。
$ dsh plugin --profile web add sieve@0.0.4
兼容的 DSH 版本
未声明
作者与热度
Sev7eEn7 · ★ 110 · 更新于 2026-11-01
关于这个插件
English | 简体中文
sieve / dsh-sieve
Your agent navigates countless decisions across long loops, yet most tokens pay for dead logs and stale history. sieve is a precision mesh inside the execution loop: cutting through context inflation and delivering only the critical context that decides the next step.
Context engineering, token efficiency and long-task supervision plugins for DeepSeek Harness (DSH)
−36% request payload (offline replay, 100 trajectories) · −21% main model input tokens (live model, 80 runs) · ~0.3 s per judgment · 0 DSH core patches
How each number was measured, and what it does not show: offline replay · live model results. The live runs predate the current Jev / Laya setup.
A real session in DSH Web: while the agent reads code and runs tests, the Sieve page on the right counts up the estimated input token reduction and the characters taken out of the context.
sieve is a high-performance DSH plugin that filters tool output, forgets stale context, and discloses skills strictly on demand. Every raw output is archived before rewriting and remains one read away. Powered by the same judge engine, a suite of harness modules supervises long tasks to eliminate false completions and infinite loops. [!IMPORTANT] sieve needs a judge model: Jev (hosted, needs an API key) or Laya (local, macOS on Apple Silicon). It never borrows the session's own model. Without one, the token-saving decisions change nothing and the harness modules run on their rules alone. Set one up. Why sieve
Your agent navigates hundreds of critical decisions across complex tool-calling loops.
Yet one glance at its real context ledger reveals a grim reality: actual user prompts and core code represent only a tiny fraction of the payload. The overwhelming bulk is pure context inflation: The tool output tsunami: A test runner spews 8,000 characters. The model only needs the single failing assertion, yet repeatedly pays for 200+ lines of passing tests on every subsequent turn. Ghostly stale history: A file read thirty steps ago—long since superseded—rides along as a ghost passenger in every request. Bloated skill catalogs: Hundreds of skill descriptions loaded at session start when 97% are never touched, permanently diluting the model's attention.
This is not pocket change—it is a critical signal-to-noise crisis.
Input tokens snowball quadratically with every turn. As the context window chokes on dead logs, the model's attention dilutes, hallucinations increase, and tasks stall out.
相似插件
dsh-our-free-model
Our Free Model — 在 dsh 里装上这个插件即可,无需登录、注册或填 API Key,就能使用包括 DeepSeek V4.1 Flash、Kimi K3 在内的前沿模型,桌面端另有 EAC 协付渠道…
next-ai-draw-io
Draw and edit draw.io diagrams by chatting with an AI. Web app, desktop app, and an MCP server for Claude Code, Cursor,…
MemOS
Self-evolving memory OS for LLM & AI Agents: ultra-persistent memory, hybrid-retrieval, and cross-task skill reuse, with…