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

olakai-cli

v0.1.11

Published

Olakai CLI tool

Readme

Olakai CLI

Command-line interface tool for the Olakai platform. Designed for managing Olakai configuration and inspecting AI activity.

Installation

npm install -g olakai-cli

Usage

olakai <command> [options]

Commands

Authentication

olakai login              # Login via browser (OAuth 2.0 Device Flow)
olakai logout             # Clear credentials
olakai whoami             # Show current user

Agents

olakai agents list [--json] [--include-kpis]
olakai agents get <id> [--json]
olakai agents create --name <name> [--description <desc>] [--role <WORKER|COORDINATOR>] [--with-api-key]
olakai agents update <id> [--name <name>] [--description <desc>]
olakai agents delete <id> --force

Workflows

olakai workflows list [--json] [--include-agents]
olakai workflows get <id> [--json]
olakai workflows create --name <name> [--description <desc>]
olakai workflows update <id> [--name <name>] [--description <desc>]
olakai workflows delete <id> --force

KPIs

olakai kpis list [--agent-id <id>] [--json]
olakai kpis get <id> [--json]
olakai kpis create --name <name> --calculator <formula|classifier|llm-data> [--formula <expr>]
olakai kpis update <id> [--name <name>]
olakai kpis delete <id> --force
olakai kpis validate --formula <expr> [--agent-id <id>]
olakai kpis context-variables [--agent-id <id>]

Custom Data

Manage custom data configurations for KPI formula variables:

olakai custom-data list [--json]
olakai custom-data get <id> [--json]
olakai custom-data create --name <name> --type <STRING|NUMBER|BOOLEAN> [--description <desc>]
olakai custom-data update <id> [--name <name>] [--type <type>] [--description <desc>]
olakai custom-data delete <id> --force

Custom data fields allow you to send arbitrary metrics from your SDK integration that can be used as variables in KPI formulas. The --name must exactly match the key used in your SDK's customData object.

Activity

Inspect AI activity and prompt requests:

# List prompt requests with filters
olakai activity list [--agent-id <id>] [--workflow-id <id>] [--since <date>] [--until <date>] [--limit <n>] [--offset <n>] [--include-content] [--include-analytics] [--json]

# Get single prompt request details
olakai activity get <id> [--include-content] [--json]

# Get aggregated KPI values
olakai activity kpis --agent-id <id> | --workflow-id <id> [--since <date>] [--until <date>] [--period <hourly|daily|weekly>] [--include-atoms] [--json]

Environment

Set environment with -e flag or OLAKAI_ENV variable:

  • production (default): https://app.olakai.ai
  • staging: https://staging.app.olakai.ai
  • local: http://localhost:3000

Example:

olakai -e local login
# or
OLAKAI_ENV=local olakai login

Development

# Install dependencies
pnpm install

# Run in development mode
pnpm dev

# Build for production
pnpm build

# Run linting
pnpm lint

# Type check
pnpm type-check

Requirements

  • Node.js v20 or higher
  • pnpm v10 or higher