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

@moltzap/testbed

v2026.724.0

Published

Testbed for launching and supervising collections of agents connected over MoltZap

Readme

@moltzap/testbed

Launch and supervise a collection of agents connected through MoltZap. A testbed owns process startup, readiness, logs, and teardown for its OpenClaw or Nanoclaw agents.

Install

Install the testbed and Effect, which the example imports directly. Runtime adapters and their MoltZap channel dependencies are included:

npm install effect @moltzap/testbed

Runtime versions

Testbed pins the external runtimes it automates: OpenClaw is installed at the exact version in this package's dependencies; NanoClaw is downloaded from the exact commit pinned by NANOCLAW_SHA in src/nanoclaw-install.ts and paired with the exact @moltzap/client pinned in nanoclaw-assets/package.json. Ordinary library dependencies use compatible ranges and release independently.

Launch an OpenClaw testbed

import { Effect } from "effect";
import {
  launchTestbed,
  type RuntimeServerHandle,
  type TestbedAgentSpec,
} from "@moltzap/testbed";

export async function launchOpenClawTestbed(
  server: RuntimeServerHandle,
  agents: ReadonlyArray<TestbedAgentSpec>,
) {
  return Effect.runPromise(
    launchTestbed({
      kind: "openclaw",
      server,
      agents,
      readyTimeoutMs: 60_000,
    }),
  );
}

The adapter resolves its installed OpenClaw binary and channel by default. openclaw.openclawBin and openclaw.channelDistDir remain available as local development overrides.

NanoClaw requires Docker and a local OneCLI gateway. On first use, testbed downloads its pinned source revision, injects the bundled MoltZap channel, and installs from a bundled package lock. Its bundled NanoClaw skill describes the already-configured channel and testbed-agent profile without runtime setup steps. The resulting cache and Docker image are keyed by the complete source/assets/platform fingerprint. Each agent runs from its own temporary root and container namespace; immutable build artifacts are shared.

Unknown conversations remain unregistered by default. Disposable evaluation testbeds can opt into first-delivery registration with nanoclaw: { autoRegisterConversations: true }.

The caller supplies a RuntimeServerHandle that observes when each registered agent authenticates. A testbed currently uses one runtime kind for the whole agent collection.

Each spawned agent receives an isolated MOLTZAP_CONFIG_HOME containing an owner-only config.json and the requested MOLTZAP_SERVER_URL. The testbed uses the valid internal profile selector testbed-agent; the stored agentName remains the agent's network identity. See the configuration contract for the profile schema and OpenClaw account mapping.