libraryPackage manifestv2.2.4

lib.agent-evals

Agent evaluation runners, adapters, graders, and recommendation evidence.

@lssm-tech/lib.agent-evals
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 2.2.4. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
servernode
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGElib.agent-evalsplatform

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

3 declarationsSELECT TO INSPECT

@lssm-tech/lib.agent-evals

Deterministic agent evaluation runners, model adapters, graders, and recommendation evidence for ContractSpec.

What it provides

  • AgentEvaluationRunner for candidate-vs-baseline trial aggregation.
  • AgentEvalsFeature package metadata for docs and discovery.
  • Scripted and live model runner adapters.
  • Exact-match, schema, policy, artifact, and environment-outcome graders.
  • An LLM-judge adapter that turns an injected judge client into a grader.
  • Replay bundle refs, redaction leak detection, and cost/latency summaries.
  • Fail-closed output, blocking-grader, deterministic-safety, and trial-integrity gates for production-shaped candidate comparisons.
  • Route- and release-bound simulated qualification decisions with mandatory baseline evidence for model upgrades.
  • A checkpointed rollout state machine covering offline, shadow, internal, 1%, 10%, 50%, production, and evidence-backed rollback stages.
  • V2 immutable dataset and exact evaluation-subject bindings covering route, model profile, invocation settings, application purpose, evaluator set, environment, and release versions.
  • Reproducible verified-success, cost-per-verified-success, p50/p95 latency, structured-output, tool, fallback, provider, and human-review metrics by dataset segment.
  • Dataset digests include an application-owned confidence-interval or power analysis method, minimum sample count, and rationale reference. Missing samples, invalid segment weights, uncovered segments, or rebound cases fail before recommendation.
  • V2 comparison artifacts project trials to sanitized case/segment refs, numeric metrics, grader verdicts, replay digests, and boolean failure flags; prompts, responses, artifact bodies, metadata payloads, and replay URIs are never included.
  • CAS-ready qualification promotion/revocation and verified canary histories; expired, revoked, rebound, discontinuous, or re-digested rollout evidence fails closed.

Model evaluation never grants provider access or effect authority. A candidate becomes live_verified only after every rollout checkpoint has complete health evidence; a newer model is not promoted merely because it exists or scores well on average.

Local commands

  • bun run build
  • bun run typecheck
  • bun run test
  • bun run lint:check

Declared capabilities.

Lib Agent Evals

Agent evaluation runners, adapters, graders, and recommendation evidence.

Use it to

  • Adopt agent evaluation runners, adapters, graders, and recommendation evidence

Requires

  • TypeScript

Choose another boundary when

  • The @lssm-tech/lib.agent-evals package constraints do not match the target runtime or platform.

@lssm-tech/lib.agent-evals

@lssm-tech/lib.agent-evals/adapters

@lssm-tech/lib.agent-evals/adapters/live-model

@lssm-tech/lib.agent-evals/adapters/llm-judge

@lssm-tech/lib.agent-evals/adapters/scripted-model

@lssm-tech/lib.agent-evals/agent-evals.feature

@lssm-tech/lib.agent-evals/graders

@lssm-tech/lib.agent-evals/graders/artifact

@lssm-tech/lib.agent-evals/graders/environment-outcome

@lssm-tech/lib.agent-evals/graders/exact-match

@lssm-tech/lib.agent-evals/graders/policy

@lssm-tech/lib.agent-evals/graders/schema

Imports and export paths.

27 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

27 imports

Dependencies and related packages.

Runtime dependencies 3
Development dependencies 3
typescript
catalog:

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

publish:pkgbun publish --tolerate-republish --ignore-scripts --verbose
publish:pkg:canarybun publish:pkg --tag canary
buildcontractspec-bun-build build
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
devcontractspec-bun-build dev
cleanrimraf dist .turbo
lintbun run lint:fix
lint:fixnode ../../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../../scripts/biome.cjs check --write .
lint:checknode ../../../../scripts/biome.cjs check .
testbun test
prebuildcontractspec-bun-build prebuild
typechecktsgo --noEmit
Your view

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Your context

The different parts of you

Choose a starting point

A useful mix of context, visuals and gentle guidance.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Reading comfort

Choose your language

Interface language changes text only. Markets, prices and workflows keep their own settings.

Translation coverage

Original source

Navigation151
Graph616
Categories378
Portfolio833
Examples2,035
Source preview1,542

More translations will be added as content is reviewed.

This preference is saved on this browser.

Search the website

Useful starting points

No results. Try a shorter phrase, an operation name or another search area.

A LITTLE ROOM TO EXPLORE

Find something to explore.

Open a closer look on this page, try a different perspective, or follow the detail into its own page.

How previews and controls work
01

Look before you leave

Hover a link or focus it with Tab to see a preview. Clicking the original link or pressing Enter always opens its destination.

02

Stay with the context

Move into the preview to explore its sections. Use Alt + ↓ from a focused link to enter it with the keyboard. Escape closes it.

03

Open the possibilities

Disclosure rows, perspective choices and highlighted controls reveal more. Your view changes reading comfort and the context you explore.

A separate button for a closer look

Show small preview buttons beside links where there is room. Tap the eye to inspect, or tap the link to go straight there. This choice stays in this tab.

No browsing history is collected. Reduced motion follows your device and Your view.