---
schema: 1
type: term
title: _compaction_
description: >-
  **_Compaction_**: a coding agent's process of condensing its accumulated
  conversation and work context into a compact summary so it can continue a long
  task within the limits of its context window.
canonical: 'https://liquidgold.cc/channel/everyinc/explore/term/compaction-9e4565be4900'
markdown: 'https://liquidgold.cc/channel/everyinc/explore/term/compaction-9e4565be4900.md'
llms: null
parent: 'https://liquidgold.cc/channel/everyinc/llms.txt'
channel: everyinc
updated: '2026-10-23T22:12:35.346Z'
language: null
children: []
---


# \_compaction\_

Canonical: https://liquidgold.cc/channel/everyinc/explore/term/compaction-9e4565be4900

Parent: [Channel index](https://liquidgold.cc/channel/everyinc/llms.txt)

## Definition

**_Compaction_**: a coding agent's process of condensing its accumulated conversation and work context into a compact summary so it can continue a long task within the limits of its context window.

In the material on coding agents, **_compaction_** refers to an agent condensing the conversation and work context it has accumulated — the back-and-forth, the files touched, the plan so far — into a compact summary, so it can keep working within the limits of its context window [^619ac4a8-531a-53a9-9188-912ae7459502]. A long, autonomous task builds up history the model can't hold forever; compaction is the mechanism that lets the agent continue past that point by carrying forward a distilled version of what matters instead of the full transcript.Compaction matters most in the delegation-first workflows described across the coding-agents sessions: you hand an agent a whole task, it plans, edits, and verifies over many steps, and somewhere in that long run its context fills up. When compaction happens, what survives the summarization step becomes the agent's working memory going forward.- Notice when an agent's behavior shifts after a long run — compaction is often the reason. - Keep durable state (the plan, key decisions, file list) explicit in the task description so it survives the compression step. - Treat compaction as a reminder that the human's job is **planning, orchestrating, and verifying**: checking the agent's output matters precisely because its internal context is not permanent.
