
Evaluating Context Compression for AI Agents | Factory.ai
When an AI agent helps you work through a complex task across hundreds of messages, what happens when it runs out of me…
Morph's Context Compaction reduces agent context by 50-70% while retaining surviving lines verbatim.
Objective mode scores lines by structural importance, dropping filler like imports and passing tests. Query-based mode filters lines by relevance to a specified next-task query, improving performance on benchmarks like SWE-Bench.