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

pi-memory-evolution

v0.4.2

Published

Memory that maintains itself. Pi learns what matters, injects what this session needs, and recalls the rest — nothing to configure, no commands to learn.

Readme

pi-memory-evolution

CI npm MIT

English · 简体中文

Persistent, evidence-aware memory for Pi. Keep useful preferences, project context and work progress across sessions—without repeatedly asking the assistant to remember them.

Memory learning, context injection and cross-session recall

Features

  • Learn and update automatically. Capture requirements, corrections and compaction summaries. Update tracked project states from tool observations, with provenance, history, gradual decay and evidence-aware ranking.
  • Inject relevant context. Select memories by the current topic and recent user context. Filter weak or stale matches; no relevant match means no unrelated filler.
  • Recall across sessions. Find background from another session or directory. A read-only memory_recall tool lets the assistant look up missing context mid-task.

Learning defaults to Pi's active model and existing authentication. Quota/rate limits or repeated failures can use an available model from another configured provider, without changing the foreground model. Fallback and budgets are configurable; no separate API key, embedding service or vector database is required.

Install

Requires Pi 0.85+ with a working model. npm-based Pi requires Node.js 22.19+.

pi install npm:pi-memory-evolution

Or install the Git default branch, with Git and npm available locally:

pi install https://github.com/btnalit/pi-memory-evolution

Choose one source, then run these commands inside Pi:

/reload
/memory status

SQLite ok (schema 7) confirms storage initialization. Continue using Pi normally; learning and recall run automatically.

Use

Describe your requirements in a conversation:

Our priorities for atlas-service are automatic backups and reliable recovery.

Later, in a fresh session sharing the same memory store:

What do you remember about atlas-service's priorities?

Learning is asynchronous and selective—not every message becomes a memory.

| Command | Purpose | | --- | --- | | /memory list | Browse memories | | /memory search <topic> | Search relevant claims | | /memory show <id> | Inspect content and evidence | | /memory learning | Inspect capture and actual update results | | /memory explain | Explain the last automatic injection | | /memory correct <id> <text> | Correct a record | | /memory forget <id> | Suppress a record from recall |

See the usage guide for all commands, migration and troubleshooting.

Update or uninstall

For the npm installation:

pi update npm:pi-memory-evolution
pi remove npm:pi-memory-evolution

For Git, substitute the repository URL used during installation. Reload or restart Pi afterward. Uninstalling does not delete memory data. Before a schema-changing upgrade, stop Pi processes sharing the database and back up the state directory.

Data and limits

Local SQLite state lives in ~/.pi/agent/agent-suite/memory-evolution/. PI_CODING_AGENT_DIR changes that prefix; different working directories share the same store by default.

Learning sends filtered source content to the active model, or an allowed fallback provider, and consumes that provider's quota. Cross-provider fallback is enabled by default; restrict its allowlist or disable it in recovery configuration. Memories are historical evidence, not independently verified facts. Matching and secret filtering are imperfect; verify important claims. See privacy and storage.

Development

npm ci --ignore-scripts
npm run check
npm run test:install
npm run test:pi
npm run build

CI checks types, regressions, package contents, installation and fake-model host integration. Builds produce an installable npm archive and checksums, not a separate compiled runtime. Release PRs automate versions and changelogs; merging a verified release PR triggers npm publication. Dependency updates arrive as gated PRs.

See testing and release automation.

Documentation

Usage · Architecture · Memory quality · Changelog

License

MIT