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

@horizonai/cli

v0.0.3

Published

Horizon AI - the personal AI agent that runs on your machine. CLI distribution (local-first, bring-your-own-keys, 25 providers + 300+ models).

Readme


@horizonai/cli is the npm distribution of the Horizon AI command-line interface — the same horizon binary that ships with the Horizon desktop app, packaged for npm install -g.

Install

npm install -g @horizonai/cli

Then:

horizon setup        # pick a provider, paste your key (30 seconds)
horizon              # launch interactive TUI
horizon "task"       # one-shot agent task
horizon chat "msg"   # single-turn chat
horizon serve        # headless HTTP API on :18789

Requires Node 20+. On Apple Silicon and Windows, the install pulls prebuilt better-sqlite3 binaries — no native toolchain needed.

What you get

  • 25 AI providers + 300+ models via OpenRouter — Claude, GPT, Gemini, Groq, DeepSeek, Mistral, Qwen, Perplexity, Cohere, Grok, Together AI, Fireworks, DeepInfra, Cerebras, SambaNova, Moonshot Kimi, Z.AI / GLM, Nebius, OpenRouter aggregator, Azure OpenAI, custom OpenAI-compatible endpoint, plus local Ollama / LM Studio / LocalAI.
  • 8-type memory — facts, episodic memories, conversations, semantic recall (256-dim embeddings), FTS index, user profile, persona memory, and per-workspace .horizon/memory.json.
  • Skills system — three scopes (workspace / user / builtin), same SKILL.md format Anthropic uses, auto-pickup based on the query.
  • Plugin sandbox — vm2-based isolation, granular permissions, signed marketplace plugins.
  • TUI — keypress-based interactive shell, scrollback, in-chat search, multi-line composer, gradient spinner, markdown rendering.
  • Headless HTTP APIhorizon serve exposes the agent over JSON + Server-Sent Events for cron jobs, PWAs, and mobile clients.

Bring your own keys

Horizon never proxies your traffic. Your API keys sit encrypted in your OS user data directory (%APPDATA%/horizon-ai/ on Windows, ~/Library/Application Support/horizon-ai/ on macOS, ~/.config/horizon-ai/ on Linux) and the agent talks directly to your chosen provider.

Programmatic use

const { createHorizonRuntime, defaultUserDataDir } = require('@horizonai/cli');

const runtime = createHorizonRuntime()({
  userDataDir: defaultUserDataDir(),
  workspaceDir: process.cwd(),
});

The runtime exposes the same API the CLI commands and the Electron app use — agent loop, skills manager, memory DB, providers, plugins.

Other install paths

# macOS / Linux Homebrew
brew tap ErnestKostevich/tap https://github.com/ErnestKostevich/horizon-homebrew-tap
brew install horizon

# Windows Scoop
scoop bucket add horizon https://github.com/ErnestKostevich/horizon-scoop-bucket
scoop install horizon

# Or download a standalone binary (no Node required)
# https://github.com/ErnestKostevich/horizon-genesis/releases/latest

License

BUSL-1.1 — personal, educational, internal evaluation, and non-commercial production use is free. Hosting Horizon as a paid service or redistributing it commercially requires written permission. Plugins and workflows built on top of Horizon are unrestricted.

Links