A few months ago, I started running Claude Code in one terminal and Codex in another, and within a week, I had five tabs open.

Some were idle and waiting for me, but I couldn’t tell which ones without opening each tab individually.

I tried using tmux status bars with custom scripts to track idle panes, and it worked to some extent, but it took time to set up and still couldn’t tell whether an agent was blocked or actively working.

That’s exactly the problem herdr is designed to solve.

herdr is a terminal multiplexer built specifically for running AI coding agents, not just regular shell sessions.

It’s a single Rust binary created by developer Ogulcan Celik and has been one of the top trending projects on GitHub since late June 2026, gaining more than 10,000 stars in a short time.

If you’ve used tmux before, herdr will feel familiar, and the difference is that herdr monitors what your AI agents are doing and shows at a glance which ones are working, blocked, or finished.

At its core, herdr is a session manager that runs in your terminal and keeps your processes running even if you disconnect, much like tmux or screen.

You can create workspaces, split them into panes, run different commands in each pane, and detach from the session whenever you want.

The server continues running in the background, so closing your laptop won’t stop your sessions.

What makes herdr different is its built-in awareness of AI coding agents that detects tools such as Claude Code, Codex, Amp, Devin CLI, and several other coding agents by looking at process names and terminal output patterns and then groups each pane into one of four states shown in the sidebar: blocked, working, done, or idle.

There’s no need to configure hooks or write custom scripts.

You simply start an agent in a pane, and herdr automatically figures out its current state.

Each pane is also a real terminal, not a simulated one, which is more important than it may sound.

Many graphical agent managers redraw terminal output inside their own interface, and full-screen terminal applications often don’t display correctly in those environments.

herdr avoids this issue because it isn’t an application that wraps around a terminal—it is the terminal.

Before installing herdr, make sure you have the following:

You also don’t need root or administrator privileges for a standard installation.

The install script places the herdr binary in your user path instead of system directories.

The quickest way to install herdr on Linux is by using the official installation script:

You’ll see output similar to this:

Here’s what the command does:

On Ubuntu or Debian systems with Homebrew (Linuxbrew) installed, run:

On RHEL or Rocky Linux systems with mise installed, run:

If you use Nix, you can run herdr without permanently installing it:

After installation, verify that herdr is available in your PATH:

If you see a “command not found” error, your shell may not have picked up ~/.local/bin yet.

Add it to your PATH in ~/.bashrc or ~/.zshrc, then reload your shell.

Start herdr by running:

The first time you run it, herdr starts a background server process and opens a workspace with a single pane.

From this point on, everything happens inside that terminal window.

You can use both your keyboard and mouse to navigate.

Like tmux, herdr uses a prefix key system.

Press Ctrl+b, release it, and then press another key to perform an action.

This approach prevents herdr from intercepting keystrokes that your shell or AI agents may need.

Some useful keyboard shortcuts are:

You’ll also notice a sidebar on the left side of the screen that lists all open panes.

This is where herdr’s agent-awareness feature becomes useful, as it displays the status of your AI agents once they are running in their own panes.

Inside any pane, start your AI coding agent just as you normally would.

For example, to start Claude Code, run:

herdr automatically detects the process by looking at its name and terminal output and then starts tracking the agent’s status and displays it in the sidebar.

As the agent’s activity changes, you’ll see the status indicator update in real time.

For example:

The status indicators mean:

This is what makes herdr useful.

Instead of switching between multiple terminal tabs to figure out which agent needs your attention, you can simply glance at the sidebar and see the status of every agent at once.

In real-world use, you’ll often want multiple panes open at the same time.

For example, you might have an AI agent running in one pane, a log viewer in another, and a shell available for quick commands.

Press Ctrl+b, then v to split the current pane vertically.

In the new pane, you can start another agent or run a monitoring command such as:

You can resize panes by dragging the border with your mouse.

If you prefer using the keyboard, press Ctrl+b followed by the arrow keys to adjust the layout.

To stay organized:

A practical approach is to keep one workspace for each project, with its own set of AI agents and a dedicated shell pane for commands such as Git operations or system administration tasks.

Whenever you need to close your terminal or step away from your computer, you can detach from your herdr session without stopping anything that’s running inside it.

To detach, press:

All your panes keep running in the background.

Any AI agents, shell sessions, or log monitoring commands continue exactly as they were.

When you’re ready to return, simply start herdr again:

This is one of herdr’s biggest advantages over regular terminal tabs.

Since the session runs on the herdr server in the background, your agents and terminal processes stay alive even after you close your terminal window and can be restored when you reconnect.

If you run AI coding agents on a VPS or remote server, herdr can connect to that server while keeping your local terminal as the client.

The agents themselves continue running on the remote machine.

Connect to a remote server with:

This is particularly useful if your workflow involves pasting screenshots or images into an AI agent.

Traditional SSH sessions combined with tmux often have trouble handling image pasting correctly, while herdr’s remote mode is designed to preserve that functionality.

If your SSH server uses a non-standard port, you may need to open that port in the server’s firewall.
On Ubuntu or Debian systems:

On RHEL or Rocky Linux systems:

Here’s what these commands do:

You can also give a remote session a name and reconnect to it later without typing the full SSH URL every time:

If you installed herdr using the official installation script, you can update it with the built-in updater:

If you installed herdr using a package manager, update it through that package manager instead, as herdr update only works for script-based installations.

On Ubuntu or Debian systems with Homebrew:

On RHEL or Rocky Linux systems with mise:

At this point, you have herdr installed, running your first agent with live state tracking in the sidebar, panes split into a real workspace, and a way to detach and reattach without losing anything, on your own machine or on a remote server over SSH.

That covers the core of what most people need it for day-to-day.

Go try splitting a pane and running two different agents side by side right now, one working on a feature branch and one reviewing a pull request.

Watch the sidebar as they shift between working and blocked.

That’s the moment herdr’s value clicks, when you stop babysitting terminal tabs and start reading state at a glance instead.

I’m curious how this fits into setups where agents are already running inside CI pipelines or on ephemeral cloud instances rather than a persistent VPS.

If you’ve tried wiring herdr’s socket API into something like that, I’d like to hear how it held up.

Flyline: Add Syntax Highlighting, Fuzzy Search, and AI to Bash

Nushell: A Better Shell for Files, Processes, and JSON

Coolify: Deploy Any Web App on Your Own Linux Server

How to Create HTTPS Local Domains for Your Projects

LocalSend – Local Network File Sharing Between Linux, Windows and Mac

Why Linux Powers Everything From Your Coffee Machine to Mars Rovers

SARG – Squid Analysis Report Generator and Internet Bandwidth Monitoring Tool

Darkstat – A Web Based Linux Network Traffic Analyzer

How to Install Zabbix on RHEL/CentOS and Debian/Ubuntu – Part 1

How to Configure Custom Access and Error Log Formats in Nginx

How to Monitor Remote Linux Systems with Glances

Limit CPU Usage of a Process in Linux with CPULimit Tool

chkconfig vs.

systemctl: Manage Linux Services Efficiently

How to Install tar in CentOS, RHEL, and Fedora

11 Advanced Linux ‘Grep’ Commands on Character Classes and Bracket Expressions

24 Nmap Commands Every Linux Admin Should Use for Network Security

How to Run a Linux Command Without Saving It in History

20 Basic ‘ls’ Command Examples in Linux

10 Best Tools to Install on Fresh Linux Mint Installation

5 Best Open-Source School Management Software for Linux

10 Best API Gateways and Management Tools in 2024

8 Best Command-Line/Terminal Email Clients for Linux

6 Best Linux Boot Loaders

17 Best RSS Feed Readers for Linux in 2024

**📚 Original Source:**
[herdr: A Terminal Tool for Managing Multiple AI Coding Agents](https://www.tecmint.com/herdr-run-ai-coding-agents-in-linux-terminal/)

About The Author