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-agents-memory

v0.1.1

Published

Cross-session persistent memory for Pi agents. Loads project context at session start and auto-saves conversation memory at session end.

Readme

pi-agents-memory

Pi extension for agents-memory — cross-session persistent memory for AI coding agents.

When you open a project, the agent knows what it is, what you did last time, your standards for that stack, and how your team works — without you repeating anything.

Install

# From npm (once published)
pi install npm:pi-agents-memory

# From a local checkout
pi install ./path/to/pi-agents-memory

Uninstall with pi remove pi-agents-memory.

Requires an agents-memory instance at ~/agents-memory/ (or $AGENT_MEMORY_DIR).

What it does

Session start

Reads your project memory and injects it as context:

  • Project index, latest sessions, open threads
  • Stack standards (python, typescript, etc.)
  • Team conventions
  • Global preferences

New projects are auto-detected and scaffolded.

Auto-save

Extracts memory from the conversation automatically:

| Trigger | Event | Behavior | | ----------- | ------------------------- | ----------------------------------------- | | Session end | session_shutdown (quit) | Always saves | | Compaction | session_before_compact | Always saves | | Periodic | agent_end | Only when threshold reached (default: 10) |

The threshold is configurable in ~/agents-memory/config.json:

{ "auto_save_threshold": 10 }

Background consolidation

At session start, checks if a consolidation cycle is due and launches it in the background via pi -p.

Configuration

The extension reads ~/agents-memory/config.json (shared with Claude Code and Cursor hooks). No Pi-specific configuration needed.

Projects with a .skip file in their memory directory are excluded.

Requirements

  • agents-memory instance
  • pi CLI available in PATH (for auto-save and consolidation subprocesses)

License

MIT — see LICENSE.

Author

Juanje Ojeda