herdr-app README

The project's README from github.com/herdrdev/herdr-app. As one markdown file: README.md.

Herdr

Herdr is a desktop app for terminals and coding agents. Keep work in spaces, see which agents need you, and leave terminals running when you close the window.

Install

Linux and macOS

curl -fsSL https://releases.herdr.dev/app/install.sh | sh

Linux needs a desktop session and a working Vulkan driver. macOS builds are available for Apple Silicon; Intel Mac users can build from source. Linux builds are x86-64 and ARM64.

The installer adds Herdr to your apps and puts the command in ~/.local/bin. Add that folder to your PATH if the installer asks. On macOS the app lives in ~/Applications/Herdr.app. For drag-and-drop installation on Apple Silicon, download Herdr.dmg and drag Herdr to Applications.

On macOS (Apple Silicon), you can also install with Homebrew:

brew install --cask herdr-app

Windows

Run in PowerShell on x64 Windows with curl and tar installed (Windows 10 1803 or newer):

irm https://releases.herdr.dev/app/install.ps1 | iex

Herdr appears in the Start menu. The installer adds %LOCALAPPDATA%\Programs\herdr-app to your user PATH. Open a new terminal to pick it up.

The shell and PowerShell installers download and run code. Read the shell installer or PowerShell installer first if you prefer. They also install herdr-core if it is missing. The app can help install or update a core it cannot use.

Find your work

A space holds work on one machine, usually in one repo. Each space has tabs. Split a tab into panes to put terminals or mod panels beside each other.

An unnamed space follows its first terminal's folder. Name a space or tab when you want a label that stays. New tabs start in the focused terminal's folder.

The agents sidebar brings agents from your spaces into one list, including workers started by another agent. Agents that report status show as:

Click an agent to see it. A worker without a pane opens in peek, over your tab. Keep it as a tab if you want it beside your other work. Ctrl-click a live terminal address in terminal text to peek at it; use Cmd-click on macOS. An address such as t7 means a terminal on the same machine as the terminal showing it. vps/t7 names one on another machine.

The window arranges terminals. The core runs them. Closing the window leaves them running; closing a pane or tab ends its terminals. After a reboot or core crash, kept panes come back in their last folders. A program that tells the terminal how to resume it (OSC 7577, pi does) starts again there; other panes get a fresh shell.

Work on another machine

Add an SSH machine from Settings → Machines or the sidebar's Add machine action. Pick a host from your SSH config or type how SSH reaches it. Spaces on that machine run their terminals there, not on your computer.

Each machine keeps its spaces, tabs and splits in its core. Connected screens share that structure and the live terminals, but keep their own focus and zoom. Remote work keeps running when your local window closes or your laptop sleeps, as long as the remote machine and core stay up.

Make it yours

Open the command palette to find an action by name, or open Settings to change fonts, colors, sounds and other preferences. Settings > Look also adjusts terminal line height, cell width and scroll speed. All default to 100%; layouts can override them with terminal_line_height (0.8–2), terminal_cell_width (0.8–2) and terminal_scroll_speed (0.1–5). The built-in layouts include Herdr, Terminals and Herdr 98. A layout arranges the window. Mods are small JavaScript programs that draw its panels, menus and dialogs.

Duplicate a shipped layout or mod before changing its structure or code. Your copies stay yours; Herdr updates the shipped ones on start. Save a personal layout, mod or key file and the window reloads it. A broken edit keeps the last good version and reports the error.

Ctrl+Shift+P shows every command and its key (Cmd+Shift+P on macOS). Change any key in keys.json; see the keys section of the mod guide for the format, including JSON objects for named, typed command arguments.

On macOS, Cmd+A selects the terminal's whole screen and scrollback, ready for Cmd+C. In vim and other alternate-screen apps, it selects only that screen. Linux and Windows keep Ctrl+A for the shell; bind terminal.select_all in keys.json if desired.

Layouts and mods · Commands

Updates and privacy

Installed releases check for updates in the background and download a new app beside the running one. It takes over when you quit and reopen, or choose the update action. Your terminals keep running in the core. Settings → Updates shows what is available. What's New opens after an update; you can open it again from the command palette. Builds from source do not update themselves.

Usage telemetry is on by default in releases. Turn it off in Settings → Privacy. Mods are trusted code, not sandboxed extensions. Read security and privacy before installing someone else's mod.

For agents

herdr-app --skill

This prints the agent guide for driving the window. The herdr-core skill points agents here. Use herdr-core for running and coordinating programs; use the app to change what you see.

herdr-app ls
herdr-app status
herdr-app commands

The first two inspect the open window. The command list also works without one. See the command reference for arguments.

Build from source

For bugs, mod API requests and code contributions, see Contributing.

Clone this repo with its submodules. Use Rust 1.95.0 and Zig 0.16.0, the versions used in CI. Linux needs the development packages listed in that workflow.

git clone --recurse-submodules https://github.com/herdrdev/herdr-app.git
cd herdr-app
just build
just test
just install

Install just to use these recipes. The platform installer builds a release and adds the app to your desktop. On Linux it links to this checkout, so keep the checkout in place. Quit and reopen Herdr to use the new build.

Documentation checks also need Bun: just docs-check checks generated pages and CLI examples; just docs-generate refreshes the reference pages.

To compare drawing changes on Windows, Linux or macOS, run the same fixed workloads against each build:

python scripts/bench.py --bin <app executable> --set spinners --seconds 20

The runner requires hc on PATH and uses the Python executable running the script. It prints a unique artifact folder with the run settings, counters and results, then stops its private app, terminals and core. Every set uses Python fixture programs; the default set’s TUI workload replaces historical btop measurements. --only spinners measures just the quiet native spinner scenario. --set titles runs eight agents whose titles spin after a prefix (π ⠹ task) on the main layout. Keep the window visible and the display awake, and compare the same window activity and display settings; inactive windows may draw at a lower rate. Windows records visibility, foreground activity and display Hz at each measurement boundary; other platforms mark these observations unavailable. Visibility does not establish occlusion. Draws are window render calls. Render-to-paint elapsed time stops before scene finalization, backend drawing, uploads and presentation; it is separate from OS process CPU time. Neither measures physical presentation or the FPS HUD’s derived MAX FPS.

python scripts/bench_compare.py ghostty --root <artifact folder> reuses a run’s fake agent for the macOS comparison. Benchmark checks: python -m unittest discover -s scripts -p test_bench.py.

herdr-app (herdrdev/herdr-app)

plugin-system
Searching Database…

What is this?Herdr is a desktop app for managing terminals and coding agents: it organizes work into spaces and tabs, shows which agents are busy, blocked or done, and keeps terminals running even after you close the window.
How do I install Herdr?On Linux and macOS you run a shell installer that adds the app and a CLI command to ~/.local/bin (or drag Herdr.dmg to Applications on Apple Silicon); on Windows you run a PowerShell installer that adds the app to your user PATH. Both installers will also install herdr-core if it's missing.
What do I need before installing it?Linux needs a desktop session and a working Vulkan driver; Windows needs curl and tar with Windows 10 1803 or newer; connecting to another machine needs an SSH setup already configured.
Any install pitfalls I should know about?Intel Macs aren't supported by prebuilt binaries, so those users must build from source; also mods are trusted code rather than sandboxed extensions, so you should read the security notes before installing someone else's mod.
Which platforms and architectures does it run on?Linux builds target x86-64 and ARM64, macOS builds target Apple Silicon (Intel needs a source build), and Windows is supported on x64.
Does Herdr send any usage data home?Yes, usage telemetry is enabled by default in release builds, but you can disable it from Settings → Privacy.
What is a 'space' in Herdr?A space holds all the work on one machine, usually tied to one repo, and contains tabs that can be split into panes holding terminals or mod panels.
How can I tell if an agent needs my attention?The agents sidebar lists every agent across your spaces and tags each one as Working, Blocked, Done, or Idle so you can quickly spot which ones need you.
Can I control terminals and agents running on another machine?Yes, add an SSH machine from Settings → Machines; that machine's spaces run their terminals there, and remote work keeps going even if your laptop sleeps or your local window closes.
Can I customize the app's interface?Yes, through mods, which are small JavaScript programs that draw custom panels, menus and dialogs, plus built-in layouts like Herdr, Terminals and Herdr 98 that you can duplicate and modify.
Creator
herdrdev
Size
13.7 MB
Stars
3.2K
Updated
CommitNov 18
Age
1mo
Commits · 90 Days