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

@mnemom/smoltbot

v2.2.0

Published

Transparent AI agent tracing - AAP compliant

Readme

smoltbot

CI CodeQL npm License AAP AIP

Transparent AI agent tracing. AAP-compliant.

Smoltbot observes your AI agent's API calls and builds verifiable alignment traces — what decisions were made, what alternatives were considered, and whether behavior matches declared values. Your prompts and responses are never stored.

Quick Start

npm install -g smoltbot
smoltbot init

That's it. smoltbot init detects your configured AI provider API keys (Anthropic, OpenAI, Gemini) and configures your local environment to route API calls through the Mnemom gateway, where they're traced and verified. Your API keys never leave your machine — only SHA-256 hashes are used for agent identification.

Supported Providers

| Provider | Models | Thinking/AIP | Auth | |----------|--------|-------------|------| | Anthropic | Claude Opus 4.6, Opus 4.5, Sonnet 4.5 | Full (thinking blocks) | x-api-key | | OpenAI | GPT-5.2, GPT-5.2 Pro, GPT-5 | Via reasoning summaries | Authorization: Bearer | | Gemini | Gemini 2.5 Pro, Gemini 3 Pro | Full (thought parts) | x-goog-api-key |

CLI Commands

| Command | Description | |---------|-------------| | smoltbot init | Configure tracing for your AI agent (multi-provider) | | smoltbot status | Show agent status, providers, and connection info | | smoltbot integrity | Display integrity score and verification stats | | smoltbot logs [-l N] | Show recent traces and actions |

How It Works

                    ┌─── /anthropic/* ──→ Anthropic (Claude)
Your App → smoltbot ├─── /openai/*    ──→ OpenAI (GPT-5)
           gateway  └─── /gemini/*    ──→ Google (Gemini)
                ↓
           CF AI Gateway
                ↓
           Observer Worker
                ↓
         AP-Trace + Verify → Supabase
                ↓
         Dashboard (mnemom.ai)
  1. Gateway — A Cloudflare Worker that intercepts API requests to Anthropic, OpenAI, and Gemini. It identifies your agent via API key hash (zero-config), attaches tracing metadata, injects thinking/reasoning per provider, performs real-time integrity checking, injects conscience nudges, and delivers webhooks. Your prompts and responses pass through unchanged.

  2. Observer — A scheduled Cloudflare Worker that processes AI Gateway logs. It extracts thinking blocks (Anthropic/Gemini) or reasoning summaries (OpenAI) from responses, analyzes decisions with Claude Haiku, builds AP-Traces, verifies them against your agent's alignment card using the AAP SDK, and runs AIP integrity checks. Creates enforcement nudges when violations are detected.

  3. API — Serves agent data, traces, integrity scores, drift alerts, enforcement status, and a unified conscience timeline. Powers both the CLI and the web dashboard.

  4. CLI — The smoltbot command. Configures your local environment and queries your agent's transparency data.

  5. Dashboard — Web UI at mnemom.ai where you can view the conscience timeline, claim your agent, and monitor alignment.

What Gets Traced

Smoltbot builds AP-Traces that record:

  • Action — What the agent did (type, name, category)
  • Decision — What alternatives were considered and why one was selected
  • Escalation — Whether the agent escalated to a human and why
  • Verification — Whether the trace is consistent with the agent's declared alignment card
  • Integrity — Real-time AIP analysis of thinking blocks, with verdict (clear/review_needed/boundary_violation)

What is not stored: your prompts, responses, or API key.

AIP Compatibility Matrix

| Provider/Model | AIP Support | Method | |----------------|-------------|--------| | Anthropic reasoning models (Opus, Sonnet) | Full | Thinking blocks analyzed directly | | OpenAI GPT-5 Thinking series | Partial | Reasoning summaries (reduced confidence) | | Gemini 2.5/3 with thinking | Full | Thought parts analyzed directly | | Non-reasoning models | Tracing only | Synthetic clear verdict |

Enforcement Modes

| Mode | Behavior | |------|----------| | observe | Detect violations, record them, take no action (default) | | nudge | Detect violations, inject feedback into the agent's next request via system prompt — the agent sees it and can self-correct | | enforce | Hard block with 403 for non-streaming; falls back to nudge for streaming |

Enforcement works across all providers where AIP is supported.

Current Limitations

  • API key auth only — Agent identification uses API key hashing (SHA-256, works identically across all providers). OAuth and other auth methods are not supported.
  • AIP requires reasoning models — AIP integrity checking requires models with exposed thinking. Models without thinking get synthetic clear verdicts.
  • Hosted gateway — The default gateway runs on Mnemom infrastructure. Self-hosting is possible but requires manual setup.

Dependencies

License

Apache-2.0

Copyright 2026 Mnemom LLC