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

atsdaemon

v1.0.6

Published

Companion daemon for Agent Testing Suite - manages Docker containers on your machine, streams results to the cloud server

Downloads

39

Readme

atsdaemon

Companion daemon for Agent Testing Suite. Runs on your local machine, connects to the cloud server, manages Docker containers for agent test runs, and streams results back in real time.

Prerequisites

  • Node.js 20+
  • Docker installed and running (Docker Desktop or Docker Engine)
  • The agent-runner:latest Docker image built locally (see setup instructions)

Installation

npm install -g atsdaemon

Usage

  1. Open the Agent Testing Suite web UI
  2. Create a test run and copy the pairing token
  3. Run the daemon:
atsdaemon --token <YOUR_PAIRING_TOKEN>

The daemon will:

  • Verify Docker is installed and running
  • Connect to the server via WebSocket
  • Wait for test commands
  • Spin up Docker containers for each agent setup
  • Stream container output back to the server for live metrics

Options

USAGE:
  atsdaemon --token <TOKEN> [OPTIONS]

REQUIRED:
  --token <TOKEN>     Pairing token from the web UI

OPTIONS:
  --server <URL>      Server URL (default: ws://localhost:3001)
  --help, -h          Show this help message
  --version, -v       Show version

API Keys

API keys can be provided in two ways:

  1. Environment variables on the machine running the daemon:
export ANTHROPIC_API_KEY=sk-ant-...
export OPENAI_API_KEY=sk-...
export GOOGLE_API_KEY=AI...
export CURSOR_API_KEY=...
atsdaemon --token abc123
  1. Via the web UI -- keys entered in the browser are forwarded to the daemon over the WebSocket connection and injected into containers. They are never persisted on the server.

Keys from the web UI take precedence over local environment variables.

What It Does

The daemon is a thin orchestration layer:

  • Receives test configurations (setup files, model choice, instance count) from the server
  • Creates isolated Docker containers using the agent-runner image
  • Mounts setup files into each container
  • Streams container stdout/stderr back to the server line-by-line
  • Reports container lifecycle events (started, stopped, crashed, OOM)
  • Enforces resource limits (4GB memory, 2 CPUs, 100 PIDs per container)
  • Handles graceful shutdown on SIGINT/SIGTERM

Security

  • Containers run with enforced resource limits (memory, CPU, PIDs)
  • Setup files are written to a temp directory with path traversal protection
  • API keys are only held in memory, never written to disk by the daemon
  • Containers use an isolated Docker network (agent-network)
  • The daemon connects outbound to the server (no inbound ports needed)

License

MIT