智能体
x.com ·
@rauchg
Rauch 将 Mini 浏览器从 Electron 迁移到 Rust 与 Swift,并嵌入 Agent
Guillermo Rauch 表示已把自研 Mini 浏览器从 Electron + Bun 移植到 Rust 与 Swift,称启动更快、更安全、迭代体验更好。技术细节包括:借助 cef crate 打包最新 Chromium,用 fx acp 在不膨胀应用的前提下嵌入 agent,agent 通过 ACP 与本地 fx CLI 通信,fx 再经 MCP server 管理浏览器。他称放弃 Electron 后获得 Liquid Glass、更快启动和更 Mac 原生的体验,并认为桌面与云端软件会加速'原生化',Vercel 对 Fluid 的投入将支持 Rust、Go、Zig 等选择。文中还提到正在学习 MCP-over-ACP 的 RFC,认为它能让 MCP 工具暴露更安全直接。
AI推荐理由 Vercel CEO Guillermo Rauch 自述将 Mini 浏览器从 Electron+Bun 迁移到 Rust & Swift,并给出具体技术栈:用 cef crate 打包最新 Chromium、用 fx acp 嵌入 agent、通过本地 fx CLI 走 ACP 协议、再由 MCP server 管理浏览器。这是开发者视角的一手工程经验,涉及原生桌面、Agent 嵌入与 MCP-over-ACP 协议方向,对 AI Agent 与开发工具有参考价值。局限:属个人项目自述,无性能基准、安全对比或可复现数据,'更快更安全'为主观判断;'Native is the future'为观点而非已验证结论;互动量仅作传播信号,未提供发布时间以外的独立证据。
72
浏览 54,150
点赞 850
评论 94
转发 30
正文
I¹ ported my Mini web browser to Rust & Swift. It's faster, more secure, and shockingly, nicer to iterate on than Electron + Bun.
I always wanted Safari-like UX but… Chrome 😁. Thanks to the 𝚌𝚎𝚏 crate, I can bundle up-to-date Chromium.
𝚏𝚡 𝚊𝚌𝚙 lets me embed an agent without bloating the app. It talks to my local fx CLI over ACP. fx can then manage the browser via an MCP server².
By ditching Electron, I was able to get Liquid Glass, faster boots, and a more Mac-native feeling. Little things like fine-grained focus and input control, which are nightmare fuel in JS, just work®.
Native is the future, both on the desktop and in the cloud. I suspect the entire software world will "nativify" faster than people realize, as DHH hinted at Rails World. Excited that Vercel's bet on Fluid will help support this, whether you choose to go Rust, Go, Zig, scriptc…
¹ Built on http://fx.sh with Opus 5.5 and Sol 6
² In the process I learned about http://agentclientprotocol.com/rfds/mcp-over-acp, which I'm now really excited about. This will allow a more secure and direct way to expose MCP tools