Skip to content
All work

The Operator Console

One screen for a company of AI agents: what every agent is doing, what's waiting on me, and a button that runs an agent's script only after I've read every line of it.

Category
Reliability & Automation
Role
Designed, built, and operate
Stack
PythonCaddytmuxxterm.jsEd25519TOTPntfysystemd
What it proves
  • A question from an agent arrives with its options, a recommendation and a comment box, so answering is a click, not a conversation.
  • A staged script is shown in full with its hash. The click is checked against that hash, runs once, and expires if it sits too long.
  • Orders typed into the console are signed on the console's own machine and verified before they reach the board.
  • Terminal sessions live on the target host, so closing the browser, losing wifi or redeploying the console never ends the work.

The problem

A company of agents is only as fast as the person it reports to. Before this, a question from an agent meant reading a transcript, and running its fix meant copying a script into a terminal by hand. Both steps were slow, and the second was where mistakes crept in.

The console's job is to make the owner's part of the loop short and hard to get wrong: see everything in one place, answer in one click, and never run something different from what was on the screen.

What's on it

The agents page has a card for every seat on the org chart with its open tasks, and a box at the top for everything that needs me. A live workflow view shows every open task, who is driving it, what it's waiting on, and how many sessions are running against the cap. A war room and a status page show the fleet's health, and the security pages show live attacks, contained sources and the response pipeline's cases.

There's also a file inbox (paste a screenshot, drop a file, the agents pick it up), an invariants card that goes red the moment a check fails, a page for the worker pool's capabilities and model health, and an autopilot box with the switches that pause or stop every lane of agent work at once.

From question to running script

An agent that needs me writes the question with a few options and marks the one it recommends. If the answer is "run this", it stages a script, and the board refuses any script that looks like it contains a secret, because the text is shown on the page. The console shows the whole script under the question, not a link to it.

FigureDrawn
From an agent's question to a script runningAn agent asks with options, a recommended pick and a staged script. The console shows the full script and its hash. The owner's click passes a second factor and is signed on the console's machine. The control plane runs the script once, only if the hash on the page, on the task and on disk all match, and sends the result back to the task.Agent asksoptions, a pick, a scriptConsole cardfull script + its hashMy clicksecond factor, signedControl planehash matches, runs onceresult back on the task: exit code and line count, full output in a root-only logA mismatched hash, a stale click or a second run is refused, and the reason posted.
Question to running script
Agent asksoptions, a pick, a script
Console cardfull script + its hash
My clicksecond factor, signed
Control planehash matches, runs once
The path from an agent's question to a script running. The hash I saw on the page has to match the script on disk at every step, or nothing runs.

Why the click is hard to forge

My click is an order like any other, signed on the console's machine with a key that never leaves it, and only for a login that passed the second factor. The control plane runs it only if the order is fresh, still exactly as signed, and names the same script hash that's on the task and on disk. The run starts once and never again, inside its own sandbox with memory and time limits.

Then the script runs from a sealed copy of the exact bytes that were verified, so swapping the file after the check changes nothing. Scripts that need a secret open a terminal where I type it at a hidden prompt. The result goes back on the task as an exit code and a line count, and the agent reads the full output from a log only root can open.

Terminals that don't die with the browser

The console has real terminal windows to the fleet, behind the same second factor, several to a page. Each session lives in tmux on the target host, and the console only holds a viewer. A closed tab, dropped wifi, a redeployed console or a rebooted laptop changes nothing: reopen the page and the scrollback replays. Closing a window and ending a session are separate buttons on purpose, because mixing them up is how someone loses a migration by tidying their desktop.

Agent sessions show up there too. Every task the dispatcher starts runs in its own named terminal, so I can watch any agent work live, or step in.

When the console itself is down

An emergency line runs from my phone straight to the Executor seat over a push service. I send an order from the phone, it lands on the board as an order from me, and the reply comes back to the phone when the task finishes or blocks. It has two independent paths, one self-hosted and one public, so it still works when the console, or the machine it runs on, is the thing that's broken.

The calls I made, and what each one cost.

  1. D01

    Show the whole script, never a link.

    A link is a step I'd skip at 2 a.m. If the full text is already on the screen, reading it costs nothing, and the hash binds the click to what I read.

  2. D02

    Questions come with options and a recommendation.

    An open question is a conversation, and conversations are slow. Options with a recommended pick turn most answers into one click, and the comment box covers the rest.

  3. D03

    The work lives on the host, not in the console.

    A console that holds the session is one redeploy away from losing it. A viewer can crash as often as it likes.

  4. D04

    An emergency path that doesn't depend on the console.

    The day you most need to give an order is the day the dashboard is down. The phone line shares nothing with it.

More systems
Get in touchNot looking

Questions about how this works?

I'm not looking for a new role, but I'm happy to talk about toil, alert noise and incidents that never quite close.

Get in touch