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

@equationalapplications/core-llm-wiki

v9.2.0

Published

Platform-agnostic TypeScript engine for hybrid LLM memory. OKF v0.2 (llm-wiki/2) conformance with back-compat to v0.1 (llm-wiki/1) and profile-0 bundles. Episodic fact extraction, semantic vector search, multi-agent architectures over SQLite. Bring your o

Readme

@equationalapplications/core-llm-wiki

Platform-agnostic TypeScript engine for hybrid LLM memory. Features episodic fact extraction, semantic vector search, and multi-agent architectures over SQLite. Bring your own adapter.

npm version npm downloads TypeScript License: MIT

📖 Docs · GitHub · ScopeLab · WikiDemo · Changelog · Issues

Inspired by Andrej Karpathy's LLM Wiki memory spec.

📖 Documentation: equationalapplications.github.io/expo-llm-wiki/packages/core. Start with the Node.js quickstart, or go straight to the API reference.

Features

  • Any SQLite driver. Pure TypeScript with no native code. You pass a small SQLiteAdapter for better-sqlite3, sql.js, expo-sqlite or anything else.
  • Bring your own inference. One generateText function, plus an optional embed for semantic search. The engine owns prompts, JSON parsing and database writes.
  • Hybrid retrieval. Vector cosine ranking with a keyword fallback (SQLite FTS5 or in-memory MiniSearch), tunable per call.
  • Multi-entity reads. Search several namespaces in one pass with tierWeights and tierFloors.
  • GraphRAG. Per-entity seeded ontologies (Strict, Emergent or Off) and SQL-only graph traversal.
  • Maintenance. Librarian, heal, reembed and prune jobs. By default you run them on your own schedule (deferred), or set maintenance: 'auto' to have write() start the librarian and heal (reembed and prune stay on your schedule).
  • Temporal facts, drafts and grounding for trust and provenance.
  • OKF v0.1 and v0.2 import and export.
  • Diagnostics. An optional onDiagnostic hook with typed, content-free reports.

Installation

npm install @equationalapplications/core-llm-wiki
npm install better-sqlite3   # Node.js, or sql.js for the browser

Requires Node.js 20 or later. Using Expo or React? Install expo-llm-wiki or react-llm-wiki instead. Both re-export core.

Quick look

import { createWiki, formatContext } from '@equationalapplications/core-llm-wiki';

const wiki = createWiki(adapter, { llmProvider }); // your SQLiteAdapter and LLMProvider
await wiki.setup();

await wiki.write('user-123', { event_type: 'observation', summary: 'Loves hiking on weekends.' });
await wiki.runLibrarian('user-123'); // extract facts from events
const context = formatContext(await wiki.read('user-123', 'weekend plans'));

The Node.js quickstart shows a complete adapter and llmProvider.

Monorepo Ecosystem

| Package | Purpose | | ----- | ----- | | @equationalapplications/core-llm-wiki | Persistent episodic memory | | @equationalapplications/expo-llm-wiki | Persistent episodic memory for Expo/React Native | | @equationalapplications/react-llm-wiki | Persistent episodic memory for Web | | @equationalapplications/prisma-outbox | Sync SQLite outbox events to Prisma | | @equationalapplications/core-llm-tools | Gemini tool schemas and capability injector | | @equationalapplications/core-okf | Zero-dependency Open Knowledge Format (OKF) v0.1 + v0.2 primitives — parse and produce interoperable knowledge bundles. | | @equationalapplications/schema-org-llm-wiki | Curated schema.org warm-agent ontology manifest | | @equationalapplications/schema-software-org | Software-organization executive ontology manifest — 21 node types, 42 edges, warm-agent superset, data-only | | @equationalapplications/mcp-server | MCP server exposing SynapseTree memory tools to coding agents |

License

MIT


Made with ❤️ by Equational Applications LLC. https://equationalapplications.com/