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

agentworth

v0.1.28

Published

Discover, normalize, and understand AI-agent histories locally.

Readme

AgentWorth (npm package)

Official npm launcher for AgentWorth — discover, normalize, and understand AI-agent histories locally.

npx -y agentworth@latest

When run with no arguments, npx -y agentworth@latest defaults to launching the local web UI (serve --open). All native subcommands and flags are forwarded transparently to the native binary.


Usage

Quick Start

Launch the local interactive UI:

npx -y agentworth@latest

CLI Subcommands

Scan and index local agent histories across 11 agent adapters:

npx -y agentworth@latest scan

View summary statistics across all indexed traces:

npx -y agentworth@latest stats

Inspect token rollups, costs, and rolling pacing:

npx -y agentworth@latest usage --period day
npx -y agentworth@latest usage --pacing

Trace file modifications back to the AI agent session and prompt:

npx -y agentworth@latest blame src/main.rs

List indexed sessions with filtering by adapter or model:

npx -y agentworth@latest traces --limit 20
npx -y agentworth@latest traces --adapter claude_code --json

Inspect a specific session with timeline and outcome analysis:

npx -y agentworth@latest inspect <session-id>

Export traces safely with automatic secret and path redaction:

npx -y agentworth@latest export <session-id> --redact --format atif --output session.atif.json

How It Works

agentworth resolves and executes the high-performance native Rust binary on your machine.

Binary Resolution Order

The launcher searches for the native binary in the following priority order:

  1. AGENTWORTH_BIN environment variable: Explicit path to binary.
  2. Pre-bundled / platform packages: Pre-compiled binary for current OS and architecture (e.g. darwin-arm64, darwin-x64, linux-x64, linux-arm64, win32-x64).
  3. Local Cargo build artifacts: target/release/agentworth or target/debug/agentworth found by ascending from working directory or package root.
  4. CARGO_TARGET_DIR: Custom cargo target output directory if set.
  5. User Cargo Bin: ~/.cargo/bin/agentworth.
  6. System PATH: Any agentworth executable in your PATH.
  7. Local cache: ~/.agentworth/bin/v<version>/, populated by an on-demand download the first time a version isn't found anywhere above.

On-demand download

When no source above has the binary, the launcher downloads the matching release archive into ~/.agentworth/bin/v<version>/. That download is checksum-verified against the release's published .sha256 before extraction, extracted into a temporary directory and only moved into place once complete (so the version directory is always either fully installed or absent, never half-extracted), and guarded by a lock file so multiple concurrent first runs share one download instead of racing each other. agentworth hook never triggers this download -- a hook only uses a binary that's already present, so it can fail fast and quietly instead of blocking on a fetch.


Alternative Installation Methods

You can also install the native AgentWorth binary directly:

| Method | Command | Description | | :--- | :--- | :--- | | Standalone Script | curl -fsSL https://agentworth.dev/install.sh | sh | Installs the pre-built native binary directly to ~/.local/bin. | | NPX (Instant) | npx -y agentworth@latest | Zero-install runner that detects or downloads the native binary. |


Environment Variables

| Variable | Description | | :--- | :--- | | AGENTWORTH_BIN | Path to a specific agentworth binary executable. | | CARGO_TARGET_DIR | Custom Cargo target directory to search for build outputs. | | AGENTWORTH_RELEASE_BASE_URL | Overrides the GitHub Releases base URL the on-demand downloader fetches archives from. Defaults to https://github.com/unfoundbox-crew/agentworth/releases/download; only for testing or an internal release mirror. |


License

Apache-2.0