• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
Best Free Web Resources — local AI tools and hardware guides

Best Free Web Resources

Local AI Tools & Digital Engineering Resources

What can I run?
  • AI Tools
    • Start: Local LLMs
    • Ollama Models & VRAM
    • LM Studio Models
    • GPU Comparison
    • AI Hardware Matrix
    • Local LLM Directory
    • VRAM Calculator
    • Hardware Compare
    • Local Model Recommender
    • API Pricing & ROI
  • Local AI Guides
  • Web Resources
    • Inspiration
    • Photography
    • Games
    • SEO
    • Tutorial
      • Coding
      • WordPress
    • Resume/CV
    • Graphics
      • Logo
    • Freebies
Cover illustration: Many Agents, One Terminal

herdr: Running Several Coding Agents From One Terminal (With Local Models Too)

November 24, 2026 by Rupesh Kumar

herdr is a free, Apache-2.0 terminal workspace manager for coding agents. It runs Claude Code, OpenCode, Pi, Codex, Cline and other agent CLIs in real terminal panes owned by a background server, so they keep working when you close the window or lose an SSH connection, and it marks every pane as working, blocked or idle. It has no model settings of its own: whatever model your agent uses, including one served by Ollama on your own machine, works unchanged.

This guide covers installing the herdr TUI (v0.9.5), running several local-model agents side by side, what one Ollama server does when three agents hit it at once, how agents control herdr through its socket, the security side of that, and the macOS bug that stops panes reaching a model server on another machine. It also explains the new Herdr desktop app, which now sits at herdr.dev. BFWR has not run herdr. Everything here comes from herdr’s documentation, source code, GitHub API data and issue tracker, read on 15 November 2026.

Quick answer

  • Install: curl -fsSL https://herdr.dev/install.sh | sh on Linux or macOS, or brew install herdr. Then run herdr in a project folder.
  • Local models: start each agent in its own pane, for example ollama launch opencode in one and ollama launch pi in another. herdr detects them; the model is configured in the agent, not in herdr.
  • One Ollama, many agents: Ollama’s OLLAMA_NUM_PARALLEL defaults to 1, so agents queue behind each other. Raising it multiplies context memory.
  • Security: the API is a local socket, ~/.config/herdr/herdr.sock, with user-only permissions. We found no TCP listener in the source. Any agent in any pane can still drive every other pane.
  • Common failure: on macOS, panes cannot reach a model server on another machine on your network (issue #808, open). Loopback (127.0.0.1) is not affected.
  • Which herdr: herdr.dev now leads with a separate desktop app. The terminal program this guide covers is called Herdr TUI, and the two do not share agents.

herdr TUI, the Herdr app and herdr-core

If you search for herdr today you can end up with either of two programs. The original is herdrdev/herdr, created on 27 March 2026, written in Rust and licensed Apache 2.0. Its README describes it as “the runtime your coding agents live on” and says “herdr doesn’t wrap or replace them; it owns their terminals.” It moved from AGPL-3.0 to Apache 2.0 in July (issue #1340).

On 16 October the same team created two new repositories, herdrdev/herdr-app (a desktop app) and herdrdev/herdr-core (its runtime, driven with the hc command). herdr.dev now promotes the app, and the terminal program’s docs moved to herdr.dev/tui/docs/. The site’s FAQ is clear about the split: “Herdr TUI is the original Herdr: a terminal app with its own server. This is a new, separate program built on herdr-core. They don’t share agents, so what runs in one doesn’t show up in the other. Herdr TUI keeps working”.

Repository health for the TUI, from the GitHub API on 15 November:

Measure herdrdev/herdr (TUI)
Latest stable release v0.9.5, 14 October 2026
Commits on master, last 90 days 466
Last commit on master 29 October 2026
Archived No
Stars 51,050

The pace has changed. master took 75 commits from 1 to 15 October and two from 28 October to 15 November, which lines up with the app’s launch. Nothing in the README says the TUI is deprecated, and the site says it “keeps working”. This guide covers the TUI; the app is too new to cover in detail.

Install the herdr TUI

Commands from herdr’s install page:

# Linux or macOS
curl -fsSL https://herdr.dev/install.sh | sh

# Homebrew (formula version 0.9.5 on 15 November)
brew install herdr

# mise
mise use -g herdr

# Windows (PowerShell)
powershell -ExecutionPolicy Bypass -c "irm https://herdr.dev/install.ps1 | iex"

Release binaries are published for Linux x86_64 and aarch64, macOS Intel and Apple silicon, and Windows x86_64. Installs from the script update with herdr update; Homebrew, mise and Nix installs update through their package manager. Check the releases page for anything newer than v0.9.5.

First session

Run herdr from a project folder. The quick-start says “Herdr launches or attaches to your default background session. You do not manage sockets. If you detach, agents keep running.” The pieces are:

  • Workspace: one per repo or task. Its sidebar entry rolls up the state of the agents inside it.
  • Tab and pane: a pane is a real terminal. Split with ctrl+b v (right) or ctrl+b minus (down), or by mouse.
  • Agent states: working, blocked, done, idle and unknown.
  • Detach: ctrl+b q. Run herdr again to reattach. herdr server stop ends the session and its processes.

Detaching keeps every process alive. After a server restart the layout returns, but panes come back as fresh shells unless the agent supports native session restore, which herdr integration install <name> adds. For OpenCode it is herdr integration install opencode, which the docs say supports OpenCode V1 1.18.29 or later.

Running local-model agents side by side

herdr reads agent state from what each agent draws on screen, and some agents report state directly. Its supported list includes the four we have covered with local models:

Agent herdr support Start it on Ollama Our setup guide
OpenCode Integration, also reports state ollama launch opencode OpenCode with a local LLM
Pi Integration, also reports state ollama launch pi Pi with a local model
Claude Code Integration, screen detection ollama launch claude Claude Code on Ollama
Cline CLI “state only, less tested” ollama launch cline Cline with a local model

A typical layout is one workspace per repo, then one pane per agent. From inside herdr you can build it by hand, or script it with the CLI. These commands are from herdr’s docs; w1:p1 is a pane ID, and creation commands print JSON with the real IDs:

herdr workspace create --cwd ~/project --label api
herdr pane split w1:p1 --direction right
herdr pane run w1:p2 "npm test"

Then run ollama launch opencode in one pane and ollama launch pi in the other. Our guides above also give the manual configuration for each agent. herdr’s docs say Herdr detects agents “from foreground processes, screen manifests, and optional integrations”. We could not confirm from the docs whether an agent started through ollama launch is detected exactly like one started directly; if a pane shows as a plain terminal, start the agent by its own command with the Ollama settings from our guide.

One Ollama server, several agents

Whether three agents actually run at once is up to your model server. Ollama’s FAQ lists OLLAMA_NUM_PARALLEL as “The maximum number of parallel requests each model will process at the same time, default 1.” With the default, the second and third agents wait in a queue (up to 512 requests by default) while the first is answered.

Raising it costs memory. The FAQ says “Required RAM will scale by OLLAMA_NUM_PARALLEL * OLLAMA_CONTEXT_LENGTH.” Coding agents need long context: Ollama’s context-length page says agents and coding tools “should be set to at least 64000 tokens.” With our VRAM calculator’s data for Qwen3.8 27B (16 full-attention layers, 4 KV heads of dimension 256, FP16 cache), each 64,000-token slot needs about 4.2 GB of KV cache (GB = 10^9 bytes). Three parallel slots therefore add about 8.4 GB on top of the first. On a single 24GB card that does not fit alongside the 4-bit weights, so in practice:

  • Keep OLLAMA_NUM_PARALLEL=1 and let agents take turns. Waiting is better than swapping to system memory.
  • Or give lighter jobs a smaller model, since Ollama can keep several models loaded “provided they fit in available memory”.
  • Check what is loaded with ollama ps.

The VRAM calculator shows the same arithmetic for other models, and our context-window guide explains it.

Letting agents drive herdr

Agents can also control herdr. Every process in a pane inherits HERDR_ENV=1, HERDR_PANE_ID, HERDR_BIN_PATH and HERDR_SOCKET_PATH. herdr ships an agent skill that teaches an agent the CLI:

npx skills add herdrdev/herdr --skill herdr -g

Or print the copy bundled with your binary with herdr --skill. With it, an agent can split panes, run commands, read another pane’s output and wait for another agent. The automation docs give this pattern for a reviewer agent:

herdr agent start reviewer --kind codex --pane "$review_pane" -- -m gpt-5.4
herdr agent prompt reviewer "Review the current diff" --wait --timeout 120000
herdr agent read reviewer --source recent-unwrapped --lines 120

The -m argument is passed straight to the agent, so a local-model agent takes its own flags here. --kind accepts opencode, pi, claude, cline and about twenty others.

Security: the socket, and what an agent can do

herdr’s control API is not a network server. In the source (src/api/server.rs), the socket is created at ~/.config/herdr/herdr.sock (named sessions use ~/.config/herdr/sessions/<name>/herdr.sock) and its permissions are set to 0o600, readable and writable only by your user. On Windows it is a named pipe with a security descriptor. A code search of the repository found TcpListener only in test files.

That protects you from other users, not from your own agents. The socket checks who you are, not which pane is calling, and the API can send keys to any pane, read any pane, close panes and stop the server. Three lines from herdr’s docs are worth taking seriously:

  • Agent state is a guess for screen-detected agents: “idle status is not authorization to approve an action.” A script that sends input to a pane it thinks is idle can answer an approval prompt.
  • Plugins: herdr “does not review or sandbox plugin code.”
  • Pane screen history (saving pane contents across restarts) is off by default “because pane output can include secrets, tokens, prompts, and command output.” Leave it off.

For remote machines, herdr uses your normal OpenSSH setup and says it “does not store passwords, private keys, agent tickets, or SSH control sockets in the catalog.” It does not turn on agent forwarding for you. Add a machine with herdr machine add workbox, where workbox is a host you can already reach with plain ssh.

Practical rules: keep Ollama bound to 127.0.0.1 (see our Ollama server guide), put an agent you do not trust in its own named session (herdr session attach sandbox) so it gets a separate socket, and keep each agent’s own approval settings on. Our prompt-injection guide explains the risk.

The common failure: macOS panes cannot reach your model server on the LAN

If Ollama or LM Studio runs on another computer on your network, this is the bug most likely to stop you. Issue #808, open since 25 June and still reproduced on v0.9.5 in late October, reports that “Every process spawned in a herdr pane is silently blocked from LAN sockets (EHOSTUNREACH / fetch failures)”. The cause, per the issue, is macOS Local Network privacy: the detached herdr server has no app identity that macOS can grant permission to. Users report the same with the new Herdr app.

What the thread and docs establish:

  • Loopback is fine. A model server on the same Mac at 127.0.0.1 or localhost is not affected, so the usual one-machine setup works.
  • The error looks like EHOSTUNREACH, [Errno 65] No route to host or “Unable to connect” in the agent, while the same command works in a plain terminal tab.
  • Workaround from the thread: start the server from a terminal app that has Local Network permission, with herdr server stop then herdr server. herdr’s troubleshooting page supports the reasoning: “Explicit herdr server launches retain their caller’s context.” Stopping the server ends its pane processes.

Two smaller detection gaps are also open: Cline is marked “state only, less tested”, and issue #803 reports that Nix-wrapped Claude Code never appears in the agent panel.

FAQ

Does herdr run local models itself?

No. herdr’s docs have no model, provider or API-key settings. It runs the agent CLIs you already use, and each agent talks to its own model, local or hosted. Set up the model in the agent; our local LLM hub covers choosing one.

Is herdr free?

Yes. The TUI, the Herdr app and herdr-core are all Apache 2.0, which allows commercial use, modification and redistribution as long as you keep the licence and notices. That is a reading of the published licence, not legal advice.

Does it work on Windows?

Yes. Windows x86_64 binaries are published, and Windows ARM64 runs the x86_64 build under emulation. The docs list Windows-specific limitations separately.

Should I use the TUI or the new Herdr app?

Use the TUI if you live in a terminal, connect over SSH or script your agents with the herdr CLI. Use the app for a desktop window and the phone app. Agents in one do not appear in the other.

Related guides and tools

  • OpenCode With a Local LLM: Ollama, LM Studio and llama.cpp Setup
  • Pi Coding Agent With a Local Model
  • Claude Code With a Local Model: Running It on Ollama
  • Cline With a Local Model: Ollama and LM Studio Setup
  • Local AI Pair Programming in 2026: Which Tools Are Still Maintained
  • Local LLM hub and VRAM calculator

Sources

  • herdrdev/herdr on GitHub (README, LICENSE, src/api/server.rs, src/ipc.rs, docs for v0.9.5) and the releases page
  • herdr TUI docs: install, quick start, agents, agent automation, agent skill, socket API, session state, connecting machines, plugins, integrations, troubleshooting
  • herdr.dev (Herdr app and FAQ), herdrdev/herdr-app, herdrdev/herdr-core
  • Issues #808 (macOS Local Network) and #1340 (relicensing)
  • Homebrew formula
  • Ollama docs: FAQ, context length, OpenCode, Pi, Claude Code, Cline CLI

Updated 15 November 2026. Release, commit and star figures were read from the GitHub API, the docs from the v0.9.5 documentation in the herdr repository and from herdr.dev, and issue #808 as it stood on that date.

⚡ Free Interactive Tools

Work out what your hardware can actually run

Free calculators and directories, sized from real model weights — before you download gigabytes or order a card:

🚀 Start: Local LLMs Hardware, runner and first model 📊 What Can I Run? Models by VRAM tier, 8GB–128GB 💻 Hardware Matrix 75 laptops & GPUs profiled ⚡ VRAM & KV Calculator Weights, cache and overhead

Filed Under: Coding, Technology

About Rupesh Kumar

Rupesh Kumar founded Best Free Web Resources in 2010 and edits the site. He writes about free web resources, web development and running open AI models locally. Learn more: About BFWR & our editorial standards → · Follow on X (@bestfreewebres) →

Primary Sidebar

⚡ FREE INTERACTIVE TOOLS

Local AI Hardware & VRAM Matrix

Benchmark your PC or Mac for local AI, calculate VRAM requirements, and compare cloud API costs vs local hardware ROI.

🚀 New here? Start with Local LLMs → 💻 Hardware Matrix (79 Devices) → 📚 Local LLM Directory (30 Models) → 🎮 AI GPU Comparison → ⚡ VRAM & KV Cache Calculator → 💰 API Pricing & Break-Even → 🍎 Mac VRAM Unlocker (90% Boost) →
📦 Ollama 🖥️ LM Studio ⚙️ llama.cpp 🚦 vLLM 💬 Open WebUI 🎨 ComfyUI 🔒 Self-Hosted 📊 VRAM Tiers 🎯 Recommender ⚖️ Comparisons

Search

  • Facebook
  • Instagram
  • RSS
  • Twitter
  • YouTube

Footer

Latest Guides

  • herdr: Running Several Coding Agents From One Terminal (With Local Models Too)
  • LibreChat With Ollama: Docker Setup, Local Models and Safe Defaults
  • SAM 3 Locally: Files, ComfyUI Nodes, Prompts and the Licence
  • Jan With Local Models: Setup, the llama.cpp Engine and the Local API Server
  • Free Seamless Textures in 2026: CC0 Sources, Photoshop Use and What the Licences Allow
  • GPT4All in 2026: Is It Still Maintained, and What to Use Instead

AI Tools & Calculators

  • What can I run?
  • VRAM Calculator
  • GGUF Size Calculator
  • Fine-tuning VRAM
  • LoRA Training VRAM
  • Image Generation VRAM
  • Mac VRAM Optimizer

Browse & Compare

  • Models Directory (30 models)
  • Hardware Matrix (79 devices)
  • Image Models
  • Model Licences
  • Comparisons
  • Model Recommender
  • API Pricing & ROI

Guides & Resources

  • Technology
  • Coding
  • Tutorials
  • Freebies
  • Graphics

Copyright © 2026 · Best Free Web Resources · All Rights Reserved.  |  About · Privacy Policy · Contact · AI Tools Hub