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

@eval-kit/core

v0.3.1

Published

Schema, runner, scoring engine, and agent adapters for eval-kit — the scoring cockpit for research agents.

Readme

@eval-kit/core

Schema, runner, scoring engine, agent adapters, and CLI for eval-kit — the scoring cockpit for research agents.

Humans score, not LLMs. Real tasks, not synthetic. Multi-step, not single-turn.

npm version License: MIT

Install

npm install @eval-kit/core
# or
pnpm add @eval-kit/core

60-second quickstart

# 1. Scaffold a new eval project
npx @eval-kit/core init my-evals
cd my-evals && npm install

# 2. Run the starter suite against the mock adapter
npx eval-kit run suites/starter.yaml --adapter mock

# 3. Open the dashboard to score the run
git clone https://github.com/akaieuan/eval-kit && cd eval-kit
pnpm install && pnpm --filter @eval-kit/dashboard-app dev
# → open http://localhost:3000

Score each step with 1 / 2 / 3 for golden truth, j/k to move between steps, ⌘K for the command palette.

A standalone npx @eval-kit/dashboard (no git clone needed) ships in v0.4.

What's in the box

  • Zod schemasEvalSuite, EvalTask, EvalStep, Run, ScoredRun, StepScore, AgentProfile. Source of truth for every persisted shape; TS types inferred via z.infer. Validate inputs with parseSuite / parseRun / parseScoredRun.
  • Runner — orchestrates a suite against an AgentAdapter, attaches AutoScore per step, writes run.json.
  • Scoring — two layers. autoScoreStep runs at trace time (deterministic tool-match check, distraction heuristic). aggregateScoredRun rolls up suite-level metrics from human reviews.
  • Agent adapterscreateMockAdapter, createAnthropicAdapter, createOpenAIAdapter, createHttpAdapter. Custom adapters via the AgentAdapter interface.
  • YAML agent profiles — describe an agent (model, system prompt, tools, max iterations) without writing TypeScript. Two seed profiles ship in the main repo.
  • CLIrun, review, diff, report, init, preflight, ci, export.

CLI commands

eval-kit init <dir>                                  # scaffold a new eval project
eval-kit run <suite.yaml> --adapter <name>           # run a suite
eval-kit review <run.json>                           # opens dashboard prompt
eval-kit diff <a.scored.json> <b.scored.json>        # compare two scored runs
eval-kit report <run.scored.json>                    # aggregate metrics
eval-kit preflight <suite.yaml> --adapter <name>     # dry-run the first step
eval-kit ci <suite.yaml> --adapter <name>            # run + gate on regressions
eval-kit export <run.scored.json> --format sft|dpo   # emit training JSONL

Use it programmatically

import { parseSuite, runSuite, createAnthropicAdapter } from "@eval-kit/core";
import { readFileSync } from "node:fs";
import { parse } from "yaml";

const suite = parseSuite(parse(readFileSync("suites/my-suite.yaml", "utf8")));
const adapter = createAnthropicAdapter({
  model: "claude-sonnet-4-5",
  systemPrompt: "You are a research assistant. Use tools when they help.",
});
const run = await runSuite(suite, adapter);

CI integration

eval-kit ci suites/my-suite.yaml \
  --adapter anthropic --model claude-sonnet-4-5 \
  --baseline runs/baseline.scored.json \
  --min-tool-match 80 --max-prefilled 50

Exits non-zero on tier-1 regressions (auto-scored). Golden-truth regressions are reported but never fail the build — those need human judgment.

Status

v0.3.0 — API stable for the 0.3.x line. Pre-1.0 overall; minor releases (0.4, 0.5) may add new surfaces but won't break public APIs in 0.3.x patches.

Links

License

MIT