# Herdr 推出多 Agent 終端管理器，讓使用者在同一終端切換工作區與 Agent

> 📖 本站完整內容索引（documentation index）：[llms.txt](/llms.txt)

> 原作者：Jilles Soeters (@Jilles) · 策展與摘要：EasyVibeCoding · 平台：X (Twitter) · 熱度：🔥 · 日期：2026-08-04

> 原始來源：https://x.com/Jilles/status/2071659646222303332

## 證據與延伸閱讀

- [Herdr 影片介紹與功能示範](https://x.com/Jilles/status/2071659646222303332) — 一手來源
- [Herdr 官方網站與安裝指引](https://herdr.dev/) — 官方文件

## 中文摘要

Herdr 推出多 Agent 終端管理器，讓使用者在同一終端切換工作區與 Agent。

**操作方式** Herdr 以 spaces、agents、tabs 與 panes 組織工作環境，可在多個 workspace 中分別執行不同 Agent，並即時顯示 `idle`、`working`、`blocked` 等狀態；當 Agent 需要權限或輸入時，介面會提示使用者。影片也示範透過 `ctrl+b` 搭配快捷鍵切換 workspace、新增分頁，以及水平或垂直分割 panes，並以 `herdr session attach work` 重新連接 session。Jilles 回覆表示，session 可在重新啟動後保留。

<video src="https://pub-75d4fe1e4e80421b9ecb1245a7ae0d1a.r2.dev/curated/1785808068325-dl730yj2.mp4" poster="https://pub-75d4fe1e4e80421b9ecb1245a7ae0d1a.r2.dev/curated/961c68bd25b51422.jpg" controls playsinline preload="metadata" style="max-width:100%;height:auto;display:block;margin:1rem 0"></video>
> Herdr 終端機多工器（terminal multiplexer）介面與 coding agent 管理設定操作

**整合與安裝** 畫面顯示 Herdr 網站提供 Quick start、Plugins、Reference 與 Integration 導覽，並列出以下整合指令：

- `herdr integration install pi`
- `herdr integration install omp`
- `herdr integration install opencode`
- `npx skills add`

安裝指引也允許選擇要加入的 agents 與安裝範圍。影片示範的安裝方式是 `curl -fsSL https://herdr.dev/install.sh | sh`；這屬於將遠端腳本直接交給 shell 執行的高風險來源指令，需人工檢視腳本內容後再決定是否執行，不宜直接視為安全操作。

**社群回饋** Jilles 的 6 分鐘介紹影片促使多名使用者試用 Herdr；有人表示原本使用另一款工具，安裝後認為 Herdr 似乎更好，也有人詢問它是否比 cmux 更適合 Agent。Jilles 表示自己尚未使用 cmux，因此未直接比較，但反問 cmux 是否具備 agent-native 設計。

## 媒體內容

**Herdr 終端機多工器（terminal multiplexer）介面與 coding agent 管理設定操作**

**影片中的 Prompt 與操作**

Prompt（02:45）：

```
這個 agent 在做什麼
```

原文：what is this agent doing

Prompt（02:49）：

```
更新 readme
```

原文：update the readme

Prompt（05:15）：

```
酷，結果如何？哪一個比較簡單？
```

原文：cool what's the verdict which one is easier

操作步驟：

1. （00:17）複製並在終端機執行 herdr 安裝指令
2. （00:28）執行 `herdr integration install pi`
3. （00:41）執行 `npx skills add` 選擇 agent 與安裝範圍
4. （01:05）在終端機輸入 `herdr` 啟動工具
5. （01:31）輸入指令切換工作區目錄
6. （02:23）在新分頁中輸入 `claude` 啟動 Claude Code
7. （03:51）輸入 `pnpm run dev` 啟動開發伺服器
8. （05:55）執行 `herdr session attach work` 建立並切換至名為 work 的 session

**逐字稿**

- `00:00` 大家好，如果你同時執行多個程式開發 Agent，像是 Claude Code、Codex、pi，你一定要看看這個。（what's up everybody if you run multiple coding agents at once Claude Code codex pi you're gonna）
- `00:05` 這是在介紹 Herdr，一款適用於程式開發 Agent 的終端機多工器，所以我們直接開始吧。（want to watch this this is about Herdr the terminal multi-plexer for coding agents so let's）
- `00:11` 先從安裝開始。安裝非常簡單，我自己只是複製了這段指令，開啟終端機執行，完成。（dive right in let's start with installation installation is super straightforward i personally）
- `00:15` 不過，在開始之前，其實還有兩件事我覺得你應該先做。第一，如果你進入 Quick Start，在 Integrations 底下，（just copied the script opened up my terminal run it done now actually before we get started there's）
- `00:20` 把你使用的程式開發 Agent 加入整合，（two more things i think you should do one if you go to the quick start go under integrations and）
- `00:25` 對，我使用 pi 和 Codex。第二個是 Agent skill 檔案，這能讓你的 Agent 使用 Herdr。（add integrations to the coding agents you use right so i use pi codex and then the second one）
- `00:31` 在 Agent skill 檔案這裡，我要複製一個 GitHub 作者和專案名稱，例如 npx skills add。這會複製程式庫，（is the agent skill file this gives your agent a way to use Herdr under agent skill file i'm just）
- `00:38` 並找到這裡唯一的 skill 檔案。請確認你使用的所有程式開發 Agent 都已選取。（going to copy a github author and project name say npx skills add this will clone the repository it）
- `00:44` 我也使用 pi。其實我喜歡全域安裝，因為我希望所有工作階段都能使用 Herdr。（will find the one skill file that's in here make sure that all your coding agents are selected i）
- `00:48` 選擇全域安裝並繼續。完成後，我們已經安裝好、加入擴充功能，也有了 Agent skill。（also use pi i actually like installing this globally because i want all my sessions to be able to use）
- `00:54` 現在終於可以看看 Herdr 了。要開啟工作階段，只要輸入 Herdr。（Herdr global and proceed we have installed it we have added the extensions we have the agent skill）
- `01:00` 現在來聊聊介面。有幾個重要的部分，第一個是 workspace。（now it's time to actually see Herdr to open up a session you just type Herdr now let's talk about）
- `01:06` 在這裡你可以新增一個專案。（the ui bit there's a couple important parts first one is workspaces here you would add a project now）
- `01:12` 這比 tmux 不錯的地方在於，它真的支援滑鼠，所以我可以點選新增、新增，我可以（what's nice about this over tmux is that this actually supports mouse so i can click new new i can）
- `01:19` 把它關掉。如果你熟悉 tmux，就知道你得使用這些鍵盤快捷鍵，但你還是可以（close it if you're familiar with tmux you have to use all these keyboard bindings but you can still）
- `01:25` 使用鍵盤快捷鍵，所以 workspace 是給你的專案用的。其實我們就從 workspace 開始吧（use keyboard bindings so workspace is for your project actually let's just start to do workspaces）
- `01:29` 一個 Agent Jiu-Jitsu，這是我建立的 Jiu-Jitsu Agent。我們來建立一個新的 workspace，也可以選擇建立（one agent jujitsu this is a jujitsu agent i built let's create a new workspace and can either create）
- `01:36` 一個，只要點選新增，或者我也可以使用前綴鍵，也就是 Ctrl+B，然後如果我按下問號（one by just clicking new or i can use the prefix which is ctrl b and then if i press question mark）
- `01:41` 這些方式也都可以。如果我想建立新的 workspace，前綴鍵加 Shift+N，也就是 Ctrl+B（any of these will do too so if i wanted a new workspace it's prefix shift n so it would be ctrl b）
- `01:48` Shift+N，Ctrl+B、Shift+N，來了，這裡又有一個。不過老實說，我其實蠻喜歡用（shift n draw b shift n here we go here's another one but i honestly actually quite like using the）
- `01:53` 滑鼠的，愛怎樣就怎樣吧。在這個 workspace 裡是 coffee cluster，所以我現在有兩個 workspace：Agent 和 coffee（mouse sue me and in this one the coffee cluster so i now have two workspaces the agent and the coffee）
- `02:00` cluster。我們有 spaces，接下來是 Agent，但因為我還沒有啟動任何程式開發 Agent，所以你（cluster we have spaces next we have agents here but since i haven't started any coding agents you don't）
- `02:05` 看不到它們。所以在這個 workspace 裡，我要開啟 pi。你可以看到，在 pi 裡我有這個 Agent 狀態（see them so in this one i'm gonna open up pi and as you can see in pi i have this agent state）
- `02:11` 擴充功能，就在左側。你可以看到這裡有一個閒置中的 Agent，這真的很酷。現在（extension right here on the left you can see that we have an idle agent and this is super cool now）
- `02:17` 讓我開啟一個新的分頁，可以使用快捷鍵，或按這裡。好了，現在我們有一個新的（let me open up a new tab either using a shortcut or pressing this thing here say now we have a new）
- `02:22` 分頁，我會在這裡開啟 Claude Code。你可以看到這裡還有另一個 Agent，我現在有兩個 Agent（tab where i will open Claude Code as you can see there's another agent here that i have two agents）
- `02:27` 正在執行，而且只要點一下就能在它們之間切換。讓我在 coffee cluster 裡做同樣的事（running now and i can cycle between them by just a click and let me do the same in the coffee cluster）
- `02:31` 我說聲嗨，現在我就有三個 Agent 在執行了，而最棒的是，Herdr 實際上可以告訴（where i say hi so now i have three agents running and the best thing is that Herdr can actually tell）
- `02:38` 我哪個 Agent 需要輸入、已準備好，或是被卡住了。所以我先從 Pi 裡的這個開始，我可以直接（me when an agent needs input or is ready or is blocked so i'll start with this one in pi and i can just）
- `02:44` 問它這個 Agent 現在在做什麼。它正在工作。我可以到這個，更新 README，而它在這裡（ask it what is this agent doing now it's working i can go to this one update the read me and it's）
- `02:51` 正在工作。這個我不使用分頁，而是使用窗格。哦，看看這裡，我們被卡住了。這是什麼意思？（working here for this one i'm gonna use not a tab but a pain oh look at this we get blocked what does）
- `02:56` 什麼叫做被卡住？我們點進去。哦，原來 Agent 可以繼續，因為它需要這個權限。我希望你也聽到了（that mean what does block mean well we click on it oh okay so the agent can go ahead because it has）
- `03:00` 通知，這個已經完成了。所以我現在要（it needs this permission and i hope you heard that notification that this one is done so here i'm gonna）
- `03:05` 回去，切換到自動模式，這樣它就不會再問我了。這個我現在知道已經完成了，它做了這件事，（go back go to auto mode so it won't ask me anymore this one i now is know is done it did this which）
- `03:10` 很棒。現在我回到這個。我們有 workspace、有 Agent，還有（is great now i'll return back to this one we have the concept of workspaces we have agents we have）
- `03:16` 分頁，對吧？我可以開啟新的分頁，想開多少都可以。接下來另一件重要的事是（tabs right i can open up a new tab as many as i want and then the other thing that is important to）
- `03:21` 窗格。假設我也想執行開發伺服器，我可以開啟新的窗格，而且（know is paints let's say i also want to run a development server i can open up a new paint and）
- `03:28` 我會使用快速鍵。我按下 Ctrl+B，再按問號，然後透過分割來開啟新的窗格，（i use this with a shortcut so i'll do ctrl b question mark and i open up a new paint by splitting）
- `03:34` 可以垂直或水平分割。如果我想放在旁邊，就垂直分割；如果想放在下面，就（either vertically or horizontally so if i want on the side i split vertically if i want below it i do）
- `03:39` 水平分割。所以就是前綴鍵加上減號。我按下 Ctrl+B，再按減號。如果我想關閉它，（horizontally so it's prefix plus the minus sign so i'll do ctrl b minus sign if i want to close it）
- `03:45` 我會按 Ctrl+B，再按 X。Ctrl+B，垂直分割。好了，現在我有這個東西在這裡，（i'll do ctrl b x ctrl b vertically okay so now i have this thing here and i can run the dev server）
- `03:51` 我可以執行開發伺服器。而且你可能已經聽到了，這裡的 Agent Jiu-Jitsu 已經完成了，同時這個還在執行（and as you might have heard already the agent jiu-jitsu here is done while this is running）
- `03:57` 我可以到這個 Agent 這裡，讓它幫我更新 README。我們已經看過這個運作方式了。好，酷，（i can go to the agent here and updated the readme for me we've seen this work and okay cool we've）
- `04:03` 我們把 Agent 群組在一起了。現在真正酷的是，讓我把這個視窗關掉。我的工作全都不見了。（grouped agents together now what is really cool is let me just close this window all my work is gone）
- `04:08` 不，並沒有。所以如果我再開啟這個東西，我只要叫 Herdr，它就會重新開啟。所以這（now no it's not so if i open up this thing again all i do is to hurt her and it's back open so this）
- `04:15` 對我來說已經是很厲害的功能了。這是一種非常簡單的方式，可以管理多個專案（is already an amazing thing to me so it's just a very simple way to manage your multiple projects）
- `04:21` 和程式開發 Agent，而且它會告訴你什麼時候閒置、什麼時候完成。光是這一點，我就覺得非常不可思議。（and coding agents and it will tell you when it's idle when it's done this alone i think is incredible）
- `04:25` 一開始我告訴你要安裝 skill 檔案，我想展示這個，因為這是我最喜歡的功能。舉例來說，我到（at the beginning i told you to install the skill file and i want to show you this because this is）
- `04:29` coffee cluster，關閉這個分頁，然後我會到這裡（my absolute favorite for example i go to the coffee cluster close this tab and i'll go in here）
- `04:33` 開啟 Pi。Pi 預設沒有 subagent，但使用 Agent Scale，它就能做到一些事情（and i'll open pi pi does not have sub agents by default using the agent scale it can do something）
- `04:39` 很酷，它會讓每個 Agent 各自調查要把這些程式碼遷移到 Python 和 Rust 需要多少工作（very cool it's going to do her paints with an agent each to investigate how much work it is）
- `04:43` 所以如果我執行這個，它現在就會載入 Herdr（to migrate to python i rust so if i run this it will now load the Herdr scale）
- `04:47` 並且真的了解要如何為我啟動 Agent，對吧？所以我們就看著它跑（and actually understand how it can spin up paints for me right so we're just gonna watch this go）
- `04:56` 太瘋狂了，我們的主要 Agent 現在正在指示其他 Agent。完成，我已經用 pi Agent 啟動了兩個 Herdr Agent（crazy our main paint is now instructing our other paints done i spawned two Herdr paints with pi agents）
- `05:02` 一個負責 Python 遷移，另一個負責 Rust 遷移，而且現在兩個都在執行。好，所以其中一個（one does a python migration one does a rust migration and both are running now okay so one）
- `05:08` 已經完成了。我把影片快轉一下，所以大約一分鐘內，這兩個 subagent 就在這裡執行完了（is done here and i'll fast forward the video a bit so in about a minute these two sub agents ran here）
- `05:13` 酷，結果如何？哪一個比較容易？現在它能讀取兩個 Agent，直接告訴我（cool what's the verdict which one is easier so now it's able to read both paints and just tell me）
- `05:21` 所以現在我可以關閉這個 Agent，例如按右鍵說「關閉 Agent」。這個我啟動了兩個（so now i can close the paint by either right clicking say close paint this one i spin up two）
- `05:25` subagent。而且同樣地，如果我退出，不管是關閉瀏覽器，還是按下 Ctrl+B、Q，什麼（sub agents and again if i do if i quit by either just quitting the browser or saying ctrl b q nothing）
- `05:31` 都不會遺失。我可以再次用 Herdr 開啟它，繼續處理所有這些 Agent。而且我想，如果你（is lost i can open it again with Herdr and go right through all these agents and i think if you）
- `05:37` 使用多個程式開發 Agent，這會是你應該擁有的必備軟體之一。這裡還有（use multiple coding agents that this is like an essential piece of software you should have there's）
- `05:42` 工作階段的概念。基本上，這個叫做預設工作階段，對吧？所以如果我退出（also the concept of sessions which is basically this is called the default session right so if i quit）
- `05:47` 再開啟它，它就是預設工作階段。但你可以建立一個工作用的工作階段，也可以建立一個（and i open it it's the default session but you can create a session for work you can create a session）
- `05:52` 私人用途的工作階段。接著輸入 session attach，我把它命名為 work。現在這和預設的完全不同（for personal stuff further session attach and i'll call this work now this is totally different from）
- `06:00` 你看，它顯示的是 work。如果我從這裡中斷連線，然後執行 Herdr，就會回到預設工作階段（the default one see how it says work if i disconnect from this and i do Herdr i go back to the default one）
- `06:07` 所以這就是我們的工作階段，這裡什麼都沒有遺失。但如果我想處理工作上的內容，那我（so this is the one we have nothing is lost here but if i want to work on my work stuff well then i）
- `06:13` 只要執行 Herdr session，指定 work，就會進入這個工作階段，而且我們所有的工作在這裡也都能正常進行。所以（just Herdr session that's work and we have this one and then all our things work here as well so）
- `06:19` 總結一下，Herdr 是很棒的終端機多工器，而且滑鼠支援非常出色，也原生（to summarize Herdr is an amazing terminal multi-plexer but it has amazing mouse support it has native）
- `06:25` 支援你的程式開發 Agent，真的是一套非常厲害的軟體。我自己非常喜歡使用它，希望你也會喜歡（support for your coding agents and it's just an incredible piece of software so i have loved using）
- `06:30` 如果覺得有用或沒用，歡迎在留言區告訴我。下次見（it i hope you'll enjoy it too let me know in the comments if it was useful or not later）
