Self-Compacting Language Model Agents
modelsApple Machine LearningOct 12, 2026
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 thresho...
Impact: LowConfidence: MediumNovelty: Incremental
modelsapple-mlagents