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

@fhillipcastillo/agentic-memory

v1.0.3

Published

Universal memory layer for agentic AI tools - store and retrieve past conversations, solutions, and context

Readme

@fhillipcastillo/agentic-memory

Universal memory layer for agentic AI tools (Claude Code, OpenCode, Codex, OpenClaw, etc.). Store and retrieve past conversations, solutions, conclusions, and context across sessions.

What This Is

A persistent memory system that:

  • Stores conversations, solutions, conclusions, issues, context
  • Retrieves via keyword or semantic search (using qmd)
  • Compounds knowledge over time

Quick Start

# Install globally
npm install -g @fhillipcastillo/agentic-memory

# Initialize storage
agentic-memory init

# Setup MCP in your AI tool
agentic-memory install

# Start using in your AI tool

Installation

Global Install (Recommended)

npm install -g @fhillipcastillo/agentic-memory
agentic-memory init

npx (No Install)

npx @fhillipcastillo/agentic-memory init
npx @fhillipcastillo/agentic-memory serve

Per-Project Install

npm install @fhillipcastillo/agentic-memory
npx agentic-memory init

Setup MCP

Run the install wizard to auto-configure your AI tool:

agentic-memory install

This detects Claude Code, OpenCode, or Codex and adds the MCP config.

Manual Setup

Add to your claude.code.json, .opencode/config.json, or .codex.json:

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": ["@fhillipcastillo/agentic-memory", "serve"]
    }
  }
}

OpenClaw Plugin

Install as OpenClaw plugin:

# Install via npm
openclaw plugins install @fhillipcastillo/agentic-memory

# Or use the install command
agentic-memory install

The plugin registers tools directly - no MCP needed:

  • memory_store
  • memory_get
  • memory_query
  • memory_context
  • memory_patterns
  • memory_conclusions
  • memory_issues
  • memory_stats
  • memory_init

Manual OpenClaw Config

Add to ~/.openclaw/openclaw.json:

{
  "plugins": {
    "enabled": true,
    "allow": ["agentic-memory"]
  }
}

Then run in OpenClaw:

/plugin install npm:@fhillipcastillo/agentic-memory
/plugin enable agentic-memory

CLI Commands

| Command | Description | |---------|-------------| | agentic-memory store "content" -t solution | Store a memory | | agentic-memory query "question" | Semantic search | | agentic-memory get "keyword" | Keyword search | | agentic-memory context | Get project context | | agentic-memory patterns | Get solution patterns | | agentic-memory stats | Show statistics | | agentic-memory serve | Start MCP server | | agentic-memory install | Setup MCP |

MCP Tools

When configured, your AI tool has access to:

| Tool | Description | |------|-------------| | memory_store | Store a memory (conversation, solution, conclusion, issue, context) | | memory_get | Search past memories by keyword | | memory_query | Natural language query (requires qmd) | | memory_context | Get project context | | memory_patterns | Get solution patterns | | memory_conclusions | Get conclusions | | memory_issues | Get issues | | memory_stats | Get statistics |

Usage Examples

In AI Conversation

After fixing a bug:
memory_store --content "Fixed auth bug by clearing token on logout" --type solution --tags auth,bug

When making a decision:
memory_store --content "Use qmd for search, MCP for tools" --type conclusion --tags decision

Before starting similar work:
memory_query "how did we handle auth tokens"

Via CLI

# Store a solution
agentic-memory store "Fixed login by clearing localStorage" -t solution -t auth

# Query past solutions
agentic-memory query "how did we solve auth issue"

# Get context
agentic-memory context

# See stats
agentic-memory stats

Configuration

| Env Variable | Default | Description | |--------------|---------|-------------| | MEMORY_DIR | ~/.agentic-memory/ | Storage directory | | MEMORY_PORT | 8181 | MCP server port |

Memory Types

| Type | Description | Storage Dir | |------|-------------|-------------| | conversation | General memories | memories/ | | solution | Solved problems | patterns/ | | conclusion | Decisions | conclusions/ | | issue | Known issues | issues/ | | context | Project context | context/ |

Requirements

  • Node.js 18+
  • qmd for semantic search: npm install -g @tobilu/qmd

License

MIT