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

@agentick/eval

v0.15.3

Published

Testing-shaped eval framework for Agentick. defineEval(...) returns a callable with runtime parameterization; .matrix(axes) runs cartesian parameter sweeps — e.g. the same document/expected pairs across multiple models — and reports per-cell results.

Readme

@agentick/eval

Testing-shaped eval framework for Agentick (v1). defineEval(...) returns a callable with runtime parameterization; .matrix(axes) runs cartesian parameter sweeps — the same inputs and expectations across multiple models — and reports per-cell results.

Port of @agentick/eval-next (packages-next/eval) onto v1 core APIs, with two extensions: t.send accepts content blocks (documents/images), and t.expect(...) records custom assertions for expected-output scoring.

import { defineEval } from "@agentick/eval";

const billEval = defineEval<{ model?: string }>({
  description: "bill extraction against known fixtures",
  app: async (o) => createMyExtractorApp({ model: o?.model ?? "google/gemini-2.5-flash" }),
  test: async (t) => {
    await t.send([fileBlock, { type: "text", text: "Extract the bill." }]);
    t.completed();
    t.calledTool("submit_extraction");
    t.noFailedActions();

    const submitted = t.lastToolCall("submit_extraction")?.input as Record<string, unknown>;
    t.expect("subtotal matches", Number(submitted?.SubTotal) === 187.5, {
      details: { got: submitted?.SubTotal, want: 187.5 },
    });
  },
});

// One run with factory defaults:
const result = await billEval();

// The same document + expectations across models:
const sweep = await billEval.matrix(
  { model: ["google/gemini-2.5-flash", "bedrock/us.amazon.nova-2-lite-v1:0"] },
  { concurrency: 1 },
);
for (const cell of sweep.cells) {
  console.log(cell.axes.model, cell.result.passed, `${cell.result.elapsedMs}ms`);
}

Key properties:

  • Fresh app per invocation — the app thunk runs once per eval call / matrix cell, so state never leaks between runs.
  • Assertions record, never throw — every failure shows up in one report; check result.passed for fail-fast behavior.
  • Tool observation built in — every tool_call/tool_result pair from the send handle's event stream lands in result.toolCalls, queryable via t.lastToolCall(name).
  • Sequential by defaultmatrix runs cells one at a time unless you raise concurrency, so real-model sweeps don't blow rate limits.

See the website docs (/docs/evals) for the full guide.