<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>AI - แท็ก - Kawin&#39;s Pages</title>
        <link>https://kawin.dev/tags/ai/</link>
        <description>AI - แท็ก - Kawin&#39;s Pages</description>
        <generator>Hugo -- gohugo.io</generator><language>th</language><managingEditor>kawin.v@kkumail.com (Kawin Viriyaprasopsook)</managingEditor>
            <webMaster>kawin.v@kkumail.com (Kawin Viriyaprasopsook)</webMaster><lastBuildDate>Tue, 01 Sep 2026 09:00:00 &#43;0700</lastBuildDate><atom:link href="https://kawin.dev/tags/ai/" rel="self" type="application/rss+xml" /><item>
    <title>AI Agent Governance Stack: ออกแบบระบบควบคุม AI Coding Agent ให้โค้ดมาเร็วโดยไม่เสียคุณภาพ</title>
    <link>https://kawin.dev/posts/ai/ai_agent_governance_stack/</link>
    <pubDate>Tue, 01 Sep 2026 09:00:00 &#43;0700</pubDate>
    <author>kawin.v@kkumail.com (Kawin Viriyaprasopsook)</author>
    <guid>https://kawin.dev/posts/ai/ai_agent_governance_stack/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/featured-image.svg" referrerpolicy="no-referrer">
            </div><p>ช่วงไม่กี่ปีที่ผ่านมา ทีมพัฒนาซอฟต์แวร์ที่นำ AI coding agent มาใช้ในงานจริง ต้องเผชิญกับ <strong>ความย้อนแย้ง</strong> 2 ด้านที่วิ่งสวนทางกันอย่างชัดเจน:</p>
<ol>
<li><strong>ความสามารถในการสร้างโค้ด (generation) เพิ่มขึ้นอย่างก้าวกระโดด:</strong> งานที่เคยใช้เวลาครึ่งวันถูกสร้างเสร็จภายในสิบนาที ปริมาณ pull request ต่อทีมเพิ่มขึ้นหลายเท่า และคอขวดของการเขียนโค้ดก็หายไป</li>
<li><strong>ขีดความสามารถในการตรวจสอบ (alignment, review, audit) แทบไม่ขยับ:</strong> เจตนาที่ตกลงกับ agent ไว้ในหน้าต่างแชทหายไปพร้อมบทสนทนา และ agent สามารถอ้างอิง endpoint ที่ถูกยกเลิกไปแล้วด้วยความมั่นใจได้</li>
</ol>
<p>ผลลัพธ์คือโค้ดไหลเข้ามาเร็วขึ้น แต่ความสามารถของทีมในการทำให้การเปลี่ยนแปลงนั้น <strong>ควบคุมได้ ตรวจทานได้ และนำกลับมาใช้ใหม่ได้</strong> ไม่ได้เร็วตาม บทความนี้จะสรุปแนวทางการออกแบบ <strong>governance stack</strong> สามชั้นที่วางซ้อนกัน โดยอ้างอิงจากสามแหล่งที่มาจากคนละมุม:</p>
<ul>
<li><a href="https://martinfowler.com/articles/structured-prompt-driven/" target="_blank" rel="noopener noreffer ">Structured-Prompt-Driven Development (SPDD)</a> จากทีม Thoughtworks บน martinfowler.com ตอบที่ชั้น <strong>เจตนา</strong></li>
<li><a href="https://github.com/Sahir619/fable-method" target="_blank" rel="noopener noreffer ">Flowcharts ของ Fable method</a> จาก GitHub ตอบที่ชั้น <strong>กระบวนการ</strong></li>
<li><a href="https://www.oreilly.com/radar/stop-overengineering-your-agent-harness/" target="_blank" rel="noopener noreffer ">Stop Overengineering Your Agent Harness</a> จาก O&rsquo;Reilly Radar ตอบที่ชั้น <strong>runtime</strong></li>
</ul>
<h2 id="1-กบดกของความเรวทไรการควบคม-the-anti-pattern">1. กับดักของความเร็วที่ไร้การควบคุม (The Anti-Pattern)</h2>
<p>SPDD เปิดด้วยการเปรียบเทียบที่ตรงประเด็น: การซื้อ AI assistant ก็เหมือนซื้อเฟอร์รารีมาขับบนถนนลูกรัง เครื่องยนต์ทรงพลังก็จริง แต่เวลาที่ถึงจุดหมายขึ้นอยู่กับสภาพถนน ไม่ใช่แรงม้า</p>]]></description>
</item>
</channel>
</rss>
