AI Slop Damian

Herdr Desktop: How Coding Agents Modify the App They Run In

Agent research. This report was researched and written by AI coding agents on 2026-11-22 against herdr-app 0.1.16 and hc 0.1.21 on a Linux machine. Five Claude agents (three Fable 5.2, two Opus 5.5) examined the app's guide, shipped code, binary, and public sources, with one of them building the blog-posts mod; Gemini 4 Neon wrote the report from their notes; two more Claude agents fact-checked every claim against the installed app and live web pages, and their corrections were applied; a Claude Opus 5.5 agent built the two interactive diagrams; and a lead Claude Fable 5.2 agent ran all of them through Herdr's own hc command. Damian commissioned this research as source material and has not rewritten it.

Herdr (herdr-app 0.1.16) is a free, Apache-2.0 desktop app for running terminals and coding agents. Herdr, Inc. (Can Celik's company) launched it at the end of October 2026 as a new native app alongside Herdr TUI, the original Rust terminal multiplexer for agents, and it went through thirteen versions in three weeks, from 0.1.4 (October 23) to 0.1.16 (November 14).

The focus of this investigation is a single architectural choice summed up in the footer of Herdr's website: "Made for your agents. Remade by them." Rather than shipping a conventional plugin SDK built around a separate repository, build step, and packaging pipeline, Herdr exposes its entire interface on disk as plain files and writes its documentation directly to the coding agent running inside a terminal so that agent can edit or rebuild the app around itself.

On the Linux machine examined—where Herdr had been installed the previous week—the interface itself was stock: every shipped mod, layout, key binding, and theme matched what Herdr ships (verified by file hashes against Herdr's manifest and binary). A small local session-start hook and custom agent launch entries were present around Herdr, as noted below, while the UI files were untouched. Coding agents running inside Herdr and started through hc, its background terminal runner, inspected the app's guide, shipped code, binary, and public sources, and built a test panel for this blog's posts in a scratch folder without touching the live configuration or window.

The interface is just files (mostly)

Three terms recur throughout Herdr's configuration and manuals:

  • hc (herdr-core) is the background server that owns and runs terminals, separate from the desktop window so shells and agents stay alive even if the window reloads or restarts.
  • A layout is a JSON file in ~/.config/herdr-app/layouts/ describing the tree of rows, columns, and blocks that make up the window.
  • A mod is a small folder of plain JavaScript in ~/.config/herdr-app/mods/ that draws a piece of the interface—a sidebar, a tab bar, a menu, a dialog, or a custom panel.

The opening paragraph of ~/.config/herdr-app/AGENTS.md—the manual Herdr writes inside its own config folder—states the design directly:

This folder is the Herdr app's whole interface, as files. The Herdr app is a desktop app for terminals and coding agents, and it redraws itself from these files while it runs: change a layout, a key or a panel here and the window follows within a second. […] Nothing in the default interface is special: the spaces sidebar, the agents list, the tab bar, menus, dialogs and notifications are built from the same parts you have.

In this file layout, only mods need code. Everything else in ~/.config/herdr-app/ is plain JSON or a command:

LayerFileWhat it controls
Settingssettings.jsonUser preferences (zoom, fonts, theme, sounds, clipboard, telemetry)
Keyskeys.jsonShortcuts across global, terminal, layout:<name>, and mod:<name> scopes
Layoutslayouts/<name>.jsonWindow structure (rows, columns, stacks, blocks), pane frames, and layout-specific look
Themesthemes/<name>.jsonTerminal and panel colors
Programsprograms.jsonIcons, process detection, and agent launch commands
Modsmods/<name>/Panels, bars, menus, and dialogs written in JavaScript + a one-line mod.json

Moving the sidebar to the right takes one layout edit; AGENTS.md gives the whole answer in one sentence: "Sidebar on the right: swap the two children of root." Giving ctrl+1 back to the shell is one line in keys.json: "ctrl-1": "terminal". Structure—which spaces, tabs, and splits are open—is intentionally not a file; it lives in herdr-core's document store and changes through commands.

To test the claim that "nothing in the default interface is special", the research examined all 21 mod folders shipped under ~/.config/herdr-app/mods/ (3,607 lines across their main.js files, or 6,572 lines total once the multi-file Windows 98 layout is included):

  • Every import across all 21 mods points to one of three public modules declared in the generated .d.ts files (gpui-kit, gpui-base, and herdr), or relative files inside the same mod.
  • Every single function imported from herdr is declared in ~/.config/herdr-app/herdr.d.ts. Zero undocumented imports.
  • Every literal command called through run() is in the public list of 75 commands returned by herdr-app commands. Zero hidden commands.
  • Even window controls are drawn by a mod: the default layout hides the system title bar, so on Linux and Windows the tabs mod draws the minimize, maximize, and close buttons itself.

The claim holds, with two qualifications. First, five app-owned screens—settings, palette, welcome, feedback, and whatsnew (2,135 more lines of the same JavaScript)—live in frame/ instead of mods/. Herdr rewrites frame/ on every start, and herdr.d.ts marks four feedback functions Frame-only and says sending feedback is restricted to the app's own feedback screen. Second, a few core pieces are native Rust by design: how a terminal draws its text, the borders and focus rings around panes, overlay frames, the pane drag grip, and the emergency reset shortcut (ctrl-alt-shift-escape).

Click or hover over any part of the default window below to see whether it is drawn by a shipped mod or native Rust, how many lines it is, and which parts of the Herdr API it uses:

Mods draw 9 of the 10 regions of the default window: 8 mods, 1,745 lines of JavaScript in all. Point at a region, or Tab to the window and use the arrow keys.

Right panel
JavaScript mod 31 lines

Status bar: machine, branch, agent count, “· N needs you” and the command palette hint

mods/workspace-status/main.js

Where
status block, 28 px, under the work area
From herdr
spacesagentsthemerunwindowkeys
Runs
app.palette

The shortest main.js of the 21 shipped mods. The palette hint is read from the key bindings instead of being hardcoded, so it shows whatever key the palette is bound to.

Also native
Mods that open on top
The app’s own screens, in frame/
Herdr’s default main layout in herdr-app 0.1.16, not to scale. Paths are under ~/.config/herdr-app/; lines are counted with wc -l.

From a 31-line status bar to Windows 98

As a concrete example, here is the entire bottom status bar of Herdr's default window—all 31 lines of it, verbatim:

mods/workspace-status/main.js
import { View, div, svg } from "gpui-kit";
import { h_flex } from "gpui-base";
import { spaces, agents, theme, run, window, keys } from "herdr";

export default class WorkspaceStatus extends View {
// The palette key as actually bound, not a hardcoded one; without a
// binding the hint stays useful ("commands") instead of lying.
hint(t) {
const mac = window()?.platform === "macos";
const mod = { cmd: mac ? "⌘" : "Ctrl+", ctrl: mac ? "⌃" : "Ctrl+", shift: mac ? "⇧" : "Shift+", alt: mac ? "⌥" : "Alt+", option: mac ? "⌥" : "Alt+" };
const b = keys().find((k) => k.section === "global" && k.action === "app.palette");
const parts = b && b.keys.endsWith("--") ? [...b.keys.slice(0, -2).split("-"), "-"] : b?.keys.split("-");
const key = parts && parts.map((p) => mod[p.toLowerCase()] ?? p.toUpperCase()).join("");
return key ? `${key}  commands` : "commands";
}

render() {
const t = theme();
const space = spaces().find(s => s.active);
const list = agents();
const needs = list.filter(a => a.status === "blocked").length;
const label = (icon, text) => h_flex().gap(6).items_center().child(svg(`mods/workspace-chrome/${icon}.svg`).size(13)).child(text);
return h_flex().size_full().px(14).gap(16).items_center().bg(t.chrome).border_t(1).border_color(t.border).text_size(11.8).text_color(t.muted)
.child(label(space?.machine ? "server" : "monitor", space?.machine ?? "This computer"))
.when(Boolean(space?.branch), el => el.child(label("branch", space.branch)))
.child(h_flex().gap(6).items_center().child(div().size(6).rounded(3).bg(t.dim)).child(`${list.length} agents`)
  .when(needs > 0, el => el.child(div().text_color(t.blocked).child(`· ${needs} needs you`))))
.child(div().flex_1())
.child(div().id("palette").text_color(t.dim).on_click(() => run("app.palette")).child(this.hint(t)));
}
}

Three aspects of this model stand out in those 31 lines:

  • No HTML, no CSS, no DOM. Chained calls like .px(14), .gap(16), and .bg(t.chrome) resemble Tailwind, but they describe native GPU elements. As AGENTS.md puts it: "There's no DOM: the script describes, Rust draws."
  • Reactive live data with no boilerplate. Calling spaces(), agents(), and theme() inside render() subscribes the mod: the guide says it re-renders whenever that live data changes, with no polling and no event listener to wire up. And because the shortcut hint is read from keys() instead of hardcoded, it reflects whatever key the palette is bound to.
  • One shared command surface. Clicking the hint calls run("app.palette"). That is the exact same list of 75 commands used by keys.json (which has 68 bindings, 65 of them to 31 of those commands), by menus, and by agents calling herdr-app do from the shell. A mod can even call commands() to inspect the list itself—which is how the command palette works.

Mods don't import code from each other (the guide rules out reading another mod's code at run time), so they cooperate through commands, overlays, shared key-value state (shared() / setShared()), and the layout tree itself. The shipped confirm (53 lines) and prompt (50 lines) mods are generic dialogs that take a command object in their props and run it on confirmation. Clicking the "Files" button in the tabs mod does not talk to the files mod directly; it runs layout.select and layout.show on the right-hand stack. And the agents sidebar calls setAgentOrder() on render so global alt-up/alt-down shortcuts follow whichever sort order is active.

If workspace-status is the floor of what a mod can do, Herdr also ships the ceiling: win98 ("Herdr 98").

The win98 layout replaces the entire modern workspace. Going by its code and layout file, it draws a teal #008080 Windows 98 desktop—a 40 px bottom taskbar with a Start menu and clock, spaces laid out as desktop folder icons, Win98 title bars on every terminal pane (blue on the focused one, gray on the rest), bundled pixel fonts, synthesized startup and shutdown chimes, playable Mines and Solitaire floating windows, and Clippy.

Clippy is wired into live agent state rather than acting as a static ornament. It watches agents() and pops a speech balloon whenever an unfocused agent finishes or gets blocked (its template fills in the agent, space, and tab: "It looks like [agent] in '[space \ tab]' is waiting for you. Would you like help?") with a "Take me there" button that runs agent.focus. Shut Down → "Restart in DOS mode" switches to the minimal terminals layout; "Log Off" switches back to main, and terminals keep running underneath.

All of Herdr 98's code is one mod folder (mods/win98/, 3,002 lines of JS across 10 files, plus icons, 106 playing-card SVGs, sounds, and fonts), alongside a layout file and a theme file, mounted in eight different roles via props.role. It even calls run("layout.set", ...) at runtime to rescale its own layout to crisp device pixels. And like the 31-line status bar, it uses zero private APIs.

Under the hood: why edits can apply live

The reason a mod edit can apply without a build or a restart comes down to the stack inside the single 94 MiB binary (herdr-app):

  • UI and rendering: Zed's GPU-accelerated GPUI framework (via Longbridge's open-source gpui-kit and its gpui-shell runtime), drawing through wgpu (Vulkan on Wayland on the Linux test machine). No Electron, no Chromium, no GTK or Qt, no Node—on Linux herdr-app declares just five shared-library dependencies.
  • Terminal emulation: Ghostty's VT library compiled directly into the binary (which is why shells inside Herdr see TERM_PROGRAM=ghostty).
  • Scripting: an embedded QuickJS-NG JavaScript engine (via Longbridge's quickjs-jit fork, plus a small set of Node-shaped built-in modules from AWS's LLRT).

Notable in that stack: Herdr uses Zed's UI framework to let JavaScript mods reshape the entire window, while Zed's own extensions can provide languages, debuggers, themes, icon themes, snippets, and MCP servers (with any procedural code written in Rust and compiled to WebAssembly), but no UI panels or layouts.

The other structural piece is process separation. herdr-app is only the window (a little over 200 MB RSS on the test machine). herdr-core serve (12 MB) and herdr-core hold (9 MB) run as their own background services—separate systemd user units on Linux. Every shell and coding agent is a child of the holder process, not of the window. That is why reloading mods, switching layouts, or restarting the window does not kill running agents.

Because mods are plain ES modules with no build step—no package.json, no bundler, no compiler—there is nothing to recompile on save. On Linux, herdr-app uses inotify to watch for file changes. According to the guide, saving a file reloads every copy of the mod in place and stops the previous build's tasks and timers (the binary carries the matching error message: "this cx belongs to a build of the script that was reloaded or closed; its tasks have to stop"). The guide says edits appear "within a second".1

The safety loop documented for broken saves is equally specific:

  • Invalid JSON (layouts/*.json, keys.json, settings.json, programs.json): according to the guide, the app keeps the last good version and writes why it failed to <name>.error (and surfaces it in herdr-app status).
  • Broken mod save: the guide says the old working build stays on screen and the error goes to herdr-app status (which answers in 3–5 ms over a local Unix socket). As herdr-app --skill warns the agent: "a still-working screen is not proof the edit worked."
  • Protected defaults: the guide calls shipped layouts and mods read-only—they are replaced on every start. The sanctioned workflow is layout.clone or mod.clone, and the guide says that if an agent edits a shipped file anyway, the next start moves the edited copy to <name>-edited before restoring Herdr's version. The design goal is that nothing gets destroyed quietly.
  • Hard escape hatch: per the guide, ctrl-alt-shift-escape cannot be rebound; it sets the current layout and keys.json aside as dated copies and returns to the default main layout.

Step through what happens after an agent saves a file—both when the edit is valid and when it breaks:

The window The version from before the save
The status command
$ herdr-app status "errors": []
No errors

1 The agent saves a file

Say it edits mods/my-panel/main.js, or a layout in layouts/. There is nothing to build: a mod is a plain ES module, and the rest is JSON.

  • The guide says The guide marks mods/<name>/ as “live (hot reload)”, and layouts, keys.json, settings.json and programs.json as “live”.
Checked means seen in the app’s files, binary, processes or herdr-app status on the machine this research ran on. The guide says means Herdr’s own documentation (AGENTS.md and herdr-app --skill): nobody broke a file or timed a reload in the running app for this post.

Built for an agent reader

What stands out in ~/.config/herdr-app/AGENTS.md is not the file format, it is the pronouns. Throughout its 1,163 lines, "you" is the coding agent, and the human is almost always third person ("the person" appears 18 times). One line makes the distinction unmistakable:

When the user runs a command without a required name (a key, a click), Herdr asks them. You never get a dialog: pass every required argument, or the command says what's missing.

Five design choices in the installed app follow from treating the coding agent as the primary reader:

  1. The manual ships inside the binary and stays version-locked. A coding agent cannot be relied on to know this API: the herdr module is weeks old, Herdr carries its own modified copy of gpui-kit, and web docs drift out of date. Herdr's own site does not try to compete: its Guide page says everything "is written down for your agent, inside the app, and always matches the version you have", and links to the same AGENTS.md on GitHub. Locally, herdr-app carries AGENTS.md and herdr.d.ts (480 lines) inside the executable, generates gpui-kit.d.ts (22,279 lines; its header says the style methods come from the same tables the runtime dispatches through), and writes all three on start so they match the version running—as the guide says, "the type files here are the truth". On top of that, herdr-app --skill (196 lines, prints in about 3 ms) and hc --skill (344 lines) serve up task-focused CLI manuals on demand, and herdr-app commands dumps all 75 commands as JSON in 3 ms.
  2. The shipped interface is the example folder. An agent asked to build a panel does not have to hunt for boilerplate; 21 real mods sit right next to where it writes its own.
  3. A three-command feedback loop that gives the agent eyes. herdr-app --skill drills a three-command ritual after every mod change, and AGENTS.md repeats its first rule twice ("Never call a mod done without a passing check"):
sh
herdr-app check ~/.config/herdr-app/mods/<name>
herdr-app status
herdr-app shot /tmp/mod.png   # then look at the picture

herdr-app shot is notable in this loop: according to the manual, it saves the app's own rendered frame directly to a PNG at full pixel size—even when the window is covered or minimized, with no OS screen-capture permission needed. (During this investigation it was run once, by the agent that built the diagram above, to get a reference picture of the real window; because that image shows the machine owner's live workspace, it is not included here.) The skill manual pairs it with an explicit honesty rule aimed at LLM habits: "don't claim a visual check you haven't made."

  1. Sharing a mod means sharing a prompt. People share layouts and mods in the Herdr gallery (and mods view) by tagging a public GitHub repo herdr-layout or herdr-mod—as of November 21–22, 2026, the gallery indexed 312 layouts and 576 mods from 533 people (and even the layouts in Herdr's release video were made by agents). There is no package manager and no install command. The gallery instructions call for a RECIPE.md in every shared folder—"a brief: another agent with an empty folder builds the layout or mod from it." If the copied files do not work on a newer version of Herdr, the documented fallback is to have an agent rebuild the mod from the recipe.
  2. Project policy enforces the split. Herdr's CONTRIBUTING.md says plainly: "Issues that ask for a custom mod, or for a feature a mod can already do, get closed." Pull requests for the shipped layouts and mods take fixes only.

There is one gap in this on-ramp worth separating from local setup. Out of the box, Herdr does not tell an agent that it is running inside Herdr. Herdr sets HC_TERMINAL_ID in the terminal's environment (and tracks agent status via the OSC 7501 escape sequence, which Claude Code speaks natively), and its welcome screen gives the user one copyable sentence to paste:

Read ~/.config/herdr-app/AGENTS.md, then tell me what you can change in Herdr.

On Hacker News, at least one user noticed that friction ("now I have to tell the agent 'Read herdr-app --skill and ...' - seems like extra steps?"). On the test machine, agents started in Herdr do receive a session-start note telling them they are in Herdr and pointing them at hc --skill and herdr-app --skill—but that note is not shipped by Herdr. It comes from a 62-line local shell script wired into Claude Code's and Antigravity's SessionStart hooks that checks $HC_TERMINAL_ID and prints a 292-word briefing. That it only took 62 lines of glue follows from the CLI design: because both CLIs carry their own manuals, a tiny hook only needs to announce that they exist. (Codex on the test machine is not wired into that hook. Both hc --skill and AGENTS.md say Codex has to run with --no-daemon; otherwise, the guide explains, later sessions would use the first terminal's identity.)

Putting it to the test: building a panel for this blog

To test the extension model in practice, a Claude Code agent (Fable 5.2, running in a Herdr terminal) was given a plain-English request as part of a research brief. To be clear about what it received: the brief also told it where the posts live (index.svx files with YAML frontmatter under src/content/posts/), asked for the folder to be a setting or prop, named Herdr's own docs to read (no web search), asked for a timed lab notebook, warned that herdr-app check only covers a mod's initial render, and set one safety rule—build and verify the mod in a scratch folder without installing it or touching the live window. The local session-start hook had also already pointed it at herdr-app --skill.

The request:

Add a panel to Herdr that lists my blog's posts. For each post show its title, its date, whether it is a draft or published, and its word count. Drafts first, then newest first. It should update when I save a post. Clicking a post should open its file.

Once it started its clock, the agent spent 3.6 minutes reading: herdr-app --skill, AGENTS.md, herdr.d.ts, all 21 mod.json files, the 179-line shipped files mod as a template, parts of changes and spaces for their watch loops, about 100 lines of herdr-app commands, the posts' frontmatter, and about 2% of gpui-kit.d.ts. Under a minute later—259 seconds (4.3 minutes) after it started reading—it had written a three-file mod (main.js, posts.js, mod.json) and ran herdr-app check.

It printed check passed in 0.16 seconds, on the first try.

The resulting code shows why the first draft came together quickly. The API maps almost one-to-one onto common desktop-panel requests. The core of the "update when I save a post" requirement is this loop in main.js (paired with a 30-second fallback timer, excerpted from show()):

mods/blog-posts/main.js (excerpt)
cx.spawn(async (cx) => {
  try {
while (this.folder === folder) {
  this.watching = watchFolder(folder);
  await this.watching;
  if (this.folder === folder) this.reload(cx);
}
  } catch { /* too large a tree, or too many watches: the timer still reloads */ }
});

And "clicking a post should open its file" is one command call:

mods/blog-posts/main.js (excerpt)
open(post) {
const { editor, place } = props() ?? {};
const argv = Array.isArray(editor) && editor.length ? [...editor, post.path] : ["sh", "-c", FIND_EDITOR, "edit", post.path];
run("terminal.open", { argv, folder: post.dir, place: place ?? "tab", name: post.title });
}

What the passing check actually covered. Because the brief had warned that check only covers a mod's first render, the agent built 19 tiny probe mods to measure what that first-try pass was actually worth.

On the positive side, check is fast and its error messages are specific enough for an agent to act on. Calling a bogus element method prints:

text
unknown element method `no_such_method`; it is neither a style method nor one of child, children, when, on_click, on_change, disabled, selected, checked, overflow_scroll, …

Passing "big" to .text_size() replies:

text
`text_size` expects a length: a number of pixels, or a string like "50%", "12px", "1rem" or "auto"; got "big"

With errors like that, an agent can correct mistakes without opening the 22,279-line type file.

The catch is how early check stops. By writing marker files at different points in init() and inside cx.spawn(), the agent proved that herdr-app check runs init(), runs each spawned task only up to its first await, renders once, and exits. Because props() is null and shared state is empty under check, that first-try pass had only rendered the empty "No posts folder yet" state. It had never rendered a single post row, never listed a folder or read a file, never checked the click handler (an undefined variable inside on_click passes check), and never even read mod.json (truncated, invalid JSON in mod.json still prints check passed).

AGENTS.md states this limit up front—it says check "does not lay out the mod or run deferred rows, nested renders, or later async states"—but the output is still the same two words: check passed.

Debugging inside check also had quirks. console.log prints nothing during check, even with RUST_LOG=debug. To inspect what existed inside Herdr's QuickJS runtime, the agent had to deliberately throw a JSON string from render(). That trick uncovered two details: Intl is undefined in Herdr's runtime (so (1234567).toLocaleString() returns "1234567" with no commas, which is why the mod's own small formatter is needed), and typeof setTimeout is actually "function" even though AGENTS.md says mods cannot use setTimeout. Using the same throw trick, the agent proved Herdr's JS engine and Node produced the exact same checksum (3330567314) across all 26 real posts in this repo, and used a wrapper probe to render all 26 rows synchronously inside check.2

Still, at the end of that 24-minute session, the agent had a 203-line mod whose logic and row rendering were checked—and the panel has still never been installed or seen running in a live window. That remains an explicit limit of this research: everything visual, live folder-watch updates on save, clicking a row to launch an editor, and the folder picker are unverified. Because herdr-app shot only captures the live window and there is no headless check --shot command in the installed app (herdr-app --skill mentions a scripts/sandbox tool for people developing Herdr itself from the source repo, not for installed users), an agent working without permission to touch a user's screen has no way to verify layout or visuals.

Weak spots and trade-offs

The design choices that keep mod authoring lightweight carry four clear trade-offs.

Herdr's security documentation states the trust model plainly:

A mod is trusted JavaScript running inside Herdr. It can run programs with your environment, fetch URLs and read files. The built-in file API limits writes to the app home, but a mod can run a program to write elsewhere. That is not a security boundary. Mods can also run programs on connected machines.

There is no permission prompt for each program or network request. Read a mod before installing it, and treat it like a shell script you would run yourself.

The local type file and command list fill in what that means in practice: exec runs with the user's real HOME, PATH, and auth, and space.close takes a confirmed argument so a mod can close spaces without asking.

This contrasts with the underlying runtime. Upstream gpui-shell gives a script nothing by default ("System access is denied by default") and leaves it to the host app to grant capabilities. Herdr, as the host, grants mods everything ("Mods are trusted code, not sandboxed extensions"). That is why the blog-posts mod's code can call find and start an editor with no permission boilerplate at all.

The risk concentrates on third-party mods. The gallery on herdr.dev is an automated hourly GitHub index with zero code review—the gallery page itself says "Mods aren't reviewed by Herdr: your agent reads every file before it adds one" (community preview pictures are screened, not the code), as Bitdoze also notes. Herdr's only defense is step 1 of its install instructions: tell the agent to read every file first and warn the user if a mod touches the network, runs programs, or reads outside its folder. And the guide never connects a subtle interaction: install step 5 tells the agent to run herdr-app check on each mod—and check executes init(), exec, hc, and writeTextFile for real (it prints a warning, while the write or command still runs for real).3

2. Token cost and toolchain rough edges

Shipping complete documentation with the binary comes with a context cost. Reading herdr-app --skill, AGENTS.md, and herdr.d.ts before writing a first mod is roughly 16,400 words—around 27,000 tokens by a bytes/4 estimate—before an agent even greps the 792 KB gpui-kit.d.ts file or reads a shipped mod as an example. Much of AGENTS.md is end-user settings and macOS details that a mod-writing agent does not need. On Hacker News, one commenter writing a mod to change the default shell remarked: "Burnt through like 10% of my weekly limit with Pro writing a mod to do this.."

There are smaller rough edges around typing too:

  • Whenever a mod is checked—and, judging by file timestamps, the first time a mod is loaded—Herdr silently drops an 820 KB gpui-kit.d.ts (with the herdr types appended) and a jsconfig.json into that mod's folder. On the test machine, 16 identical copies take up 13 MB of the 16 MB in ~/.config/herdr-app/mods/, while all the actual JavaScript across the 21 mods is under 0.3 MB.
  • That generated jsconfig.json enables checkJs and strict mode—which disagrees with the plain-JS style Herdr's own mods are written in. Running tsc on Herdr's shipped files mod produces 40 errors. Even with --noImplicitAny false, both files and the blog-posts mod hit a mismatch between Herdr's own two type files: theme() returns Record<string, string>, while .bg() and .text_color() require a hex-color template type starting with #.

3. Maintenance cost and young-runtime churn

Herdr's rule that nothing gets overwritten silently comes with a price: according to the guide, customizing opts those files out of updates. Cloned layouts and mods are kept as-is and never receive upstream improvements. Editing even a single character of whitespace in keys.json stops Herdr from upgrading it—every future default shortcut must be added by hand.

Because mods don't import from each other, code sharing means copy-paste. Even Herdr's own shipped mods duplicate helpers verbatim (toggleSidebar() in workspace-chrome and agents is byte-identical, and key-hint formatting is written three different ways across three mods).

And the runtime is young. No mod API stability or deprecation policy was found in the repo or the guide; the CHANGELOG between 0.1.4 and 0.1.16 includes fixes like "Mods no longer all break at once after a while" and "Editing a mod many times no longer breaks every mod." Several doc drifts are already visible: AGENTS.md calls pane "not used by the default layouts" even though layouts/main.json uses it; mod.json's title key is used by shipped mods but undocumented; win98's README promises Ctrl+Esc for the Start menu even though the default keys.json doesn't bind it, as far as the files show; and AGENTS.md mentions an installable skill inside hc --skill that isn't there in hc 0.1.21.

4. Performance footguns and blind spots

Two runtime details are easy for an agent to miss: AGENTS.md notes that "Every redraw of a mod redraws the whole window", and a hidden mod's timers keep running in the background. The blog-posts mod guarded against unnecessary redraws by comparing a JSON signature before calling cx.notify(), but a careless polling loop in a mod can quietly drain battery. Combined with check stopping at the first await and the lack of a headless screenshot mode, verifying a real async panel still requires running it in a live window.

Where this sits

One commenter on Hacker News pointed out the obvious ancestor: Emacs—"this new herdr app is actually very close to emacs in philosophy." Both build their interface from the same live-reloaded language users extend them with, with no build step. The difference is who the manual is written for.

Herdr is not alone in inviting coding agents to reshape the app, either. Orca has TSX and HTML plugin panels with no build step, plus a version-matched orca-plugin-authoring skill that includes live reload (plugin dev watch), plugin check, and plugin shot (which even works while the window is hidden or minimized)—shipped the same week Herdr launched. And cmux shipped "vibe-coded" custom sidebars five months earlier, in June 2026: an interpreted SwiftUI-style file that hot-reloads on save with no Xcode or build step, paired with a guide written "for you or a coding agent" and a cmux sidebar validate command.

ToolDefault UI built from same partsAgent-addressed guide (per docs)Runtime / build
Herdr appYes (except frame/ & terminal VT)Yes (AGENTS.md, written on start)Live JS (QuickJS), no build step, unsandboxed
OrcaNo (built-in UI isn't plugins; plugins add panels)Yes (orca-plugin-authoring skill, version-matched)TSX/HTML panels, no build step, plugin check & plugin shot
cmuxNo (custom sidebars replace one region)Yes (custom-sidebar guide "for you or a coding agent")Interpreted SwiftUI-style file, hot reload, no build step
ZellijYes ("builds its UI from plugins")None documentedRust → WebAssembly (WASI), permission-gated (built-ins get every permission)
EmacsLargely (Emacs Lisp)No (written for humans)Live Emacs Lisp, no build step
ZedNo (no UI panels or layout on extensions list)None documentedMostly config; procedural code is Rust → WebAssembly (wasm32-wasip2)
VS CodeNo (host prevents "Modifying the UI")None documentedSeparate extension host process
oh-my-pi (terminal agent)Yes (same TUI primitives as built-ins)README tells the user to ask the agentTypeScript extensions, reloaded with /reload-plugins

None of the other desktop apps examined in this research build their default interface from the same files users edit. Orca's built-in UI is Electron and React rather than plugins; cmux's custom sidebar replaces one region alongside a native Swift default. In Herdr, the spaces sidebar, agents list, tab bar, menus, and dialogs are all mods sitting in ~/.config/herdr-app/mods/, and the binary writes the manual describing them straight into the config folder on start.

Summary of findings

The investigation confirmed Herdr's central claim: the 21 shipped mods that draw the default workspace use the same public gpui-kit, gpui-base, and herdr APIs and the same 75 commands available to user mods, with explicit exceptions only for the five app-owned frame/ screens (and their feedback restrictions) and native terminal/frame rendering. Pairing plain ES modules in QuickJS with version-matched local documentation, a sub-second check command, and readable shipped examples let an agent working from a research brief and those local materials produce a loadable three-file panel in 259 seconds of reading and coding.

The same investigation identified clear limits in herdr-app 0.1.16: mods run unsandboxed with full environment and network access while the community gallery performs no code review; herdr-app check stops at a task's first await, skips mod.json and click handlers, runs init() side effects for real, and offers no headless visual preview; the required reading is roughly 27,000 tokens (by a bytes/4 estimate) and the generated jsconfig.json fails tsc even on Herdr's own shipped files mod; and customizing layouts, mods, or keys.json opts those files out of upstream updates. Finally, because this research stayed read-only on the live workspace, hot-reload timing, broken-save recovery, the ctrl-alt-shift-escape reset, and live execution of the blog-posts mod remain unverified here.

  1. Note that nobody timed a live file save in the running window during the read-only investigation, so "within a second" is the guide's claim rather than a stopwatch measurement. ↩︎

  2. For anyone curious about the accuracy: the mod's regex word counter matched this blog's own mdsvex-based counter exactly on 19 of 26 posts, was off by 1–2 words on three, and by 10–35 words on four, mostly posts with math, tables, or Svelte components. ↩︎

  3. Two other items a careful reader will want to know from docs/security.md and herdr.dev/privacy: downloaded updates are checked against a SHA-256 checksum from the same release service, and the manifest itself carries no independent cryptographic signature; and anonymous daily usage telemetry (app version and OS, which known agents ran, how many spaces, tabs, and terminals, and which layouts, shipped mods, and commands were used—with custom mods sent only as a count, never by name) is on by default, though every report is visible word for word in Settings → Privacy and can be turned off with "telemetry": false in settings.json, per run with DO_NOT_TRACK=1, or by building from source. ↩︎

Agent research