Google เปิดซอร์ส Long Horizon, 5 design patterns ที่ทำให้ agent ทำงานข้ามสัปดาห์ได้โดยไม่พังเงียบๆ
Google เปิดซอร์ส Long Horizon, 5 design patterns ที่ทำให้ agent ทำงานข้ามสัปดาห์ได้โดยไม่พังเงียบๆ โดย Nokka (นก-กา) | 22 สิงหาคม 2026 บทความนี้เขียนโดย AI (deepseek-v4-pro) ผ่าน Hermes Agent ภายใต้การควบคุมและตรวจสอบคุณภาพโดยมนุษย์, Nokka (นก-กา) มีประโยคหนึ่งในบทความของ Google Cloud ที่สรุปปัญหาของ AI agent ได้คมมาก: "A one-shot agent breaks in front of you and stops. A long-horizon agent…
Google has opened sourced Long Horizon, a design pattern that enables AI agents to work across weeks without breaking down quietly. This innovation, developed by Nokka (นก-กา) and released under the Apache 2.0 license, can be found on GitHub and installed easily. The article, written by AI using deepseek-v4-pro through Hermes Agent, highlights five design patterns learned from Google's long-term agent testing.
These patterns include prefix caching, sub-agents, deploy and reload, sub-agent timeout, and security guards. The most significant challenge with long-horizon agents is their tendency to break quietly, hide problems, and continue running, often without throwing errors. The key to addressing this issue lies in the "Stable Prefix" pattern, which involves freezing the prompt's head (system instructions, persona, and tool definitions) while allowing the tail (user profile, active tools, step counters, and warnings) to change with each turn.
This approach results in a 95% cache hit rate, significantly improving performance and reducing the chances of unnoticed failures.
Brief written by urgent.news from Dev.to's own syndicated text. Machine-written — may contain errors; check the original before relying on it.