跳到正文
Simon Willison·· 25 天前精选AI 评分63

Spawn 如何用自主 Fable 系列模型构建多人游戏世界

Building a multiplayer game world with autonomous Fable-class models

AI 导读

Jacob Sansbury 介绍,Spawn 正由一群 Fable 驱动的智能体自主开发,每月模型 token 成本超过 $3 million。智能体直接修改线上代码并每小时部署;约 60% 的工作从生产错误、Savi 的错误报告、日志异常或功能请求开始,通常会在一小时内交付修改。

推荐理由

材料呈现了 Spawn 如何把 AI 智能体接入游戏开发与部署循环,也展示了这种做法在游戏场景中的运行方式和边界。

正文 · AI 翻译

我是如何打造全球最 AI 痴迷的公司。别被这个标题党标题吓退,Jacob Sansbury 撰写的这篇文章介绍了他们如何构建 Spawn,深入探索了前沿模型在智能体工程领域的能力边界。

Spawn 是一个大型多人游戏环境,玩家可以通过提示(发送给游戏内智能体 Savi)来修改游戏世界。

我在手机上打开它玩了几分钟,就通过提示让一座城堡凭空出现,接着又召唤出一条龙,然后骑上龙在城堡周围飞行。

Two mobile screenshots side by side from a 3D voxel-style game. Left: a first-person view from the saddle of a small teal dragon, its neck with pale diamond markings and two curved white horns in the foreground, flying toward a dark stone castle with tall teal-gray conical spires, glowing windows and teal pennants, on a rocky island in a lake with green and snowy hills behind. Top bar: profile icon, "keep it", "your den" dropdown, "+ new game" button and a "..." menu. Right side: icon buttons and a portrait of a white-haired, freckled character labeled "tap to talk". Bottom right buttons: "JUMP" and "USE". Right: the same game with the chat panel open over the castle scene. Top bar: "your den" dropdown, "+ new game". Button: "earlier ↑". User message: "Make the dragon smaller and land it next to me again". Replies from the white-haired character: "on it. shrinking it to a pony-sized dragon and landing it right beside you." Then: "it's a little dragon now and you're already up on it over the lake. your view sits right in its saddle, horns ahead. fly back to the house and look down. saw your screen just now: flying over the water, the neck and horns ahead, the house on the far shore" Then: "oh, idea: USE while flying could breathe fire instead, with JUMP held to land. want it?" Input box: "what do you want to bring in?" Buttons below: upload, a small pixel-art icon, "lock in" and a microphone.

据 Jacob 介绍,Spawn 目前由一群基于 Fable 的智能体自主开发,每月的 token 花费超过 300 万美元:

我们的智能体直接修改线上代码,并且每小时部署到生产环境,所以它们会自行读取每一条错误、错误报告和指标。我们约 60% 的工作始于生产环境错误、Savi 的错误报告(Savi 是 Spawn 中用于构建游戏的 AI)、日志中的异常情况,或功能请求。

Savi 会自行提交错误报告。用户遇到问题时,或 Savi 在产品中遇到问题时,她都会提交报告。报告会直接交给一个智能体,由它判断这是否是真正需要修复的错误、我们不会修复的问题,还是需要作出决定的有意设计。通常,问题会转化为一项更改,在一小时内交付给该用户,并在同一聊天中发送消息。

这就是把持续部署拉到 11 档:

如此紧密的循环只有在永不停歇时才行得通,因此我们把一小时没有部署视为 SEV-0,也就是最严重级别的事故。未部署的更改会越积越多,生产环境中的每个问题也会持续更久。反馈速度也会变慢。智能体脑中只能维持几小时的工作内容,因此部署速度超过这个节奏,实际上有助于它保持连贯。[...]

我们可以在 30 秒内回滚有问题的更改,只回滚出错的部分,不影响其他任何地方。当监控或日志警报触发时,它会启动或唤醒负责该事故的智能体;我们还会故意制造故障,测试这些恢复流程是否有效。

读这篇文章时,我至少有十几次惊讶得扬起了眉毛。我很难想象这种开发方式能应用于出错后后果更严重的软件,但用在游戏上,效果似乎出奇地好。

Jacob 说,Fable 5(以及后来的 5.1)是让这种自主程度成为可能的模型。Opus 5.5 对他们来说还不太够用;而他们尝试用 GPT-6 Astra 根据安全审查结果应用修复时,一切都停止了运行:

每项功能都已禁用,并标记为待安全修复完成后重新启用。Astra 检查了我们的整个产品,并通过关闭不安全功能来确保安全。

正是这类极端实验让我对游戏开发充满期待,它为探索当今编程智能体的能力边界提供了试验场。

来源:Simon Willison · simonwillison.net