A modern terminal with a built-in multiplexer: close it and your sessions keep running. Run shells and tons of AI agents across your machines, then pick them up from desktop, browser, TUI and more. Written in Rust with no UI framework: interface drawn straight on the GPU. No Electron, GPUI or webview.
Rust agentagent-orchestrationaiai-agentsclaude-codecodexcoding-agentlinuxmacosmultiplayermultiplexerrustterminalterminal-emulatorterminal-multiplexertmuxtuiweztermwindows
wezterm.gui module
{{since('20220807-113146-c2fee766')}}
The wezterm.gui module exposes functions that operate on the gui layer.
The multiplexer may not be connected to a GUI, so attempting to resolve
this module from the mux server will return nil.
You will typically use something like:
local wezterm = require 'wezterm'
local gui = wezterm.gui
if gui then
-- do something that depends on the gui layer
end