explaingit

herdrdev/herdr

Analysis updated 2026-08-13

28,532RustAudience · developerComplexity · 2/5LicenseSetup · easy

TLDR

A single Rust background server that hosts your AI coding agent terminals so sessions survive reboots, lost network, and closed laptops.

Mindmap

mindmap
  root((repo))
    What it does
      Background terminal server
      Hosts coding agents
      Sessions persist
    Tech stack
      Rust binary
      CLI
      Socket API
    Use cases
      Run multiple agents at once
      Reattach after reboot
      Spot blocked agents fast
    Audience
      Developers
      Agent power users
    Setup
      One shell install
      Works with existing tools

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Keep AI coding agent sessions running through reboots, closed laptops, or dropped network

USE CASE 2

Run several coding agents like Claude Code, Codex, and Cursor side by side in one workspace

USE CASE 3

See at a glance which agent pane is working, blocked, or idle

USE CASE 4

Let one agent spawn or prompt another agent through the command line or socket API

What is it built with?

RustCLISocket API

How does it compare?

herdrdev/herdrjj-vcs/jjlbjlaq/antigravity-manager
Stars28,53228,58328,872
LanguageRustRustRust
Setup difficultyeasymoderatehard
Complexity2/53/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min
Use freely for any purpose, including commercial use, under the Apache 2.0 license.

In plain English

Herdr describes itself as the runtime your coding agents live on. It is a single Rust binary that runs as a background server on your machine, and the terminal sessions for your AI coding agents live inside that server rather than in a normal terminal window. Because the server keeps running independently, you can close your laptop lid, lose network connection, or restart the machine, and your agents keep working. When you reconnect, you reattach to the same session from any terminal, including over ssh, and pick up exactly where things were. The tool does not replace agents like Claude Code, Codex, Cursor, opencode, or Grok. Instead it owns and manages their terminal panes, so you can run several of these tools side by side inside one workspace. Each pane is automatically marked as working, blocked, or idle, so you can see at a glance which agent needs your attention instead of clicking through every open window to find the one that stopped. Herdr is built to be driven by agents as well as by people. Through a command line interface and a socket API, an agent can open new panes, send prompts to other agents, and wait until another agent is genuinely stuck before stepping in. It supports both tmux style keyboard shortcuts and normal mouse actions like clicking, dragging, and splitting panes, so you can switch between the two depending on what you are doing. A plugin system lets you extend how panes and workflows behave. Installing it is a single shell command, or you can use Homebrew or mise, with a beta installer for Windows as well. Once installed, running herdr in a project folder starts the server, and a keyboard shortcut detaches you while leaving everything running in the background. The project is open source under the Apache 2.0 license and is written entirely in Rust, with no Electron involved.

Copy-paste prompts

Prompt 1
Install herdr and show me how to start it in my project folder
Prompt 2
Explain how herdr keeps my coding agent sessions alive after I close my laptop
Prompt 3
Set up herdr to run Claude Code and Codex side by side and show me how to reattach later
Prompt 4
Show me how an agent can use herdr's socket API to spawn or prompt another agent

Frequently asked questions

What is herdr?

A single Rust background server that hosts your AI coding agent terminals so sessions survive reboots, lost network, and closed laptops.

What language is herdr written in?

Mainly Rust. The stack also includes Rust, CLI, Socket API.

What license does herdr use?

Use freely for any purpose, including commercial use, under the Apache 2.0 license.

How hard is herdr to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is herdr for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.