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

llm-orchestra-dashboard

v0.6.0

Published

Local observability dashboard for LLM Orchestra

Readme

llm-orchestra-dashboard

npm version CI License: MIT

Local observability dashboard for LLM Orchestra - monitor your multi-model AI applications in real-time.

Features

  • Real-time Stats - Track requests, tokens, costs, and latency
  • Trace Viewer - Inspect distributed traces and span hierarchies
  • Cost Breakdown - Analyze costs by provider and model
  • Provider Health - Monitor provider availability and performance
  • CLI Commands - Quick stats from the terminal
  • SSE Updates - Live updates via Server-Sent Events

Installation

npm install llm-orchestra-dashboard

Quick Start

Embedded Mode (Recommended)

Attach the dashboard to your running Orchestra instance:

import { Orchestra } from 'llm-orchestra';
import { attachDashboard } from 'llm-orchestra-dashboard';

const orchestra = new Orchestra({
  anthropic: { apiKey: process.env.ANTHROPIC_API_KEY },
  openai: { apiKey: process.env.OPENAI_API_KEY },
});

// Attach dashboard on port 3737
const dashboard = attachDashboard(orchestra, {
  port: 3737,
  open: true, // Opens browser automatically
});

// Your application code...
const response = await orchestra.complete({
  model: 'claude-3-opus',
  messages: [{ role: 'user', content: 'Hello!' }],
});

// Dashboard shows real-time stats and traces

Cloud Deployment

See the cloud dashboard docs for full setup steps and API examples.

CLI Commands

# Show current stats
npx orchestra-dashboard stats

# List recent traces
npx orchestra-dashboard traces

# View cost breakdown
npx orchestra-dashboard costs

# Check provider health
npx orchestra-dashboard health

# Start standalone server
npx orchestra-dashboard serve --port 3737

Web Dashboard

Navigate to http://localhost:3737 to access:

| Page | Description | |------|-------------| | / | Overview with stats cards, live request feed, cost chart | | /traces | List of traces with filtering and search | | /traces/:id | Trace detail with span tree and attributes | | /costs | Cost breakdown by provider and model | | /health | Provider status and latency monitoring |

API Endpoints

| Endpoint | Description | |----------|-------------| | GET /api/stats | Current statistics | | GET /api/traces | Paginated trace list | | GET /api/traces/:id | Single trace detail | | GET /api/health | Provider health status | | GET /api/requests | Recent requests | | GET /api/events | SSE stream for real-time updates |

Configuration

attachDashboard(orchestra, {
  port: 3737,           // Server port (default: 3737)
  open: true,           // Auto-open browser (default: false)
  host: 'localhost',    // Bind address (default: 'localhost')
});

Tech Stack

  • Hono - Ultra-lightweight web framework
  • HTMX + SSE - Real-time updates without React/Vue
  • Chart.js - Cost visualization charts
  • Pico CSS - Classless CSS with dark mode
  • Commander.js - CLI framework

Development

# Install dependencies
npm install

# Build
npm run build

# Run tests
npm test

# Development mode with hot reload
npm run dev

Test Coverage

The dashboard includes comprehensive tests:

  • api-routes.test.ts - REST API endpoint tests
  • sse-routes.test.ts - Server-Sent Events tests
  • pages-routes.test.ts - HTML page rendering tests
  • cli-commands.test.ts - CLI command tests
  • memory-connector.test.ts - In-memory connector tests
  • html-utils.test.ts - XSS protection tests

Run tests:

npm test

License

MIT