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

@agi_inc/cli

v0.5.16

Published

Terminal-based agent interaction for AGI desktop automation

Readme

@agi_inc/cli

Terminal-based AI agent for desktop automation. Give it a task in plain English and watch it take control of your computer to get it done.

npx @agi_inc/cli "open calculator and compute 2+2"

Installation

Zero-install (recommended):

npx @agi_inc/cli "your task here"

Global install:

npm install -g @agi_inc/cli
agi "your task here"

Homebrew (macOS/Linux):

brew install agi-inc/tap/agi
agi "your task here"

Authentication

Log in with your AGI account to automatically configure your API key:

agi login

This opens a browser-based device authorization flow. Once approved, your API key is saved to ~/.agi/credentials and used automatically.

agi logout   # remove stored credentials

Alternatively, set your API key via environment variable:

export AGI_API_KEY=your_api_key
# or
export ANTHROPIC_API_KEY=your_api_key

Usage

# Basic usage
agi "Open calculator and compute 2+2"

# Use a specific model
agi "Find flights from SFO to JFK" --model claude-opus

# Verbose output (shows agent thinking)
agi "Install Node.js" --verbose

# Auto-approve confirmations
agi "Delete old files" --no-confirm

When the agent needs approval before a destructive action, it shows a confirmation dialog:

When the agent needs more information, it prompts with a question:

Commands

| Command | Description | |---------|-------------| | agi "task" | Run the agent with a task | | agi login | Authenticate via browser-based device flow | | agi logout | Remove stored credentials | | agi update | Check for updates and self-update |

Options

| Option | Alias | Description | Default | |--------|-------|-------------|---------| | --model | -m | Model to use (claude-sonnet, claude-opus) | claude-sonnet | | --verbose | -v | Show agent thinking | false | | --no-confirm | | Auto-approve confirmations | false | | --help | -h | Show help | | | --version | -V | Show version | |

Keyboard Shortcuts

While the agent is running:

| Key | Action | |-----|--------| | Space | Pause/Resume | | Q | Stop | | Ctrl+C | Cancel |

Updating

agi update

Detects your install method (npm or Homebrew) and runs the appropriate upgrade command.

How It Works

  1. Captures screenshots of your desktop
  2. Analyzes them using Claude
  3. Decides on and executes actions
  4. Repeats until the task is complete

Requirements

  • Node.js 20.4.0 or later
  • macOS, Linux, or Windows
  • AGI API key or Anthropic API key

SDKs

License

MIT