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

@agentdx/agentdx

v0.5.0

Published

A local-first tool that shows you the real picture of your AI coding agents — tokens, tools, models, and errors across Claude Code, Cowork, Codex, Cursor, Antigravity, VS Code (Copilot), Continue.dev, and opencode. 100% local: no accounts, no telemetry.

Readme

AgentDX

See what your AI coding agents are actually doing.

A small, local-first tool built by a developer who wanted an honest picture of how the different agentic coding tools — Claude Code, Codex, Cursor, Antigravity — really behave: where the tokens go, which one ships, where the errors pile up. It reads logs your agents already write and shows you the reality. Runs entirely on your machine; nothing ever leaves.

License: MIT


Install

npx @agentdx/agentdx

Or install once and call it by name:

npm install -g @agentdx/agentdx
agentdx

Homebrew: coming soon.


Screenshots

One npx @agentdx/agentdx and the dashboard opens on your own machine — no account, no upload.

Overview — the flight recorder at a glance

AgentDX overview dashboard

Insights — judgements, not just numbers ("which agent actually ships?")

AgentDX insights page

Models & Tokens — spend, cache hit rate, input vs output

AgentDX models and tokens page

Agents & Skills — every agent, every tool, side by side

AgentDX agents page


What It Does

AgentDX is a free tool that reads the local logs your AI coding agents already write, stores everything in a single SQLite database on your machine, and serves a dashboard so you can see tokens burned, tools called, models used, and errors hit across every agent — and judge which one actually ships. One command, no accounts, no uploads, no telemetry. Nothing ever leaves your computer.


Supported Agents

| Agent | Source | Status | |---|---|---| | Claude Code | ~/.claude/projects/ | Stable | | Cowork (Claude app) | Claude desktop local agent mode | Stable | | Cursor | ~/.cursor/projects/ | Stable | | Codex | ~/.codex/ | Stable | | Antigravity | ~/.gemini/antigravity/ | Stable | | VS Code (Copilot) | VS Code chat sessions | Stable | | Continue.dev | ~/.continue/sessions/ | Stable | | opencode | ~/.local/share/opencode/opencode.db | Stable |

AgentDX reads local logs and artifacts. It never intercepts live traffic or modifies agent behavior.


Quick Start

# 1. Collect session data from all installed agents
npx @agentdx/agentdx collect

# 2. Start the dashboard
npx @agentdx/agentdx serve

# Or do both in one command
npx @agentdx/agentdx

The dashboard opens at http://localhost:3002. (After npm install -g @agentdx/agentdx you can drop the npx @agentdx/ prefix and just run agentdx.)


CLI Commands

Shown with npx @agentdx/agentdx; once installed globally, just use agentdx.

| Command | Description | |---|---| | agentdx | Collect data from all agents, then start the dashboard | | agentdx collect | Collect session data only (no dashboard) | | agentdx serve | Start the dashboard only (no collection) | | agentdx watch | Collect, serve, and re-collect on an interval (default: 5 min) | | agentdx finops | Cross-agent cost report — spend by repo / model / agent / day (--period, --by, --json, --csv) | | agentdx check | Agent diff for a commit range — AI/human split, cost, risk surface (--base, --head, --format text\|markdown\|json\|sarif). Non-blocking. See docs/ci | | agentdx statusline | One-line baseline meter for a repo; pipe Claude Code's statusLine JSON on stdin | | agentdx status | Show database stats: sessions, messages, tool calls, tokens, models | | agentdx import <file> | Import sessions from a portable JSONL export |


Privacy

AgentDX is local-first. No telemetry, no analytics, no accounts, no uploads — your sessions, prompts, code, tokens, and repo names never leave your machine. Data lives in a single SQLite file at ~/.agentdx/agentdx.db, which you fully control and can delete anytime. The one outbound request is a read-only update check against the public npm registry (just the latest version number — nothing about you is sent); ignore it and the tool works the same offline.

Full details in PRIVACY.md.


License

MIT