Headroom 完整教學 — AI Agent Context Compression Layer 1. 專案定位 Headroom 是一套 AI agent 的 context compression (上下文壓縮) layer (層),目標是把 LLM 收到的所有輸入——tool output (工具輸出)、log (日誌)、RAG chunk (檢索增強生成區塊)、檔案內容、對話歷史——在送達 LLM provider 之前進行智慧壓縮,達成 60–95% 的 token (語元) 節省,同時維持回答品質不變。 為什麼需要 Headroom? AI coding agent(如 Claude...