DeepSeek Harness Dynamic Plugin: dsh-plugin-save-token
DeepSeek Harness (DSH) provides a dynamic plugin, `dsh-plugin-save-token`, designed to reduce token costs in agent conversations through structure-aware compression and deduplication strategies. The plugin supports mechanisms such as lossless TOON encoding, table stride sampling, cross-turn deduplication, and error-row protection, with all optimizations adhering to a reversibility principle. It features a dual-gating mechanism that activates only when the compression ratio exceeds 72% and absolute savings reach 500 B or more, and it integrates a metering dashboard. The plugin is suitable for API JSON or CLI table output scenarios, using disk caching to ensure recoverability, and achieves efficient compression without degrading the model's reasoning quality.
Read More