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

@p0systems/peezy

v0.1.0

Published

Peezy CLI: a terminal coding agent for the Peezy Agent Gateway.

Readme

Peezy CLI

Peezy CLI connects your terminal to the Peezy Agent Gateway. It provides a focused coding-agent workflow with browser login, model discovery, usage tracking, repository-aware file mentions, and optional managed tools for image generation and web research.

Install

npm install -g @p0systems/peezy
peezy

The package installs the peezy binary.

Quick Start

Sign in with Peezy to get free starter usage through the hosted gateway:

peezy login
peezy auth status
peezy models
peezy "summarize this repo"

Prefer to use your own provider instead of Peezy login:

peezy providers
peezy config use <provider-id>
peezy config set apiKey <key>
peezy models

Run a single non-interactive prompt:

peezy --print "summarize @src/index.ts"

Peezy Go

Peezy login includes free starter usage through the hosted gateway. Peezy Go adds a larger monthly usage allowance, managed image generation, and stronger default model access. Run peezy upgrade or /upgrade inside the TUI to open the Peezy Go dashboard.

Configuration

The first run creates ~/.peezy/config.json with 0600 permissions when the filesystem supports it. Browser login stores a Peezy gateway key in that file. Do not commit it.

Environment variables can override config values:

  • PEEZY_API_KEY
  • PEEZY_BASE_URL
  • PEEZY_MODEL
  • PEEZY_PROVIDER
  • PEEZY_WEB_URL
  • OPENAI_API_KEY
  • OPENROUTER_API_KEY
  • AI_GATEWAY_API_KEY
  • VERCEL_OIDC_TOKEN
  • CUSTOM_OPENAI_API_KEY

PEEZY_API_KEY, PEEZY_BASE_URL, and PEEZY_MODEL only apply when the active provider is peezy, so they are not sent to OpenAI, OpenRouter, or custom providers.

Useful commands:

peezy config show
peezy config path
peezy config use openai
peezy config use vercel
peezy config set apiKey <key>
peezy providers
peezy credits
peezy models
peezy tools
peezy mcp
peezy upgrade

Built-in providers are peezy, openai, openrouter, vercel, local, and custom. Provider profiles use OpenAI-compatible APIs.

Provider Support

Peezy CLI supports the Peezy Agent Gateway and providers with OpenAI-compatible APIs. This build supports 106 unique provider profiles: 6 built-ins plus 100 additional runnable providers from the live Models.dev feed. Run peezy providers to list configured providers plus the live providers Peezy can actually connect to.

Connect a supported provider:

peezy providers
peezy config use <provider-id>
peezy config set apiKey <key>
peezy models
peezy config set model <model-id>

For one-key access to a large multi-provider model catalog, use Vercel AI Gateway:

export AI_GATEWAY_API_KEY=<key>
peezy config use vercel
peezy models
peezy config set model anthropic/claude-sonnet-4.6

Native-only provider adapters are not bundled, so providers without an OpenAI-compatible API are not shown by peezy providers. Use an OpenAI-compatible gateway such as Vercel AI Gateway or OpenRouter, or configure your own compatible endpoint with custom:

peezy config use custom
peezy config set baseUrl <openai-compatible-url>
peezy config set apiKey <key>
peezy models
peezy config set model <model-id>

TUI Commands

Inside the Peezy TUI:

  • /model lists available models.
  • /model <name> switches model and starts a fresh thread.
  • /credits shows current usage.
  • /tools shows available tools.
  • /mcp shows connected MCP tools.
  • /upgrade opens Peezy Go.
  • @ opens file suggestions.

Headless prompts also expand file mentions:

peezy --print "explain @src/config.ts"

Development

npm install
npm run build
npm link
peezy --help

Run from source:

npm run dev -- --help
npm run dev -- --print "summarize this repo"

Use another provider without Peezy login:

OPENAI_API_KEY=<key> npm run dev -- --provider openai --print "summarize this repo"

Publishing

Before publishing:

npm run build
npm audit --audit-level=high
npm pack --dry-run

The npm package includes dist/, assets/, README.md, SECURITY.md, LICENSE, and package.json.

Security

Do not commit ~/.peezy/config.json, API keys, access tokens, or local .env files. See SECURITY.md for reporting guidance.

License

MIT