<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Pi-Agent - Nhãn - Luân Dương</title><link>https://blog.luandnh.com/tags/pi-agent/</link><description>Pi-Agent - Nhãn - Luân Dương</description><generator>Hugo -- gohugo.io</generator><language>vi-VN</language><managingEditor>luandnh98@gmail.com (Dương Nguyễn Hoàng Luân)</managingEditor><webMaster>luandnh98@gmail.com (Dương Nguyễn Hoàng Luân)</webMaster><lastBuildDate>Sun, 05 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.luandnh.com/tags/pi-agent/" rel="self" type="application/rss+xml"/><item><title>Agent = Model + Harness: Đừng mang động cơ F1 lắp vào xe bus không phanh</title><link>https://blog.luandnh.com/posts/anatomy-of-an-agent-harness/</link><pubDate>Sun, 05 Jul 2026 00:00:00 +0000</pubDate><author>luandnh98@gmail.com (Dương Nguyễn Hoàng Luân)</author><guid>https://blog.luandnh.com/posts/anatomy-of-an-agent-harness/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/covers/agent-harness-cover.png" referrerpolicy="no-referrer">
            </div><p>Hồi cuối năm ngoái, mình có tự chế một con bot chạy ngầm để tự động đọc menu của các đối tác quán ăn gửi về dưới dạng PDF/Excel, rồi parse qua struct Go để nạp vào DB của hệ thống Menu Service.</p>
<p>Logic rất đơn giản: đọc file -&gt; nhét vào prompt -&gt; gọi API GPT-4 -&gt; nhận JSON -&gt; parse vào struct -&gt; save. Mình tự tin chạy thử. 3 ngày đầu chạy ngon lành. Đến ngày thứ 4, một quán gửi cái file PDF thực đơn dài 15 trang, scan mờ căm và cấu trúc lộn xộn.</p>]]></description></item></channel></rss>