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

@alveare-ai/cli

v0.1.0

Published

CLI tool for the Alveare Private SLM Inference-as-a-Service platform

Downloads

23

Readme

@alveare/cli

Command-line interface for the Alveare Private SLM Inference-as-a-Service platform.

Installation

npm install -g @alveare/cli

Or link locally for development:

cd cli
npm install
npm run build
npm link

Quick Start

# Configure your API key
alveare config set api-key alv_live_<your-key-here>

# Run inference
alveare infer -s summarise "Summarise this quarterly earnings report..."

# Interactive chat
alveare chat

# Check available specialists
alveare models

# View usage stats
alveare usage

Commands

alveare config

Manage CLI configuration stored at ~/.alveare/config.json.

alveare config set api-key alv_live_abc123def456...
alveare config set base-url https://api.alveare.ai
alveare config show

alveare infer

Run a single inference request.

alveare infer -s summarise "Your text here..."
alveare infer -s classify -m 32 "Is this spam?"
alveare infer -s code "Write a prime checker in Python"

# Pipe from stdin
cat report.txt | alveare infer -s extract --max-tokens 1024
echo "Classify this" | alveare infer -s classify

Options:

  • -s, --specialist <name> — Specialist to use (required)
  • -m, --max-tokens <n> — Maximum tokens in response (default: 256)
  • --json — Output raw JSON response

alveare chat

Start an interactive chat session.

alveare chat                  # default: chat specialist
alveare chat -s qa            # use a specific specialist
alveare chat -s code -m 1024  # with custom max tokens

In-session commands:

  • /quit or /exit — End the session
  • /clear — Clear conversation history
  • /specialist <name> — Switch specialist mid-conversation

alveare models

List available specialists/models.

alveare models
alveare models --json

alveare usage

Show usage statistics for the current billing period.

alveare usage
alveare usage --json

alveare health

Check the API health status.

alveare health
alveare health --json

Configuration

The CLI resolves configuration in this order (highest priority first):

  1. Command-line flags (--api-key, --base-url)
  2. Environment variables (ALVEARE_API_KEY, ALVEARE_BASE_URL)
  3. Config file (~/.alveare/config.json)

Environment Variables

| Variable | Description | |---|---| | ALVEARE_API_KEY | API key | | ALVEARE_BASE_URL | API base URL | | NO_COLOR | Disable colored output |

API Key Format

Alveare API keys follow the format:

  • Live: alv_live_<32-hex-chars>
  • Test: alv_test_<32-hex-chars>

Specialists

| Specialist | Description | |---|---| | classify | Text classification | | summarise | Text summarisation | | extract | Information extraction | | qa | Question answering | | chat | General conversation | | code | Code generation and assistance | | custom | Custom specialist |

Requirements

  • Node.js >= 18.0.0 (uses native fetch)
  • No runtime dependencies