如何为游戏开发设计 AI harness
作者在卡尔加里 Indie Rodeo 活动上做了题为“Your Game Is A Harness”的 45 分钟演讲,这篇博文整理了演讲思路,并强调全文由人撰写而非转录。文章主张把 LLM 用于真实的日常游戏开发而非一次性演示,建议从项目一开始就实现精确的存档/读档与确定性状态,并采用数据导向、二进制隔离、免编译的架构,让智能体循环能在数秒内跑完。作者还表示任何游戏都可以成为自己的 harness,但在后记中承认自己正在发布的小项目并未使用这些方法,认为它们更适合较大规模的项目。
文章给出了一套让游戏代码库更易被 LLM 智能体理解和反复验证的工程做法,但其中“数秒内跑完整循环”等说法来自作者个人经验,未提供独立测量数据。

I gave a 45 minute presentation entitled“Your Game Is A Harness” as part of Indie Rodeo in Calgary on 9/12/26. After speaking with a lot of people after my talk, I thought it would be good to more broadly share the ideas I presented there in a form that could be enjoyed by people beyond just those who attended the conference.
Also, because I talk about AI a lot on this blog, people assume I use AI to write. This is not true! Everything below is 100% human authored, with me writing the post with basically only the slides I presented as a reference (this is not a transcription). As much as I enjoy using AI to write code and tools, I get a similar enjoyment out of writing“the old way”, especially as I have no reason to try and make any part of this process more efficient.
部分来源内容未展示,可前往原文继续阅读。