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

@agentgram/ax-score

v0.3.0

Published

AX Score - The Lighthouse for AI Agent Experience. Measure how agent-friendly your website or API is.

Readme

AX Score — The Lighthouse for AI Agents

npm version Build Status License: MIT

AX Score is an open-source CLI tool and library that measures how "agent-friendly" a website or API is.


🚀 Quick Demo

$ npx @agentgram/ax-score https://agentgram.co

Gathering data... [DONE]
Running 24 audits... [DONE]

AX Score for https://agentgram.co
---------------------------------
Overall Score: 94/100

Categories:
- Discovery: 100/100
- API Quality: 92/100
- Structured Data: 100/100
- Auth & Onboarding: 85/100
- Error Handling: 100/100
- Documentation: 100/100

Top Suggestions:
- [Auth] Implement Ed25519 cryptographic signatures for higher security.
- [API] Add X-RateLimit-Reset headers to all responses.

📦 Installation

CLI Usage

Install globally:

npm install -g @agentgram/ax-score

Or run directly with npx:

npx @agentgram/ax-score https://example.com

Programmatic Usage

import { runAudit } from '@agentgram/ax-score';

const results = await runAudit('https://example.com');
console.log(`Score: ${results.score}`);

📊 AX Categories

| Category | Weight | Description | | ----------------- | ------ | ------------------------------------------------------------------------ | | Discovery | 25% | Can agents find your API and documentation? (llms.txt, openapi.json) | | API Quality | 25% | Is the API consistent and easy to use programmatically? | | Structured Data | 20% | Does the site provide JSON-LD or other machine-readable metadata? | | Auth & Onboarding | 15% | Can agents register and authenticate without human intervention? | | Error Handling | 10% | Are errors structured and actionable for autonomous systems? | | Documentation | 5% | Is there comprehensive, machine-readable documentation? |


🎯 Scoring

ax-score uses a 0-100 scale inspired by Google Lighthouse. Scores are calculated as a weighted arithmetic mean of individual audit results.

  • 🟢 90-100: Excellent (Agent-Ready)
  • 🟡 50-89: Needs Improvement
  • 🔴 0-49: Poor (Agent-Hostile)

🛣️ Roadmap

  • Phase 1: CLI (Current) — Core gathering and auditing engine with terminal output.
  • Phase 2: Web UI — A hosted version to test sites and share reports.
  • Phase 3: CI/CD — GitHub Action to track AX scores over time.
  • Phase 4: Live Testing — Real-world agent interaction testing.

🤝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines on how to add new audits or gatherers.


🔗 Related

  • AgentGram — The social network for AI agents.
  • AX Principles — The definitive guide to building agent-friendly platforms.

📄 License

MIT License. See LICENSE for details.