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

gnosys

v6.0.1

Published

Gnosys — Persistent Memory for AI Agents. Sandbox-first runtime, central SQLite brain, federated search, Dream Mode, Web Knowledge Base, Obsidian export.

Readme


Gnosys — One Brain. Zero Context Bloat.

Gnosys gives AI agents persistent memory that survives across sessions, projects, and machines.

The central brain is a single SQLite database at ~/.gnosys/gnosys.db with sub-10ms reads — no vector DBs, no black boxes, no external services. Federated search ranks results across project, user, and global scopes. It runs as a CLI and as a full MCP server that drops straight into Claude Code, Claude Desktop (Chat / Cowork / Code), Cursor, Codex, Gemini CLI, Antigravity, Grok Build, or any MCP client. When you want a human-readable view, gnosys export regenerates a full Obsidian vault on demand.

Install

Requires Node.js ≥ 20.12.

npm install -g gnosys
gnosys setup          # configures provider, API key, and your IDE/agent

Optional native deps. Gnosys auto-installs better-sqlite3 (the SQLite engine) and @huggingface/transformers (local embeddings). If your environment lacks build tools and either fails to install, run npm install better-sqlite3 @huggingface/transformers — or configure an external embedding API. Both degrade gracefully if absent.

Quick start

gnosys setup ides                                        # wire MCP into your IDEs (once)
cd your-project
gnosys init                                              # register the project
gnosys add "We chose PostgreSQL over MySQL for JSON support"
gnosys recall "database selection"                       # what's relevant right now

That's the 60-second tour. Everything else lives on gnosys.ai.

What you get

  • Central brain — one ~/.gnosys/gnosys.db unifies every project (project / user / global scopes). Sub-10ms reads, SQLite as the sole source of truth.
  • Federated search — tier-boosted hybrid (FTS5 keyword + semantic) search across scopes, with recency and reinforcement.
  • MCP servergnosys serve exposes 50+ memory tools to any MCP client. Sandbox-first runtime keeps context cost near zero.
  • Web Knowledge Basegnosys web build turns any site into a searchable index for serverless chatbots, with optional build-time vectors for serverless-safe hybrid semantic search. Zero runtime deps.
  • Dream Mode — idle-time consolidation: confidence decay, summaries, relationship discovery. Never deletes — only suggests.
  • Multi-machine sync — share your brain across machines; conflict detection with skip-and-flag resolution.
  • Obsidian exportgnosys export regenerates a full vault with frontmatter, [[wikilinks]], and graph data.

MCP Tool Reference

All tools are exposed over stdio and HTTP transports. Many tools accept an optional projectRoot parameter to target a specific project store.

This package installs two binaries:

  • gnosys — the CLI. gnosys serve starts the MCP server (stdio by default, --transport http for the central-server topology). gnosys setup ides wires gnosys-mcp into your IDE/agent configs.
  • gnosys-mcp — a direct alias for the MCP stdio server entry, for MCP clients that prefer to spawn the server binary directly (e.g. npx -y gnosys-mcp). Equivalent to gnosys serve.

| Tool | Description | |------|-------------| | gnosys_discover | Discover relevant memories by describing what you're working on. | | gnosys_read | Read a specific memory. | | gnosys_search | Search memories by keyword across all stores. | | gnosys_list | List memories across all stores, optionally filtered by category, tag, or store layer. | | gnosys_add_structured | Preferred for LLM agents. Add a memory with structured fields you supply (title, category, tags, content) — makes no server-side LLM call. | | gnosys_add | Add a memory from raw text; the server's LLM structures it. For non-agent callers (scripts, cron) — agents should use gnosys_add_structured. | | gnosys_tags | List all tags in the registry, grouped by category. | | gnosys_tags_add | Add a new tag to the registry. | | gnosys_reinforce | Signal whether a memory was useful. | | gnosys_init | Initialize Gnosys in a project directory. | | gnosys_migrate | Migrate a Gnosys store (.gnosys/) from one directory to another. | | gnosys_update | Update an existing memory's frontmatter and/or content. | | gnosys_stale | Find memories that haven't been modified or reviewed within a given number of days. | | gnosys_commit_context | Pre-compaction memory sweep. | | gnosys_history | View audit history for a memory. | | gnosys_lens | Filtered view of memories. | | gnosys_timeline | View memory creation and modification activity over time. | | gnosys_stats | Summary statistics across all memories — totals by category, status, author, authority, average confidence, and date ranges. | | gnosys_links | Show wikilinks for a specific memory — outgoing [[links]] and backlinks from other memories. | | gnosys_graph | Show the full cross-reference graph across all memories. | | gnosys_bootstrap | Batch-import existing documents from a directory into the memory store. | | gnosys_import | Bulk import structured data (CSV, JSON, JSONL) into Gnosys memories. | | gnosys_hybrid_search | Search memories using hybrid keyword + semantic search with Reciprocal Rank Fusion. | | gnosys_semantic_search | Search memories using semantic similarity only (no keyword matching). | | gnosys_reindex | Rebuild all semantic embeddings from every memory file. | | gnosys_ask | Ask a natural-language question and get a synthesized answer with citations from the entire vault. | | gnosys_maintain | Run vault maintenance: detect duplicate memories, apply confidence decay, consolidate similar memories. | | gnosys_dearchive | Force-dearchive memories from archive.db back to active. | | gnosys_reindex_graph | Build or rebuild the wikilink graph (.gnosys/graph.json). | | gnosys_dream | Run a Dream Mode cycle — idle-time consolidation that decays confidence, generates category summaries, discovers relationships, and creates review suggestions. | | gnosys_export | Export gnosys.db to Obsidian-compatible vault — atomic Markdown files with YAML frontmatter, [[wikilinks]], category summaries, and relationship graph. | | gnosys_dashboard | Show the Gnosys system dashboard: memory counts, maintenance health, graph stats, LLM provider status. | | gnosys_stores | Debug tool — lists all detected Gnosys stores across registered projects, MCP workspace roots, cwd, and environment variables. | | gnosys_recall | Fast memory recall — inject relevant memories as context. | | gnosys_audit | View the audit trail of all memory operations (reads, writes, reinforcements, dearchives, maintenance). | | gnosys_preference_set | Set a user preference. | | gnosys_preference_get | Get a user preference by key, or list all preferences. | | gnosys_preference_delete | Delete a user preference by key. | | gnosys_sync | Get the current user preferences + project conventions formatted as a GNOSYS:START/GNOSYS:END block. | | gnosys_federated_search | Search across all scopes (project → user → global) with tier boosting. | | gnosys_detect_ambiguity | Check if a query matches memories in multiple projects. | | gnosys_briefing | Generate a project briefing — a summary of memory state, categories, recent activity, and top tags. | | gnosys_portfolio | Portfolio dashboard — shows all registered projects with memory counts, categories, status snapshots, roadmap items, and recent activity. | | gnosys_remote_status | Check the status of remote sync (multi-machine). | | gnosys_remote_push | Push local memory changes to the remote (NAS) database. | | gnosys_remote_pull | Pull remote memory changes to the local database. | | gnosys_remote_resolve | Resolve a sync conflict by choosing which version to keep. | | gnosys_update_status | Get the prompt/template for writing a dashboard-compatible status memory for this project. | | gnosys_working_set | Get the implicit working set — recently modified memories for the current project. | | gnosys_ingest_file | Ingest a file (PDF, DOCX, TXT, MD, images via vision LLM, audio/video via Whisper transcription) into Gnosys memory. | | gnosys_attach | Attach a small binary file (logo, diagram, screenshot, small PDF) inline to a memory (~10MB limit; syncs machine-to-machine). | | gnosys_get_attachment | Retrieve the binary attachment stored on a memory (base64 bytes, or write to disk via outputPath). |

Documentation

| | | |---|---| | Full docs & guides | https://gnosys.ai | | Complete CLI + MCP reference | https://gnosys.ai/guide.html | | Changelog | CHANGELOG.md | | Contributing | CONTRIBUTING.md | | Security policy | SECURITY.md | | Report a bug / request a feature | GitHub Issues |

License

MIT © Proticom. See LICENSE.