wooloo
Development tools · 02

herdr-core vs Herdr TUI: two backends, two roadmaps

Herdr now ships a new desktop app and runtime alongside its original TUI server. Here is how herdr-core and Herdr TUI compare, where both projects stand today, and what the shift means for open-source clients.

Terminal-style diagram showing herdr 0.9 splitting into a stalling dashed tui rail and an active herdr-core rail branching into herdr-app, separated by an inequality symbol

When wooloo started, relying on Herdr TUI meant inheriting persistent terminal sessions, agent detection and split layouts without rewriting a multiplexer from scratch. When Herdr later introduced herdr-core and herdr-app as an incompatible stack, wooloo had to build support for a second backend from the ground up.

That direct integration work reveals both sides of the change. herdr-core addresses real protocol weaknesses in the older TUI server, yet the way the split was introduced and documented has created avoidable friction across the open-source ecosystem around Herdr.

The practical distinction: Herdr TUI is a self-contained multiplexer server that renders cell surfaces and owns workspace structure. herdr-core is a headless PTY runtime that pushes terminal emulation, input encoding and layout storage onto every client.

What changes between Herdr TUI and herdr-core?

To a casual visitor on herdr.dev, herdr-core (hc) can look like the shared foundation beneath every Herdr tool. In practice, Herdr operates two incompatible servers that do not share running terminals, detected agents or workspace layouts.

Herdr TUI (herdr 0.9.5) bundles a terminal multiplexer with its own background server. It owns Spaces, tabs, split trees, zoom state, key bindings in config.toml, Git worktree commands (worktree.*), plugins and popups. It recognizes coding agents through screen detection and per-agent integrations, exposing JSON RPC on herdr.sock (protocol 22, 128 method and event names) alongside rendered cell grids (shell.surface.v1) on herdr-client.sock.

herdr-core (hc 0.1.22) follows a narrower design: "Core draws nothing." Its 32-method OpenRPC schema (protocol generation 1) omits workspaces, tabs, splits, cell surfaces, input encoding, screen-based agent detection, plugins and worktree RPCs. Instead, it manages persistent raw PTYs over a framed connection and leaves emulation, compositing and workspace structure to each client.

Two incompatible Herdr stacks

Original stack (TUI 0.9.5)

TUI + third-party clientswooloo · Sheprd (Herdr 1) · Heeler · Ovis
↕ herdr.sock + shell.surface.v1 ↕
Herdr TUI server (herdr)Workspaces · tabs · splits · cell compositor · agent detection · config.toml

New stack (herdr-core 0.1.22)

Herdr App + official mobileGPUI + libghostty · QuickJS mods · private herdr-app doc
↕ JSON-RPC + framed PTY streams (hc) ↕
herdr-core daemonRaw PTYs · OSC 7501 status · labels · opaque 1 MiB doc.* · machines
Neither protocol is a superset of the other. An agent started in Herdr TUI never appears in herdr-core or the official Herdr app, and no official bridge connects them.

On purely technical grounds, herdr-core improves several weak spots in the TUI protocol:

  • Multiplexed transport with flow control: One framed stream carries JSON-RPC on channel 0 alongside terminal channels with per-stream CREDIT accounting (a 256 KiB window, switching to a fresh repaint if a viewer falls more than 4 MiB behind). Under the TUI protocol, a lagging client had frames dropped silently.
  • Event recovery and sequence numbers: Core attaches sequence numbers to events, sends 15-second heartbeats when idle, and emits a missed snapshot when a subscriber falls behind. On the TUI, wooloo had to re-fetch session.snapshot after each event because there was no loss signal.
  • Explicit status reporting and SSH transport: Programs emit status in-band through OSC 7501 (working, blocked, done, error) instead of relying on screen scraping, and hc connect runs the protocol over SSH stdin/stdout without a separate remote-api-bridge.
  • Schema compatibility checks: CI compares changes against released.openrpc.json and negotiates capabilities during hello.

The tradeoff is that Core achieves this simplicity by moving the hardest parts of a terminal multiplexer into every client. Where a TUI client could draw server-composited cells directly, a Core client must embed its own VT emulator, encode keyboard and mouse modes (including Kitty keyboard and win32-input-mode), reply to forwarded terminal queries via AUTOMATIC_INPUT, decode inline graphics, manage client-side scrollback and search, lay out split trees, and store workspace structure in an opaque JSON document.

Technical comparison: Herdr TUI 0.9.5 vs herdr-core 0.1.22
LayerHerdr TUI (herdr 0.9.5)herdr-core (hc 0.1.22)
Wire protocolTwo Unix sockets (herdr.sock JSON + herdr-client.sock surfaces); 128 methods/events; no flow control or sequence numbers.One framed connection (channel 0 JSON-RPC + credited streams); OpenRPC schema (32 methods); sequence numbers and missed recovery.
Rendering and inputServer runs VT emulation, composites split panes and sends shell.surface.v1 cells plus semantic input.Streams raw PTY output (terminal.attach). Client runs VT emulation, key/mouse encoding, scrollback and split layout.
Spaces, tabs and splitsOwned by the server and synchronized across attached clients.Omitted from Core. Clients store opaque JSON up to 1 MiB via doc.get/doc.set; herdr-app keeps its own private format.
Agent statusScreen detection plus per-agent integrations (integration.install). Works for unmodified CLIs.Explicit OSC 7501 reports, turn counter and shared herdr.seen/herdr.pinned labels. Unreported programs have no state.
Reboot resumeRestores layouts and resumes supported agent conversations.--keep restarts a bare shell; PR #429 (OSC 7577) merged on master Nov 26, still unreleased in 0.1.22 and not yet emitted by Claude Code or Codex.
Remote hostsCLI herdr --remote and remote-api-bridge; single-server socket API.First-class machine.*, file.*, machine.exec and hc connect over SSH stdio; machine-qualified IDs (box/t7).
Customization and Gitconfig.toml, TUI plugins, popups and worktree.* RPCs.Minimal herdr-core/config.toml; no plugins, popups or Git worktree API. Customization moved to herdr-app QuickJS mods.

Where both projects stand today

Repository history shows where active engineering sits more clearly than product pages. As of November 30, 2026, Herdr maintains three repositories with diverging release cadences.

Project state as of November 30, 2026
MetricHerdr TUI (herdr)herdr-core (hc)Herdr App (herdr-app)
Latest release0.9.5 (October 14, 2026)0.1.22 (November 22, 2026)0.1.16+ (daily fixes since Nov 2026)
Recent activitymaster paused after Oct 29 (aside from a single Nov 19 commit); monthly stale-issue workflow added Oct 28.High cadence: 83 commits between 0.1.18 and mid-Nov; PR #429 merged Nov 26.Rapid desktop iteration in Rust/GPUI with vendored libghostty and QuickJS mods.
DistributionGitHub Releases, Homebrew herdr, herdr.dev/install.sh.releases.herdr.dev/core with SHA-256 manifest; self-updating hc update.releases.herdr.dev/app, Homebrew cask herdr-app; prebuilt macOS binaries target Apple Silicon only.
Official mobile supportExplicitly unsupported ("Herdr TUI isn't supported").Supported over SSH by official iOS, iPadOS and Android apps.Shares herdr-app document and labels with mobile apps.

Upstream has not declared an end to Herdr TUI development, and a quiet period is not a formal archive notice. Even so, six weeks without a release after a rapid 0.9 cycle, combined with a stale-issue automation added on October 28, leave existing TUI 0.9.5 limits unaddressed: scrolled patches with inline graphics, the ~43 fps frame cap, popup title cells and the TUI-only plugin system remain as they were in October.

At the same time, herdr-core and herdr-app remain early 0.x software with meaningful gaps for users considering a switch today:

  • Unsettled client contracts: Core #33 (what CLI JSON and behavioral defaults Core promises) and Core #115 (the canonical integration API and migration path) remain open without replies. App #43, asking whether third-party clients may read or write the herdr-app layout document, has gone unanswered since November 2.
  • Reboot resume regression: Users moving from TUI 0.9.5 lose conversation resume after reboots (Core #15). PR #429 (OSC 7577) merged to master on November 26, but it is not yet in 0.1.22 and major CLIs such as Claude Code and Codex do not emit OSC 7577 yet.
  • Operational rough edges: When testing 0.1.21, running hc server status started a Core daemon despite a changelog entry claiming status checks no longer start one. Meanwhile, herdr-app ships telemetry on by default and does not publish Intel macOS binaries (App #140).

The roadmap shift and official stance

The public timeline illustrates how abruptly the direction changed. In August 2026 (Herdr is joining Y Combinator), Herdr joined YC and moved its runtime to Apache-2.0. In early September 2026 (Connecting the machines and Herdr raised a $6M seed), it shipped Herdr 0.9 with multi-machine SSH support inside the TUI, outlined plans for an encrypted Herdr Cloud relay, and announced a $6M seed round led by Bessemer Venture Partners.

Six weeks later, following TUI 0.9.5 (October 14), herdr.dev became app-first around herdr-app, herdr-core (also Apache-2.0) and official Core-only mobile apps, moving the TUI to a secondary link at herdr.dev/tui with no separate blog post announcing the change in direction.

The herdr.dev FAQ describes Herdr TUI as "the original Herdr: a terminal app with its own server" and states that "Herdr TUI keeps working," while noting that the two programs "don't share agents, so what runs in one doesn't show up in the other." When users asked in App #63 whether the desktop app could share agents with the TUI, the maintainer closed the issue on October 29 with the explanation that the backends are separate by design and "whether the tui moves onto herdr-core later is still open."

Users trying to move existing setups in Discussion #5732 are left without an official migration tool, relying on manual herdr api snapshot scripts or running the TUI nested inside a terminal pane of the new app.

Why the ambiguity hurts: Saying a tool "keeps working" while shifting homepage positioning, mobile apps and active engineering onto an incompatible replacement acts like an unannounced deprecation. Downstream maintainers cannot tell whether to invest in Core workarounds or wait for a convergence plan that may never arrive.

Staying on TUI 0.9.5 risks building on a stagnant server. Migrating to herdr-core means accepting 0.x contracts where behavioral defaults (#33), shared layout documents (#43) and an official Core TUI (#25) remain open questions.

How the split affects open-source clients

Because Herdr TUI exposed a practical socket API early in 2026, a diverse group of open-source desktop apps, mobile clients, web relays and TUI extensions grew around it. Each part of that ecosystem now absorbs the split differently.

How open-source projects are responding to the split
ProjectOriginal anchorEffect of the split
SheprdNative Rust/GPUI desktop client for Herdr TUI (formerly herdr-gpui).Added a second "Herdr 2" backend using alacritty_terminal and local browser-tabs.json; TUI and Core tabs remain separate.
woolooNative macOS client built around TUI shell.surface.v1 and herdr.sock.Added Core as a second, opt-in backend with its own terminal emulator and workspace layout store, while keeping TUI 0.9.5 as the default.
Heeler and herdr-mobile-relayiOS/iPadOS SSH client and mobile web relay for Herdr TUI.Added Core support while now competing alongside Herdr's free official Core-only iOS and Android apps.
OvisBrowser and phone client for Herdr TUI 0.9.0+.TUI-only Herdr support faces slower upstream traction; desktop build leans on its own terminals.
hc-tui, rodeo and hctCommunity TUIs built after Core launched (Core #25).Rebuilding workspaces, tabs and splits over hc, mostly by reading or writing herdr-app's undocumented layout document (#43).
Herdr Extended, lawn and shepherdForks of Herdr TUI 0.9.5.Maintaining crash fixes, shutdown preservation and custom protocol extensions (pane_presentation_v1) independently of upstream.

Rebuilding for a second backend

No compatibility bridge serves the TUI socket API on top of Core. Desktop clients therefore had to choose between staying on 0.9.5 or building a second terminal stack. Sheprd took the dual-backend path early, pairing its TUI client ("Herdr 1") with an alacritty_terminal renderer for Core ("Herdr 2") and storing workspaces locally in browser-tabs.json.

In wooloo, supporting Core meant adding a separate terminal emulator (libghostty-vt), client-side scrollback and search, its own workspace layout document inside Core, and read-only parsing of herdr-app's Spaces so sessions from the official app remain visible. Even after that work, Core remains an opt-in preview in wooloo because mobile access, agent views and reboot-resume parity are still incomplete.

Overlapping with a funded upstream

Before late October 2026, Herdr maintained the terminal server and TUI while community projects built native desktop, browser and mobile clients around it. With herdr-app and official iOS and Android apps, Herdr now competes directly in those client categories.

Open-source competition is normal, but the contract asymmetry matters. Herdr's official desktop and phone apps coordinate through the herdr-app document in Core, whereas App #43 leaves third-party developers unsure whether relying on that schema is supported. Community mobile tools such as Heeler, herdr-mobile-relay and wooloo's unpublished Android companion also have to compete with free official apps backed by a funded engineering team.

Fragmenting TUIs and forks

Terminal-first users who relied on herdr --remote lost their sidebar and workspace workflow on Core because Core draws nothing (Core #25). Multiple separate community TUIs, including hc-tui, rodeo, hct, herdr-tui-support and herdr-core-tui, now duplicate effort rebuilding tabs and splits over hc, often depending on herdr-app's private document.

Meanwhile, projects anchored on the TUI protocol are diverging into forks. Herdr Extended maintains an upstream-first patch queue on 0.9.5 for terminal crashes and shutdown preservation, while lawn (pane_presentation_v1), shepherd and jerryfane/herdr add custom server features. Without an active upstream TUI steward, protocol drift across forks becomes harder for clients to support.

Stranded plugins and configuration

Plugins written for the TUI herdr-plugin marketplace, TUI popups and config.toml automation do not carry over to herdr-core. Extensibility in the new stack lives in herdr-app's QuickJS mods, tied to the official desktop client.

Sources checked November 30, 2026. Repository releases, issue states and client architectures change frequently; follow the linked primary sources when evaluating a tool.

What remains unresolved for upstream and downstream?

If herdr-core is meant to serve as a shared open runtime rather than an internal backend for herdr-app, three upstream decisions are still overdue: answering App #63 and Core #115 with a clear TUI maintenance or migration plan, documenting shared layout and behavioral guarantees in App #43 and Core #33, and shipping reboot resume (PR #429) in a tagged release with broader agent support.

Until those answers arrive, downstream projects have to protect themselves structurally. In wooloo, that means keeping the UI behind a backend-neutral session boundary, treating shared Core documents and labels as untrusted input, probing capabilities rather than assuming fixed versions, and focusing on areas a runtime vendor is less likely to prioritize: native macOS ergonomics, universal Intel and Apple Silicon builds, zero telemetry, and deep review workflows across Markdown proposals, Jupyter notebooks and Git diffs.

Common questions about herdr-core and Herdr TUI

Can Herdr TUI and herdr-core share running agents?

No. They run as separate background servers with incompatible protocols. Sessions started in Herdr TUI 0.9.5 do not appear in herdr-core, herdr-app or the official mobile apps, and vice versa.

Is Herdr TUI officially deprecated?

No official deprecation notice has been published, and herdr.dev states that Herdr TUI keeps working. In practice, upstream releases, mobile support and daily commits have shifted to herdr-core and herdr-app since late October 2026.

Which backend does wooloo use today?

wooloo keeps Herdr TUI 0.9.5 as its default backend and includes herdr-core (0.1.21+) as an opt-in preview. Supporting both lets existing TUI workflows keep running while Core compatibility matures.

Written by

This article presents my perspective as the author of wooloo, an independent client affected by Herdr's backend split. All release dates, issue states and protocol details cite the primary repositories, blog posts and wooloo's upstream protocol notes linked in the text.