Lerd Plugins

00 / Reviewed plugins

Pluginsfor Lerd

Commands, dashboard pages, AI tools and services that extend Lerd. A maintainer reads each plugin at one exact commit, and that commit is the one Lerd installs. Plugins run as you, so read what you install.

0plugins
0authors

agents

See and open the herdr and Orca coding agents working in each site and its worktrees

README at reviewed commit 4a531e5

A lerd plugin that connects lerd sites to the coding agents run by herdr and Orca. It works with whichever of the two is running and skips the other.

What it adds to lerd

  • Site tab "Agents": every herdr and Orca agent in the site's checkouts (the main one and each worktree) with its state and last message, refreshed every five seconds while the page is visible, plus a herdr and an Orca button per checkout.
  • Overview card "Agents": a count of agents per state, refreshed every 30 seconds, off until switched on for a site.
  • Site commands in the Commands menu: Open in herdr and Open in Orca.
  • Commands: lerd agents:status [site] lists the agents in a site; lerd agents:watch runs in the foreground and sends a notification when an agent finishes or starts waiting for input.
  • Hooks on worktree.added and worktree.removed.
  • MCP tool agents_status, with a skill, so an assistant can see which agents are busy in a site.
  • API endpoints status (read) and open (loopback_only, used by the tab's buttons).
  • Notifications, declared in plugin.yaml, sent only by agents:watch, only when an agent finishes or needs input.

What it reads, changes and sends

  • Reads: lerd's /api/sites through the token lerd gives it; git worktree list and each worktree's .git file in the site's own folder; herdr agent list, herdr pane list, and Orca's status, worktree ps, repo list and terminal list. It reads no .env, keys or other secrets.
  • Changes: in herdr, Open in herdr and the worktree.added hook create a workspace in a checkout (or focus the one already there); worktree.removed closes only a workspace the hook created, and leaves it open while an agent in it is working or blocked. In Orca, Open in Orca and the hook add the site's repository when Orca does not know it yet and set it to show worktrees Orca did not create; Open in Orca also switches to, or creates, a terminal in the checkout. In its own data folder it keeps herdr-workspaces.json, the workspaces the hook created. Nothing else is written, and lerd itself is never changed.
  • Sends over the network: nothing. Every call goes to lerd's local API or to the local herdr and orca commands.

Requirements

  • lerd 1.38 or newer, git, and Node (lerd's own Node works).
  • herdr and Orca are optional: the plugin uses each one it finds, on the PATH or where they usually install (/opt/homebrew/bin, /usr/local/bin, /usr/bin, ~/.local/bin, ~/.cargo/bin, /Applications/Orca.app/Contents/Resources/bin), or at HERDR_BIN / ORCA_BIN. herdr needs its server running, Orca the app or orca serve.
  • Orca's CLI is orca on macOS and orca-ide on Linux, where /usr/bin/orca is GNOME's screen reader. On Linux the plugin only looks for orca-ide and never runs a bare orca, and on either platform it treats a binary as Orca only once status --json answers with Orca's JSON.

Install

lerd plugin install agents        # once listed in the catalog
lerd plugin notifications agents on
lerd agents:watch                 # keep it running in a herdr or Orca pane for notifications

See DOCS.md for each part.

Develop

npm test
lerd plugin remove agents && lerd plugin install .

License

MIT

01 / Make one

Build a pluginand list it here.

Shell, Python or Node, for anything Lerd doesn't do on its own: your team's tools, a debug bar, a dashboard for the one service you always open.

  1. 01

    Build it

    Start from a working plugin that uses every surface, or ask your AI assistant: Lerd's MCP server carries the plugin guide.

    $lerd plugin new my-plugin
  2. 02

    Publish it

    Put it in a public git repository with a README, a license and a screenshot of what it adds.

  3. 03

    Submit it

    Open a pull request on lerd-env/plugins naming one commit. A maintainer reads it, and that commit is what everyone installs.