Abstract: Context compaction enables large language model agents to tackle long-horizon tasks within limited context budgets by replacing interaction histories with compressed summaries. However, learning effective compaction jointly with the agent policy remains challenging, as summaries affect task success over many subsequent interactions. We introduce
[…]
Content was trimmed to protect the source. Please visit the original article for the full text.
Read the original article:
RECAP: Training Long-horizon LLM Agents with Context Compaction
