herdr-glass: the layout with mods I use to see which agent is waiting

herdr-glass is the translucent layout I use every day in Herdr App: agents sorted by state, changes and pull requests beside them, and the 21 mods I wrote or forked, explained.

AI-assisted translation, approved by Mateo.

The herdr-glass project's own demo capture: the translucent window with spaces and agents grouped by state on the left, an agent and a shell side by side and the Changes panel on the right; made-up data, not a real workspace.

In this post I cover herdr-glass, a translucent layout for Herdr App. Agents sit sorted by state on the left, changes and pull requests on the right, and usage limits along the bottom. My own work is MIT, I describe version v0.1.21 and I use it every day.

The herdr-glass window with spaces and agents on the left, an agent and a shell side by side and the Changes panel open; demo data, not a real session.Enlarge image
The full layout: agents left, changes right, usage below. Project demo capture, made-up data.

What is herdr-glass?

It is a layout with mods for Herdr App. A layout is a JSON file that says which panels and background processes the window builds; the pack ships just one, glass-insights, the one I use. Herdr App reports each agent's state and the layout groups them into Needs you, Done, Working and Idle.

It ships 30 mods: 9 of mine, 12 forks, 6 from other people unchanged and 3 unchanged from my own repos. It ships no themes of its own.

Diagram: Herdr App reports each agent's state and the rail-next sidebar mod sorts them by state, not by folder.Enlarge image
Herdr App reports state and the sidebar sorts agents by state. Illustration.

Why I built it

In my experience, starting a second agent is easy. The hard part is knowing which of the 3 or 4 I have running is waiting for me, especially across several spaces and machines. Which folder an agent lives in matters less than whether one needs an answer from me.

So the layout puts the agent that needs me first, and beside it I have changes, files, pull requests, CI and quotas, without jumping between tools.

herdr-glass session tree listing spaces, tabs and agents next to a terminal preview; demo data.Enlarge image
The session tree with a terminal preview. Project demo capture, made-up data.

How I use it

With ctrl-space space I jump to any agent, tab or space, with a preview of the terminal. On the right, Changes lets me stage, commit and amend; it does not push or discard, that stays in the terminal.

A diff in the middle tab with staged and unstaged files in the herdr-glass Changes panel; demo data.Enlarge image
Changes with a diff open in the center tab. Project demo capture, made-up data.

Along the bottom, in glass-insights the bar (usage-limits-fleet-canary) shows Claude and Codex limits, Claude credits and spend, and CPU, memory and disk for each machine. Every five minutes it asks the claude and codex programs for the numbers.

herdr-glass usage card with five-hour and weekly Claude and Codex limits above the bottom bar; demo data.Enlarge image
Claude and Codex limits above the bottom bar. Project demo capture, made-up figures.

How does it work?

The layout mounts mods. Panels draw, daemons run in the background with no interface, and keys.json adds the ctrl-space prefix keys. The installer copies everything to ~/.config/herdr-app and never overwrites what we edited.

Diagram: the glass-insights layout mounts panels that draw, daemons that run in the background and the ctrl-space keys from keys.json; Herdr App loads them live.Enlarge image
The layout mounts panels, daemons and keys, and Herdr App loads them live. Illustration.
PieceWhat it is forWhy this oneIn exchange for
Layout JSONBuilds the windowEdits without compilingClone it to edit it
Mods (JavaScript)Panels and daemonsHerdr App loads them liveForks need upkeep
DaemonsWatch the fleetRun with no panel openThey always run
Keysctrl-space prefixAll from the keyboardThey leave ctrl-n to the terminal
InstallerCopies or links everythingKeeps our editsNeeds Go for the helper

The mods I wrote

There are nine, under MIT. Parts of goto, tui-goto, tui-prefix and tui-spaces come from herdr-t3 and Herdr App, credited below.

herdr-glass search popup listing agents and tabs with a terminal preview; demo data.Enlarge image
The go-to-anything search with a terminal preview. Project demo capture, made-up data.
ModWhat it does
gotoSearches agents, panes, tabs, spaces and pull requests
tui-gotoSession tree with a preview
tui-spacesSpace picker
tui-prefixctrl-space prefix, key cheat sheet and sub-agent cycling
whereMachine, space, tab and agent as a breadcrumb
web-browserLists ports and opens URLs in terminal-browser or on the laptop
fleet-resourcesCPU, memory and disk alerts for every machine
quota-resumeExperimental and off: resumes agents when the quota returns
lanes-boardPanel of herdr-spawn lanes by coordinator and urgency, with alerts

My forks of the sidebar and tabs

I forked five mods. For each, this is what I added.

herdr-glass sidebar with space folders and agents grouped by state, next to the Inbox view; demo data.Enlarge image
Agents by state, beside the Inbox view of the same sidebar. Project demo capture, made-up data.
ModFork ofWhat I added
better-tabsmunzaOne-line bar and a tooltip with lane and panes
better-sidebar-railmunzaIcons, agent order and avatars
rail-nextmunzaAgent view and a blue ring for an unsent prompt
space-folders-nextHerdr AppColored folders, drag-and-drop and rules
back-and-forwardherdr-powertoolsBack and forward history adapted to Herdr

My forks of the panels

These seven forks are six right-hand panels and preview-plus, the viewer markdown-browser opens.

A rendered README beside an agent in herdr-glass, with the Markdown file list on the right; demo data.Enlarge image
A rendered README beside the agent. Project demo capture, made-up data.
ModFork ofWhat I added
markdown-browserohnedaTerminal mentions and Cmd-click on .md links
preview-pluslinziyanleoReloads a remote file only when it changed
over9k-promptsherunanTimeline for Claude Code, OpenCode, oh-my-pi and Codex
better-changesmunzaVirtualized lists and cwd following
better-filesmunzaLinux desktop actions and bounded previews
ci-dashdougcunhaFolder remembered per machine and space
branch-prmunzaResolves the focused checkout (Claude Code and Antigravity) and scopes PR and worktree reads

The pack ships 9 more mods unchanged. Six are from other people, such as vitals, better-alerts, t3-inbox and recap. Three are from my repos: agent-names, insights and usage-limits-fleet-canary. Credits are at the end.

What does tab naming send?

IMPORTANT: the agent-names mod is on by default and starts when we switch layout.

When a tab's panes change (usually at most every 10 minutes per tab) it sends the space name and the one we typed, program, status, title, step, folder and branch. For up to two agent panes with no title it reads 40 screen lines and sends up to 480 characters of each.

Diagram: when a tab changes, tab naming sends pane text to each tool it tries, in order, and the first name returned wins.Enlarge image
Tab text reaches every tool it tries; the first name wins. Illustration.

It tries agy, opencode and claude, and each one it tries receives the text. To keep it local, we set tabs.namers to an empty list before switching layout. It also renames tabs that already had a name and closes unused shells after 24 hours.

What is still in development?

The repo shipped 22 releases between November 27 and December 4. The latest: back-and-forward, Web with Terminal and Laptop destinations, Timeline for four agents and pull request search in goto. In v0.1.20, credits and spend reached the bar, and v0.1.21 left a single layout and added lanes-board.

Timeline of five herdr-glass releases: v0.1.16 and v0.1.17 on December 2, with agent-resume removed, and v0.1.19, v0.1.20 and v0.1.21 on December 4, the last with a single layout.Enlarge image
Five releases between December 2 and 4; v0.1.21 leaves a single layout. Illustration.

I removed agent-resume in v0.1.17: it was one of the mechanisms that resumed dozens of sessions at once, and my Linux machine ran out of memory. quota-resume is still experimental, and sub-agent cycling with ctrl-left/right still has the bugs I listed in v0.1.1.

Pros and cons

What we gain

  • One place to see which agent is waiting for me, with changes, pull requests, CI and quotas beside it.
  • Colors, blur and blocks are edited in JSON, and glass.local.json keeps our values across updates.
  • Every mod from someone else keeps its license and its credit.

What it costs

  • Linux or macOS only and Herdr App 0.1.16 or later; it needs gh, Node 22.15, Go and other programs.
  • Tab naming sends pane text to AI tools.
  • I maintain 12 forks: every upstream change is work for me.
  • With nothing behind it, the window looks flat.

When it does not fit: if we do not work with several agents at once, the layout Herdr App ships is enough.

How to install it

With Herdr App opened at least once, we run:

git clone --branch v0.1.21 https://github.com/mdiloreto/herdr-glass.git && herdr-glass/scripts/install.sh --apply

Without --apply the script only reports what is missing. With --apply it also builds the pull request helper and adds the ctrl-space keys to keys.json, with a backup. Before switching layout we decide what to do about tab naming, and then we run:

herdr-app do layout.switch --name glass-insights

Done! To go back we switch to the main layout of Herdr App with the same command. I hope it is useful! Cheers :)

Thanks for reading. The learning continues in the next article.