<?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>Rust on TPOW Lab</title><link>https://tpow-001.netlify.app/tags/rust/</link><description>Recent content in Rust on TPOW Lab</description><generator>Hugo</generator><language>en</language><copyright>Copyright &amp;copy; 2025-2026 TPOW-001. All Rights Reserved.</copyright><lastBuildDate>Fri, 26 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://tpow-001.netlify.app/tags/rust/index.xml" rel="self" type="application/rss+xml"/><item><title>Agent Browser 完整教學</title><link>https://tpow-001.netlify.app/post/2026-06-26-agent-browser-tutorial/</link><pubDate>Fri, 26 Jun 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-06-26-agent-browser-tutorial/</guid><description><![CDATA[<h1 id="agent-browser-完整教學" data-numberify>Agent Browser 完整教學<a class="anchor ms-1" href="#agent-browser-完整教學"></a></h1>

<h2 id="1-專案定位與核心價值" data-numberify>1. 專案定位與核心價值<a class="anchor ms-1" href="#1-專案定位與核心價值"></a></h2>

<h3 id="什麼是-agent-browser" data-numberify>什麼是 Agent Browser<a class="anchor ms-1" href="#什麼是-agent-browser"></a></h3>
<p>Agent Browser 是 Vercel Labs 開發的瀏覽器自動化 CLI 工具，以 Rust 原生編譯，透過 Chrome DevTools Protocol (CDP) 直接控制 Chrome/Chromium，專為 AI agent 設計。</p>]]></description></item><item><title>Strands Shell 完整教學</title><link>https://tpow-001.netlify.app/post/2026-06-18-shell-tutorial/</link><pubDate>Thu, 18 Jun 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-06-18-shell-tutorial/</guid><description><![CDATA[<blockquote>
<p><strong>Repository</strong>: <a href="https://github.com/strands-agents/shell" target="_blank" rel="noopener noreferrer">https://github.com/strands-agents/shell<i class="fas fa-external-link-square-alt ms-1"></i></a>
<strong>Stars</strong>: 103 | <strong>Forks</strong>: 12 | <strong>Language</strong>: Rust
<strong>License</strong>: Apache-2.0 | <strong>Last Updated</strong>: 2026-06-17
<strong>Homepage</strong>: <a href="https://strandsagents.com" target="_blank" rel="noopener noreferrer">https://strandsagents.com<i class="fas fa-external-link-square-alt ms-1"></i></a>
<strong>Tags</strong>: Shell, Rust, Sandboxing</p></blockquote>
<hr>

<h2 id="1-專案概覽-project-overview" data-numberify>1. 專案概覽 (Project Overview)<a class="anchor ms-1" href="#1-專案概覽-project-overview"></a></h2>

<h3 id="11-這是什麼" data-numberify>1.1 這是什麼<a class="anchor ms-1" href="#11-這是什麼"></a></h3>
<p>Strands Shell 是一個完全在 userspace (使用者空間) 中執行的 Bourne-compatible shell (Bourne 相容 shell)，專為 AI agent (AI 代理人) 設計。它的核心理念是：<strong>給 agent 一個 shell，但不給它你機器的鑰匙</strong>。</p>]]></description></item><item><title>pg_durable 深度教學 — PostgreSQL 內建持久化執行引擎</title><link>https://tpow-001.netlify.app/post/2026-06-08-pg_durable-tutorial/</link><pubDate>Mon, 08 Jun 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-06-08-pg_durable-tutorial/</guid><description><![CDATA[<h1 id="pg_durable-深度教學--postgresql-內建持久化執行引擎" data-numberify>pg_durable 深度教學 — PostgreSQL 內建持久化執行引擎<a class="anchor ms-1" href="#pg_durable-深度教學--postgresql-內建持久化執行引擎"></a></h1>

<h2 id="1-專案定位與解決的問題" data-numberify>§1 專案定位與解決的問題<a class="anchor ms-1" href="#1-專案定位與解決的問題"></a></h2>

<h3 id="11-pg_durable-是什麼" data-numberify>1.1 pg_durable 是什麼<a class="anchor ms-1" href="#11-pg_durable-是什麼"></a></h3>
<p>pg_durable 是 Microsoft 推出的 PostgreSQL 擴充套件（extension），以 Rust 語言（透過 pgrx 框架）實作，將 <strong>durable execution（持久化執行）</strong> 模式直接嵌入 PostgreSQL 資料庫內部。</p>]]></description></item><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><item><title>Tutorial: LocalSend — 跨平台 AirDrop 開源替代品的完整解讀（協定、架構、資安）</title><link>https://tpow-001.netlify.app/post/2026-06-01-localsend-tutorial/</link><pubDate>Mon, 01 Jun 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-06-01-localsend-tutorial/</guid><description><![CDATA[<h1 id="localsend-完整教學" data-numberify>LocalSend 完整教學<a class="anchor ms-1" href="#localsend-完整教學"></a></h1>
<blockquote>
<p>LocalSend 是一個用 <strong>Flutter（UI / 平台整合）+ Rust（<code>core/</code> 網路核心）</strong> 寫的跨平台 P2P 檔案傳輸 app，主打「<strong>只用區網、不需網際網路、不需第三方伺服器</strong>」的 AirDrop 替代品。
8.2 萬星、Apache-2.0、官方 protocol 文件公開。</p>]]></description></item><item><title>spritefusion-pixel-snapper 詳細教學</title><link>https://tpow-001.netlify.app/post/2026-05-28-spritefusion-pixel-snapper-tutorial/</link><pubDate>Thu, 28 May 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-05-28-spritefusion-pixel-snapper-tutorial/</guid><description><![CDATA[<h1 id="spritefusion-pixel-snapper--完整教學" data-numberify>spritefusion-pixel-snapper — 完整教學<a class="anchor ms-1" href="#spritefusion-pixel-snapper--完整教學"></a></h1>
<blockquote>
<p>把 AI 生成的「不工整 pixel art」對齊到真正的整數 grid，並量化到限定色盤；單檔 870 行 Rust，可同時編譯成 CLI 與 WASM 模組。</p></blockquote>

<h2 id="1-專案定位" data-numberify>1. 專案定位<a class="anchor ms-1" href="#1-專案定位"></a></h2>

<h3 id="11-一句話定位" data-numberify>1.1 一句話定位<a class="anchor ms-1" href="#11-一句話定位"></a></h3>
<p>Pixel Snapper 是 Sprite Fusion（線上 tilemap editor）團隊釋出的 AI pixel art 後處理工具。它接收一張 AI 生成、解析度通常為 1024×1024 的「看起來像 pixel art 但 pixel 邊界其實亂飄」的圖，輸出一張 pixel 大小一致、grid 對齊、色盤受限的乾淨 sprite。</p>]]></description></item><item><title>AAIF goose 詳細教學 — Rust 原生 AI agent（desktop + CLI + server + 30 provider + 70 MCP extension）</title><link>https://tpow-001.netlify.app/post/2026-05-22-goose-tutorial/</link><pubDate>Fri, 22 May 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-05-22-goose-tutorial/</guid><description><![CDATA[<h1 id="aaif-goose-詳細教學" data-numberify>AAIF goose 詳細教學<a class="anchor ms-1" href="#aaif-goose-詳細教學"></a></h1>
<blockquote>
<p>對應 repo: <a href="https://github.com/aaif-goose/goose" target="_blank" rel="noopener noreferrer">https://github.com/aaif-goose/goose<i class="fas fa-external-link-square-alt ms-1"></i></a>（45.6k stars / 4.7k forks / v1.34.1 stable / Apache-2.0，截至 2026-05-22）</p></blockquote>

<h2 id="1-專案定位" data-numberify>1. 專案定位<a class="anchor ms-1" href="#1-專案定位"></a></h2>

<h3 id="11-它是什麼" data-numberify>1.1 它是什麼<a class="anchor ms-1" href="#11-它是什麼"></a></h3>
<p><strong>goose</strong> 是 <strong>AAIF (Agentic AI Foundation, Linux Foundation)</strong> 治理的 Rust 原生通用 AI agent。三種形態：</p>]]></description></item><item><title>RTK (Rust Token Killer) 完整教學 — Claude Code / Copilot / Cursor 的 token 殺手</title><link>https://tpow-001.netlify.app/post/2026-05-20-rtk-tutorial/</link><pubDate>Wed, 20 May 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-05-20-rtk-tutorial/</guid><description><![CDATA[<h1 id="rtk-rust-token-killer-完整教學" data-numberify>RTK (Rust Token Killer) 完整教學<a class="anchor ms-1" href="#rtk-rust-token-killer-完整教學"></a></h1>
<blockquote>
<p>一句話：在 LLM agent 跑 shell 命令前先過濾、分群、去重、截斷輸出，把 token 消耗砍 60–90%。</p></blockquote>

<h2 id="1-專案定位" data-numberify>1. 專案定位<a class="anchor ms-1" href="#1-專案定位"></a></h2>
<p><strong>RTK (Rust Token Killer; Rust token 殺手)</strong> 是 Rust 寫的 CLI proxy，定位是「AI agent 與 shell 之間的壓縮層」。和其他類似工具比較：</p>]]></description></item></channel></rss>