Skip to content

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.

  1. Launch the gateway.

    Terminal window
    muaz gateway # binds 127.0.0.1:7878 by default
    muaz gateway --port 9000 # custom port

    On startup it prints a URL containing a one-time token, e.g. http://127.0.0.1:7878/?token=….

  2. Open the printed URL. Visiting it with the token sets a muaz_token cookie, so every later request in that browser authenticates automatically.

PagePurpose
ChatTalk 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
AgentsBrowse 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
ProvidersManage 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
InferenceServer: 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
PipelinesEdit 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
PluginsInstall (by name from the registry), enable/disable, trust, and uninstall plugins
SkillsBrowse 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
MCPSee registered MCP servers and their status
SessionsBrowse and resume saved sessions
SettingsEdit 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

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.

The gateway token can be supplied three ways on each request:

  • Authorization: Bearer <token> header
  • a muaz_token cookie (set automatically after the first ?token= visit)
  • a ?token= query parameter (used by EventSource, which can’t set headers)

Comparison is constant-time, and the static UI shell is the only public route.