Skip to main content
Guide contents

Guide contents

Time to study: 16 min
#herdr#ai_agents#claude-code#codex#antigravity#opencode#qwencode#multi-agent#terminal
NEWBeginner16 min

Herdr: One Workspace for All AI Coding Agents

Step-by-step practical guide to installing and configuring Herdr App and herdr-core (hc): connecting 5 CLI agents, live OSC 7501 statuses, multi-agent reviews, UI customization, Gallery mods, security, and token savings.

Published:
FOR AI AGENTChatGPTClaude
GitHub repository

If you rely on a single subscription—say, Claude—and work on linear tasks inside one repository, the desktop app or standalone Claude Code is usually all you need. The moment you juggle multiple subscriptions (Claude, OpenAI, Google AI Pro, Qwen, OpenCode, Hermes), remote servers, and parallel feature branches, managing a dozen terminal windows quickly becomes a bottleneck.

Herdr is a free, open-source platform (Apache 2.0, built in Rust, 53,000+ stars and 4,300+ forks on GitHub) engineered as a dedicated command center for multi-agent systems. It unifies all your CLI coding agents, local repositories, and remote VPS boxes inside one fast native window, surfaces live agent statuses, and lets your AI assistants rewrite the UI itself on demand.

Herdr App interface showing Spaces, live Agents sidebar statuses, and Claude Code running beside Codex Збільшити
Herdr App interface showing Spaces, live Agents sidebar statuses, and Claude Code running beside Codex
Herdr App interface showing Spaces, live Agents sidebar statuses, and Claude Code running beside Codex

This open guide covers the complete hands-on workflow: from herdr-core architecture and installing 5 major CLI agents to live orchestration, curated Herdr Gallery mods, supply-chain safety rules, smartphone control, and a proven token-saving pipeline.


1. Herdr Architecture: Herdr App vs herdr-core vs Herdr TUI

Herdr debuted in March 2026 as a next-generation terminal multiplexer ("tmux killer"), then evolved well beyond pure console usage. Today the Herdr GitHub organization → splits the stack into three clear components, and understanding how they interact saves hours during setup.

  • herdr-core (hc) — the lightweight background runtime daemon that owns real terminal processes. It draws zero UI, keeps sessions alive across app quits and SSH drops, orchestrates agent-to-agent calls, and reads real states via the open OSC 7501 Program Status Protocol.
  • Herdr App — a native Rust desktop client (not Electron or a browser) acting as a fully hackable frontend over herdr-core. Every layout, sidebar, tab bar, shortcut, and theme lives as plain editable files inside ~/.config/herdr-app/.
  • Herdr TUI — the original terminal-only multiplexer with its own server. It continues to work for pure-CLI purists, but it does not share agents with herdr-core and Herdr App.
Original Herdr TUI terminal interface with built-in color theme picker Збільшити
Original Herdr TUI terminal interface with built-in color theme picker
Original Herdr TUI terminal interface with built-in color theme picker

Comparison: Herdr App + herdr-core vs Herdr TUI vs tmux

CriteriaHerdr App + herdr-coreHerdr TUI (Legacy)Standard tmux
Interface TypeNative Rust GUI, mouse-friendlyPure terminal (TUI)Terminal, hotkey-driven
Live Agent StatusesNative OSC 7501 (Working, Needs you, Done, Idle)Sidebar state detectionNone out of the box
Survives Window CloseYes, kept alive in herdr-coreYes, via its own serverYes, via tmux server
Agents Running AgentsBuilt-in hc CLI + OpenRPC APIBuilt-in herdr CLI + Socket APIManual shell scripting only
AI-Driven UI CustomizationFull (layouts, mods, panels, themes)Themes & config.tomlStatus bar & .tmux.conf only
Mobile AppOfficial iOS / iPadOS / Android over SSHNot supportedThird-party SSH clients only
Note

What happens on quit vs reboot: quitting Herdr App (Cmd + Q) or updating it interrupts nothing—every agent continues running inside herdr-core. If you reboot your computer, Herdr restores your Spaces and pane directories with clean shells so you can relaunch your agents immediately.


2. Installing Herdr App and Core Setup in 3 Minutes

Herdr runs natively on macOS (Apple Silicon), Linux (x86_64 and arm64), and Windows (x86_64). The desktop installer automatically provisions herdr-core, and the app self-updates afterward.

Step 1. Download and Install

Grab the .dmg installer on the official Herdr Download page → or run the one-line terminal installer:

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

Step 2. First-Launch Onboarding Wizard

Launch Herdr App (via Spotlight or Raycast), click Install it for me so it bootstraps herdr-core, and complete five quick steps:

  1. Theme & Scale: choose Dark or Light. Later in Settings, you can fine-tune UI scale, terminal font family, weight, padding, and interface font.
  2. Machines: keep This computer for local work or attach remote SSH servers immediately.
  3. Productivity Side Panels: enable both built-in right panels—Files (repository tree) and Changes (live Git diff inspector).
  4. Keyboard, Audio & Privacy: configure Alt / Option behavior in Settings, keep sound alerts enabled so you hear when an agent flips to Needs you or Done, and disable telemetry under permissions if preferred.
  5. Master Shortcut: remember Cmd + Shift + P (or Ctrl + Shift + P on Windows/Linux). It opens the Command Palette identically in every custom layout.
Tip

Copy the onboarding prompt on the final screen: Herdr presents Read ~/.config/herdr-app/AGENTS.md, then tell me what you can change in Herdr.—we will feed that exact line to our agents in Section 4 so they handle every customization for us.


3. Connecting CLI Agents: Claude Code, Antigravity, Codex, OpenCode & Qwen Code

The key mental model to grasp upfront: Herdr is not an AI model—it is the unified factory floor where all your terminal CLI agents work side by side. Each provider ships a terminal CLI that authenticates with your existing subscription or API key.

Overview of the 5 Core CLI Agents for Herdr

CLI AgentOfficial LinkCore Strength in the StackTypical Role in Herdr
Claude CodeClaude Code Product Page →Deep system reasoning, planning, and complex refactorsPrimary orchestrator & architect
Antigravity CLIDownload Antigravity CLI →Strong long-context analysis, high value via Google AI ProCo-planner & parallel reviewer
OpenAI Codex CLICodex CLI Documentation →Surgical code review, edge-case detection, fast iterationIndependent code & test auditor
OpenCodeOpenCode on OpenCLI →Open-source CLI supporting custom providers & high-quota modelsHigh-volume plan executor
Qwen CodeOfficial Qwen Code Page →Fast terminal workflow and standout editorial/copy generationDocs, writing & helper coding

Beyond these five, Herdr supports Cursor CLI, Grok, Hermes, Kimi, and Copilot out of the box—and any other terminal program (such as qwen) launches cleanly in any standard pane.

Install Commands for All 5 CLI Agents

Install whichever agents match your active subscriptions:

bash
# macOS / Linux / WSL (recommended native installer) curl -fsSL https://claude.ai/install.sh | bash # Alternative via npm npm install -g @anthropic-ai/claude-code

Run each CLI once (claude, codex, opencode, qwen, etc.) to complete sign-in. They will then be ready to launch directly from the + tab menu in Herdr.


4. First Step After Launch: Teaching Your Agents to Control Herdr

One of Herdr's smartest design choices—highlighted in the official Herdr Guide →—is that you never need to memorize configuration syntax. The complete reference for every window component and CLI hook ships locally inside the app and always matches your installed version.

Step 1. Point Your Agent at the Built-In Manual

Click + in the tab bar, launch your primary agent (such as Claude Code), trust the workspace folder, and paste:

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

Your agent reads the full schema for layouts, keybindings, themes, mods, and hc commands. If you also want Codex or Antigravity to act as orchestrators in certain projects, open them in adjacent tabs and feed them the same prompt.

Anatomy of ~/.config/herdr-app/

Herdr stores its entire interface as transparent, versionable plain files:

text
~/.config/herdr-app/ ├── AGENTS.md # full agent manual (auto-synced with app version) ├── AGENTS.local.md # your personal notes and custom workspace rules ├── settings.json # fonts, theme, sounds, spacing ├── keys.json # custom keybindings ├── layouts/ # window layouts (main.json, board.json, etc.) ├── mods/ # custom panels & plugins (agents/main.js, tabs/main.js) └── themes/ # color themes
Important

Core boundary & instant rollback: your agents have full freedom to edit the UI shell, but cannot alter herdr-core. If an experimental mod ever breaks the layout, pressing Ctrl + Alt + Shift + Esc immediately restores the default layout and keybindings. Agents can also validate custom mods with herdr-app check.


5. Multi-Agent Orchestration in Practice: Delegation, Statuses & Git Branches

Herdr organizes work into three intuitive layers: a Space (project or repo), a Tab (feature or task), and a Pane (an individual terminal or coding agent).

Live Cross-Model Orchestration Workflow

Instead of manually switching apps and copy-pasting code between three separate tools, let your orchestrator spawn peer agents directly inside the same Space:

text
Write an iterative Fibonacci function in fib.py with unit tests. Then use herdr-core (hc) to spawn Codex and Antigravity in this same directory so they independently review the implementation and tests, and summarize their findings into one prioritized report.

Watch the Agents sidebar on the left: your orchestrator writes the code, launches both reviewers, waits for their completion, and merges their feedback (catching subtle complexity inaccuracies in docstrings, missing False / float edge-case tests, and large-n fast-doubling suggestions). Running independent AI code review across distinct model families catches defects a single model overlooks.

Multi-agent delegation in Herdr App: Claude Code and Codex side by side with a floating helper pane running tests Збільшити
Multi-agent delegation in Herdr App: Claude Code and Codex side by side with a floating helper pane running tests
Multi-agent delegation in Herdr App: Claude Code and Codex side by side with a floating helper pane running tests

Four Live Agent Statuses

Because agents report state natively through OSC 7501, you never have to click through ten tabs guessing who stalled:

  • Working — actively reasoning, editing files, or running commands.
  • Needs you (Blocked) — waiting for your answer, approval, or human-in-the-loop gate.
  • Done — finished its task and ready for inspection.
  • Idle — open session awaiting your next instruction.
Warning

Critical rule for parallel coding: Herdr does not lock files! If two agents edit the same file inside the same directory concurrently, they will overwrite each other's changes. Adopt one of two safeguards:

  1. Role isolation: allow only one writer agent per directory while neighboring agents operate strictly as read-only reviewers or test runners.
  2. Git branches & Git worktrees: assign each concurrent writer its own branch/worktree. You can delegate branching and merging to your orchestrator (e.g., "Open a worktree for issue 42 and start Codex on it"), though understanding Git basics pays off fast.

Explore deeper delegation patterns in our glossary entry on subagent delegation and our Claude Code subagents and parallel work guide →.


6. herdr-core (hc) Command Reference for Automation & Remote Servers

Beneath Herdr App runs the herdr-core runtime powered by the hc CLI (see the official herdr-core documentation →). Mastering these commands unlocks headless automation, agent spawning, and multi-machine workflows.

Managing Persistent Terminals

bash
# Run a command and wait for completion (like a normal shell) hc run cargo test # Start a process in the background with a readable name hc run --bg --name web npm run dev # List all active terminals and agents across all connected machines hc ls # Attach to a live terminal (detach without stopping it: Ctrl + \) hc attach web # Update herdr-core itself without interrupting running agents hc update

Agent-Starts-Agent Orchestration

Helper agents launched via hc nest under the parent agent, report back directly into its input stream, and clean up when the parent exits:

bash
# Spawn a background Codex reviewer with a callback instruction hc run --bg --name review codex "review src/app.ts. Done: hc send $HC_TERMINAL_ID" # Wait for completion and inspect the last 60 lines without stealing focus hc wait review hc read --lines 60 review # Steer the running agent mid-flight hc send review "also verify edge-case test coverage"

Remote VPS & Multi-Machine Sidebar over SSH

Any cloud VPS, secondary laptop, or GPU box reachable via SSH keys joins the exact same sidebar in two commands:

bash
# Register a remote machine over SSH (or tell your agent: "add my server vps") hc machine add user@my-server # Launch an agent on the remote server in the background hc run --on my-server --bg claude # View local and remote terminals in one unified list hc ls

Remote agents keep running even while your laptop sleeps. Need a secure cloud box first? Follow our Hetzner VPS hardening and setup guide →.

Unified multi-machine sidebar in Herdr combining local computer, secondary laptop, and remote VPS agents Збільшити
Unified multi-machine sidebar in Herdr combining local computer, secondary laptop, and remote VPS agents
Unified multi-machine sidebar in Herdr combining local computer, secondary laptop, and remote VPS agents

Developer Primitives: Skill, OpenRPC & OSC 7501

  • Instant agent manual: hc --skill outputs the complete herdr-core playbook in one read.
  • Custom clients & integrations: hc schema exports the OpenRPC schema with live event streams for custom editor panels or Stream Deck widgets.
  • Turn any script into a tracked agent: emit one OSC 7501 escape sequence from bash or Python:
bash
printf '\e]7501;state=blocked:app=my-deploy-script\e\\'

7. Full UI Customization: Custom Layouts, Themes & Mods Without Hand-Coding

Herdr's defining superpower is that its interface is malleable software. Because layouts and mods live as plain files in ~/.config/herdr-app/, you can reshape your entire workspace with natural-language prompts.

Want a calm Kanban Agent Board grouping cards into Needs you, Working, Done, and Idle? Ask your agent, then cycle between layouts anytime with Ctrl + Shift + L.

Custom Kanban Agent Board layout in Herdr App with live status columns above active terminals Збільшити
Custom Kanban Agent Board layout in Herdr App with live status columns above active terminals
Custom Kanban Agent Board layout in Herdr App with live status columns above active terminals

Want translucent glassmorphism with custom backdrop gradients and a live Pull Requests sidebar—or even a full Windows 98 desktop skin complete with a Start menu? Both are just standard Herdr layouts.

Herdr App Appearance customization modal showing glass opacity levels, background themes, and Pull Requests sidebar Збільшити
Herdr App Appearance customization modal showing glass opacity levels, background themes, and Pull Requests sidebar
Herdr App Appearance customization modal showing glass opacity levels, background themes, and Pull Requests sidebar
Herdr 98 custom layout recreating a classic Windows 98 desktop inside Herdr App Збільшити
Herdr 98 custom layout recreating a classic Windows 98 desktop inside Herdr App
Herdr 98 custom layout recreating a classic Windows 98 desktop inside Herdr App

Ready-to-Use UI Customization Prompts

Paste any of these prompts directly into your agent inside Herdr (after it has read AGENTS.md):

GoalPrompt for Your Agent
Kanban Agent BoardMake me a layout where my agents are cards in columns: needs you, working, done.
Active Timer on TabsPut a timer on each tab: how long its agent has been working.
GUI Project Folder PickerAdd a button in the Spaces header to browse/open an existing folder or create a new project folder without typing cd and mkdir.
Phone Alerts via ntfyWhen an agent needs me, send a notification to my phone with ntfy.
Visual & Sound TuningUse a light theme, Geist Mono at 15, and a softer sound when an agent needs me.
Add Remote MachineAdd my server box as a machine, then open a space there and start Claude in it.
Tip

Non-destructive edits: when you ask an agent to customize a bar or sidebar, it clones the component into ~/.config/herdr-app/mods/ and edits the copy—Herdr's built-in defaults stay completely untouched.


To jump-start your setup, browse the official Herdr Gallery → featuring 635+ layouts & themes and 1,200+ mods. Every entry provides a one-line prompt your agent can inspect and install.

Curated Layouts & Mods Worth Trying

NameTypeWhat It AddsAgent Install Prompt
Herdr Space Folders →LayoutColored collapsible project folders + GUI button to add spaces without cd/mkdirRead ~/.config/herdr-app/AGENTS.md, then add this layout: herdr.dev/layouts/jankeesvw/herdr-space-folders
Herdr T3 →LayoutCalm Inbox-first workspace pinning agents that need you on top and folding active workRead ~/.config/herdr-app/AGENTS.md, then add this layout: herdr.dev/layouts/JinJieBeWater/herdr-t3
Cockpit →LayoutCommand dashboard displaying live agents alongside tickets, PRs, and session contextRead ~/.config/herdr-app/AGENTS.md, then add this layout: herdr.dev/layouts/quaresc/cockpit--app
SkillsGate →ModDedicated right panel listing every installed agent skill across Claude Code, Codex, Cursor, and moreRead ~/.config/herdr-app/AGENTS.md, then add this mod: https://github.com/skillsgate/skillsgate/tree/main/herdr/skillsgate
Agenttrail →ModVisual map beside your agents showing task cards, progress, and exact execution pathRead ~/.config/herdr-app/AGENTS.md, then add this mod: herdr.dev/mods/sodiumsun/agenttrail--herdr--agenttrail
herdr-nvim →ModEmbedded Neovim inside the Files panel so you can edit project code or markdown inlineRead ~/.config/herdr-app/AGENTS.md, then add this mod: herdr.dev/mods/ChmaraX/herdr-nvim--herdr-app
Coordinator →ModProjects tree in the sidebar listing Git repositories and nested worktreesRead ~/.config/herdr-app/AGENTS.md, then add this mod: herdr.dev/mods/jonathan-fielding/herdr-project-coordinator
Tmux prefix →Mod (Official)Maps classic tmux prefix keybindings into Herdr App for instant muscle memoryRead ~/.config/herdr-app/AGENTS.md, then add this mod: herdr.dev/mods/herdrdev/tmux-prefix

If you install SkillsGate, pair it with our find-skills agent skill for discovering and installing skills to manage capabilities smoothly across all tools.

Warning

Supply-chain security for community mods: third-party layouts and mods execute JavaScript/JSON code right alongside your coding sessions (similar to third-party agent skills). Follow two strict habits:

  1. Audit before installing: instruct your agent "Read every file of this mod first, check for unexpected network requests, shell execution, or .env access, and wait for my approval before applying it."
  2. Better yet, recreate what you need: treat Gallery screenshots as inspiration and ask Claude Code to build a minimal local version you fully control.

9. Herdr Mobile: Controlling Your Agents from Your Phone

Herdr ships an official mobile client for iPhone, iPad, and Android (learn more about Herdr Mobile →) that turns your phone into a remote control for every running agent.

Herdr Mobile Compose screen for sending instructions, screenshots, or voice dictation directly to active agents Збільшити
Herdr Mobile Compose screen for sending instructions, screenshots, or voice dictation directly to active agents
Herdr Mobile Compose screen for sending instructions, screenshots, or voice dictation directly to active agents

Direct SSH Connection with Zero Middleman Cloud

Your phone connects directly to herdr-core on each machine over SSH—no Herdr account and no relay servers in between.

  • On local Wi-Fi: connect directly over your home or office network.
  • Away from your desk: link your devices via Tailscale over WireGuard. With Tailscale SSH enabled, you do not even need manual SSH key provisioning on mobile.

Mobile Highlights

  • Urgency-sorted Inbox: every agent across every machine sorted by Needs you → Done → Working → Idle with unread indicators.
  • Live Terminal + Compose Sheet: type directly using a customizable key bar (Esc, Ctrl, Tab, arrows) or open Compose to attach screenshots, paste long prompts, or dictate by voice.
  • Zero desktop disruption: inspecting a session from your phone never resizes panes on your desktop monitor.
  • Tablet & foldable support: iPad and foldable screens automatically show the sidebar and terminal side by side.
Note

Herdr Mobile connects exclusively to herdr-core (bundled with Herdr App). Legacy Herdr TUI is not supported.


10. Token-Saving Strategy: "Flagship Brain Plans — Fast Executor Codes"

One of Herdr's highest-ROI workflows is combining multiple subscriptions and model tiers inside one project instead of burning through $20/month flagship rate limits on repetitive boilerplate.

📍 Навігація: Three-Stage Plan → Execute → Review Pipeline

  1. Stage 1. Architecture & Spec (Flagship Models): use Claude Code, Codex, and Antigravity together to analyze the repository and produce a crisp, file-by-file plan (interfaces, edge cases, verification criteria). Passing clean session state works great with the handoff skill for structured context transfer.
  2. Stage 2. Bulk Implementation (High-Quota / Budget Executor): in an adjacent pane, run OpenCode connected to fast, high-quota, or free-tier models (such as multi-account Google AI Pro Flash models or promotional free token pools like GLM). Given an airtight flagship plan, a lighter model implements code reliably while preserving your premium limits.
  3. Stage 3. Cross-Model Audit (Verification): hand the resulting diff back to Claude Code or Codex for a rapid, high-signal review of logic, security, and tests.
Workflow PhaseOptimal CLI AgentWhy It Fits Best
Orchestration & ArchitectureClaude CodeStrongest holistic reasoning and subagent control via hc
Deep Context & Co-PlanningAntigravity CLIExcels on large repositories and multi-file planning
Independent Code & Test ReviewCodex CLISharp defect detection, typing checks, and edge-case tests
High-Volume Plan ExecutionOpenCodeFlexible routing across fast, low-cost, and free providers
Copy, Docs & Inline EditsQwen Code + herdr-nvimHigh-quality text drafting with quick inline editing inside Herdr

11. Troubleshooting & Quick-Start Checklist

Use this quick diagnostic matrix if anything behaves unexpectedly on day one:

SymptomLikely CauseFix
Agent missing from Agents sidebarOutdated CLI without OSC 7501, running inside tmux, or started in Herdr TUIUpdate the CLI, run it directly inside a Herdr App pane (outside tmux), and ensure herdr-core is active
Custom mod broke the UISyntax error or conflict in ~/.config/herdr-app/Press Ctrl + Alt + Shift + Esc to restore defaults, then run herdr-app check
Two agents overwrote each other's codeConcurrent writes to the same file in one working directoryEnforce 1 writer + N read-only reviewers, or give each writer its own git worktree
Shortcut does not triggerCaptured by the OS or outer utilityUse Cmd + Shift + P or remap in ~/.config/herdr-app/keys.json
Herdr Mobile cannot connect remotelyLocal IP is unreachable outside home Wi-FiInstall Tailscale on desktop and phone and enable Tailscale SSH

Workspace Readiness Checklist

  • Herdr App installed and herdr-core running (hc ls works in terminal).
  • Files and Changes right panels enabled, with notifications active for Needs you.
  • Required CLI agents installed and authenticated (Claude Code, Antigravity CLI, Codex, OpenCode, Qwen Code).
  • Primary orchestrator agents have read ~/.config/herdr-app/AGENTS.md.
  • Project folder organization configured (e.g., Herdr Space Folders or custom agent-built button) after code audit.
  • Parallel editing safeguard defined (Git branches/worktrees or read-only reviewers).
  • Optional remote VPS linked via hc machine add and mobile access configured with Herdr Mobile + Tailscale.

Related Ecosystem Resources

Explore practical workflows, core terminology, and engineering tools

This guide is completely free. If it saved you an evening, you can support the project's growth.
Support the author