🤖 AI Summary
Helix built a system to stream full, GPU‑accelerated Linux desktops running AI agents so humans can watch and interact in real time. Instead of VNC/RDP they leveraged Moonlight (via Wolf, a C++ Moonlight server) and Moonlight‑web as a WebRTC bridge to deliver gaming‑grade H.264/H.265 video from Kubernetes containers with GPU attachment and a Wayland compositor (Sway + gst‑wayland‑src). That stack yields low latency (typical 50–100 ms), resilience over 4G, and native clients on desktop and mobile. The early “apps mode” approach required a kickoff hack where Helix emulated a Moonlight client to start containers on demand, but Moonlight’s single‑client semantics meant multiple viewers would inadvertently spawn separate agent instances — unacceptable when agents need shared identity and state.
The real breakthrough is Wolf’s new “lobbies mode,” which natively supports multi‑client shared sessions, preconfigured resolutions, and immediate container startup (removing the kickoff complexity). Lobbies mode solves the fundamental architecture for collaborative agent desktops, but currently has bugs to iron out (mouse/input scaling across different client resolutions, occasional Mac video corruption, and less dynamic per-client resolution negotiation). The project highlights a broader lesson: gaming streaming protocols have the performance qualities AI GUIs need, but their single‑user assumptions require protocol extensions or careful engineering. Once stabilized, this approach enables collaborative, low‑latency, cross‑platform agent interactions and fleet management for real-world AI/ML workflows.
Loading comments...
login to comment
loading comments...
no comments yet