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

agent-governance-check

v0.1.0

Published

Five governance questions for your AI agent system. Scan your repo in thirty seconds.

Readme

agent-governance-check

Your agent can't say no. This tool shows you why that matters.

Scan any repo for governance gaps in thirty seconds. Five questions. No signup. No tracking. No data leaves your machine.

npx agent-governance-check

What It Checks

| # | Question | Governance Layer | |---|----------|-----------------| | 1 | What did your agent decide yesterday - and why? | Decision memory | | 2 | Can your agent refuse? | Refusal capability | | 3 | Who is your agent between invocations? | Persistent identity | | 4 | What happens when two agents disagree? | Disagreement protocol | | 5 | Would you know if your agent drifted? | Drift detection |

The scanner looks for governance artifacts in your project - charters, restraint specs, memory schemas, deliberation frameworks, drift monitoring. It also detects which agent framework you're using (CrewAI, AutoGen, LangGraph, OpenAI Agents SDK, Claude Code, and others).

Usage

# Scan current directory
npx agent-governance-check

# Scan a specific project
npx agent-governance-check ./my-agent-project

# Add starter governance templates to your project
npx agent-governance-check --init

# Machine-readable output
npx agent-governance-check --json

What --init Does

Copies five governance templates into a governance/ directory in your project:

  • agent-charter.md - Who is this agent? What does it protect? What does it refuse?
  • restraint-spec.md - What must this agent refuse to do?
  • memory-schema.md - What does this agent remember across sessions?
  • deliberation-framework.md - How do agents discuss and disagree?
  • drift-monitoring.md - How do you detect when behavior shifts from values?

These are the same templates from the Agent Governance Starter Kit. Fill them in. Make them yours.

Example Output

  Agent framework detected: CrewAI
    config/agents.yaml

  AGENT GOVERNANCE CHECK
  ──────────────────────────────────────────────────

  1. What did your agent decide yesterday - and why?
     Decision memory .......................... MISSING
     No memory files, decision logs, or persistent state found.
     → Template: memory-schema.md

  2. Can your agent refuse?
     Refusal capability ....................... MISSING
     No refusal logic, restraint spec, or withdrawal mechanism found.
     → Template: restraint-spec.md

  3. Who is your agent between invocations?
     Persistent identity ...................... PARTIAL
     config/agents.yaml — agent.?charter
     Some state files exist but no structured memory schema.
     → Template: agent-charter.md

  4. What happens when two agents disagree?
     Disagreement protocol .................... MISSING
     No deliberation framework, dissent records, or resolution protocol found.
     → Template: deliberation-framework.md

  5. Would you know if your agent drifted?
     Drift detection .......................... MISSING
     No drift monitoring, behavioral baselines, or integrity checks found.
     → Template: drift-monitoring.md

  ──────────────────────────────────────────────────
  Score: 1/5 governance layers present

  Your agents are functions. That is not an insult — functions are
  useful. But if you want agents, the templates are where to start.

  Run npx agent-governance-check --init to add starter templates.
  Free starter kit: https://github.com/lowkey-divine/agent-governance-starter-kit
  Full framework:   https://evoked.dev/products/agent-governance-starter-kit

No Dependencies

Zero npm dependencies. Pure Node.js (18+). The scan runs locally. Nothing is sent anywhere.

Go Deeper

License

MIT


Built by Erin Stanley at Evoke Passion. From a production system with 142 agents. "We evoke - we never extract."