Browser UI
muaz ships an optional browser UI, served by muaz gateway. It gives you a
graphical surface for chat, agents, providers, plugins, skills, MCP status, and
sessions, backed by the same agent runtime as the CLI.
Starting the UI
Section titled “Starting the UI”-
Launch the gateway.
Terminal window muaz gateway # binds 127.0.0.1:7878 by defaultmuaz gateway --port 9000 # custom portOn startup it prints a URL containing a one-time token, e.g.
http://127.0.0.1:7878/?token=…. -
Open the printed URL. Visiting it with the token sets a
muaz_tokencookie, so every later request in that browser authenticates automatically.
What’s in the UI
Section titled “What’s in the UI”| Page | Purpose |
|---|---|
| Chat | Talk to an agent with streamed responses, an in-browser approval dialog for tool calls, and an inline banner to enter an API key and retry when a turn fails authentication. The message box is locked while a reply or a compaction is in progress. A reply keeps running if you leave the page or reload it, and picks up where it is when you come back |
| Agents | Browse agents across namespaces and search them by name, provider or model (press /); create/edit/delete local agents, edit an agent’s prompt file in a Markdown editor, and “Fork” built-in/plugin agents into your local workspace |
| Providers | Manage provider profiles, the default binding, and per-agent bindings; store API keys (with a Key set / From environment / Not set status) and Test a profile’s credentials |
| Inference | Server: start or stop a downloaded model, copy its endpoint into a provider profile, see and change the parameters it runs with, and follow its log. Downloads: suggestions that fit this machine and a HuggingFace search, each with its size, fit and tool support, downloaded in the background (pause, resume, cancel). Desktop installs only |
| Pipelines | Edit local pipelines, and run any pipeline as a live graph: each step streams its output and tool calls, and shows its time, tokens and cost. Leaving the page while a run is going asks first, because leaving stops it |
| Plugins | Install (by name from the registry), enable/disable, trust, and uninstall plugins |
| Skills | Browse and search the skills every project shares (press /), create one, and edit a workspace skill’s files in a tree beside a Markdown editor; skills from plugins, built-ins or ~/.agents open read-only with Copy to workspace |
| MCP | See registered MCP servers and their status |
| Sessions | Browse and resume saved sessions |
| Settings | Edit the active configuration, run a health check, and see any settings a shared deployment has fixed (shown locked, with their source). At the bottom of the sidebar, above the theme toggle |
How it relates to the CLI
Section titled “How it relates to the CLI”The UI is a thin front-end over the same runtime the CLI uses — agents, skills, sessions, tools, and the approval policy are shared. Anything you configure on disk (see Configuration) applies to both. Tool approvals that would prompt in the terminal instead surface as an approval dialog in the browser.
Authentication at a glance
Section titled “Authentication at a glance”The gateway token can be supplied three ways on each request:
Authorization: Bearer <token>header- a
muaz_tokencookie (set automatically after the first?token=visit) - a
?token=query parameter (used byEventSource, which can’t set headers)
Comparison is constant-time, and the static UI shell is the only public route.