ACAgentic Craft

Intermediate~45 minHazelJS

Evals and Reliability

Gate agent quality with @hazeljs/testing and @hazeljs/eval—golden tasks, forbidden tools, CI reporters.

Authors
editorial-team
Published
Last reviewed

Make evals a merge requirement: describeAgent suites, golden datasets, and reliability signals beyond vibes.

Learning outcomes

  • Author expectTools / assertAgentResult cases
  • Wire eval CI to block regressions

Lessons

  1. 01describeAgent Golden Suites
    Author @hazeljs/testing describeAgent cases with expectTools, assertAgentResult, and runAgentSuite wiring.
  2. 02Eval Datasets and CI Gates
    Scale beyond hand tests with @hazeljs/eval golden datasets and CI reporters—with a wiring sketch.

Related patterns