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

@astrivya/cli

v0.5.0

Published

Astrivya CLI — local knowledge graph management for AI coding agents

Downloads

519

Readme

@astrivya/cli

Local knowledge graph CLI for AI coding agents. Initialize, index, search, and manage your workspace knowledge graph — all local, no cloud required.

npm install -g @astrivya/cli

Commands

| Command | Description | |---------|-------------| | astrivya init | Initialize knowledge graph database in the current workspace | | astrivya akg <subcommand> | AKG management (init, status, search, query, export, import) | | astrivya config | View or edit configuration | | astrivya status | Overview of workspace knowledge graph status | | astrivya sync | Sync graphs between workspaces (local merge) | | astrivya mcp-server | Start the MCP server (stdio or HTTP) | | astrivya setup | Guided setup assistant | | astrivya doctor | Run workspace diagnostics | | astrivya update | Check for CLI updates | | astrivya hooks install | Install git hooks for auto-indexing on commit/merge | | astrivya local | Manage local AI runtime (ONNX, Ollama) | | astrivya runtime | Manage inference runtime selection and benchmarking | | astrivya atlas | Launch the WebGL knowledge graph visualizer |

Run without arguments to start the interactive TUI.

akg subcommands

astrivya akg init             Initialize the local AKG database
astrivya akg status           Show AKG statistics
astrivya akg search <query>   Search the knowledge graph
astrivya akg query <intent>   Intent-based query
astrivya akg export           Export the graph to JSON
astrivya akg import <file>    Import a graph from JSON
astrivya akg sync             Sync with a remote (if configured)

Quick Start

cd my-project
astrivya init
astrivya akg init
astrivya status

Cloud, Plugins & Updates

The CLI is fully functional offline and locally. Optional cloud features (team sync, premium plugins, credits) are server-authoritative:

  • Plugin artifacts are downloaded from Astrivya Cloud, gated by a license key and verified against the manifest's SHA-256. Integrity verification is not DRM — the entitlement check happens server-side, and installed plugins run without a license re-check on every load.
  • Updates are checked at most once per day and shown once per version. Opt out with --no-update-check, NO_UPDATE_NOTIFIER, CI, or astrivya update disable.

Telemetry

The CLI sends anonymous, opt-out usage stats (command name, duration, exit status, OS, CLI version, and a random install id) to PostHog so we can improve the product. No code, paths, arguments, queries, tokens, or any other sensitive data is ever collected.

  • You'll see a one-time notice on your first run.
  • Disable with astrivya config set telemetry off (persisted), or ASTRIVYA_TELEMETRY=off / NO_TELEMETRY=1 for a single run/session.
  • Telemetry is automatically disabled in CI environments.

License

Apache 2.0 (packages/cli). This package is the open client for Astrivya's commercial cloud service; paid plugins are separate, license-gated artifacts served from Astrivya Cloud and are not part of this package.