npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@herdctl/web

v0.9.9

Published

Web dashboard for herdctl fleet management

Readme

@herdctl/web

Web dashboard for herdctl fleet management

npm version License: MIT

Documentation: herdctl.dev

Overview

@herdctl/web provides a real-time web dashboard for monitoring and managing your herdctl agent fleet. View agent status, trigger and manage jobs, chat with agents, and control schedules - all from your browser with live updates via WebSocket.

Herdctl is an open-source system for running fleets of autonomous AI agents powered by Claude Code. This package is part of the herdctl monorepo.

Installation

npm install @herdctl/web

Note: The dashboard is typically started automatically via the herdctl CLI. Direct installation is only needed for programmatic use.

Quick Start

Via CLI (Recommended)

# Start your fleet with the web dashboard enabled
herdctl start --web

# Or specify a custom port
herdctl start --web --web-port 3200

Via Configuration

Add web dashboard settings to your herdctl.yaml:

fleet:
  name: my-fleet
  web:
    enabled: true
    port: 3232         # Default port
    host: "localhost"   # Default host

Then start your fleet normally:

herdctl start

Programmatic Usage

import { FleetManager } from "@herdctl/core";
import { WebManager } from "@herdctl/web";

const fleet = new FleetManager({ configPath: "./herdctl.yaml" });
await fleet.initialize();

const web = new WebManager(fleet, {
  port: 3232,
  host: "localhost",
  stateDir: ".herdctl",
});

await web.initialize();
await web.start();
// Dashboard available at http://localhost:3232

Features

Fleet Dashboard

  • Real-time fleet status with uptime, agent counts, and job statistics
  • Agent cards showing current status, schedule count, and recent activity
  • Recent jobs feed with status indicators

Agent Detail Pages

  • Agent configuration and metadata
  • Job history with pagination and filtering
  • Live output streaming from running jobs
  • DiceBear-generated avatars for each agent

Chat with Agents

  • Interactive conversations with any agent
  • Session management with conversation history
  • Streaming responses via WebSocket
  • Create, resume, and delete chat sessions

Schedule Management

  • View all schedules across agents
  • Enable and disable schedules
  • Manually trigger schedules
  • See last run and next run times

Job Control

  • Trigger jobs manually with custom prompts
  • Cancel running jobs
  • Fork existing jobs with optional prompt overrides
  • Copy CLI commands for any job

Real-Time Updates

  • WebSocket connection for live fleet events
  • Job status changes broadcast instantly
  • Agent output streaming to subscribed clients
  • Connection status indicator with auto-reconnect

REST API

The dashboard exposes a REST API for programmatic access:

| Endpoint | Description | |----------|-------------| | GET /api/fleet/status | Fleet status snapshot | | GET /api/agents | List all agents | | GET /api/agents/:name | Agent detail | | POST /api/agents/:name/trigger | Trigger a job | | GET /api/jobs | List jobs (with pagination/filtering) | | POST /api/jobs/:id/cancel | Cancel a job | | POST /api/jobs/:id/fork | Fork a job | | GET /api/schedules | List all schedules | | POST /api/schedules/:agent/:schedule/enable | Enable a schedule | | POST /api/schedules/:agent/:schedule/disable | Disable a schedule |

Documentation

For complete setup instructions, visit herdctl.dev:

Related Packages

License

MIT