技巧多源确认精选73°

让两个智能体操控 Chrome 恐龙对战:本地运行对比 API 调用延迟

源:https://t.co/hbywVY57GO

精选理由

有人把 Chrome 小恐龙变成了两个智能体的对局,一个跑本地一个走 API,延迟差异一目了然,代码也开源了,适合想学智能体部署的人看看。

开发者 Viraj Bhartiya 让两个智能体同屏对战 Chrome 恐龙游戏:Laya 在本地 Mac 上运行,Jev 通过 API 调用,同一赛道同一物理引擎,唯一差异是延迟。两个智能体自主决策,负责躲避障碍、使用护盾和求生。@typesafeai 的 Jev 还额外承担控制障碍物的角色。项目代码已开源在 GitHub(virajbhartiya)。

原文 · AI Will

源:https://t.co/hbywVY57GO

源: x.com/heyxviraj/stat… Viraj Bhartiya @heyxviraj i made Jev and Laya play the chrome dinosaur game against each other except they’re actually controlling the dinosaurs. Laya runs locally on my Mac, Jev runs over an API. same track, same physics, completely different latency. they make their own decisions, dodge obstacles, use shields, and try to survive. github.com/virajbhartiya/… p. s. @typesafeai 's Jev controls the obstacles too Your browser does not support the video tag. 🔗 View on Twitter 🔗 View Quoted Tweet 💬 0 🔄 0 ❤️ 0 👀 464 ⚡