Godot+Rust 造 AI 可编程终端
推荐指数 70.0 NO. 013 · 2026.09.12
发布2026/09/11Score65Comments35
为什么值得看
gPTY 是基于 Godot 和 Rust 的 PTY 多路复用器,提供可平铺的终端面板网格,并暴露 JSON-RPC/MCP 接口让 AI 代理直接操控终端会话。对 AI 工程师来说,这意味着自动化工具终于能绕过脆弱的 TUI 截屏/OCR 方案,原生地读写终端。
编辑判断
当前 AI 操作终端的主流做法是让模型看截图或读 tmux 的 ASCII 输出,既慢又容易错。gPTY 的 MCP 接口把这个流程变成了结构化 API 调用,跟 Claude Desktop 或 Cursor Agent 的集成成本极低。
跟 tmux 或 Zellij 比,它的差异化不是终端功能本身——alacritty_terminal 做后端保证了基础体验——而是把终端变成可编程的 UI 组件。Godot 的渲染管线还让它能嵌入图形面板,这是纯 TUI 工具做不到的。
如果你在做 DevOps Agent、云端 IDE 或 AI 编程工具,与其继续 hack tmux,不如直接用这个当终端层。概念引擎的 RegEx 路由也适合做 CI 日志实时分析这类场景。
社区反馈
意见分歧 32 条评论
核心争论:用Godot做游戏引擎开发终端工具是否过度设计,还是值得探索的创意方向
A project without screenshots - I dont know how they expect us to understand unless we read everything
Yeah, the README doesn't have screenshots; but the docs site does - https://godot-pty.github.io/gpty/ - 1 for now, but each release's blog entry gets the main app page + one for any salient features. I'll add that in; maybe defaulted to folded on the README, a gallery of app scre
This is such a cursed combination... I really don't understand what you get from Godot that benefits you for building a TTY "multiplexer." Wildly vibe-coded to the extent that it's more misguided than Doom on a pregnancy test... Also looking at OP's notes here, there doesn't even seem to be a need f