
OpenCode Rune ditches Electron for native Rust
Anomaly has open-sourced OpenCode Rune, a ground-up Rust rewrite of the OpenCode AI coding agent desktop client built on its custom Rune GPU UI framework. Shipping under MIT for macOS, Windows, Linux, and WebGPU browsers, it pairs Ghostty-VT terminals, split diff reviews, and hot-reloading Luau plugins with zero Chromium overhead at startup.
AI coding agent interfaces are hitting the same ceiling code editors did—streaming tool calls, concurrent agent sessions, and massive diffs quickly bog down Electron shells. Following Zed's GPUI playbook, Anomaly didn't just rewrite its client in Rust; it built a bespoke GPU framework tailored for both human speed and AI-agent self-verification.
- –**Native speed, pay-as-you-go browser:** Rendering vector font outlines directly on the GPU (Windfoil) via Metal, DX12, Vulkan, or WebGPU, the app claims 10–100x faster, lighter performance, embeds `libghostty-vt` for native terminals, and lazily downloads an isolated CEF sidecar only if you explicitly open the browser pane.
- –**Luau bypasses Rust's UI compile tax:** Because full PGO release builds take 25–60 minutes and ~10 GB of RAM, Anomaly split UI extensibility into `--!strict` Luau plugins that hot-reload live (`--plugin-hot`) without touching `rustc`.
- –**No unit tests, agent-driven visual checks:** In a bold bet on agentic workflows, the repo bans traditional automated tests and mocks, instead exposing offscreen PNG snapshots (`--snap`), live element-tree dumps (`--tree`), and scripted input replay (`--script`) so coding agents can inspect and verify UI edits directly.
- –**Reusable agent UI primitives:** Decoupled crates like `session-view`, `opencode-code-view`, and `rune-parts` (GPU-native generative UI and vector diagrams) let other developers embed OpenCode's session interface into their own Rune apps.
- –**Still bleeding-edge:** Shipping rapid `0.0.0-dev` builds with hundreds of commits in weeks, expect rough platform edges and shifting plugin boundaries until it matures past developer preview.
DISCOVERED
2h ago
2026-12-01
PUBLISHED
2h ago
2026-12-01
RELEVANCE
AUTHOR
Github Awesome