# herdr-fleet

Every herdr in the fleet as one herdr, for herdr clients such as herdr's phone relay.

| | |
|---|---|
| Kind | Plugin |
| Roles | None (a service the node runs) |
| Status | beta |
| Ships with Fleetlayer | Yes |
| Licence | FSL-1.1-ALv2 (source-available) |
| Maintainer | Fleetlayer |
| Source | https://github.com/fleetlayer/fleetlayer/tree/main/plugins/herdr-fleet |
| Install | In every Fleetlayer release |
| Command | `fleetlayer-herdr-fleet` |
| Platforms | Linux, macOS |
| Works with | Fleetlayer 0.3.13 and later |
| Plugin protocol | version 1 |
| Needs | herdr 0.9 or later (https://herdr.dev) |
| Grants | `fleet.query`, `transcript.read`, `session.close` |

## What it does

A program written for the herdr on its own machine (herdr's phone relay, a dashboard, a script) points at this
plugin's socket and HERDR_BIN shim instead, unchanged, and sees every machine: this one's herdr as it is, and each
other machine's sessions as a workspace of its own, to list, read, prompt, type into, watch and close. One phone
relay for the whole fleet.

## Setup

It comes with Fleetlayer, so there's nothing else to install. To start from:

```yaml
plugins:
  - name: herdr-fleet
    command: fleetlayer-herdr-fleet
    grants: [fleet.query, transcript.read, session.close]
```

## What it can read and do

Serves a socket only its Unix user can open (0600, in a 0700 folder). Whatever connects to it reads and types into other machines' sessions as this node, so the access policy checks every read (read), prompt or key (attach) and close (close), and the audit log shows each. With transcript.read it copies other machines' Claude Code transcripts into its state folder (0700) while their sessions run, each read checked as read; leave it out to keep them off this machine. It sees the fleet listing this node may see, never more. Leave out session.close to keep clients from closing other machines' sessions.

More: https://fleetlayer.ai/docs/plugins/herdr-fleet.md.
