Skip to content

Agents & Agentic AI

Context compaction

Shortening the conversation or task information an AI keeps available.

Example

An agent summarizes earlier work to fit within its amount of text it can accept.

Why people use it

It helps an agent continue when the earlier conversation has become too long.

What you'll hear

“Save the important state before shortening the history.”

What this means for you

Retain critical instructions and check the compacted state before continuing.

Can you control it?

Sometimes

Sometimes. Your choices depend on the tool and your access. The settings available to an everyday user may differ from those available to the people running it.

Common questions

Can a shortened record preserve an old mistake?
Yes. Unless the mistake is corrected, the summary can carry it into later work.
Can a small missing detail matter later?
Yes. A forgotten exception or decision can change what the agent does next.
Is compaction the same as deleting all earlier work?
No. It aims to keep a shorter account of what is needed to continue.

Related terms

Still have questions?

Up to 500 characters.

Ask LATHIC about AI. Relevant glossary entries may be included.

Your question, the glossary entries it matches, and a rotating pseudonymous identifier go to Microsoft Azure’s OpenAI service through Vercel AI Gateway to generate an answer. Zero retention and no training are required of the provider, and LATHIC does not save your question or answer. Privacy Notice