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

agenttrace-cli

v0.1.0

Published

See what your AI coding agents actually accomplished — every Claude Code session mapped to the files it changed, the commits it produced, and whether they stuck. Local-first, zero backend.

Readme

AgentTrace

How much of your AI's code actually survived? AgentTrace correlates every Claude Code session with your git history and gives you one number: the share of your agent's work that landed and stuck — versus what got reverted or never committed. Local-first, zero backend, zero telemetry.

You run coding agents all day, but you can't see whether their work lasts. That hour of edits — did it get committed and survive, or silently thrown away? AgentTrace reads the session transcripts already on your disk, matches them to commits, and shows you a survival rate — plus what each session changed, what it cost, and how to make the next one better. All in your terminal or a local dashboard, without sending anything anywhere.

Install

Mac appdownload the latest .dmg (signed & notarized; Apple Silicon and Intel).

Command line — requires Node ≥ 20:

npx agenttrace-cli        # list your sessions, newest first

The installed command is agenttrace (the npm package is agenttrace-cli). Or clone and run from source (this path uses Node's TypeScript type-stripping, so it needs Node ≥ 23.6 — no build step):

git clone https://github.com/Burakfenerci5/agenttrace && cd agenttrace
node src/cli.ts           # same as `npx agenttrace-cli`

Quick start

agenttrace                # list every session, with outcome + cost
agenttrace show <id>      # drill into one session (id prefix is enough)
agenttrace serve          # open the local dashboard (http://127.0.0.1:4317)
agenttrace analyze <id>   # print an agent-readable analysis (pipe it to your agent)

Everything runs against ~/.claude/projects on your machine. Nothing is uploaded.

What you get

  • Outcome labeling — each session is correlated with git and labeled Landed, Reverted, Not committed, Not in git, or No edits — and rolls them into a single survival rate. Plenty of tools count your tokens; AgentTrace is the one that tells you, per session, whether the work actually survived.
  • Cost & tokens — per-session token usage and a USD estimate from published model rates, so you can see where your spend goes.
  • Recommendations — local heuristics spot repeated commands (→ add a skill), context bloat (→ trim cache reads), marathon sessions, and uncommitted work. Each comes with a ready-to-paste prompt you can hand straight back to your agent.
  • Actions — every meaningful step (file writes, shell commands, deploys) is listed; high-consequence ones (pushes, publishes, rm -rf, payments) are flagged as worth verifying.
  • A striking local dashboard — searchable, groupable, an interactive metric chart, multi-session selection to compare cost, and per-session drill-down.

Prove it, don't just observe it

AgentTrace shows you what your agents reportedly did (heuristics over local logs). Its sibling ActionProof lets you prove it: Ed25519-signed, tamper-evident receipts for any action or session, verifiable offline. If ActionProof is installed alongside AgentTrace, the dashboard's Sign button mints a real receipt and shows a ✓ verified badge — the free-to-provable bridge, built in.

Privacy

  • Binds to 127.0.0.1 only; rejects any non-loopback Host and cross-origin request.
  • Never reads your message content — only event metadata (tools, files, timing, usage).
  • No network calls, no analytics, no account. Your transcripts never leave your machine.

Development

npm run typecheck    # tsc --noEmit
npm test             # node:test suite

License

MIT