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

@zensation/cli

v0.1.3

Published

ZenAI CLI Agent — Terminal interface with Memory, Knowledge Graph and Agent System

Readme

@zensation/cli

ZenAI CLI Agent — a terminal AI assistant with filesystem tools and, optionally, ZenAI's persistent memory and knowledge graph.

npm License

zenai is a terminal agent in the spirit of Claude Code: it runs an agentic loop over Claude with a set of filesystem tools, so you can read, search, and reason over a project from the command line. When pointed at a running ZenAI backend it additionally gains persistent memory and knowledge-graph tools; without one, it runs in local-only mode.

Install

npm install -g @zensation/cli

Or run it without installing:

npx @zensation/cli "summarize the TypeScript files in this folder"

Quick start

export ANTHROPIC_API_KEY=sk-ant-...      # required

# Interactive REPL
zenai

# One-shot question
zenai "what does src/index.ts do?"

Usage

zenai                     Interactive REPL mode
zenai "your question"     One-shot mode
zenai --help              Show help
zenai --version           Show version

In the REPL:

| Command | Description | |---------|-------------| | /status | Show backend connection, tool count, project, and session | | /clear | Clear the conversation history | | /exit (or exit) | Exit |

Configuration

All configuration is via environment variables:

| Variable | Required | Default | Description | |----------|:--------:|---------|-------------| | ANTHROPIC_API_KEY | yes | — | Claude API key | | ZENAI_MODEL | no | claude-sonnet-4-20250514 | Claude model to use | | ZENAI_MAX_TOKENS | no | 4096 | Maximum response tokens | | ZENAI_MAX_ITERATIONS | no | 25 | Maximum agent-loop iterations | | ZENAI_BACKEND_URL | no | — | ZenAI backend URL (enables memory + knowledge-graph tools) | | ZENAI_BACKEND_API_KEY | no | — | ZenAI backend API key |

Memory & knowledge graph (optional)

Set ZENAI_BACKEND_URL (and ZENAI_BACKEND_API_KEY) to connect to a running ZenAI backend. The agent then gains tools backed by ZenAI's 7-layer memory and knowledge graph, so context persists across sessions. If no backend is reachable, zenai reports local-only mode and runs with the filesystem tools alone.

Part of ZenAI

This CLI lives in the ZenAI monorepo and builds on the same neuroscience-inspired memory system published as @zensation/core and @zensation/algorithms.

License

Apache 2.0 — see LICENSE.