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

grid-memory

v1.2.4

Published

Persistent shared memory for multi-agent teams — append-only writes, relevance-weighted reads, TTL pruning, context injection

Readme

Grid Memory

Grid Memory catches the things your AI agents forget.

Shared persistent memory for multi-agent teams. Any agent writes. Any agent reads. The Grid remembers — and tells you when something has been forgotten, contradicted, or lost.


What's Free

| Feature | Community | Enterprise | |---------|-----------|------------| | Memory Engine (write, read, inject, TTL) | ✓ Free | ✓ | | Conflict Detection | ✓ Free | ✓ | | Amnesia Detection | ✓ Free | ✓ | | Decision Graph | ✓ Free | ✓ | | Developer ROI metrics | ✓ Free | ✓ | | Governance (contracts, constitutions) | ✓ Free | ✓ | | Federation | ✓ Free | ✓ | | OpenAI-compatible proxy | ✓ Free | ✓ | | Executive Dashboard | — (returns 402) | ✓ MIKE | | QBR Generator | — (returns 402) | ✓ MIKE | | Portfolio Analytics | — (returns 402) | ✓ MIKE | | Semantic Search | — | ✓ Enterprise | | Native Connectors | — | ✓ Enterprise | | SSO / SAML | — | ✓ Enterprise | | PostgreSQL Backend | — | ✓ Enterprise |

What's Enterprise

Executive Dashboard, QBR Generator, Portfolio Analytics, Opportunity Pipeline, Board Reporting — gridmemory.io/enterprise

PostgreSQL backend, SSO/SAML, advanced audit retention, SLA + support — gridmemory.io/enterprise


The Three Layers

Layer 1: Memory Engine

The append-only, tamper-evident store. Every entry is timestamped, tagged, and never overwritten.

  • Write decisions, facts, observations via API
  • Query with relevance-weighted retrieval
  • TTL-based expiry for stale data
  • Context injection for subagents (max 4KB)

Layer 2: Governance

Policies, contracts, federation, and security that control how memory is used.

  • Memory Contracts — schema enforcement (type checking for memory)
  • Constitutions — natural-language policy rules ("Never store API keys")
  • Federation — sync Grid instances across teams or data centers
  • Audit Trail — HMAC-SHA256 hash chaining for tamper evidence
  • PII Detection — automatic SSN, credit card, email scanning

Layer 3: Intelligence (MIKE)

Business intelligence derived from your organization's memory.

  • Opportunity Engine — continuously surfaces revenue opportunities
  • Decision Graph — maps every decision to its outcome
  • QBR Generator — quarterly business reviews in seconds
  • Amnesia Detector — finds knowledge gaps before they become crises
  • Executive Dashboard — one screen showing everything that matters

Documentation

| Document | Audience | What It Covers | |----------|----------|---------------| | Real Data Onboarding | Everyone | Import your data, generate QBR, see ROI | |----------|----------|---------------| | Complete Guide | Everyone | Installation, every feature, API reference, architecture | | Intelligence Layer Guide | Executives, consultants | Business value, ROI, opportunity engine, decision intelligence | | Installation | DevOps | Quick install, Docker, Python pip | | Security | Security teams | Authentication, API keys, PII detection, audit |


Quick Start

Package Status:

  • npm: ✅ Published — npm install grid-memory
  • PyPI: ✅ Published — pip install grid-memory
  • Docker: ⏳ Pending
  • Enterprise (MIKE + Connectors + Semantic Search): 🔒 Private — contact [email protected]

Install & Run

# Install (npm)
npm install grid-memory

# Start the server (default: http://localhost:8080)
node ./node_modules/grid-memory/server.js

# Or clone the repo and run directly
git clone https://github.com/nickagi2026/grid-memory.git
cd grid-memory
PORT=8080 node server.js

Try It

# Write your first entry
curl -X POST http://localhost:8080/write \
  -H "Content-Type: application/json" \
  -d '{"agent_id":"my-agent","type":"decision","content":"Use PostgreSQL. Rationale: ACID compliance.","tags":["topic:database"]}'

# Query it back
curl "http://localhost:8080/query?tags=topic:database"

# See your business intelligence
curl http://localhost:8080/roi
curl http://localhost:8080/executive/dashboard

Python SDK

cd sdk/python
pip install -e .

API at a Glance

| What | Endpoint | |------|----------| | Write memory | POST /write | | Query memory | GET|POST /query | | Inject context | GET|POST /inject | | Register contract | POST /contracts | | Natural-language policy | POST /constitution/from-text | | One-click federation | POST /federation/quick-connect | | Executive dashboard | GET /executive/dashboard | | Decision graph | GET /decisions/graph | | QBR generation | GET /qbr | | Amnesia detection | GET /amnesia/detect | | Audit verification | GET /gateway/audit/verify |

Requirements

  • Node.js 18+
  • Python 3.8+ (optional, for SDK)
  • Disk: 100MB minimum, 1GB recommended

Grid Memory — the append-only, tamper-evident memory layer for multi-agent teams.