AI Agent Hub
Back to plugins
🤖

dsh-compaction-instant

Model Inference Updated 2026.08.26

Run the following command in DeepSeek Harness:

dsh plugin install TsFreddie/dsh-compaction-instant

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

To install this plugin in DeepSeek Harness, execute `dsh plugin install TsFreddie/dsh-compaction-instant` in your terminal or visit the open-source repository at https://github.com/TsFreddie/dsh-compaction-instant for the source code and configuration details.

About this plugin

In long-running conversations and tool-heavy workflows, traditional LLM-based context summarization often introduces high token costs, noticeable inference latency, and inevitable hallucinations or information loss. dsh-compaction-instant solves this critical bottleneck by completely bypassing model summarization. Instead, it leverages the deterministic conversation-compiler principle of lllyasviel/VCC to deliver instant, near-lossless context compaction for DeepSeek Harness.

The core capability of this plugin lies in its zero model calls and millisecond compilation. By executing a single deterministic pass over shadowed history nodes, it collapses complex tool calls into one-liners and truncates lengthy texts to fit predefined budgets. Crucially, every elided fragment is marked with a precise pointer to the durable session log. Coupled with the built-in recall and search tools, both the agent and human users can losslessly restore any folded historical detail on demand, closing the loop on near-lossless memory management.

If you are building agents that handle million-token histories, rely on frequent external tool calls, or have strict requirements for compression latency, API costs, and information fidelity, dsh-compaction-instant is the perfect fit. It serves as a contract-exact drop-in replacement for the basic compaction module, allowing your agents to maintain blazing-fast response times and exact memory recall in massive context windows.

Use Cases

  • Managing ultra-long conversation histories with dense tool calls and results.
  • Maintaining million-token context windows without incurring extra model summarization costs.
  • Requiring instant and precise retrieval of folded historical conversation details on demand.

Best For

  • AI engineers developing complex, tool-heavy agents.
  • Developers highly sensitive to inference latency and token consumption costs.
  • Application architects building long-term memory systems that demand zero information loss.