Factory Research evaluated context compression for AI agents using probe-based tests. They found structured summarization preserves more details than OpenAI or Anthropic methods during long sessions.
Highlights
Traditional metrics like ROUGE fail to measure functional context preservation.
Probe-based tests verify if agents recall specific details after compression.
Structured summarization outperformed OpenAI and Anthropic in debugging tasks.
Optimizing for tokens per task improves agent productivity over tokens per request.
Testing covered debugging, code review, and ML research scenarios.
Context Compaction: Query-Based and Objective Modes | Morph
Compaction drops 50-70% of an agent’s context while keeping every surviving line verbatim. Two modes: objective compaction strips filler with no guida...
cursor.com
Agent best practices - grind mode and various hooks
A comprehensive guide to working with coding agents, from starting with plans to managing context, customizing workflows, and reviewing code.
github.com
GitHub - omnigent-ai/omnigent: A meta-harness for all your AI agents. Omnigent provides a common layer over Claude Code, Codex, Pi, and the agents you write yourself: swap or combine harnesses without rewriting, keep them in check with policies and sandboxing, and collaborate in real time on the same live session, from any device.
A meta-harness for all your AI agents. Omnigent provides a common layer over Claude Code, Codex, Pi, and the agents you write yourself: swap or combin...