Skip to content

The web UI

makker, run with no command, serves a browser interface for a session (makker web is the same command). It is the default way to work with the agent, and the surface most users and extensions build on. It speaks the same server interface any front end would, and reuses the same agent core as the command line and the terminal UI.

Running it

Start it from a simulator workspace:

makker

This serves the UI at http://127.0.0.1:8742 by default and opens it in your browser. It also prints the link, which ends in ?token=…, for another browser or a launch over SSH. The browser keeps the token after that, so the plain address works there too. The first session in a folder builds the simulator's Julia environment, which can take a few minutes; later sessions start in seconds. Use --port to change the port and --sim to pick the simulator; see the CLI reference for the full set of options.

The layout

The interface has two panes.

The conversation is on the left. You type a prompt, the agent runs the simulator, writes and runs Julia, and streams back what it says. Its work in between (the files it read, the code it ran, its reasoning) folds into one line, such as "Read 4 files, ran Julia", marked when a step failed. Click the line for the steps, and a step for its code, diff and output.

While the agent works, a status line at the bottom says what it is doing and for how long, above it the plan when the agent has made one. A step that runs for a while shows the last lines it printed, so you can follow a simulation; click the status line for the full output.

The canvas is on the right. Interactive plots and written reports are pinned here as tabs, so results stay visible while the conversation continues. The canvas opens when the first view is produced. You can switch tabs, resize the split, pop a view out into its own browser tab, or close the panel and reopen it from the top bar.

Type / in the message box for commands (switch the model, set the approval policy, compact the conversation, download a transcript, and more) and for your skills: /name at the start of a message hands the agent that skill. Past sessions are listed in the left sidebar and reopen where you left off.

Skills in the sidebar (or /skills) opens the skills dialog: every skill the agent can use in this folder, grouped by where it lives, with a switch to turn each off; a click opens one. Add uploads a .zip of a skill folder or a SKILL.md (dropping one on the dialog does too), opens a form to write one, or asks the agent to turn the chat into one. See Skills.

The foot of the sidebar names the Makker and simulator versions. When a new release or an environment update is due, a link there opens the update dialog, which runs the update and reloads the page when it is done (see Upgrading).

How it is built and shipped

The UI is a React and TypeScript application, built with Vite. The source lives in src/makker/interfaces/server/webapp. It is compiled ahead of time into src/makker/interfaces/server/web_dist, which is committed and shipped in the package. Users install with uv or pip and never need Node; the server serves the prebuilt bundle.

Contributors who change the UI rebuild that bundle:

cd src/makker/interfaces/server/webapp
npm install        # first time only
npm run build      # writes ../web_dist
npm test           # unit and component tests (vitest)

The webapp README has the full development workflow, including a dev server with hot reload that proxies to a running backend.

Extending the canvas

The canvas is the main place to extend the UI. Each pinned view has a kind (plot, report, and so on), and the canvas looks up a panel component for that kind. The built-in kinds render in an iframe (live plots and reports) or as an image. A new surface registers its own panel:

import { registerPanel } from "./canvas/registry";

registerPanel("map", MapPanel);

MapPanel is an ordinary React component that receives the view and renders it. For example, a MapLibre map that places geothermal wells for Fimbul would be a map panel. The agent emits a view of that kind over the wire protocol (a viz message carries the kind, and a tool can drive the panel through ui actions), and the canvas mounts the registered panel. The canvas core does not change.

This keeps an extension small and self-contained: a Julia or Python tool on the backend produces the data, a wire kind names the surface, and a registered panel draws it.

Producing an interactive plot from a tool

A view does not always need a custom panel. The simplest interactive plot is a tool that renders a Makie figure and writes it as self-contained HTML, which the canvas shows in an iframe. Getting the WGLMakie and Bonito wiring right is the fiddly part, so the demo example is the reference: its plot_response tool renders a WGLMakie figure and exports it with Bonito.export_static, then records it as an artifact that the canvas pins automatically. See examples/demo-app. The built-in plot_julia tool serves a live, fully interactive figure the same way, kept offscreen so no native window opens.