Agentic AI Glossary

Autocompact

Harness-triggered compaction that shortens conversation state when a session approaches a configured limit.

Illustrative conversation

  1. Why did the session keep going after its history became very long?
  2. The harness autocompacted older turns into a shorter state representation before the next request.

Definition

Autocompact is a product or harness feature that automatically replaces older conversation state with a smaller compaction item or summary when a configured threshold is reached. It can let work continue without a manual restart, but compression is lossy and does not guarantee that every constraint survives. Durable facts should remain in source files or a handoff artifact that can be reloaded.

Reviewed