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

@eliware/agentx-cli

v1.3.3

Published

A lightweight terminal chat agent built on the OpenAI Responses API over WebSocket transport.

Readme

eliware.org

@eliware/agentx-cli

agentx is a lightweight terminal chat agent built on the OpenAI Responses API over WebSocket transport. Install the published package globally, run agentx-setup once, and then start agentx.

It is designed to feel shell-like:

  • waits for your first message before calling OpenAI
  • supports internal cd, clear, /clear, /usage, /setup, quit, and exit
  • supports direct shell commands with a leading >
  • supports tab completion for local files and folders
  • remembers session state in .agentx_responseid
  • can prompt to resume interrupted tool execution on startup
  • includes quick CLI flags for help, version, and debug logging
  • prints active model and runtime settings at startup
  • prints friendly startup errors for missing config or API keys
  • supports optional MCP tools configured in ~/.agentx.mcp.json

Usage

npm -g install @eliware/agentx-cli@latest
agentx-setup
agentx

If you are working from the repository itself, run node agentx.mjs.

Quick flags:

  • agentx --help, agentx -h, or agentx -? prints quick help
  • agentx --version or agentx -v prints the package version
  • agentx --debug prints raw websocket logs and suppresses live status lines

Behavior

  • Type a normal message to send it to OpenAI.
  • Type cd /path/to/dir to change the local working directory without calling OpenAI.
  • Type >ls to run a local shell command directly; its output is buffered for the next AI request.
  • Type clear to reset the saved session.
  • Type >clear to clear the terminal display through the local shell.
  • Type /clear to clear the saved session id.
  • Type /usage to view token and cost totals.
  • Type /setup to edit the API key, model, reasoning, output, and compaction settings, then reload them without ending the session.
  • Type quit, exit, /quit, or /exit to leave the app.

Docs

User-facing docs live in docs/:

Development

Run lint and tests with:

npm run lint
npm test

Environment

Set your OpenAI key in the shell environment, or let agentx-setup write it to ~/.agentx:

export agentx_api_key="your-key-here"
# or: export AGENTX_API_KEY="your-key-here"

The launchers load ~/.agentx when present.

MCP tools

AgentX automatically loads an optional .agentx.mcp.json from your home directory and merges its MCP tool definitions into the request. Start with .agentx.mcp.json.example, then copy it to ~/.agentx.mcp.json and add your server configuration. The example file is ignored by Git when copied or customized locally. MCP calls and streamed arguments are displayed in cyan.

License

MIT © 2025 Eli Sterling, eliware.org

Install, update, and uninstall

Install or update the latest release with:

npm -g install @eliware/agentx-cli@latest

Remove AgentX and its local configuration with:

npm -g uninstall @eliware/agentx-cli
rm -f $HOME/.agentx*

See AGENTS.md behavior for discovery, inheritance, prompt-cost implications, and maintenance guidance.