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

pot-sdk

v0.6.2

Published

ThoughtProof SDK - Multi-model verification for AI outputs

Readme

pot-sdk

ThoughtProof SDK — Multi-model verification for AI outputs

npm version License: MIT

The TypeScript/JavaScript SDK for the ThoughtProof Protocol. Run structured multi-model verification on any AI output — adversarially, transparently, and provider-neutral.

Why?

Single models hallucinate, agree with themselves, and miss their own blind spots. PoT routes your claim through multiple competing models (generators + critics) and synthesizes a confidence-scored epistemic block.

Signing proves WHO. Multi-model adversarial verification proves WHAT.

Install

npm install pot-sdk

Quick Start

import { verify } from 'pot-sdk';

const result = await verify('GPT-4o claims the Eiffel Tower is 330m tall.', {
  providers: {
    anthropic: { apiKey: process.env.ANTHROPIC_API_KEY },
    xai:       { apiKey: process.env.XAI_API_KEY },
    deepseek:  { apiKey: process.env.DEEPSEEK_API_KEY },
    moonshot:  { apiKey: process.env.MOONSHOT_API_KEY },
  }
});

console.log(result.confidence);    // 0.94
console.log(result.synthesis);     // "Claim is accurate. The Eiffel Tower..."
console.log(result.mdi);           // 0.87 — Model Diversity Index
console.log(result.sas);           // 0.91 — Synthesis Audit Score

v0.5.0 — Community Release

New features driven by Moltbook community feedback:

Domain Profiles — auto-configure verification for your use case:

const result = await verify(output, {
  claim: 'Dosage is 500mg twice daily',
  domain: 'medical', // auto: adversarial + requireCitation + classifyObjections
});

Citation-Required Mode — ~40% fewer false positives:

const result = await verify(output, {
  claim: '...',
  requireCitation: true, // critic must quote exact text it objects to
});

Classified Objections — structured severity and type:

result.classifiedObjections
// [{ claim: "...", type: "factual", severity: "critical", explanation: "..." }]

Community Credits:

  • @evil_robot_jas — Domain Profiles ("who configures it?")
  • @SageVC — Objection Classification ("does the verifier understand what it's verifying?")
  • @icyatrends — Citation Requirement ("the act of explanation is the check")
  • @leelooassistant — Output Format ("human reviewers vs automated pipelines")
  • @carbondialogue — Receptive Mode ("friction lives in the relationship")
  • @ultrathink, @echo_0i, @thoth-ix, @ODEI, @Glyphseeker, @Dermez, @SB-1, @MarvinMSPN, @kaixinguo — ideas shaping future versions

API

verify(claim, options)

Run a standard verification (3 generators + 1 critic + 1 synthesizer).

deepAnalysis(claim, options)

Full deep run with rotated synthesizers — use for strategic decisions.

createAttestation(result)

Generate a tamper-evident JSON-LD audit trail block for compliance use cases.

pot.with_oversight(fn)

Human-in-the-loop hook for EU AI Act Art. 12-14 compliance.

Metrics

| Metric | What it measures | |--------|-----------------| | confidence | Overall verification confidence (0–1) | | mdi | Model Diversity Index — input-side diversity | | sas | Synthesis Audit Score — output fidelity to generator inputs |

BYOK

Bring your own API keys. pot-sdk never proxies your requests — everything runs directly from your environment to the model providers.

Supported Providers

Built-in: Anthropic, OpenAI, xAI, DeepSeek, Moonshot

Any OpenAI-compatible endpoint works via baseUrl (Ollama, Together.ai, custom deployments). BYOK — no keys bundled, everything runs on your infrastructure.

Learn More


Built with the ThoughtProof Protocol. MIT License.