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

recallic

v0.3.4

Published

TypeScript client for Recallic, an LLM-free memory layer for AI agents

Readme

recallic (TypeScript)

Website: recallic.com

Client for Recallic: an LLM-free memory layer for AI agents. Recallic runs on your own machine, needs no LLM calls, and declines instead of guessing.

npm install recallic

You need a running Recallic server. The quickest way is docker compose up -d in the repository; see the quickstart there.

import { Memory } from "recallic";

const mem = new Memory({ apiKey: process.env.RECALLIC_API_KEY! });   // baseUrl defaults to http://localhost:8000
await mem.store("I moved to Pune last month for a job at Infosys.");
const out = await mem.recall("Where do I live?");
console.log(out.status, out.memories.map((m) => m.content));
await mem.used(out);                                                  // one line of feedback: Recallic learns from it on its own

How readily recall answers is one option (server 0.2.5 or newer; default "balanced"):

await mem.recall("Which came first, the Goa trip or the Pune workshop?", { mode: "helpful" });  // fewer refusals, computed_answer
await mem.recall("What dose did the doctor prescribe?", { mode: "cautious" });                    // stricter: declines more
await mem.recall("What dose did the doctor prescribe?", { mode: "cautious_lite" });               // cautious, with a second try before declining

Storing a whole conversation at once (server 0.2.6 or newer; an older server gets one store per message):

await mem.storeMany(["I moved to Pune in March.", { content: "Mira got married.", timestamp: 1717200000 }]);

Correcting a memory keeps when it was said; the memory gets a new id (server 0.2.7 or newer):

await mem.update(memoryId, "I moved to Mumbai in March.");

With an LLM: context() gives the recalled memories as prompt text, and answer() combines your LLM with Recallic's own checked answer (your LLM first; Recallic's answer when the LLM says it does not know):

const text = await mem.context("Where do I live?");
const res = await mem.answer("Where do I live?", (system, user) => myLlm(system, user));
console.log(res.answer, res.source);   // "llm" | "recallic" | "none"

On questions about facts that change over time (a held-out test of 71 questions, gpt-4o-mini), answer() got 61 right and 2 wrong; Mem0 with the same model 51 / 0, Zep's Graphiti 50 / 3.

Changes

  • 0.3.3: context() and answer() (above), plus formatContext() and combine() for your own prompts.
  • 0.3.0: renamed from recallix to recallic: npm install recallic, import { Memory } from "recallic". Nothing else changed.
  • 0.2.7: update(memoryId, content) corrects a memory (PUT /memory/{id}).
  • 0.2.6: storeMany(items) stores many messages in one request per 100 (POST /memory/store_batch); store(content, { timestamp }) keeps when a message was originally said.
  • 0.2.5: recall(query, { mode: "cautious" | "balanced" | "helpful" }). (Version aligned with the Python SDK.)

Node 18+ (uses the built-in fetch). License: Apache-2.0.