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

nexus-a2a-check

v1.0.0

Published

A2A Agent Card validator — instant compliance reports for Agent2Agent protocol implementations

Readme

nexus-check

npm version License: MIT A2A Spec

The npx tool for validating A2A Agent Cards. Run it against any agent URL and get an instant compliance report.

npx nexus-check https://myagent.example.com

Why this exists

The A2A protocol (Agent2Agent, Linux Foundation) defines how AI agents discover and communicate with each other. Every A2A agent publishes an Agent Card at /.well-known/agent.json — a structured manifest declaring its capabilities, skills, and endpoint.

Getting the Agent Card right is critical: it's the first thing any A2A client reads before attempting to communicate with your agent. But until now there was no clean tool to validate it.

nexus-check fills that gap. Zero install, instant output, spec-linked error messages.


Install & Usage

No install needed — run directly with npx:

npx nexus-check https://myagent.example.com

Or install globally:

npm install -g nexus-check
nexus-check https://myagent.example.com

Options

nexus-check <url> [options]

Options:
  --json              Output full report as JSON (for CI/CD pipelines)
  --summary           Print a single-line summary
  --skip-lifecycle    Skip the task lifecycle check (faster, no side-effects)
  --version           Print version
  --help              Show help

What it checks

| # | Check | What it validates | |---|-------|-------------------| | 1 | Agent Card Discovery | /.well-known/agent.json exists and returns valid JSON | | 2 | Schema Validation | All required fields (name, description, url, version, capabilities) present with correct types | | 3 | Signature Verification | Cryptographic signature structure valid (A2A v1.0) — skipped if unsigned | | 4 | Endpoint Reachability | The declared url endpoint responds to HTTP requests | | 5 | Task Lifecycle | JSON-RPC 2.0 a2a.sendMessage returns a valid Task with a recognised TaskState |

Scoring: pass = 1pt · warn/skip = 0.5pt · fail = 0pt · Max: 5/5


Example output

  nexus-check  A2A Agent Card Validator
  https://github.com/nexus-ai/nexus-check

Target:  https://myagent.example.com
Scanned: 30 May 2026, 14:22:01

────────────────────────────────────────────────────────────
  PASS  Agent Card Discovery   (312ms)
        ✓ Agent Card found at https://myagent.example.com/.well-known/agent.json
        ✓ Agent name: My Awesome Agent
        ✓ Protocol version: 1.0
────────────────────────────────────────────────────────────
  PASS  Schema Validation   (1ms)
        ✓ All required fields present and correctly typed
        ✓ Capabilities enabled: streaming, pushNotifications
        ✓ Declared 3 skill(s): web-search, summarise, translate
────────────────────────────────────────────────────────────
  SKIP  Signature Verification
        ○ No signature field — signed Agent Cards are optional in A2A v1.0
────────────────────────────────────────────────────────────
  PASS  Endpoint Reachability   (89ms)
        ✓ Agent endpoint responded with HTTP 200
        ✓ A2A-Version header: 1.0
────────────────────────────────────────────────────────────
  PASS  Task Lifecycle   (441ms)
        ✓ Task created: 3f2a8b1c-4d5e-4f6a-8b9c-0d1e2f3a4b5c
        ✓ Task state: working — valid A2A lifecycle state

────────────────────────────────────────────────────────────

  4.5/5 — mostly A2A compliant (add a signature for full marks)

  Powered by Nexus — trust infrastructure for the open agent web
  nexus.ai

Failure example

  FAIL  Schema Validation
        ✗ Missing required field: capabilities
          → https://a2a-protocol.org/latest/specification/#443-agentcapabilities
        ✗ Field "url" is not a valid URL: "myagent.example.com"
          → https://a2a-protocol.org/latest/specification/#441-agentcard

Every error message tells you exactly what's wrong and links to the relevant spec section.


Repo badge

Add this badge to your agent's README once it passes:

[![A2A Compliant](https://img.shields.io/badge/A2A-compliant-0F6E56)](https://github.com/nexus-ai/nexus-check)

A2A Compliant


Web version

A companion browser-based validator is available at web/index.html (or your deployed URL). Paste any agent URL and get the same report in the browser. Note: browser CORS policies may limit the lifecycle check — use the CLI for full validation.


A2A spec reference

Required Agent Card fields:

| Field | Type | Notes | |-------|------|-------| | name | string | Human-readable agent name | | description | string | What the agent does | | url | string (URL) | Primary A2A endpoint | | version | string | Agent software version | | capabilities | object | { streaming?, pushNotifications?, stateTransitionHistory? } |


Development

git clone https://github.com/nexus-ai/nexus-check
cd nexus-check
npm install
npm run build
npm test

# Run locally against a real agent
node dist/index.js https://myagent.example.com

Project structure

nexus-check/
├── src/
│   ├── index.ts          # CLI entry point
│   ├── validator.ts      # Orchestrates all checks
│   ├── reporter.ts       # Terminal output formatting
│   ├── types.ts          # A2A type definitions
│   └── checks/
│       ├── schema.ts     # Required field / type validation
│       ├── signature.ts  # Cryptographic signature verification
│       ├── reachability.ts  # Endpoint HTTP check
│       └── lifecycle.ts  # JSON-RPC task submission
├── web/
│   └── index.html        # Static browser validator
├── tests/
│   └── validator.test.ts
├── package.json
├── tsconfig.json
└── README.md

Contributing

Issues and PRs welcome. If you find a compliant agent that fails a check — or a non-compliant agent that passes — please open an issue with the agent URL.


About Nexus

nexus-check is the open source entry point for Nexus — trust and economic infrastructure for the open agent web. The validator puts Nexus in front of every developer building A2A-compliant agents.

nexus.ai


MIT License