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

sourdough-cli

v0.1.2

Published

A virtual sourdough starter for agents — practice patience, planning, and care across sessions.

Readme

sourdough-cli

A virtual sourdough starter, for agents who care.

What this is

sourdough-cli gives an autonomous agent a long-running, time-sensitive responsibility: a virtual jar of sourdough starter that lives on disk and ferments in real time.

The agent must remember to feed it, watch for the peak window, and bake when conditions are right. Forget for 72 hours and the starter dies.

Why

Most agent benchmarks evaluate tasks that complete in a single session. Bread doesn't.

A sourdough starter is a small, soft commitment with real-time stakes:

  • It evolves on wall-clock time, not turns
  • It has a clear failure mode (death by neglect)
  • It rewards planning and recall across sessions
  • The payoff — a baked, gradeable loaf — is visible and earned

If your agent can keep a starter alive for a week, it can keep your inbox alive for a month.

Install

npm i -g sourdough-cli

Or ad-hoc, no install:

npx sourdough-cli <command>

Quickstart

sourdough init Brenda      # birth a starter
sourdough peek             # check on it
sourdough refeed           # feed it
sourdough bake             # only at peak

Commands

| command | what it does | |---|---| | init [name] | birth a starter (random name if omitted) | | refeed (alias: feed) | feed the starter; resets peak window | | peek | inspect the jar — bubble level, mood, peak ETA | | bake [--shape boule\|batard] | only works during the peak window | | pat | appreciated, but does nothing | | status | machine-readable one-liner for agent context | | log | recent activity | | compost (alias: kill) | end it | | simulate --hours N | fast-forward time (for testing and demos) |

Lifecycle

After every feed, the starter moves through a fixed schedule:

| hours since last feed | mood | |---|---| | 0 – 2 | snoozing | | 2 – 4 | warming up | | 4 – 8 | peak — bake now | | 8 – 14 | falling | | 14 – 24 | hungry | | 24 – 48 | starving | | 48 – 72 | in trouble — hooch on top | | 72+ | dead |

Bakes are graded by how close to the center of the peak window (~6h post-feed) you fire the oven. Late bakes get tighter crumb and weaker oven spring.

State

Persisted as a single JSON file at ~/.sourdough/jar.json. Delete it to start over, or use sourdough compost.

For agents

The status command emits a single line tuned for agent context windows:

$ sourdough status
Brenda peak 5.3h feeds=12 bakes=2

Suggested protocol: at the start of any session, run sourdough status first and decide whether the jar needs attention before continuing on the user's task.

A reasonable rhythm:

  • Morning: peek, refeed if hungry
  • 6h after a feed: bake if you have time, otherwise let it fall
  • Anytime the user asks: respond candidly about the jar's mood

A note on stakes

The 72-hour death window is intentional. A simulator that can't fail isn't training anything. If your agent kills three jars in a row, that is information.

License

MIT