
Distilly Context Distiller & Prompt Pruning Optimizer
A context compression and token economizer engine for DeepSeek Harness. Leverages semantic relevance scoring to prune redundant prompt tokens, deduplicate chat logs, and reduce latency by up to 70%.
Token-Optimization · Context-Pruning · Prompt-Engineering · Cost-Saving
$ pnpm add @distilly/mindsetArchitecture
Core Features
Lossless Semantic Compression: Retains critical variables and constraints without degrading success
Substantial Cost Reduction: Lowers input token expenditure by 40% to 70% on long-horizon tasks
Slashed First-Token Latency (TTFT): Smaller prompt payloads dramatically shorten prefill latency
Configurable Pruning Tiers: Offers Safe, Balanced, and Aggressive compression profiles
Core Workflow
Token Density Audit
Scans conversation histories, scoring semantic density and recency decay.
Terminal Log Compaction
Identifies massive terminal logs, compacting progress bars into factual summaries.
Trajectory Distillation
Distills early trial-and-error reasoning turns into high-density fact checklists.
Optimized Payload Egress
Delivers compressed prompt payloads to the DeepSeek inference gateway.
Configuration Parameters Reference (YAML / JSON)
| Parameter | Type | Default | Description |
|---|---|---|---|
| compressionLevel | string | balanced | Compression intensity profile |
| maxLogLines | number | 30 | Maximum uncollapsed lines retained for tool outputs |
| preserveCodeBlocks | boolean | true | Prevent compression from altering code block syntax |
Recommended Plugins
DSH Superagent Autonomous Proactive Coding Suite
DSH Superagent is an open-source proactive coding agent prototype engineered by DeepSeek for DeepSeek Harness. Operating under a minimal human attention principle, it continuously monitors GitHub and Feishu event streams, autonomously launching isolated workspace sessions to inspect repositories, execute code modifications, submit pull requests, and deliver concise updates through an interactive human-in-the-loop dashboard.
DSH Proactive Heartbeat & Autonomous Daemon
A production-grade asynchronous heartbeat and persistent daemon runtime for DeepSeek Harness agents. Features declarative cron scheduling, session state persistence, and event-driven wakeups for autonomous background workflows.
Ruflo Swarm Distributed Agent Mesh
A high-performance multi-agent swarm orchestration framework for DeepSeek Harness. Features dynamic DAG task distribution, shared episodic memory pools, and deterministic consensus protocols.