my own org

shep & the flock.

Since August most of my time has gone into shep-pm, an org I set up around one Rust process manager. Everything else in it is a plugin shep supervises or tooling I needed along the way.

01started it, write nearly all of it

shep

2026 → now

A process manager written in Rust, and a pm2 alternative. One daemon, the shepherd, keeps a flock of long-running processes alive on Linux, macOS, and Windows, restarts them when they die, and keeps what they print.

It's a clean-room take on pm2's feature list, and shep import pm2 moves an existing setup over. The part I care about is that it doesn't overclaim. shep reload won't promise zero-downtime, because shep never binds your app's socket, and every command prints the whole flock so you can see nothing else moved. There's a TUI dashboard, and an MCP server so an agent can read the flock but only act on it if you turn that on. Plugins are called dogs, and most of the org is one.

platformsLinux · macOS · Windows
commits5.6k+
replacespm2
cargo$ cargo install shep
brew$ brew install shep-pm/shep/shep
scoop$ scoop bucket add shep https://github.com/shep-pm/scoop-shep; scoop install shep
the dogs

A dog is a plugin process the shepherd supervises next to your flock. Each one is its own binary, and it talks to the daemon over the same socket the CLI uses.

shep-kelpieshep-kelpie
Rustagents

Runs coding agents (Claude Code, pi, or Codex) from a planned issue to a merged pull request. The merge gate, review budgets, and pacing live in code, and a model only gets called for the work itself and for judgement. Each reviewer reads a PR once, in order, so there's no review loop to get stuck in. It's early and has no release yet.

shep-deployshep-deploy
Rust

Watches a git branch, builds the new release in its own directory, swaps to it, and reloads the sheep. If the new release doesn't come up, it rolls back on its own.

cargo$ cargo install shep-deploy
shep$ shep adopt shep-deploy
shep-paddockshep-paddock
RustLLMs

For a box where several model servers share one GPU. Clients ask a single endpoint for a model by name, and the dog starts and stops servers to fit, queues requests that don't fit yet, and lets long jobs hold a lease so nothing evicts them.

shep-discordshep-discord
Rust

Streams a sheep's stdout and stderr into Discord and keeps a live embed per sheep in a monitor channel, with slash commands to drive the flock from there. Alerts stay with bark, shep's built-in webhook dog, so a log firehose can't rate-limit them away.

cargo$ cargo install shep-discord
shep$ shep adopt shep-discord
shep-log-rotateshep-log-rotate
Rust

shep appends every sheep's output to a file forever. This dog renames logs once they get too big or too old, asks the shepherd to reopen them, then gzips and prunes the old ones so the log directory stays bounded.

cargo$ cargo install shep-log-rotate
shep$ shep adopt shep-log-rotate
shep-openbaoshep-openbao
Rust

Mirrors secrets from OpenBao into shep's secrets store. It logs in with AppRole and rereads the KV paths you list on an interval, and a sheep pulls a key into its env with {{secret:openbao/KEY}}.

around the flock

The pieces that aren't dogs: a client library, a sandbox for the agents, and the rules every Rust repo in the org follows.

crabpotcrabpot
Rustagents

A Rust port of Anthropic's sandbox-runtime. It restricts filesystem and network access for any process at the OS level, with no container and no Node runtime.

shep-goshep-go
Go

The Go client for the channel shep opens to a supervised app. Your app can signal readiness, emit metrics, answer custom actions, and label its child processes so shep describe shows them by name.

go$ go get github.com/shep-pm/shep-go/channel
rust-house-stylerust-house-style
RustClaude Code

My Rust house style for the org: 48 numbered rules, a Claude Code plugin that applies them, and a reusable CI check for the 1000-line file cap. It's one person's rules, not a claim about what idiomatic Rust is.

Want the whole manual?

Every verb and flag is documented on shep-pm.com.