Tyan66666/billion-context-dsh
Model-driven context management (Active Context Pruning / ACP) for the DeepSeek Harness — the model decides wh
billion-context-dsh gives the model explicit, reversible control over long-session context. Instead of silently truncating early turns or invoking a second summarizer, it exposes compress, decompress, search_context, and acp_status tools. Model-written summaries become checkpoint nodes while the original events remain in the append-only log, so details can be searched or restored later. Pressure-based nudges suggest compression without forcing it, and repeated compression can distill older checkpoints into deeper tiers for very long work.
Install
dsh plugin --profile web add billion-context-dshThis is test software and the README says not to use it in production. Disable compaction-basic when mounting compaction-acp: only one ctx.compaction provider may exist in a realm. Run acp_status after setup to verify the mount.
Compatibility
DeepSeek Harness profiles using the compaction service. The plugin replaces the default compaction backend and must not run beside compaction-basic in the same realm. Both DSH and the plugin are described as preview software.
Details
- Repo: Tyan66666/billion-context-dsh
- Category: Agent Capabilities
- Stars: 31
- Version: 0.2.10 test release documented
- Last push: 2026-09-20
- First seen: 2026-08-13
Recent updates
The v0.2.10 README describes bundle installation, model-authored checkpoint compression, tiered distillation, log-based recovery, hybrid search, host-token accounting, and configurable nudge text.
FAQ
- How do I install billion-context-dsh?
- On supported builds, run dsh plugin --profile web add billion-context-dsh, then configure compaction-acp and disable compaction-basic in the same realm.
- Does it permanently delete compressed messages?
- No. The summary replaces the visible range, but original events remain in the append-only session log and can be recovered with decompress or searched.
- Is billion-context-dsh production-ready?
- No. Its README labels v0.2.10 as a test release and explicitly warns against production use while both it and DSH are evolving.
Alternatives
csyangwen/dsh-memory-evolve · modusensus/dsh-mneme · bowenliang123/dsh-context