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

@anaygarodia/gearbox

v0.1.2

Published

A beautiful multi-provider coding harness for the terminal. (Intelligent model routing lands on top of this soon.)

Readme

⚙ gearbox

A beautiful, simple coding harness for the terminal. It reads, edits, and runs your code through one clean agent loop, talking to any provider (Anthropic, OpenAI, Google, DeepSeek).

What it does: the point of Gearbox is intelligent per-task model routing — automatically using the right model for each task across every provider and account you pay for, cheaply and transparently. Basic routing is live: it classifies each task, filters candidates by quality bar, and picks the cheapest one that fits. The richer engine (shadow-eval, credit/limit scoring, confidence display) layers on top. See DESIGN.md.

 ⚙   gearbox
     coding harness · sonnet-4.6
 ──────────────────────────────────────────────────────────

 › add a --json flag to the CLI and cover it with a test

 ⏺  I'll see how args are parsed, add the flag, then test it.

   ✓ read_file  src/cli.tsx
     renders the Ink app · 18 lines
   ✓ edit_file  src/cli.tsx
   ✓ run_shell  bun test
     9 pass · 0 fail

 ⏺  Done — flag added with a passing test.

 ╭──────────────────────────────────────────────────────────╮
 │ › ask gearbox to build or fix something                  │
 ╰──────────────────────────────────────────────────────────╯
  gearbox · sonnet-4.6 · 18,432 tok · ⏎ send  ctrl+c quit

Run

bun install
export ANTHROPIC_API_KEY=...   # or OPENAI_API_KEY / GOOGLE_GENERATIVE_AI_API_KEY / DEEPSEEK_API_KEY
bun start                      # or: bun run src/cli.tsx
bun start -- --model gemini-flash   # pick a model

No key? It launches in demo mode so you can see the interface. Preview the look without running anything:

bun run scripts/preview.tsx

Install for internal use (the gearbox command, anywhere)

Requires Bun. Clone the repo, then:

./install.sh          # bun install + bun link  → 'gearbox' on your PATH
export ANTHROPIC_API_KEY=...   # each person uses their own key (add to ~/.zshrc)
cd ~/any/project && gearbox    # the current directory is the workspace

Upgrade later with one command — gearbox upgrade (pulls latest + reinstalls deps). Equivalent to git pull && bun install in the repo. If gearbox isn't found, add Bun's bin dir to PATH: export PATH="$HOME/.bun/bin:$PATH".

Standalone binary (no clone/install on the target, same OS/arch):

bun run build         # → dist/gearbox  (single ~64MB executable)
cp dist/gearbox ~/.bun/bin/    # or anywhere on PATH; share the file directly

Before running on real code: there is no permission/confirm gate yet — write_file, edit_file, run_shell, and the ! prefix execute without asking. Fine for trusted internal use on your own repos; do not point it at anything you don't want modified. A confirm-gate is the next thing to land.

Develop

bun test            # render + agent tests (no API key needed)
bun run typecheck

Principles

  • Open + free. MIT. No paid dependencies, no hosted backend, no telemetry. The only cost is your own model calls on your own keys.
  • Beautiful + calm. One accent color, generous spacing, consistent glyphs. The whole look lives in src/ui/theme.ts.
  • Routing-ready. Model choice happens in exactly one place (src/model/selector.ts); the router drops in there later with no changes upstream. See CLAUDE.md.

Status

v0.1 — streaming agent loop, real file + shell tools, a polished Ink TUI, multi-provider support, accounts + spend ledger, BM25 context retrieval, and basic per-task routing (classify → quality bar → cheapest winner). The richer routing engine (shadow-eval, credit/limit/plan scoring, per-repo calibration) is next (DESIGN.md).