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 🙏

© 2025 – Pkg Stats / Ryan Hefner

4runr-os

v2.0.3

Published

4Runr AI Agent OS - Interactive terminal for managing AI agents

Readme

4Runr OS - AI Agent Operating System

Interactive terminal for managing AI agents on the 4Runr platform.

Installation

Install globally from npm:

npm install -g 4runr-os

Quick Start

After installation, simply run:

4r

That's it! The OS connects to the official 4Runr server automatically.

Available Commands

You can use any of these commands:

  • 4r - Short and simple (recommended)
  • 4runr - Full command
  • 4runr-os - Full package name

All commands do the same thing - launch the 4Runr OS terminal.

Connect to Local Server (Development)

If you're running a local gateway, set the GATEWAY_URL environment variable:

Windows (PowerShell):

$env:GATEWAY_URL="http://localhost:3001"
4runr

Windows (CMD):

set GATEWAY_URL=http://localhost:3001
4runr

Linux/Mac:

export GATEWAY_URL=http://localhost:3001
4runr

Connect to Custom Server

To use a different server, set GATEWAY_URL:

export GATEWAY_URL=http://your-server.com:3001
4runr

Quick Start

  1. Configure AI Provider:

    4runr> config

    Follow the prompts to add your OpenAI or Anthropic API key.

  2. Start Chatting:

    4runr> run-agent assistant

    Then just type your messages!

  3. Build Custom Agent:

    4runr> build

    Create your own AI agent with custom system prompts.

Available Commands

AI Configuration

  • config - Configure AI provider (OpenAI/Anthropic)
  • models - List available AI models
  • ai-status - Show stored API keys and configuration

Agent Management

  • run-agent [name] - Start chatting with an AI agent
  • build - Build a custom AI agent (interactive)
  • agents - List available agents

Run Management

  • create <name> - Create a new run
  • start <run-id> - Start a run
  • get <run-id> - Get run details
  • list - List all runs

System

  • status - Show system status
  • sentinel - Show Sentinel monitoring
  • metrics - Show system metrics
  • clear - Clear the screen
  • help - Show all commands
  • exit - Exit the OS

Examples

Connect to Server and Configure

# Set server URL
export GATEWAY_URL=http://44.222.212.152:3001

# Run OS
4runr

# Configure OpenAI
4runr> config
# Follow prompts...

# Start chatting
4runr> run-agent assistant
Assistant> Hello! How can I help you?

Build Custom Agent

4runr> build
Agent name: code-reviewer
Agent description: Reviews code for bugs and improvements
System prompt: You are an expert code reviewer...
END
Temperature: 0.3
Max tokens: 2000

4runr> run-agent code-reviewer

Requirements

  • Node.js 18+
  • Access to a 4Runr Gateway (local or remote)

License

MIT