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

@goyamegh/agent-health

v0.1.16

Published

Observability Agent Evaluation Framework for Root Cause Analysis

Readme

AgentEval

An evaluation framework for Root Cause Analysis (RCA) agents. Uses "Golden Path" trajectory comparison where an LLM Judge evaluates agent actions against expected outcomes.

Features

  • Evals: Real-time agent evaluation with trajectory streaming
  • Experiments: Batch evaluation runs with configurable parameters
  • Compare: Side-by-side trace comparison with aligned and merged views
  • Live Traces: Real-time trace monitoring with auto-refresh and filtering
  • Trace Views: Timeline and Flow visualizations for debugging
  • Reports: Evaluation reports with LLM judge reasoning

For a detailed walkthrough, see Getting Started.


Quick Start

# Install dependencies
npm install

# Option 1: Production mode (single server)
npm run server   # Builds frontend + starts server on port 4001

# Option 2: Development mode (two terminals)
# Terminal 1 - Backend server (port 4001)
npm run dev:server

# Terminal 2 - Frontend dev server (port 4000)
npm run dev

Open http://localhost:4000


Authentication (Required)

AWS credentials are required for the Bedrock LLM Judge to score evaluations.

Create a .env file:

cp .env.example .env

Add your AWS credentials:

AWS_REGION=us-east-1
AWS_ACCESS_KEY_ID=your_access_key
AWS_SECRET_ACCESS_KEY=your_secret_key
AWS_SESSION_TOKEN=your_session_token  # if using temporary credentials

Configuration (Optional)

All optional settings have sensible defaults. Configure only what you need.

Agent Endpoints

Agent endpoints default to localhost. Override if your agent runs elsewhere:

LANGGRAPH_ENDPOINT=http://localhost:3000
HOLMESGPT_ENDPOINT=http://localhost:5050/api/agui/chat
MLCOMMONS_ENDPOINT=http://localhost:9200/_plugins/_ml/agents/{agent_id}/_execute/stream

Storage (Persistence)

For persisting test cases, experiments, and runs. Features gracefully degrade if not configured.

OPENSEARCH_STORAGE_ENDPOINT=https://your-cluster.opensearch.amazonaws.com
OPENSEARCH_STORAGE_USERNAME=admin
OPENSEARCH_STORAGE_PASSWORD=your_password

Traces (Observability)

For agent execution traces. Features gracefully degrade if not configured.

OPENSEARCH_LOGS_ENDPOINT=https://your-logs-cluster.opensearch.amazonaws.com
OPENSEARCH_LOGS_USERNAME=admin
OPENSEARCH_LOGS_PASSWORD=your_password

See .env.example for all available options.


Development Commands

| Command | Description | |---------|-------------| | npm install | Install dependencies | | npm run dev | Start frontend dev server (port 4000) | | npm run dev:server | Start backend server (port 4001) | | npm run build | TypeScript compile + Vite production build | | npm run test | Run Jest test suite |

Production Mode

npm run server  # Build UI + start single server on port 4001

Open http://localhost:4001


Agent Setup

AgentEval supports multiple agent types:

| Agent | Endpoint Variable | Setup | |-------|-------------------|-------| | Langgraph | LANGGRAPH_ENDPOINT | Simple localhost agent | | HolmesGPT | HOLMESGPT_ENDPOINT | AG-UI compatible RCA agent | | ML-Commons | MLCOMMONS_ENDPOINT | See ML-Commons Setup |


Architecture

Browser (React UI)
       |
       v
Backend Server (4001) --> Bedrock LLM Judge
       |
       v
Agent Endpoint --> Tools --> OpenSearch Data

Troubleshooting

| Issue | Solution | |-------|----------| | Cannot connect to backend | Run npm run dev:server, check curl http://localhost:4001/health | | AWS credentials expired | Refresh credentials in .env | | Storage/Traces not working | Check OpenSearch endpoint and credentials in .env |


Documentation