Building an internal agent: Context window compaction

llm (27), agents (16), internal-agent (10)