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

noa-agent

v0.2.1

Published

A local coding agent with BYOK, SQLite memory, self-editing and an absurdly good TUI. Runs on Bun or Node.

Readme

noa

A local coding agent in Bun + TypeScript, with a Rust chat UI. Small core, absurd UI. Your keys, your disk, one SQLite file.

sh install.sh            # single-file installer (pre- or post-publish)
npx noa-agent doctor     # Node ≥22.18 (node:sqlite) or Bun
bunx noa-agent           # Bun — recommended (bun:sqlite, faster TUI)
# from source:
bun install              # zero runtime dependencies
bun run bin/noa.ts       # TUI

Runs on both runtimes: src/core/runtime.ts maps bun:sqlite → node:sqlite, Bun.spawn → child_process, Bun.Glob → walker, Bun.serve → node:http. Install options and the installer's behaviour: docs/INSTALL.md. Packaging, provenance and code-signing: docs/PUBLISHING.md.

  • BYOK — 1140 model entries across 38 providers, one models registry
  • Tools — files, shell, web search, skills, subagents, MCP, plugins
  • Memory — local SQLite (~/.noa/noa.db): transcripts, facts, KV, usage
  • Self-editing — the agent can patch its own source and hot-reload
  • 10 themes, animations, popups, four banner faces, truecolor everywhere
  • Rust UI — ui-rust/, zero crates, builds offline, chatkit-derived look

Quickstart

cd noa
cp .env.example .env          # set NOA_OPENROUTER_KEY
bun run bin/noa.ts doctor     # what is ready
bun run bin/noa.ts            # TUI

The default model is openrouter/qwen/qwen3-coder:free. noa and noa -p exit until NOA_OPENROUTER_KEY or OPENROUTER_API_KEY is set. The model picker lists OpenRouter :free models.

No key yet? The mock provider runs the entire loop offline:

bun run bin/noa.ts -m mock/mock-fast -p "list the files here"

Keys (BYOK)

Resolution order per provider: NOA_<PROVIDER>_KEY → <PROVIDER>_API_KEY → .env. Local runtimes (ollama, lmstudio, vllm) need no key.

NOA_OPENROUTER_KEY=sk-or-…
NOA_ANTHROPIC_KEY=sk-ant-…
NOA_OPENAI_KEY=sk-…
NOA_GOOGLE_KEY=…
NOA_XAI_KEY=…
NOA_GROQ_KEY=…
NOA_DEEPSEEK_KEY=…

noa models --ready lists only providers you can actually call. Nothing is ever written to disk except ~/.noa/config.json (settings) and ~/.noa/noa.db (memory); keys stay in .env.

Modes

| mode | writes | shell | approvals | |---|---|---|---| | safe (default) | inside cwd + sandbox[] | allow/deny lists | asks, remembers per (tool, target) | | yolo | anywhere | hard-deny list only | none | | read-only | never | not registered | n/a |

Hard-deny shell patterns (rm -rf /, mkfs, :(){, format c:…) cannot be approved away, in any mode.

CLI

noa                              TUI
noa "prompt"                     one-shot, streams to stdout
noa -p "prompt" --json           machine-readable
noa -p "prompt" --stream-json    NDJSON events (used by the Rust bridge)
noa serve --port 8790            HTTP + SSE API
noa doctor | models | sessions | skills | agents | plugins | mcp | theme | config
noa render --width 120 --height 40 --theme synthwave     one TUI frame to stdout
noa init                         scaffold config, .env, examples

Flags: -m/--model, --mode, --yolo, --safe, --read-only, --thinking, --theme, --max-turns, --budget, --fallback-model, --system, --resume, --session, --tools a,b, --no-tools a,b, --mcp <file>, --no-plugins, --no-anim, --json, --stream-json.

Tools

read_file write_file edit_file delete_path list_dir glob shell_exec http_get fetch_url web_search now todo remember recall forget list_skills read_skill run_skill spawn_subagent self_read self_edit self_reload plus mcp__<server>__<tool> and plugin__<name>__<tool>.

Web search backend order: Brave → Tavily → custom JSON → SearXNG → DuckDuckGo (best effort). The tool reports which backend answered.

Skills, subagents, MCP, plugins

skills/<name>/SKILL.md     frontmatter: name, description, when, tools, model
agents/<name>.md           subagent profile (tools + system prompt + model)
plugins/<name>/index.ts    export default { name, tools, setup }
noa.config.json            mcpServers: { name: { command, args, env } }

Skills are progressive disclosure: only name + description sit in the prompt, the body loads when the model calls read_skill.

Themes

Ten, each with its own background, accents, border geometry, glow, idle effect and banner face: neon-tokyo synthwave matrix amber-crt ice-9 ember vaporwave mono-ink gruvbox-neon blood-moon.

The header shows the project you are in, top-right, as a gradient dot-matrix banner — 2 rows, braille density (8 subpixels per cell) by default, so the chrome is smaller and sharper than a block font. Faces: auto (braille) · braille (2 rows, 8px/cell) · sharp (4 rows, half-blocks) · quad (4 rows, 2×2) · block (7 rows, 1:1) · small · skeleton · outline · off. --project-banner <face>, --no-project-banner, or NOA_ASCII=1 to force half-blocks. The gradient ramp is fixed left→right (animation only moves a highlight, so hues never rotate out of order); override the stops with ui.projectGradient: ["#00ff9c","#22d3ee","#f472b6"] or --project-gradient "#00ff9c,#22d3ee,#f472b6". Repo name, branch, dirty marker and origin come from git and refresh on /reset.

ctrl+t previews live and persists to SQLite + config. noa theme <id> sets it from the shell. noa render --theme matrix prints a frame.

TUI keys

enter            send                    ctrl+k   command palette
alt+enter        newline                 ctrl+t   theme picker (live)
ctrl+o           model picker            ctrl+s   sessions
ctrl+y           yolo ⇄ safe             ctrl+e   expand tool output
ctrl+l           clear transcript        ctrl+r   new session
ctrl+c           cancel run (twice quit) ctrl+d   quit
pgup/pgdn        scroll                  ?        keymap

Mouse wheel scrolls; the alternate screen is restored on exit.

Rust UI

cargo run --release --manifest-path ui-rust/Cargo.toml
# http://127.0.0.1:7860

Zero crates: a std-only HTTP server, the page embedded with include_str!, and a bridge that spawns bun bin/noa.ts -p <prompt> --stream-json, forwarding each NDJSON line as an SSE frame. Seven themes, four font stacks, tool cards, token HUD.

Self-editing

self_read / self_edit / self_reload are real: the agent can read its own src/, patch one file, and hot-reload modules without a restart. Writes are restricted to bin/ src/ tui/ tests/ docs/ scripts/ and the config files. Approval still applies in safe mode.

Architecture

bin/noa.js          launcher shim (bun or node ≥22.18)
bin/noa.ts          CLI surface
src/core/runtime.ts Bun ⇄ Node portability (sqlite, exec, glob, http)
src/core/           config · catalog · providers · loop · tools · guard
                    memory(sqlite) · skills · subagents · mcp · plugins · agent
src/tui/            ansi · themes · fonts · screen · input · anim · widgets · popup · app
src/server.ts       HTTP + SSE for the Rust UI / editors
ui-rust/            std-only Rust server + embedded chat UI

Core (agent, no UI) is ~2.1k lines; the presentation layer is deliberately the heaviest part of the project.

Tests

bun test                 # 161 tests: catalog, config, memory, guard, tools,
                         # loop, providers, server, skills, mcp, plugins,
                         # TUI widgets, palettes, frame snapshots, hardening
cargo build --release --manifest-path ui-rust/Cargo.toml

Windows note: shell_exec uses pwsh, then Windows PowerShell, then cmd.exe. Linux uses /bin/sh. NOA_SHELL overrides the executable. Git Bash is not required.

Limitations (honest list)

  • Catalog prices are indicative; unknown families report null, never a fake $0.
  • OpenRouter :free/:online/:nitro/:floor, Featherless quant tags and Ollama :cloud entries are generated variants of curated ids (606 of 1140). If an upstream rejects one, that is catalog drift, surfaced as a provider error.
  • No embeddings/vector recall (SQLite LIKE + weight/recency ranking).
  • Single-user, local only: the HTTP API has no auth and binds 127.0.0.1.
  • Node support targets ≥22.18 (native type stripping + node:sqlite); Node 22.6–22.17 re-execs once with --experimental-strip-types.
  • Subagents inherit the parent's mode; they never ask for approval themselves.