Skip to Content
Amaru
Amaru LightOperate

Web interface

The web interface built into amaru serve, covering its pages and actions, its settings, and how to secure access with an SSH tunnel or AMARU_WEB_TOKEN.

amaru serve also serves a small web interface, at http://127.0.0.1:8765 by default. It shows what the daemon is doing and offers the same actions as the command line. It is built into the amaru binary; amaru drain and amaru claim --now do not start it.

Before you begin

A running amaru serve. In a container, publish the port as in Run in a container.

Pages

PageWhat it shows and does
TicketsEvery ticket with its state, pull request and last change. Paste an issue to claim it.
A ticketLinks, the reason it is blocked, and a live timeline. Unblock, Cancel, Guide the agent, Skip checks, Publish and Agent.
ProjectsThe settings of each project file; Agent picks the default agent for new tickets.
AgentsWhether each agent CLI is installed and signed in; installing and signing it in.
DiskEvery ticket worktree with its size, and the free space; deletes left-over worktrees.

Settings

amaru.yaml
web:
  enabled: true          # false runs without the web interface
  listen: 127.0.0.1:8765

The daemon fails at startup when it cannot listen on that address; give each daemon its own port.

Secure access

Anyone who can reach the port can claim, unblock and cancel tickets, and sign the agent CLIs in. With the default 127.0.0.1, that is only the users of the same machine.

To reach the page from elsewhere, prefer an SSH tunnel over opening the port:

ssh -L 8765:127.0.0.1:8765 my-server

If you do open it, set AMARU_WEB_TOKEN in the daemon's environment:

export AMARU_WEB_TOKEN="$(openssl rand -hex 24)"

The page asks for the token once; API clients send it as Authorization: Bearer <token>. The page does not use HTTPS itself; put a reverse proxy in front of it if the token crosses a network you do not trust. The JSON API is listed in docs/web-ui.md.

Based on docs/web-ui.md.

Next steps

On this page