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

@nexus-ai-nexoralabs/cli

v0.1.5

Published

NEXUS AI — Local-first AI workstation CLI. Think, plan, execute — powered by local AI runtime.

Readme

NEXUS AI — Local-First AI Workstation CLI

NEXUS AI is a local-first, cross-platform AI workstation CLI that orchestrates local language models (via Ollama), retrieves private knowledge (RAG), manages project context, executes permission-controlled tools, and performs full coding-agent workflows — entirely on your own machine.

Installation

Requirements

Install NEXUS AI CLI

npm install -g @nexus-ai-nexoralabs/cli

Install a local model (if you haven't already)

ollama pull qwen2.5:3b

Launch NEXUS

nexus

That's it. NEXUS will initialize your workspace and configuration automatically on first run.


First-Run Experience

When you run nexus for the first time, NEXUS will:

  1. Create your personal workspace at ~/NEXUS-Workspace (Windows: %USERPROFILE%\NEXUS-Workspace)
  2. Initialize the local database at %APPDATA%\NEXUS AI\data\nexus.sqlite (Windows) or ~/.nexus-ai/data/nexus.sqlite
  3. Detect available Ollama models
  4. Display the interactive dashboard

If Ollama is not installed or not running, NEXUS will display a clear, actionable setup guide instead of crashing.


CLI Commands

Once inside NEXUS:

| Command | Description | | --------------- | ---------------------------------------- | | /help | Show all available commands | | /models | List available local AI models | | /model <id> | Switch to a specific model | | /tasks | Show recent tasks | | /preview | Preview the latest completed web project | | /preview stop | Stop the preview server | | /clear | Clear the screen | | /exit | Exit NEXUS |


Subsystem Architecture

  • src/config/ — Environment configuration & production path resolution
  • src/storage/ — SQLite persistence & workspace abstraction
  • src/intelligence/ — Local Ollama gateway & model registry
  • src/knowledge/ — RAG document indexing & retrieval
  • src/tools/ — Controlled filesystem, search & terminal adapters
  • src/orchestration/ — Agent planning, execution & verification
  • src/preview/ — Local web project preview server
  • src/api/ — Application API contracts & health checks

Developer Setup

# 1. Clone and install
npm install

# 2. Copy environment template
cp .env.example .env

# 3. Type check
npm run typecheck

# 4. Lint
npm run lint

# 5. Run tests
npm test

# 6. Build
npm run build

# 7. Run CLI in development mode
npm run agent

Testing & Acceptance Verification

NEXUS uses a multi-tier verification strategy:

A. Unit & Fast Integration Tests

npm test

Runs unit tests for isolated subsystems (routing, parsing, approval gate, tool execution, storage, config).

B. In-Process Integration Acceptance

npx tsx scripts/verify_decomposition_acceptance.ts

Tests end-to-end task decomposition, multi-unit dependency resolution, and preview gating in-process via ApplicationApi.

C. Real Installed CLI Black-Box End-to-End Acceptance

npm run test:e2e:cli

Spawns the actual installed nexus executable as a separate OS process, submitting prompts through interactive stdin, verifying dynamic CLI stdout, task plan cards, real child unit execution, /tasks, /preview, live HTTP preview responses, substance checks, and process restart/resume.


License

MIT