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

@davidjinguoxu/agentcore

v0.5.0

Published

Local-first AI memory engine for multi-agent workflows — 17-tool MCP server. Zero config (LanceDB) or Azure (Cosmos + AI Search).

Readme

@davidjinguoxu/agentcore

Local-first AI memory engine for multi-agent workflows. 17-tool MCP server. Zero config (LanceDB) or Azure (Cosmos + AI Search).

Any AI tool that speaks MCP — Cursor Agent, Gemini CLI, GitHub Copilot, Claude Code — connects to this server and gains persistent memory, task coordination, and a shared knowledge graph across every session.


Quick start

npx @davidjinguoxu/agentcore

Starts on port 3001. Stores data in ~/.agentcore/ using LanceDB. No account, no API key.


Connect your AI tool

Cursor Agent (~/.cursor/mcp.json):

{
  "mcpServers": {
    "agentcore": {
      "command": "npx",
      "args": ["@davidjinguoxu/agentcore"],
      "env": { "MCP_API_KEY": "your-key" }
    }
  }
}

Gemini CLI (~/.gemini/settings.json):

{
  "mcpServers": {
    "agentcore": {
      "command": "npx",
      "args": ["@davidjinguoxu/agentcore"],
      "env": { "MCP_API_KEY": "your-key" }
    }
  }
}

GitHub Copilot (~/.copilot/mcp-config.json):

{
  "mcpServers": {
    "agentcore": {
      "command": "npx",
      "args": ["@davidjinguoxu/agentcore"],
      "env": { "MCP_API_KEY": "your-key" }
    }
  }
}

The 17 tools

Organized in 5 categories:

| Category | Tools | Layer | |---|---|---| | Memory | log_event, search, deep_search, get_questions | Bronze | | Tasks | start_task, update_task, complete_task, block_task, fail_task, get_tasks | Bronze | | Knowledge | add_entity, get_facts, get_linked | Gold | | Insights | save_lesson, save_decision, ask_team | Bronze→Gold | | Context | warm_start | All layers |

Full reference: docs/TOOLS.md


Three-layer architecture

Bronze  →  raw events (append-only, every AI action)
Silver  →  vector index (semantic search)
Gold    →  knowledge graph (permanent curated facts)

Every piece of data starts in Bronze. Content-rich events get indexed in Silver. Important facts get promoted to Gold via add_entity.

warm_start reads all three layers and assembles a context preamble for the agent.

Full design: docs/ARCHITECTURE.md


Storage backends

| Mode | Condition | Data location | |---|---|---| | LanceDB (default) | No COSMOS_ENDPOINT | ~/.agentcore/ | | Azure Cosmos DB | COSMOS_ENDPOINT + COSMOS_KEY set | Azure cloud | | Azure AI Search | AZURE_SEARCH_ENDPOINT + AZURE_SEARCH_KEY | Azure (Silver layer) |


Environment variables

AGENTCORE_DATA_DIR=~/.agentcore    # local data directory
AGENTCORE_PORT=3001                # HTTP port
MCP_API_KEY=your-key               # auth key for HTTP endpoints

# Cloud (optional)
COSMOS_ENDPOINT=https://...
COSMOS_KEY=...
AZURE_SEARCH_ENDPOINT=https://...
AZURE_SEARCH_KEY=...

Use as a library

npm install @davidjinguoxu/agentcore
import { appendEvent, queryEntities } from '@davidjinguoxu/agentcore';
import type { BronzeRecord, GoldEntity } from '@davidjinguoxu/agentcore/types';

Documentation

| Doc | What it covers | |---|---| | ARCHITECTURE.md | Three-layer data model + all type definitions | | SCHEMA.md | 7 database tables with CREATE TABLE SQL | | MEMORY.md | Hierarchical memory: tiers, time decay, graph traversal | | ACTIVE-SCHEMA.md | Each table's lifecycle + concrete use cases | | TOOLS.md | 17 MCP tools: inputs, outputs, database mapping | | SKILLS.md | 4 skill workflows built on top of tools | | MIGRATION.md | Gap analysis + implementation phases |


npm

@davidjinguoxu/agentcore
https://www.npmjs.com/package/@davidjinguoxu/agentcore