Engineering Discussion: Optimizing Context Compaction in DeepSeek Harness

shady101852 · reddit · 2026-08-28

A developer shared engineering experiences using the open-source DeepSeek Harness. Having fixed bugs in the compaction feature, they found the context still consumes 130k-150k tokens (max 500k) post-compaction and aim to optimize it down to 50k-90k to reduce costs. The post sparked technical discussion on long context management strategies.

Original post →

More from coding & agent

coding & agent channel →