Morph Compact
The Best Context Compaction
Near-lossless context compaction in under 3 seconds. Shrink agent context 50-70% while keeping every surviving sentence verbatim. Your agents run for hours, not minutes.

Morph Compact
When a capable model feels dumb,
the problem is context
Compaction, not summarization
Summarization rewrites your context. Factory's eval on 36K real sessions scored it 3.4-3.7/5 on accuracy: file paths, error codes, and decisions get paraphrased away. Compact deletes filler and keeps every surviving sentence word-for-word.

Under 3 seconds
Every compaction finishes in under 3 seconds. Fast enough to run inline before every call, not just at the 95% capacity cliff.

Near-lossless
Output lines are character-for-character matches from the input. No generated content, no reformatting. JetBrains found summarization causes 13-15% longer agent trajectories. Verbatim compaction avoids that.

Enable 24+ hour agent sessions
Prompt-aware compaction
