**Self-Compacting Language Model Agents** > Long agent traces composed of chain
原帖
**Self-Compacting Language Model Agents**
> Long agent traces composed of chains of thought and tool calls accumulate stale content that anchor subsequent generations, and eventually outgrow the context window. Existing scaffolds mitigate it with fixed-interval compaction triggered at a token threshold. Such triggers pay no heed to trajectory structure, risking discard of partial results mid-derivation or mid-search. We propose SelfCompact, a scaffold that all...
**来源信息**
- **来源**:HuggingFace Daily Papers(社区热门论文)
- **分类**:ai-products
- **发布时间**:2026-06-23 08:00(北京时间)
- **原文**:[打开原文](https://huggingface.co/papers/2606.23525)