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

v1.0.1

Published

Local-first semantic memory for Pi coding agent. Powered by LogosDB MCP server — vector search, zero cloud, stdio-only.

Readme

pi-semantic-memory

Local-first semantic memory for Pi coding agent, powered by LogosDB.

Vector search runs entirely on your machine — no cloud, no external API, stdio-only.

Install

pi install npm:pi-semantic-memory

Verify setup:

/logos-setup

Requirements

logosdb-mcp-server must be reachable. Install globally for best performance:

npm install -g logosdb-mcp-server

Falls back to npx --yes logosdb-mcp-server if not found in PATH.

What happens automatically

| Event | Action | |---|---| | Session start | Background-indexes the project directory (incremental, honours .gitignore) | | Every user prompt | Semantic search → injects relevant memories into the system prompt silently | | After each agent turn | Persists a turn record (Q+A) to memory; incremental re-index for changed files | | Session compaction | Stores a handoff note |

All automatic actions are silent — nothing is printed to the console.

Memory scope

Controlled by LOGOS_MEMORY_MODE (default: global).

global (default)

Turn records are stored in pi-global and are visible across all sessions and all projects.
Context injection searches both pi-global and the current project namespace.

# default — no env var needed
pi

project

Turn records and searches are isolated to the current project namespace (pi-proj-<name>).
Each repo has its own independent memory.

LOGOS_MEMORY_MODE=project pi

Or add to your shell profile / Pi config:

export LOGOS_MEMORY_MODE=project

Namespaces

| Namespace | Purpose | |---|---| | pi-global | Cross-project memories (default store for turn records in global mode) | | pi-proj-<name> | Project-specific memory and indexed source files; auto-derived from cwd basename |

Tools

| Tool | Description | |---|---| | logos_remember | Store a memory in a namespace | | logos_recall | Semantic search across a namespace | | logos_forget | Delete by semantic match | | logos_namespaces | List all collections |

Commands

| Command | Description | |---|---| | /logos-setup | Verify MCP server and print configuration | | /logos-status | Show mode, active namespace, indexing state | | /logos-index | Manually trigger incremental re-indexing of the current directory |

Environment variables

| Variable | Default | Description | |---|---|---| | LOGOS_MEMORY_MODE | global | global or project — controls memory scope | | LOGOSDB_PATH | ~/.pi/agent/logosdb | Path to the LogosDB database directory | | LOGOSDB_MCP_BIN | (auto) | Override the logosdb-mcp-server binary path |

License

MIT