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

@kullailabs/mcop-core

v0.2.1

Published

MCOP (Meta-Cognitive Optimization Protocol) core primitives — deterministic, auditable, provenance-tracked reasoning: NOVA-NEO encoder, Stigmergy v5, Holographic Etch.

Downloads

421

Readme

@kullailabs/mcop-core

npm version provenance license

Core primitives for the Meta-Cognitive Optimization Protocol (MCOP) — a deterministic, auditable, provenance-tracked reasoning substrate for AI agents.

Published with npm provenance: every release is cryptographically linked to the exact GitHub Actions build that produced it (Sigstore transparency log).

Install

npm install @kullailabs/mcop-core
# or
pnpm add @kullailabs/mcop-core
# or
yarn add @kullailabs/mcop-core

Works in Node.js 18+ (ESM and CommonJS).

Primitives

| Class | Purpose | |---|---| | NovaNeoEncoder | SHA-256 → fixed-dimension Float64 context tensor. Deterministic, optional L2 normalization. | | StigmergyV5 | Cosine-similarity pheromone store with Merkle-chained trace hashes. | | HolographicEtch | Rank-1 micro-updates with configurable confidence floor and audit log. |

Quick start

import {
  NovaNeoEncoder,
  StigmergyV5,
  HolographicEtch,
} from '@kullailabs/mcop-core';

const encoder = new NovaNeoEncoder({ dimensions: 256, normalize: true });
const stigmergy = new StigmergyV5({ resonanceThreshold: 0.5 });
const etch = new HolographicEtch({ confidenceFloor: 0.8 });

const context = encoder.encode('user asked about GDPR Article 17');
const synthesis = encoder.encode('right-to-erasure procedure');

const trace = stigmergy.recordTrace(context, synthesis, { source: 'policy-doc' });
console.log('Merkle root:', stigmergy.getMerkleRoot());

const resonance = stigmergy.getResonance(encoder.encode('how do I delete user data?'));
console.log('Resonance score:', resonance.score);

const record = etch.applyEtch(context, synthesis, 'reinforce GDPR pathway');
console.log('Etch hash:', record.hash);

Optional debug hook

The encoder is zero-dependency by default. To inspect provenance events, register a hook:

import { setNovaNeoDebugHook } from '@kullailabs/mcop-core';

setNovaNeoDebugHook((event) => {
  console.log(event.msg, event.provenance);
});

Types

All primitives are fully typed. Key exports:

  • ContextTensornumber[]
  • PheromoneTrace — Merkle-chained trace record
  • ResonanceResult{ score, trace? }
  • EtchRecord — audit log entry
  • NovaNeoConfig, StigmergyConfig, HolographicEtchConfig

Supply-chain posture

  • Built and published only from GitHub Actions via OIDC — no long-lived npm tokens.
  • npm publish --provenance emits a Sigstore transparency log entry for each release.
  • All GitHub Actions used in the release pipeline are pinned to SHA-1.
  • Source available at Kuonirad/MCOP-Framework-2.0.

License

Business Source License 1.1 (BUSL 1.1) — see LICENSE and NOTICE.md. The codebase as of the Change Date (2030-04-26) automatically converts to the MIT License. Releases prior to 2026-04-26 remain available under MIT — see LICENSE-MIT-LEGACY.

© 2025-2026 Kevin John Kull (Kuonirad) and KullAILABS MCOP Framework contributors.