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

corsoul

v0.1.6

Published

The free, public, MIT client for Corsoul cognitive memory: offline remember and recall, plus all-tier prospective memory (intend/due/resolve) for AI agents. Reduced schema (the licensed engine layer's tables are absent), so it is not the paid-to-free down

Readme

corsoul

The free, public, MIT client for Corsoul — durable remember / recall (plus all-tier prospective memory) for AI agents, on a local store (PGLite by default, or any Postgres via DATABASE_URL). No license, no cloud brain, no telemetry.

Reduced schema (the paid engine layer's tables are absent) and no cloud-brain code — storage and keyword recall are fully offline. Semantic recall is opt-in: if you configure an embeddings provider, your remember/recall text is sent to THAT provider to be embedded (a local Ollama stays on your machine; a hosted provider does not). Nothing else leaves your machine — no Corsoul server, no phone-home. With no provider set, recall is keyword-only and fully local.

Install

npm install corsoul        # library
npm install -g corsoul     # also installs the `corsoul` CLI / MCP server

Use as a library

import { scope } from 'corsoul'

const npc = scope('game-x:companion:aria')
await npc.remember('the guide helped me cross the river at dusk')

const ctx = await npc.recall('who helped me?')
console.log(ctx.facts)      // ['the guide helped me cross the river at dusk']
console.log(ctx.related)    // []  ← graph neighbours: paid cloud tier
console.log(ctx.patterns)   // []  ← abstract patterns: paid cloud tier

Use with an AI agent (MCP)

Installed globally, corsoul is also a free, offline MCP server. One command wires it into a client — it merges the server into the client's config and writes the capture contract, so the agent recalls/remembers on its own:

corsoul                                            # stdio (Claude Code, Codex, Cursor, Cline)
corsoul connect claude-code --scope=myapp:me:v1    # also: codex, cursor, cline, claude-desktop, openclaw

Full setup → the install guide on GitHub. Every agent, HTTP/YAML agents via one-command named profiles, corsoul contract, a supervised shared brain, shared-vs-separate topologies, and step-by-step verification live there.

Tools: corsoul_remember / corsoul_recall / corsoul_forget, the prospective-memory trio (corsoul_intend / corsoul_due / corsoul_resolve_intent), and corsoul_set_core / corsoul_get_core. There is deliberately no corsoul_sleep — graph/pattern consolidation is the paid tier, so recall always returns related: [] / patterns: [].

API

| Method | Description | |---|---| | scope(id) | An automatically-isolated memory handle. | | remember(text, { type?, metadata? }) | Store an event; immediately recallable. | | recall(query, { topK? }) | Semantic + keyword recall over Layer 1. | | forget(slug) | Soft-delete a memory (reversible). | | intend({ text, dueAt?/dueInSec?, cadence? }) | Record a prospective intention. Returns its id. | | due({ within? }) | Pure read: intentions due now (or within a window). Never fires. | | resolveIntent(id, { status }) | Close an intent (done/cancelled/expired); a recurring done reschedules. | | setCore({ identity?, values?, disposition? }) | Set the baseline self. | | getCore() | Read the current core. |

Storage + keyword recall need no LLM. Semantic recall needs an embeddings provider (LLM_BASE_URL + LLM_EMBED_MODEL, or run corsoul setup). Data dir: CORSOUL_DATA_DIR (default ~/.corsoul/db) or DATABASE_URL. The full config table and the corsoul activation scheduler are in the install guide.

Upgrading

A licensed, cloud-capable client (private delivery) adds connectCloudBrain() + scope.sleep() — graph + pattern consolidation on a cloud brain while your data stays local. Not a public npm install: see the Corsoul project or write to [email protected].

License

MIT © Corsoul AGI