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

nanoclaw-agenthosts

v0.2.0

Published

Pluggable agent process lifecycle (RuntimeDriver registry) for NanoClaw

Readme

nanoclaw-agenthosts

Decouple where NanoClaw’s host runs from where each agent runs.

By default NanoClaw assumes the host and every agent share one Docker-shaped machine: the host wakes a local container, talks over the filesystem mailbox, and kills that same process. This package turns that lifecycle into a pluggable RuntimeDriver registry so the host can stay on one machine (or one orchestration style) while individual agent groups run elsewhere—another container runtime, a sibling process on the same box, or a remote machine that the host only reaches over the network.

The host still owns routing, sessions, and group config. Drivers own wake / kill / isRunning / orphan cleanup for a given runtime. Docker remains the zero-behavior-change default when container_configs.runtime is unset.

Why this exists

Useful when you want to:

  • Mix runtimes in one NanoClaw instance — some groups stay on Docker; others use a lighter local process, a different container stack, or a remote executor, selected per group the same way you pick a model provider.
  • Keep the host stable while agents move — upgrade or relocate agent sandboxes without rewriting host wake/kill call sites; plugins register drivers, the substrate dispatches.
  • Split host and agent onto different machines — pair a non-local driver with a session transport (e.g. via nanoclaw-sessionio) so mailbox I/O is not tied to a shared filesystem.
  • Prototype new agent hosts quickly — implement RuntimeDriver, register it, set --runtime on a group.

Proof of concept: nanoclaw-agenthost-process runs the agent as a local child process instead of a Docker container. Install agenthosts first, then that plugin; point a group at --runtime process to exercise the registry end-to-end without changing Docker groups.

Quick start

pnpm add nanoclaw-agenthosts
pnpm exec nanoclaw-agenthosts sync-skill
pnpm exec nanoclaw-agenthosts install
pnpm run build
pnpm exec nanoclaw-agenthosts verify

Local peer loop against nanoclaw-sandbox:

cd ../nanoclaw-sandbox
pnpm agenthosts:local
pnpm exec nanoclaw-agenthosts verify

Select a runtime

ncl groups config update --id <ag> --runtime process
ncl groups create --name "Local process scout" --folder process-scout --runtime process

Default when unset: docker (or NANOCLAW_DEFAULT_RUNTIME). Install the matching agenthost plugin before selecting a non-docker runtime.

Development

pnpm install
pnpm run build
pnpm run test:unit
pnpm run test:coverage
pnpm run test:integration

See QUICKSTART.md, api-contract.md, and .claude/skills/add-agenthosts/ after sync-skill.