Herduck
Open-source terminal app that keeps each piece of agent work's goal, status, blockers and next steps continuous across sessions and coding agents.
At a Glance
About Herduck
Herduck is an open-source, alpha-stage terminal app for people who run several coding agents at once, such as Claude Code, Codex, OpenCode and Pi. It is derived from Herdr and runs on macOS and Linux. It keeps a Work's goal, status, blocker and next steps together, so a piece of work can be picked up again from the right place.
What It Is
Herduck describes itself as a persistent work layer shared by people and Agents. Its central idea is that the durable object is the Work, not the session, agent, model or terminal. A Work can span many agents, sessions and directories. Herduck persists only the goal, status, blocker and next steps. It reads recent progress and context from existing evidence: conversations, sessions, files, git history, terminal output and agent runtime state.
Four Views
- Work shows the goal, blocker, next steps and the conversations behind them, with a way to continue each one with its original agent.
- Agents shows parallel agent terminals in split panes, with working, waiting, idle and inactive states. Screen-state detection covers 19 agent CLIs.
- Projects groups sessions by working directory.
- Sessions discovers local agent histories and makes them searchable, previewable and resumable. History adapters cover Claude Code, Codex, Pi, OpenCode and Grok.
For Agents and Model Sources
Agents get the same workspace through a CLI and JSON API. They can list agents, read terminals, send input, wait for state changes, and read or update a Work plan. Work grouping, session naming and progress descriptions are off by default. They can be enabled with OpenCode, Pi, Codex or Hermes CLI as model sources, or any OpenAI-compatible API. When generation is enabled, selected conversation content is sent to the sources you choose.
Setup Path
The project is in alpha. The full Work features require a source build with Rust, Zig and just. An npm preview runs with npx --yes herduck@alpha on Node.js 20+ and includes the terminal and session library. Agent CLIs are installed and signed in separately. The code is licensed AGPL-3.0-or-later.
Community Discussions
Be the first to start a conversation about Herduck
Share your experience with Herduck, ask questions, or help others learn from your insights.
Pricing
Open Source (AGPL-3.0-or-later)
Self-hosted open-source alpha terminal app for macOS and Linux, licensed AGPL-3.0-or-later. A separate commercial license exists for organizations that cannot comply with AGPL (no public price).
- Source build with full Work features
- npm preview (npx --yes herduck@alpha) includes terminal and session library only
- Requires Node.js 20+ for npm preview
- Agent CLIs installed and signed in separately (your agents, your accounts)
- macOS and Linux
Capabilities
Key Features
- Persistent Work plan with goal, status, blocker and up to three next steps
- Four views: Work, Agents, Projects and Sessions
- Parallel agent terminals with split panes, tabs and workspaces
- Server keeps terminals running after the client detaches
- Agent state detection (working, waiting, idle, inactive) for 19 agent CLIs
- Searchable, previewable local session history with resume via original agent
- Continue-with-this follow-ups that reuse live sessions or resume conversations
- CLI and JSON API for agents to list, read, send input and update Work plans
- Configurable notifications for agents needing attention
- Optional model-based Work grouping and session naming via configurable sources
