Skip to content
upnorthmediaPublic

About

Helm: a physical control deck for Firstmate and Herdr

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Helm: a black sloped aluminum desk deck with a 5 inch landscape screen, four lit keys, a light bar, and a knob

Helm

Your agents, one glance away.

A desk control deck for people running AI coding agents with firstmate and herdr.
A 5 inch screen and eight lights show what your agents need. Four held keys answer it. Your keyboard stays on your work.

Build your own  ·  Try the simulator in 2 minutes  ·  Star or watch the repo for updates

tests workflow status Code license: Apache-2.0 Hardware license: CERN-OHL-W-2.0 Docs license: CC BY 4.0
Built with ESP32-P4 · ESP-IDF · LVGL · CadQuery · the Python standard library

Status: designed, simulated, and the firmware builds in CI. It has not yet run on a real board, and the product images and video are renders. Details under Project status.

Play the 35 second Helm teaser video
Watch the 35 second teaser (MP4, 10 MB, with sound).

What you get

Stay in flow
Asks leave your windows and land on your desk: a pulse in the item's color and one chime. No tab hunting.
Answer with one held key
Hold YES, LATER, or HOLD for a second and firstmate gets one note about the exact item on screen.
See the whole story
Tap SHOW ME and the agent's pane comes forward, with its review board, report, or PR open in your browser.
Nothing happens by accident
Every answer is a held press, firstmate merges only through its own checks and only with your rule, and the bridge starts in dry run.

How it works in 3 steps

  1. Plug it in. One USB-C cable to your Mac. A small bridge program on the Mac (it can start at login) connects the deck to firstmate and herdr.
  2. It shows what needs you. A new decision, a PR ready, or a stuck agent pulses a light in its color and rings one chime. When nothing is new, the lights show your Claude usage.
  3. Hold a key. Hold YES, LATER, or HOLD for one second to answer the item on screen, or tap SHOW ME to see everything behind it. Firstmate acts, and its reply shows on the deck.

Why Helm

Running a crew of AI agents means a steady trickle of small asks. Merge this PR? Which of these two options? This worker is stuck. Each one is quick to answer and expensive to notice: find the right window, scroll the right pane, remember what the question was, then find your place again.

Helm moves those asks onto your desk. It shows what is new since you last touched it, so a long backlog never turns into a wall of red. And it never acts on its own: every press is a note to firstmate, which acts through the same guards it always uses.

The controls

Close-up render of the four keys (green check, blue clock, amber pause, white ring), the light bar, and the knob

Control Action What it does
YES (green check) hold 1 s "Go." With the YES rule in your firstmate home: on a PR waiting to merge, the note names the PR and the commit the deck showed, and firstmate merges that exact commit under its normal checks; if anything was pushed since, it does not merge and replies. On a decision, it goes with its recommendation, only if it gave exactly one. If neither fits, it changes nothing and replies. YES stays dark when the PR is known red or conflicted.
LATER (blue clock) hold 1 s "Not now." Asks firstmate to defer the item until tomorrow, written as the date, so a note read after midnight still means the day you pressed it.
HOLD (amber pause) hold 1 s "Stop, and talk to me." Tells firstmate not to proceed and to raise it with you in chat. The one answer key that also works on a stuck worker.
SHOW ME (white ring) tap "Let me see." Brings the item's herdr pane to the front (the worker's own pane, or firstmate's pane for a decision), then opens the item in your browser: its live Lavish review board, else its report as a styled page, else its PR. Lit when the item has a herdr pane or something to open (a review board link, a report in its home, or a PR); with no pane it just opens that.
Knob turn On Home, step through your project views (all, then each project). In the list, move between items.
press Open the selected item's full text, go back, or dismiss a result.
press and hold Mute the chime. The knob glows red while muted; hold again to unmute.

A key is lit only when its action applies to the selected item. While you hold an answer key, the screen shows the exact item and action with a one second fill bar; let go early and nothing is sent.

Render: Hold to confirm YES on gizmo#42, with the fill bar half full
Hold YES. The exact item and action, and a one second fill bar.
Render: YES on gizmo#42, Replied, with firstmate's reply that it merged the PR
Firstmate replies. Its answer shows on the deck, and the light bar sweeps green when the PR lands.

The light bar (8 lights)

What you see What it means
Lights pulsing in color One light per new item: red for a decision, blue for a PR ready, amber for a stuck worker or a herdr agent waiting. A paler shade means a different project.
A soft white gauge Nothing new. The lit lights show what is left of your tighter Claude usage window, out of eight.
Gauge with the last light amber A herdr agent is at 80 percent or more of its context window.
A green light sweeping left to right Something just landed.
All lights amber Helm cannot hear firstmate right now.
No gauge lights Usage is unknown. Helm never shows a full gauge it cannot vouch for.

The chime: one short tone when something new needs you, through the board's own speaker. Silent while firstmate is away. Mute it with a long press on the knob.

The YES rule

Firstmate does not take a note from a bridge as approval by default. A held YES is only a note in firstmate's inbox until you add a rule to your own firstmate home that tells firstmate to treat a note starting with the deck's exact YES wording as your word for the one PR or decision it names. Without that rule, the note is a message to firstmate, not an approval, and a merge still needs your word in chat. docs/firstmate-setup.md has the rule's text to paste, and python3 -m helm.bridge --doctor tells you whether your home has it. SECURITY.md explains what such a note can and cannot do.

What it shows

The screen is a 1280 x 720 touch screen. These are screenshots from the simulator, which draws the same layout as the firmware, with invented demo data.

Home screen: 2 new for you, Claude usage, context, tiles for decisions, working, PRs ready, landed today, and a Needs you list
Home. "2 new for you" or "All quiet", your Claude usage and the fullest agent's context, four tiles, a herdr line, and "Needs you" with up to five items.
List screen with four color-coded items
List. Every item, color coded, with its kind, project, age, and NEW on the ones you have not seen.
Detail screen showing a PR's full text
Detail. The full text, only when you press the knob on an item.
Confirm screen: hold to confirm YES on widget-api, with a fill bar
Confirm. While you hold a key: the exact item and action, with a one second fill bar.
Result screen: YES on widget-api, Replied
Result. Queued, then firstmate's reply, or Failed with the reason.
Result screen: YES on widget-api, Seen, sent 40s ago, firstmate has read it
Seen. Firstmate has read the note and not replied yet, with how long ago it went.
Result screen: HOLD on gizmo#42, Queued in amber, firstmate has not picked this up
Not picked up. Unread after 3 minutes: the result turns amber and says so.
List screen with YES sent on widget-api and HOLD sent on gizmo#42
Answers out. An item whose answer is still waiting on firstmate's reply says which one you sent.
Home screen with All quiet and the light bar as a dim gauge
All quiet. Nothing new: the light bar becomes the usage gauge.
Home screen with the context line in amber and the last light amber
Near the limit. An agent at 80 percent of its context turns the line and the last light amber.
Home screen with firstmate away: keys locked
Away. Firstmate away: YES, LATER, and HOLD lock, the chime stops, SHOW ME still works.
Home screen with Mac locked: keys locked
Mac locked. Every key goes dark, checked again at the moment of a press.

Features

  • What needs you, not everything that is open. The lights mean "new since you last looked". Everything already open when Helm starts counts as seen, and any touch of a key or the knob marks the rest seen. A new decision, a PR waiting on you, or a herdr agent you started waiting for approval lights the bar, rings the chime once, and goes to the top of the list. A stuck or failed firstmate worker lights the bar at once but chimes only if it is still stuck 10 minutes later, since firstmate handles it first; a waiting pane that belongs to a firstmate task does not ring on its own.
  • One held key, one note. YES, LATER, and HOLD each send firstmate one short note about the exact item on screen. Each note is keyed to the item, the answer, and the day, and to which ask it is: the PR's commit, or when the decision was raised. So pressing again is a replay, not a second note, while a new push or a decision raised again is a new ask. If firstmate has already read the note, the deck says "answered earlier" and shows the earlier reply. Firstmate's reply shows on the deck, even one that arrives while the bridge is restarting; when several replies arrive at once, only one of them shows today (verification). Until it comes, the deck shows when firstmate has read the note ("Seen"), how long it has waited, and "firstmate has not picked this up" after 3 minutes unread; the item itself says "YES sent" (or LATER, HOLD). A HOLD or LATER after a YES that is still waiting names that YES, so firstmate knows which answer stands.
  • Your word, behind firstmate's guards. With the YES rule in your firstmate home, firstmate treats a held YES as your word for exactly the one PR or decision it names, and nothing broader. It merges only through its own checks: the PR open, not a draft, mergeable, conflict free, and every check green at the exact current commit, read live at merge time. Helm itself cannot merge, push, or type into a pane.
  • A short leash on the Mac. The bridge runs a fixed allowlist of commands and refuses everything else before a process starts. It starts in dry run, logging notes and opens instead of sending them, until you start it with --live.
  • Mac lock. Lock your Mac and every key goes dark, SHOW ME too. The lock is read again right before acting on any press. The deck still lights up, so you see what waited for you.
  • Away and quiet. Put firstmate in away mode and the answer keys lock and the chime goes silent. In quiet mode only the chime goes silent: firstmate treats you as present, so YES, LATER, and HOLD still work. SHOW ME still works and the lights still show new items in both.
  • Honest about firstmate's own state. When firstmate cannot vouch for its own state, the deck never reads "All quiet". When the summary leaves rows out, the list says how many (+5 more decisions).
  • Usage and context gauges. Home shows what is left of your Claude 5 hour and weekly windows and when each resets, plus the herdr agent closest to its context limit. Unknown readings show as unknown, never as full.
  • Every project, its own shade. Turn the knob on Home to step through your projects. Each project gets a paler shade of the item's color on the lights and list, so red still reads as red and amber as amber.
  • Every home, one deck. Helm reads your primary firstmate home and every second mate home it lists, and labels each item with the home it came from.
  • Works without the extras. With no keys or knob fitted, four on-screen keys and swipe, tap, and long-press gestures do the same jobs, and only a held key ever acts.
  • Built like a tool. A sloped case in black anodized 5052 aluminum, 145 mm wide, with a 15 degree face, hidden fasteners, and the helm wheel mark laser engraved on the face. MX switches under black keycaps with shine-through icons (any Cherry MX cap fits), a black aluminum knob, and one USB-C cable to your Mac from a jack in the back wall.
Macro render of the engraved helm wheel logo on the black aluminum face Render of Helm from the front: the screen, the four keys, the light bar, and the knob, with the USB-C cable leaving the back

Under the hood

flowchart LR
  fm["firstmate<br>inbox, PR health, merge guards"]
  herdr["herdr<br>agent panes"]
  bridge["helm bridge on your Mac<br>Python, standard library"]
  deck["Helm deck<br>ESP32-P4 firmware"]
  sim["Desktop simulator"]
  fm <-- "items and replies<br>one note per held key" --> bridge
  herdr <-- "agents and context<br>focus pane on SHOW ME" --> bridge
  bridge <-- "USB serial<br>model down, events up" --> deck
  bridge <-. "same wire<br>over a pty" .-> sim
Loading

The deck stays thin: it draws the model the bridge sends and reports key and knob events. All the judgment lives in firstmate.

Part What it is Docs
Bridge (helm/bridge/) The program on the Mac between the deck, firstmate, and herdr. Reads state, builds the item list, turns held keys into firstmate notes, runs only allowlisted commands. Python 3.11+, standard library only, with a launchd agent to start it at login. helm/bridge/README.md
Wire (helm/wire/) The binary frame both sides speak over USB serial (A5 48, CRC-16), with compact JSON inside. sim/README.md
Firmware core (firmware/core/) The deck's logic in portable C11: the wire, the model, screens and selection, the 1 s hold, lights, knob, chime. No allocation, unit tested on the Mac and cross-tested against the Python code. firmware/README.md
Firmware app (firmware/idf/) ESP-IDF and LVGL app for the Waveshare ESP32-P4-WIFI6-Touch-LCD-5, turned landscape: display, touch, USB, keys, knob, lights, chime. firmware/idf/README.md
Simulator (sim/) A window that looks and behaves like the deck and speaks the same wire, so the bridge cannot tell it from the hardware. sim/README.md
Case (case/) Parametric CadQuery source for the sheet-metal case, with committed STEP, DXF, STL, and engraving files. case/README.md

What you need

  • A Mac. The bridge uses launchd to start at login and macOS's ioreg for the lock check.
  • firstmate running your crew.
  • Optional: herdr, for SHOW ME's pane focus, the herdr line, and the context gauge. On a firstmate home that uses its default tmux backend everything else works, and SHOW ME opens the board, report, or PR without focusing a pane.
  • Optional: quota-axi for the Claude usage gauge (without it the gauge reads unknown), and lavish-axi for SHOW ME's review boards and reports.

Build your own

The build guides are for v2: the 5 inch Waveshare LCD-5 in the sheet-metal case, the build the firmware on main targets.

  • First build manual: an illustrated, tabbed guide to the bench build and printed fit test, with checklists and a measurement worksheet. Open the HTML file locally in your browser; no build step is needed.
  • Bill of materials (CSV): every part with vendor, price, and stock, and totals by phase. The priced parts come to $171.51 before the SendCutSend case order and the logo engraving (prices checked 2026-11-10).
  • Wiring: each part to the LCD-5's 40-pin header as the firmware's defaults name them, and what to check on the real board.
  • Assembly: phase 1 on the breadboard (flashing and the bridge included), phase 2 the printed parts and bench measurements, phase 3 the SendCutSend order and the logo engraving.
  • The case: two bent parts in 0.063 inch black anodized 5052 aluminum plus four small printed parts inside, with the DXF, STEP, and STL files committed so nobody needs CadQuery to order, print, or engrave. Engraving instructions are in case/out/engrave/README.md.
  • The firmware: building with ESP-IDF v5.5.6, flashing, the pins, and the list of what to verify on the board.

v1, the 4 inch board in the first case, is in git history at commit b2f7670.

Try the simulator

No hardware needed. With Python 3.11 or newer with Tk already installed, this is a clone and one command; there are no other packages.

git clone https://github.com/upnorthmedia/helm.git && cd helm

# The simulator alone, with demo data
scripts/run-sim.sh --fake

# The simulator and a demo bridge, over the real wire
scripts/run-sim.sh --fake-bridge

# The simulator and the real bridge (dry run), connected through a pty
scripts/run-sim.sh --home /path/to/your/firstmate/home

In the simulator, hold Y, L, or H for YES, LATER, and HOLD, tap S for SHOW ME, use the arrow keys or scroll wheel to turn the knob, Enter to press it, and M to mute. The full key map is in sim/README.md.

Run it

# The bridge alone: one Model as JSON from the firstmate home, then exit
FM_HOME=~/path/to/firstmate python3 -m helm.bridge --once

# What the firstmate home is missing for Helm, one line per check, read only (see docs/firstmate-setup.md)
FM_HOME=~/path/to/firstmate python3 -m helm.bridge --doctor

# Tests
python3 -m unittest discover -s tests -t .

# The C device core (firmware/core): unit tests and cross-tests against helm/wire (needs cmake)
scripts/test-firmware.sh

# The deck firmware (firmware/idf): build for the Waveshare board (needs ESP-IDF v5.5.6, see firmware/idf/README.md)
idf.py -C firmware/idf build

# The case (case/): rebuild the DXF, STEP, STL, and renders (needs CadQuery, see case/README.md)
case/.venv/bin/python case/build.py

# The simulator screenshots in docs/sim/ (needs Pillow)
python3 -m sim.snapshot docs/sim

Start the bridge at login

scripts/install-agent.sh installs a launchd user agent (local.helm.bridge) that runs python3 -m helm.bridge --dry-run --port <device> from this checkout, restarts it after a crash or a nonzero exit (every 10 s while the device is missing), and logs to ~/Library/Logs/helm/bridge.log. Install from a checkout that stays put, since the agent runs the code in place.

scripts/install-agent.sh --port /dev/cu.usbmodem1101          # the real board (dry run)
scripts/install-agent.sh --port /dev/cu.usbmodem1101 --live   # send real notes, focus real panes, open boards and reports
scripts/uninstall-agent.sh                                    # stop it and remove the plist (--logs also deletes the logs)

The device path is the --port value. For the real board it is the USB serial device (ls /dev/cu.usbmodem*). For the simulator, run python3 -m sim, which prints bridge port: /dev/ttysNNN, and install with that path; the pty is new each time the simulator starts, so reinstall with the new path after restarting it. Do not run scripts/run-sim.sh while the agent is loaded: it starts its own bridge.

Dry run is always the default: rerunning the installer without --live switches a live agent back to dry run. Rerunning with the same options changes nothing; with new options it rewrites the plist and reloads the agent. Other options: --home PATH (firstmate home; default $FM_HOME), --python PATH (default: python3 on your PATH at install time), --no-launchctl (write the plist without loading it). The installer touches only ~/Library/LaunchAgents/local.helm.bridge.plist and ~/Library/Logs/helm/. launchd does not rotate the log.

Project status

  • Designed. The v2 hardware (5 inch board, landscape, sheet-metal case) is designed; the case passes its SendCutSend rule, logo clearance, and interference checks in case/build.py.
  • Simulated. The bridge and the simulator run end to end over the real wire. The test suite and the firmware core's C tests run in CI.
  • Firmware builds. The ESP-IDF app builds in CI in its default configuration and with every alternative setting. Its screens were rendered on the Mac through the same LVGL and compared with the simulator.
  • Run against a live home. The simulator and a --live bridge answered real firstmate decisions, a HOLD, a LATER, and second mate PRs, with the captain at the keys: what firstmate did and how long it took is in docs/verification.md.
  • Not yet done. Nothing has run on a real board. Every pin, port, and timing assumption is listed under Verify on the board. The product images and the teaser video are renders, not photos.

A finished Helm is planned for sale, for anyone who would rather not build one.

FAQ

Do I need firstmate? Yes, for real use. Helm shows firstmate's decisions, workers, and PRs and sends your answers to firstmate's inbox; firstmate does the acting. herdr is optional: it provides the agent panes SHOW ME brings forward and the context gauge. To look around first, the simulator runs with demo data and needs neither.

Does it work without the hardware? Yes. The simulator looks and behaves like the deck and speaks the same wire, so the bridge cannot tell them apart. On the hardware side, the board alone works from touch, with no keys, knob, lights, or chime fitted.

Do I need a Mac? For the bridge, yes: it starts at login through launchd and reads the Mac's lock state. The simulator only needs Python 3.11+ with Tk.

Can I buy one? Finished units are planned. There is no date or price yet; star or watch the repo for updates.

Is it safe to press YES? It is built so the wrong press is hard and a dangerous one is impossible. Every answer needs a one second hold with the exact item on screen. Each ask, answer, and day sends at most one note: pressing again is a replay, while a new commit on the PR or a decision raised again is a new ask. A YES on a PR names the commit the deck had when you started holding, so a push after that is not merged on your word, and a push during the hold refuses the YES with "PR changed, look again". YES is dark on a PR known to be red or conflicted. Firstmate merges on a YES only with the YES rule in your home, and then only when the PR is open, conflict free, and green at the current commit, checked live. Helm itself cannot merge, push, or type into a pane, and the bridge runs only a fixed allowlist of commands, in dry run until you start it with --live.

What does it cost to build? About $170: the priced parts on the bill of materials come to $171.51 (checked 2026-11-10), before the SendCutSend case order and the logo engraving, which are not quoted yet, and shipping from six vendors.

Documentation

Get started

Build your own  ·  Try the simulator  ·  Star or watch the repo for updates

License

Software is licensed under the Apache License 2.0. The case design (case/) and build guides (docs/build/) are licensed under CERN-OHL-W-2.0, and other documentation and images under CC BY 4.0. The Helm logo is not under an open license: all rights reserved. Images and renders here that show the logo are licensed for their content, but that grants no right to use the logo itself. REUSE.toml maps every path to its license, and THIRD_PARTY_NOTICES.md lists third-party material.

About

Helm: a physical control deck for Firstmate and Herdr

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages