Connect Herdr Core

Agents in the Herdr desktop app belong to Herdr Core, a server separate from Herdr TUI. On a machine that runs both, each is a Server of the same Host in Heeler. Most people run Herdr Core with the Herdr desktop app on a Mac, and Heeler also connects to Linux Herdr Core and native Windows herdr-core.exe. On macOS and Linux, Agent Notifications, Live Activity, and Usage need the Host Helper.

Before you start

  • Heeler installed on your iPhone or iPad.
  • Remote Login turned on for the Mac and its SSH fingerprint noted: Prepare the Host. On Linux, run OpenSSH. On Windows, follow Windows setup.
  • The Herdr desktop app running on the Mac, or Herdr Core running on Linux or native Windows.
  • A way for your phone to reach the Mac: directly on the same network, or over an overlay network. A Host can have multiple routes.

Add a Host

Heeler never starts a core when connecting or checking. Start the Herdr desktop app or Herdr Core first.

1. Connect

  1. In Hosts, tap +, or Add Manually when empty. On a Mac or Linux machine you can scan a Pairing Code instead, which skips this step and goes straight to choosing the Servers.
  2. Enter the Address and your SSH User. More Options has the port, a Jump Host and an overlay network.
  3. Pick Device Key, RSA Key, or Password. For Device Key, copy the public-key line into the Host's ~/.ssh/authorized_keys.
  4. Tap Connect, check the Host's key fingerprint, and tap Trust and Continue.
ConnectTrust
New Host sheet on the Connect step with Address, User, More Options, and the Connect buttonNew Host sheet on the Trust step showing Trust this Host?, the key fingerprint, Copy the Command That Prints It, and Trust and Continue

2. Choose the Servers

Heeler looks once without starting anything and lists what the machine runs:

New Host sheet on the Servers step listing Herdr TUI, Herdr Core, and Tmux as checked, an optional Name field, and Add Host with 3 Servers

Heeler foundWhat to do
Herdr CoreLeave it checked and tap Add Host with 1 Server.
Herdr Core beside Herdr TUI or TmuxCheck each one you want in Heeler. They are all Servers of this one Host.
No Herdr CoreAdd the Host anyway. Start the core, open the Host, tap Scan Again, and turn on Herdr Core.
A core started with HC_SESSION=<name>Add the Host, open it, tap Add by Name…, choose Herdr Core, type the name, and tap Turn On.

Each Server has a switch on the Host's page. Tap a Server that is on to open its own page, with its checks and Host Helper. The connection is the Host's, under Routes.

The Host's pageAdd by Name
Host page for Studio Mac showing Herdr TUI, Herdr Core, and Tmux running with their switches on, Scan Again, Add by Name…, Routes with the route in use, and Plugin & HelperAdd by Name sheet with a Kind picker, a name field, and Turn On

It worked if the Host's row shows a green Herdr Core tag, the Host's page lists Herdr Core as Running with its version, and the Server's page shows Herdr Core running passing.

Hosts tab showing Studio Mac connected with green tags for Herdr TUI, Tmux, and Herdr Core

When it does not connect

While the core is stopped, Heeler rechecks on its own, or you can tap Run Checks Again:

Host readsWhat to do
Herdr Core is not runningStart the Herdr desktop app or Herdr Core. A core started under another name is a Server of its own: turn it on with Add by Name…. If a crash left a socket file, start the core or allow stream-local forwarding.
Herdr Core is not installedInstall Herdr Core on the SSH PATH, at ~/.local/bin/herdr-core, or with its Windows installer, then tap Run Checks Again.
Herdr Core needs an updateRun the update command on the Server's page, then tap Run Checks Again.
The SSH server refuses socket forwardingSet AllowStreamLocalForwarding yes in sshd_config, reload sshd, and tap Run Checks Again.
The Herdr Core socket path is too longUse a shorter session name or socket path.

On Linux when the core is stopped, tap Start Herdr Core under the checks and confirm Start to launch the session via your login shell and turn on systemd linger. On macOS and Windows, the Server's page shows the command to run there.

The Console

When the core belongs to the Herdr desktop app, Heeler follows its spaces and tabs:

  • Desktop spaces and tabs: Each desktop space is a Workspace card in the desktop app's order, with tabs labeled Tab “name” or Tab N.
  • Other Terminals: A child Terminal joins its parent's card. Other Terminals group by git checkout or launch folder.
  • Agents and Terminals: Coding Agents and non-shell programs reporting status appear in Agents. Shells stay in Terminals.
StatusWhat it means
WorkingRunning a turn.
IdleWaiting at its prompt.
BlockedWaiting for your answer.
ErrorReported an error and sorts with Blocked.
DoneFinished a turn while closed here. Opening the Agent clears Done on this device only.
UnknownNo status reported yet. Tap Unknown to see why.

On macOS and Linux, when Grok Build shows Unknown, tap Turn On Grok Build's Status and Apply This Change to set program_status = "on" in $GROK_HOME/config.toml or ~/.grok/config.toml. Revert it with Undo or under Harness Edits on the Server's page.

Move to Workspace moves a Terminal into another desktop space or a new one, whether or not the desktop app runs. On macOS and Linux while the desktop app runs, tap Rename Workspace in an Agent's Composer More menu to rename that space in both apps. You can also Rename Agent to set a management alias in Heeler and Copy Pane ID from a row or More menu.

Starting things

  • New Agent: Tap New Agent, choose a Workspace, and pick an Agent from your login shell's PATH or a Preset from Settings > Agents & Accounts. Heeler passes a session flag where supported and starts Codex with --no-daemon, unless your arguments set a session.
  • New Terminal: Opens a Terminal in the shell the core runs, adding a tab in a desktop space.
  • New Workspace: Choose New Workspace in the Workspace menu. On macOS and Linux while the desktop app runs, Workspace name (optional) names the space.
  • Templates: Roles in ~/.config/herdr-core/templates or $XDG_CONFIG_HOME/herdr-core/templates appear under Templates in New Agent and run their command directly.
  • Worktrees: On macOS and Linux, turn on Start in a new worktree in New Agent (leaving Branch empty generates a worktree/ branch, and Base (optional) picks a starting ref off HEAD by default) to check out ~/.herdr/worktrees/<repository>/<branch>. To remove it, tap More > Worktree Details > Remove Worktree. Heeler ends every Terminal of that Workspace first, then removes the checkout.

Note

If Herdr Core inherited variables such as CLAUDECODE or TMUX, the Server's page shows Core Environment naming each variable and its effect. Restart the core from a clean terminal to clear them.

Working with an Agent

Live terminals share the Host's connection, and any viewer can type without a Take Over step. Use Direct Input or the Composer:

  • Send and Stop: Send pastes your draft and presses Enter only if the same Agent still holds the terminal. While Working with an empty draft, Send becomes Stop. On Grok Build, press Control-C with Direct Input or the tools keyboard.
  • Add: Tap Add in the Composer, or Add Image or Add File under More in Direct Input, to upload a file and insert its path.
  • Close: Closing a Tab or Pane ends its Terminal.
  • Slow connection: Heeler checks the connection regularly. While a check waits more than 15 seconds for the core, an open Agent's title reads Connection slow… and you can't type or send. Once the core answers, input comes back without reconnecting. If the core sends nothing at all for 20 seconds, or doesn't answer within 30 seconds, Heeler reconnects. When Heeler returns to the foreground, it checks again and reconnects at once if the core doesn't answer within 5 seconds.

If the Host does not answer a Send step, Heeler never sends the message again and offers Edit Draft so you can check the terminal first. When Send or Stop cannot finish cleanly, the Composer keeps your draft and shows a notice:

NoticeWhat to do
stayed in the Agent's input unsubmittedSubmit or clear the text in the terminal before sending again.
may still be in the terminalThe Agent exited before submit. Check the terminal first.
not accepting a pasteWait for the prompt, or type with Direct Input.
waiting on its question on screenAnswer the Blocked prompt first, then send again.
still shows WorkingTap Stop again if you still want it to stop.
may or may not have reached the AgentHeeler does not resend Stop. Look at the terminal first.

Chat

In Chat, you can read conversations, send messages, stop a turn, and answer Blocked prompts with buttons:

ProgramSession notes
Claude CodeOpens on macOS, Linux, and Windows. Binds at its prompt and follows /clear and /resume.
Devin CLIOn macOS and Linux, open a local Devin session with a foreground ACP writer. The Host needs Python 3.
DroidOn macOS and Linux, New Agent supplies the Droid hook. Chat follows the conversation in this terminal.
CodexOpens on macOS and Linux. Binds on the first message when started with --no-daemon.
Grok BuildOpens on macOS, Linux, and Windows. Binds while Grok Build's process lists one conversation. After /new, restart or use Choose a Conversation on macOS and Linux.
PiOpens on macOS, Linux, and Windows. Binds with the Host Helper, on Windows with Heeler's extension, or when Heeler started it. Otherwise use Choose a Conversation.
Oh My PiOpens on macOS, Linux, and Windows. Binds with the Host Helper, on Windows with Heeler's extension, or once the first message makes it hold its session file. Otherwise use Choose a Conversation.
Antigravity CLIOpens on macOS and Linux. Waits for its first message, from Chat or the terminal, then follows it and /clear.
AmpOn macOS and Linux, install Heeler's Amp plugin from Chat and reload plugins in Amp (Ctrl+O → plugins › reload). Chat reads and sends in the active thread; use the terminal for attachments, commands, and approvals.
OpenCodeOpens on macOS and Linux. Binds when Heeler started it or with Heeler's OpenCode plugin (offered from Chat). Otherwise use Choose a Conversation.
  • Can't Tell the Conversation: When Chat cannot prove the conversation, it shows Can't Tell the Conversation with the fix and Check Again. On macOS and Linux, tap Choose a Conversation, preview a conversation, and tap Use This Conversation.
  • Stop: While Chat shows the Agent's turn, Stop first checks that the same turn is still running in that conversation, including one you chose. A Codex conversation you chose is the exception, because Codex can run a side chat's turn in the same terminal, so stop it in the terminal. If the terminal has moved to another conversation or the turn has ended, Stop presses nothing and says it couldn't verify the active turn. Check the conversation, or stop the Agent in its terminal.
  • Read in the background: On macOS and Linux, Heeler reads each Agent's conversation in the background after it connects, so Chat opens with the history already read and the Agent keeps a saved Chat. It reads a conversation only when it can tell which one the Terminal is in, or you chose one, and reads OpenCode, Amp, and Devin CLI only while their Chat is open.
  • Pi and Oh My Pi on Windows: In Chat, tap Add Heeler's Extension… to review .pi\agent\extensions, .omp\agent\extensions, and Oh My Pi profile folders, tap Add to … Folders to write heeler-session.js, and restart the Agent.

Host Helper

The Host Helper is a small background service Heeler installs on a macOS or Linux Herdr Core Host. Herdr Core cannot run plugins, so with Heeler closed nothing on the Host tells your devices about your Agents. The Helper follows the core and sends them encrypted notifications. Herdr TUI Hosts get this from the Heeler plugin and need no Helper.

Without the HelperWith the Helper
Connecting, terminals, and Chat for Claude Code, Codex, Grok Build, Antigravity CLI, Devin CLI, Droid, Amp, and OpenCodeWorksWorks
Agent Notifications, in-app banners includedNoneBlocked, Error, and Done, also with Heeler closed
Live ActivityNoneKeeps updating with Heeler closed
UsageNoneToken Usage and Usage Limits
Pi and Oh My Pi ChatPi binds only when Heeler started it, Oh My Pi once its first message makes it hold its session fileFollows each Agent's session, /new included

The Helper never starts a core; while none runs, it waits. Everything it writes is listed before you install, and Remove deletes it. Heeler never edits Claude Code's settings or Codex's hooks.

1. Review the files

  1. Open the Host in Hosts, tap its Herdr Core Server, and tap Host Helper.
  2. Under Files This Writes, tap Helper, systemd Unit on Linux or LaunchAgent on macOS, and Pi & Oh My Pi to browse their folders: ~/.local/share/heeler/host-helper on Linux or ~/Library/Application Support/heeler/host-helper on macOS, the service file, and Pi and Oh My Pi agent/extensions folders.

Host Helper sheet before install: Not Installed, an Install button, and Files This Writes listing Helper, LaunchAgent, and Pi & Oh My Pi with file counts

2. Install the Helper

The Helper needs Node.js 20 or newer on the Host, and runs as a systemd user service on Linux or a launchd LaunchAgent on macOS.

  1. Tap Install.
  2. On Linux, if Systemd Linger appears, tap Turn On Linger to keep the Helper running after logout. The button runs loginctl --no-ask-password enable-linger without sudo. When the Host refuses, the sheet shows sudo loginctl enable-linger <user> for an administrator.

It worked if the Host Helper row shows the installed version and the sheet reads The Host Helper is running.

macOS may notify that node can run in the background and list it under Login Items. After a Mac restart, the Helper runs again only once Heeler reads it when the Server's page opens or a device that allows notifications connects. On a Mac, Claude Code's Usage Limits may read need your own login on this Mac, while Token Usage still counts.

Row readsWhat it means
Not InstalledTap Install.
A versionRunning. Tap Update when a newer version is bundled.
DamagedFiles changed or missing. Tap Repair.
Node.js MissingInstall a current Node.js, then tap Run Checks Again. The row's detail gives the minimum version.
Linger OffStops after logout. Tap Turn On Linger.
Node.js MovedThe service's Node.js moved. Tap Repair.
Service FailedStopped or not staying up. Tap Repair.
Not AvailableNative Windows and Linux without systemd have no Host Helper.

3. Turn on notifications

  1. Go to Settings > Notifications. If Enable Notifications appears, tap it, tap Continue, and allow notifications when iOS asks.
  2. Under Hosts, turn on the Host's switch. Tap the Host for Done Notifications and Live Activity.
NotificationsThe Host's page
Notifications with the Host under Hosts, its switch on and Blocked, Done · Live Activity below its nameThe Host's notification page with Notifications, Done Notifications, and Live Activity on, and a Host Helper row showing its version

It worked if the switch stays on and the Host's row shows no Host Helper: note. Blocked, Error, and Done then reach this device with Heeler closed, and a tap opens the Agent.

When a Host Helper: note shows, tap the Host, then Host Helper, and fix that status using the table above.

Remove the Helper

Open Host Helper and tap Remove to stop the service and delete its files, extensions, and directory.

Native Windows

Add a Windows machine over OpenSSH:

  • Location and start: Heeler looks for %LOCALAPPDATA%\Programs\herdr-core\herdr-core.exe and connects only when its named pipe exists. Start the core in a non-administrator PowerShell window in your desktop session with the command on the Server's page.
  • What works: Workspaces, statuses, live terminals, New Terminal, New Agent, and New Workspace. New Agent runs through Windows PowerShell and reads its profile, not PowerShell 7's. New Workspace uses the checkout or folder name until the desktop app names it. Composer Send, Stop, and Add up to 8 MiB per file in %LOCALAPPDATA%\herdr-core\<session>\files\<terminal>\ work, plus Chat for Claude Code, Grok Build, Pi, and Oh My Pi.
  • Not offered on Windows: Rename Workspace, Worktrees, Changes, Skills, Choose a Conversation, automatic configuration edits, and Host Helper, which reads Not Available.

Known limits

  • Workspace rename and Move to Workspace: Renaming a Workspace requires a running Herdr desktop app on macOS and Linux. Derived folder Workspaces cannot be renamed or used as move destinations.
  • Starting a new conversation with /new: After /new in Codex, use the terminal until you exit and run codex resume --no-daemon. In Pi without the Host Helper, /new is noticed only after a Chat message fails to appear in the old conversation.
  • Federated Terminals: Omitted. Add the other machine as its own Host.
  • Wrapper scripts: A script that runs an Agent as its child stays in Terminals. Start the Agent with exec, as in exec claude "$@", to list it in Agents.
  • First-time zsh without ~/.zshrc: zsh opens its wizard and a new Agent waits until you finish it or create ~/.zshrc.

Last checked on 2026-11-06 against Herdr Core 0.1.18 and the Herdr desktop app 0.1.13.