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

@agent-plexus/cli

v0.2.1

Published

agent-plexus command line: init, check, run, resume, cancel, dev, eval

Readme

@agent-plexus/cli

Command line for agent-plexus: check a multi-agent system, run it, talk to it and evaluate it against a file of cases.

npm install --save-dev @agent-plexus/cli @agent-plexus/core @agent-plexus/adapters    # plus any plugin your plexus.json names
npx agent-plexus init                                          # starter system: plexus.json, members/, cases.json
npx agent-plexus check                                         # load, assemble, readiness gate
npx agent-plexus run "I need a refund for my last invoice"     # output on stdout, one line per hop on stderr
npx agent-plexus resume <runId> --approve                      # answer a waiting run (durable execution adapter)
npx agent-plexus eval cases.json                               # run, score and attribute each case

| Command | What it does | |---|---| | init [dir] | write a starter system (the offline example: plexus.json, three members, cases.json, a README) into an empty folder, set "type": "module" in package.json (created when missing) and print the next commands; --force writes into a folder that holds other files | | check | load the config, assemble the system, apply the readiness gate of the profile's tier | | run <text> | one run: the output, then one line per hop (--run-id <id>, --json, --quiet) | | resume <runId> | answer a waiting run and run it again: --input <text>, or --approve / --deny with --reason <text>, and --wait <token> from the waiting hint so the reply answers only that wait (--json, --quiet); needs a durable execution adapter across processes | | cancel <runId> | close a run that is not over, e.g. a waiting one: it ends stopped with code cancelled and cannot be resumed (--reason <text>, --json); needs a durable execution adapter across processes | | dev | terminal loop: each line is a run, /exit quits (--quiet) | | eval <cases.json> | run, score and attribute a file of cases (--json) |

A waiting run ends with the resume command that answers it: the reply its wait needs (--input <text>, or --approve | --deny) and --wait <token>. With --json the result keeps wait ({ token, kind, member }, no texts).

run --run-id <id> runs under a chosen id (1 to 128 characters) instead of a generated one.

Common options: --config <file> (default plexus.json), --profile <name>, --help (also per command), --version. Exit codes: 0 ok, 1 findings, failed runs or an invalid system, 2 wrong command line, 3 a run (run, resume) that ended waiting for a reply, 130 interrupted (Ctrl-C or SIGTERM: the run in progress stops aborted, the journal lets go of it and the system is closed; a second signal ends the process at once, without that cleanup, so a sqlite-execution run stays held until its leaseMs passes).

Adapters named in plexus.json are loaded from the @agent-plexus/adapters installed next to it (the project's node_modules), so npx @agent-plexus/cli and a global install work as well as a local one; without a copy there, the one installed next to @agent-plexus/core is used. A local install (above) is the supported path: with a global or npx CLI, the adapters import a second copy of the core, which works because descriptors are plain objects, but costs a second load. npx agent-plexus resolves to the package agent-plexus, which only forwards to this one. The members of the starter are .ts files that Node runs as they are: they are ES modules, so the project's package.json needs "type": "module" (without it they fail with Cannot use import statement outside a module). Full guide: docs/guide.md.

Requires Node >= 22.18. License: MIT.