DTOC paper: agents hide tool outputs to cut tokens and boost solve rate
pppeer · reddit · 2026-10-03
A new paper (Discovery Science 2026, authors incl. Abhay Chaturvedi and Peter van der Putten) introduces DTOC: Dynamic Tool Output Compression, a simple context-management scheme for agents.
- In every turn the agent can hide or unhide specific tool outputs to focus context; outputs are persisted separately so they can be re-enabled later—no irreversible lossy compression
- On a sample of DeepSWE tasks plus internal ablations, DTOC saved tokens, steps, and cost while improving solve rate, though results are model- and task-dependent
- A reference implementation in OpenCode is available; the authors invite practitioners with similar approaches to share
Related event: DTOC Paper: Dynamically Hiding Tool Output Saves Tokens and Boosts Accuracy(2 posts)→
More from coding & agent
- New TLAPS-Bench blog: formally proving correctness of real-world system specs with TLA+ — tianyin_xu · 2026-11-19
- Rivet's lesson: JEV doesn't reason—split severity classification into tiny yes/no prompts — yawnxyz · 2026-11-19
- 16x Microsoft MVP demos a native PowerShell agent built on Microsoft's Intelligent Terminal — dfinke · 2026-11-19
- Musk: Treat Grok Bot like a really smart employee, says most users underuse it — elonmusk · 2026-11-19
- Eve agent tool cuts build time 8x to 6.9s by reusing compiler module graph — evilrabbit_ · 2026-11-19
- Dev shares NL-driven testing UI: 'the best interface is chat' — KlausCodes · 2026-11-19