Tools Need Not Speak in Text: Latent Context Compression for Agents
minor signal 16 langchainlanggraphcrewaiautogen
A paper introduces Coca-Cola, a continuous latent context compression model for LLM agents that compresses tool observations into latent tokens embedded in the agent's input embedding space, plus Action-Preserving Training that aligns next-action distributions under full and compressed observations. Reported reductions are 70.01%-89.24% in token consumption and 24.45%-55.97% in end-to-end runtime on web-search agents across four QA benchmarks and two model families. Code is linked at github.com/THU-Agent/Coca-cola.
Action: Skim the paper and its linked repository to judge whether latent tool-observation compression fits your agent's context budget; no dependency change is needed.
Migration effort: none
Cited
Tools Need Not Speak in Text: Latent Context Compression for Agents arxiv-ai · community · 2026-11-04