<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Proxy on TPOW Lab</title><link>https://tpow-001.netlify.app/tags/proxy/</link><description>Recent content in Proxy on TPOW Lab</description><generator>Hugo</generator><language>en</language><copyright>Copyright &amp;copy; 2025-2026 TPOW-001. All Rights Reserved.</copyright><lastBuildDate>Thu, 04 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://tpow-001.netlify.app/tags/proxy/index.xml" rel="self" type="application/rss+xml"/><item><title>Headroom 完整教學 — AI Agent Context Compression Layer</title><link>https://tpow-001.netlify.app/post/2026-06-04-headroom-tutorial/</link><pubDate>Thu, 04 Jun 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-06-04-headroom-tutorial/</guid><description><![CDATA[<h1 id="headroom-完整教學--ai-agent-context-compression-layer" data-numberify>Headroom 完整教學 — AI Agent Context Compression Layer<a class="anchor ms-1" href="#headroom-完整教學--ai-agent-context-compression-layer"></a></h1>

<h2 id="1-專案定位" data-numberify>1. 專案定位<a class="anchor ms-1" href="#1-專案定位"></a></h2>
<p>Headroom 是一套 AI agent 的 context compression (上下文壓縮) layer (層)，目標是把 LLM 收到的所有輸入——tool output (工具輸出)、log (日誌)、RAG chunk (檢索增強生成區塊)、檔案內容、對話歷史——在送達 LLM provider 之前進行智慧壓縮，達成 60–95% 的 token (語元) 節省，同時維持回答品質不變。</p>]]></description></item></channel></rss>