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

v1.5.7

Published

Autonomous Agent Fleet Management for Claude Code

Readme


The Vision

Claude Code has changed the world, but most of the work it does is supervised by a human. What if Claude Code could invoke itself?

herdctl is an orchestration layer for Claude Code. Under the hood, it uses the Claude Agents SDK to trigger Claude Code sessions on schedules, via webhooks, or via chat messages.

It uses simple .yml files that are a thin wrapper around Claude Agents SDK configs, plus a couple of extra features provided by herdctl - schedules, chat and hooks. Each Agent defined this way can have any number of schedules that trigger the agent to do something automatically.

herdctl can run fleets of agents, each with their own source-controllable configurations. Agent fleets can be run anywhere via a simple herdctl start command.

herdctl allows you to interact with all of your existing Claude Code projects via chat apps like Discord and Slack (Telegram support coming soon).

Key Features

  • Self-Invoking Agents — Define agents that wake themselves up on schedules or triggers. Coordinate an entire fleet from a single herdctl start command.

  • Fleet Composition — Build "super-fleets" from multiple project fleets. Each project keeps its own agent configurations, but they all run together with a unified web dashboard and CLI.

  • Full Claude Code Power — If Claude Code can do it, your herdctl agent can do it. Same tools, same MCP servers, same capabilities. herdctl is a thin orchestration layer, not a sandbox.

  • Two Runtimes — CLI runtime uses your Claude Max subscription (much cheaper per token). SDK runtime uses API pricing. Both support Docker isolation with resource limits and network controls.

  • Chat From Anywhere — Connect agents to Discord or Slack. Message your agents from your phone, get responses, and they continue working based on your conversation. Your PR reviewer bot becomes a team member you can @ mention.

  • Session Continuity — Every job creates a real Claude SDK session. When an agent finishes, you can claude --resume that exact session in your terminal. Pick up where the agent left off with full context intact.

  • Bidirectional Communication — Agents write structured data back to herdctl via metadata files. Hooks act on that data. Coming soon: agents that request schedule changes, store persistent context, and evolve their own behavior over time.

Intro Video

In which we try to cover all of the main parts of herdctl in 20 minutes:

Quick Start

# Install herdctl globally
npm install -g herdctl

# Initialize a new project with example agents
herdctl init

# Start your agent fleet
herdctl start

Your agents are now running. Check their status:

herdctl status

Web Dashboard

The web dashboard gives you a browser-based control panel for your fleet. Enable it with herdctl start --web or web.enabled: true in your config.

  • Fleet overview — real-time status of all agents and recent jobs
  • Agent detail — live output streaming, schedule controls, job history
  • Interactive chat — message any agent directly from the browser
  • Schedule management — trigger, enable, and disable schedules
  • Job management — cancel, fork, and inspect jobs

See the web dashboard documentation for full details.

Packages

| Package | Description | |---------|-------------| | herdctl | CLI for fleet management. Install globally, run herdctl start. | | @herdctl/core | Core library. Embed fleet management in your own applications. | | @herdctl/web | Web dashboard. Real-time fleet monitoring, agent chat, and job management in your browser. | | @herdctl/discord | Discord connector. Chat with your agents via Discord DMs and channels. | | @herdctl/slack | Slack connector. Chat with your agents via Slack channels and DMs. | | @herdctl/chat | Shared chat infrastructure. Session management, streaming, and message handling used by all connectors. |

Documentation

Full documentation at herdctl.dev:

Contributing

Contributions welcome! See CONTRIBUTING.md for development setup and guidelines.

Community

License

MIT License - see LICENSE for details.