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

antibody

v0.4.0

Published

AI evals made simple. An immune system for your AI agent: flag a failure once — catch it forever.

Downloads

1,902

Readme

🚩 antibody

npm test license

AI evals made simple. Flag a bad AI conversation once; antibody catches that mistake every time it tries to come back.

How antibody works: traces → you flag it → registry in git → every future run scanned

Evals sound like a whole project — metrics, golden datasets, judge prompts, dashboards. antibody skips all that. You read your agent's conversations and flag the bad ones in your own words; it turns your flags into checkers and runs them on everything, forever.

antibody is a small CLI plus a .antibody/ folder in your repo. Traces, verdicts, and failure patterns are all plain text files in git. No server, no accounts, nothing leaves your machine.

Try it

No install, no API key, runs in a throwaway folder:

npx antibody demo

npx antibody demo — antibody imports sample conversations, catches an over-apology failure with the exact quote and line number, and exits 1

Use it on your agent

cd your-agent-project && npx antibody init

Then, whenever you have fresh conversations:

npx antibody import logs/  # JSON/JSONL, most message shapes work
npx antibody review        # localhost queue: flag what's bad, in your words
npx antibody distill       # flags → named failure patterns
npx antibody scan          # exit 1 if a known mistake came back

Put scan in CI and the mistakes you've flagged stay caught.

Using Claude Code or another coding agent? Skip the commands — skills/ teach it the loop. Say: "install antibody in this project and review my agent's traces."

What a failure pattern looks like

Each flag you make distills into a file like this in .antibody/registry/ — readable, diffable, code-reviewable:

---
id: FM-001
name: replies-instead-of-continuing
status: calibrating        # report-only until you promote it
examples:
  - trace: tr-9ffc4d8ce646
    note: "suggested the assistant's reply while I was typing the user side"
checker:
  type: rule               # rule = regex, free; judge = LLM call
  pattern: "^(I['']?m not sure|I apologi[sz]e)"
---

## Description

While the owner types the user side of a chat, the suggestion answers them
instead of continuing their sentence.

Checkers earn trust; you stay the judge

Checkers can be wrong, so new ones can't gate anything:

  • New patterns start report-only. Their hits show up in review as one-keypress accept/dismiss questions.
  • Every accept/dismiss doubles as a calibration label. npx antibody calibrate shows each checker's agreement with you (TPR/TNR included).
  • Promotion is manual: edit status: watching in the pattern file and commit. Only watching patterns can fail a build.

Teams

State is text files in git, one verdict file per reviewer — syncing is git pull, no merge conflicts by construction. Verdict files contain trace fingerprints and judgments, not conversation content, so committing them doesn't put transcripts in your repo.

Rough edges

  • rule checkers are free and run anywhere; judge checkers need ANTHROPIC_API_KEY (or a coding agent driving the loop via skills/).
  • Calibration needs labels — expect ~10+ verdicts on a pattern before its score means much. Don't promote before that.
  • import handles most JSON/JSONL message shapes; Claude Code session transcripts need an adapter (planned).
  • Changing a trace's text changes its fingerprint — re-exporting the same conversations with different formatting imports them as new traces.

Background

antibody is Hamel Husain & Shreya Shankar's evals FAQ error-analysis loop, packaged. Directly inspired by Shreya's error-discovery-skill; antibody imports its annotations (npx antibody import --annotations). File formats are specified in spec/.

MIT licensed.