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

@wayofmono/wo-agent

v1.0.12

Published

Agent SDK for building AI-powered applications

Readme

@wayofmono/wo-agent

Agent SDK for building AI-powered applications. General-purpose user agent (wouser) with skill management, extensions, and LLM integration.

Installation

# As a project dependency
pnpm add @wayofmono/wo-agent

# Or globally
npm install -g @wayofmono/wo-agent

Quick Start

# Initialize project
npx wouser --init

# Start interactive session
npx wouser

# One-shot prompt
echo "Analyze this data" | npx wouser --print

CLI Reference

Core Commands

wouser                          # Start interactive TUI
wouser --print                  # Non-interactive mode (print to stdout)
wouser --init                   # Initialize .wo/ directory
wouser --version                # Print version
wouser --help                   # Show help

Model Selection

wouser --model openai/gpt-4o           # Specific model
wouser --model anthropic/claude-sonnet-4-20250514  # Specific model
wouser --provider openai               # Filter by provider
wouser --list-models                   # List all available models
wouser --list-models "qwen"            # Search models

Session Management

wouser --continue                      # Continue most recent session
wouser --resume                        # Interactive session picker
wouser --session <id>                  # Open specific session
wouser --fork <id>                     # Fork a session
wouser --no-session                    # Disable session persistence
wouser --export <session>              # Export session to HTML

Tool Control

wouser --no-tools                      # Disable all tools
wouser --tools read,bash,edit          # Enable specific tools only

Skill Management

# Install skills from npm packages
wouser skill install investor-ready-doc-gen
wouser skill install npm:@wayofmono/skill-investor-ready-doc-gen

# List installed skills
wouser skill list

# Discover unregistered skills in node_modules
wouser skill discover

# Update skills after npm update
wouser skill update
wouser skill update investor-ready-doc-gen

# Remove a skill
wouser skill remove investor-ready-doc-gen

Agent & Extension Management

# Install agents
wouser agent install npm:@wayofmono/agent-expert-coder
wouser agent list
wouser agent discover

# Install extensions
wouser extension install npm:@wayofmono/extension-web-search
wouser extension list
wouser extension discover

Built-in Tools

| Tool | Description | |------|-------------| | read | Read file contents with line ranges | | bash | Execute shell commands with timeout | | edit | Diff-based file editing (find/replace) | | write | Write/overwrite files | | grep | Search file contents with regex | | find | Find files by name/glob | | ls | List directory contents |

Configuration

Project Config (.wo/)

Created by wouser --init:

.wo/
├── manifest.json        # Registered skills, agents, extensions
├── models.json          # Model/provider settings
├── skills/              # Installed skills
├── extensions/          # Installed extensions
└── themes/              # Custom themes

Global Config (~/.wo/agent/)

~/.wo/agent/
├── skills/              # Global skills
├── agents/              # Agent definitions
├── extensions/          # Extensions
├── prompts/             # Prompt templates
└── themes/              # Themes

API Key Setup

# OpenAI
export OPENAI_API_KEY="sk-..."

# Anthropic
export ANTHROPIC_API_KEY="sk-ant-..."

# Google Gemini
export GEMINI_API_KEY="AIza..."

# Ollama (local, no key needed)
ollama pull qwen3.5:9b
ollama serve

Programmatic Usage (SDK)

import { createAgentSession, ModelRegistry, AuthStorage } from "@wayofmono/wo-agent";

// Create session
const session = await createAgentSession({
  cwd: "/my/project",
  model: someModel,
  thinkingLevel: "medium",
});

// Send prompts
await session.prompt("Analyze this data and generate a report");

// Add custom tools
await session.setTools([...existingTools, myCustomTool]);

// Listen to events
session.addEventListener((event) => {
  switch (event.type) {
    case "message_start": /* ... */ break;
    case "message_end": /* ... */ break;
    case "turn_end": /* ... */ break;
  }
});

Skill Manifest System

wouser manages skills, extensions, and agents via a manifest:

import { readManifest, discoverNpmSkills } from "@wayofmono/wo-agent";

// Read manifest
const manifest = readManifest(agentDir);

// Discover npm-installed skills
const skills = discoverNpmSkills(agentDir);

Differences from wo-coding-agent

| Feature | wo-coding-agent (wocode) | wo-agent (wouser) | |---------|---------------------------|---------------------| | Binary | wocode | wouser | | Purpose | Coding agent CLI | General-purpose SDK | | Config dir | ~/.wocode/agent/ | ~/.wo/agent/ | | Skill CLI | No | Yes (wouser skill install) | | Primary use | Terminal coding assistant | IDE/product integrations |

Package Dependencies

  • @wayofmono/wo-agent-core — Core agent runtime
  • @wayofmono/wo-ai — LLM provider abstraction
  • @wayofmono/wo-tui — Terminal UI components
  • @wayofmono/wo-user-extra — Additional extension skills

Related Packages

  • @wayofmono/wo-coding-agent — Coding agent CLI (wocode)
  • @wayofmono/wo-agent-core — Core runtime both are built on
  • @wayofmono/wo-ai — LLM providers used by this
  • @wayofmono/wo-tui — Terminal UI used by this

Part of the WayOfMono high-performance coding agent ecosystem.