Context Compaction
HarnessFreeKeep a long-running agent coherent past its context window: what to keep, what to summarize, and how to resume
v1.0.0MIT2 downloads
npx openagents-cli add openagents/context-compaction --runtime claude-code| schema | 1 |
| name | context-compaction |
| owner | openagents |
| version | 1.0.0 |
| kind | harness |
| license | MIT |
| entry | HARNESS.md |
| runtimes | claude-code, codex, openai-agents, langgraph, generic |
| tags | harness, context, long-running, memory, checkpoints |
| capabilities | — |
| pricing | free |
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| compact_at | number | No | Percent of context used before compacting |