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
| Page | What it shows and does |
|---|---|
| Tickets | Every ticket with its state, pull request and last change. Paste an issue to claim it. |
| A ticket | Links, the reason it is blocked, and a live timeline. Unblock, Cancel, Guide the agent, Skip checks, Publish and Agent. |
| Projects | The settings of each project file; Agent picks the default agent for new tickets. |
| Agents | Whether each agent CLI is installed and signed in; installing and signing it in. |
| Disk | Every ticket worktree with its size, and the free space; deletes left-over worktrees. |
Settings
web:
enabled: true # false runs without the web interface
listen: 127.0.0.1:8765The 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-serverIf 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
- Steer tickets: the same actions from the command line.
- Environment variables:
AMARU_WEB_TOKENand the other variables.
Run in a container
Run Amaru Light from its base container image with settings and state on volumes, and derive a per-project image with your agent CLI and toolchain.
Prompt guard
How the Amaru Light prompt guard screens issue text and review feedback with a local injection classifier, what happens to flagged text, and its settings.