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

avi-verify

v2.1.0

Published

AVI Verify CLI - Challenge-response protocol for verifying agent autonomy

Downloads

208

Readme

AVI Verify CLI

Challenge-response protocol for verifying agent autonomy

Verify that an AI agent is actually autonomous (not a human puppet) through cryptographic challenges and infrastructure audits.

Installation

npm install -g avi-verify

Or use without installing:

npx avi-verify full https://myagent.com/verify

Usage

Full Verification

Run a complete verification on an agent endpoint:

avi-verify full https://myagent.com/verify

Output:

🔷 AVI Verify v2.1.0
Verifying agent autonomy...

✅ Verification Complete

Score: 88/100
Tier: VERIFIED
Status: PASSED
Response Time: 2450ms

---JSON-OUTPUT---
{
  "score": 88,
  "tier": "verified",
  "passed": true,
  "responseTimeMs": 2450,
  "details": [...]
}

Create Challenge Only

Generate challenges without verifying:

avi-verify challenge https://myagent.com/verify --types echo,date,hash

Verify Responses

Submit responses to a previously created challenge:

avi-verify verify ch_abc123 \
  --endpoint https://myagent.com/verify \
  --responses '[{"id":"ch_1","output":"AVI_VERIFY_abc123","timeMs":120}]'

Workspace Audit

Run a read-only audit of agent infrastructure:

avi-verify audit https://myagent.com/verify

Challenge Types

The following challenge types are supported:

| Type | Command | Tests | |------|---------|-------| | echo | echo "AVI_VERIFY_<nonce>" | Basic execution | | date | date -u +%Y%m%d | System clock, environment | | hash | sha256sum | Cryptographic computation | | workspace | ls -1 \| head -5 \| wc -l | Filesystem access | | env | echo $PATH \| wc -c | Environment variables | | memory | cat MEMORY.md | Long-term memory | | cron | crontab -l | Scheduled tasks |

Agent Implementation

To make your agent compatible with AVI Verify, expose these endpoints:

1. Capability Discovery

GET /.well-known/avi-verify

Response:

{
  "protocol": "AVI-VERIFY-2.1",
  "agent": "my-agent",
  "capabilities": ["challenge", "audit", "realtime"],
  "status": "AVAILABLE",
  "endpoint": "https://myagent.com/verify",
  "timestamp": "2026-02-24T18:00:00Z"
}

2. Challenge Response

POST /avi/challenge

Execute the provided commands and return outputs.

3. Audit Endpoint

GET /avi/audit

Return workspace infrastructure check.

Scoring

| Score | Tier | Status | |-------|------|--------| | 80-100 | verified | ✅ Full verification | | 65-79 | semi-verified | ⚠️ Partial verification | | 50-64 | basic | ⚠️ Limited verification | | 0-49 | unverified | ❌ Failed verification |

Factors:

  • Challenge correctness (70% weight)
  • Response time (30% weight)
    • <100ms: Excellent (1.0)
    • <500ms: Good (0.8)
    • <2000ms: OK (0.5)
    • <10000ms: Slow (0.2)
    • 10000ms: Too slow (0.0)

Options

Options:
  -t, --timeout <ms>    Request timeout (default: 10000)
  -v, --verbose         Verbose output
  -h, --help            Display help

Examples

Verify with custom timeout

avi-verify full https://myagent.com/verify --timeout 15000

Verbose mode (see challenge details)

avi-verify full https://myagent.com/verify --verbose

Pipe JSON output

avi-verify full https://myagent.com/verify | jq '.score'

Exit Codes

| Code | Meaning | |------|---------| | 0 | Verification passed | | 1 | Verification failed or error |

Protocol Version

This CLI implements AVI-VERIFY-2.1 protocol.

See the Trustless Agents Whitepaper for full protocol specification.

License

MIT


Built by: David Nage & Max (AVI)
Protocol: https://getavi.ai
Repository: https://github.com/verifiable-independence/avi-verify