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

@gerred/npi-coding-agent

v0.1.0

Published

Noumena-specific coding agent CLI harness

Downloads

97

Readme

@gerred/npi-coding-agent

Noumena-specific terminal coding-agent CLI. This package installs the npi binary and uses ~/.npi/agent for user configuration.

Built-in provider support is intentionally narrow:

  • Provider: noumena
  • Model: kimi-2.7-coder
  • Default endpoint: https://api.noumena.com/v1

Status

This is an unofficial community package. It is not an official Noumena harness and is not maintained by Noumena. For the official Noumena Code project, see Noumena-Network/code.

Install

npm install -g --ignore-scripts @gerred/npi-coding-agent
npi

Use /login for Noumena OAuth, or set an API key:

export NOUMENA_API_KEY=...
npi

ncode-compatible key file:

export NOUMENA_API_KEY_FILE=~/.config/noumena/ncode/api_key
npi

Common Commands

| Command | Description | |---------|-------------| | /login | Authenticate with Noumena | | /logout | Clear saved OAuth credentials | | /model | Show the model selector | | /settings | Change thinking level, theme, message delivery, and transport | | /resume | Pick from previous sessions | | /new | Start a new session | | /compact | Compact long context | | /export | Export a session to HTML | | /trust | Trust the current project resources | | /hotkeys | Show keyboard shortcuts | | /quit | Quit npi |

CLI

npi [options] [@files...] [messages...]

Common options:

| Option | Description | |--------|-------------| | -p, --print | Print response and exit | | --mode json | Output JSONL events | | --mode rpc | Run the RPC protocol on stdio | | --model <pattern> | Select a model, defaults to noumena/kimi-2.7-coder | | --provider <name> | Provider, defaults to noumena | | --thinking <level> | off, minimal, low, medium, high, or xhigh | | --session <path\|id> | Reuse a session | | --fork <path\|id> | Fork a session | | --no-session | Do not save session history | | --tools <list> | Allow only selected tools | | --exclude-tools <list> | Disable selected tools | | --no-builtin-tools | Disable built-in tools | | --no-tools | Disable all tools | | -e, --extension <source> | Load an extension | | --skill <path> | Load a skill | | --theme <path> | Load a theme |

Examples:

npi
npi -p "Summarize this repository"
npi @README.md "Review this file"
npi --thinking high "Trace this bug"
npi --tools read,grep,find,ls -p "Inspect the code without editing"

Files

| Path | Purpose | |------|---------| | ~/.npi/agent/settings.json | User settings | | ~/.npi/agent/auth.json | OAuth credentials | | ~/.npi/agent/sessions/ | Session history | | .npi/settings.json | Project settings | | .npi/skills/ | Project skills | | .npi/prompts/ | Project prompt templates | | .npi/extensions/ | Project extensions | | .npi/themes/ | Project themes |

AGENTS.md and CLAUDE.md are still loaded as project context files.

Build

From the repository root:

npm install --ignore-scripts
npm run check
npm --prefix packages/coding-agent run build:binary
./packages/coding-agent/dist/npi --help

The compiled Bun artifact is packages/coding-agent/dist/npi.

For isolated release artifacts:

npm run release:local -- --out /tmp/npi-local-release --force
/tmp/npi-local-release/node/npi --help
/tmp/npi-local-release/bun/npi --help

Environment

| Variable | Description | |----------|-------------| | NOUMENA_API_KEY | Noumena API key | | NOUMENA_API_KEY_FILE | File containing a Noumena API key | | NOUMENA_BASE_URL | Override the Noumena OpenAI-compatible base URL | | CODE_STREAM_BASE_URL | Legacy ncode-compatible base URL override | | NOUMENA_ISSUER_BASE_URL | Override Noumena OAuth issuer | | NOUMENA_OAUTH_WEB_BASE_URL | Override Noumena OAuth web flow URL | | NOUMENA_OAUTH_CLIENT_ID | Override Noumena OAuth client ID | | NPI_CODING_AGENT_DIR | Override ~/.npi/agent | | NPI_CODING_AGENT_SESSION_DIR | Override session storage | | NPI_OFFLINE | Disable startup network operations | | NPI_SKIP_VERSION_CHECK | Skip version update checks | | NPI_TELEMETRY | Enable or disable install/update telemetry |

License

MIT

Attribution

npi is based on the MIT-licensed Pi mono repository by Mario Zechner and earendil-works. The original Pi attribution and license are retained.