Test your prompts, agents, and RAG pipelines — red teaming, regression testing, and CI/CD for AI
npm installimport { Evalharness } from "./evalharness";
const instance = new Evalharness()
const r = await instance.runtest({ input: 'test' })npx tsx src/cli.ts status
npx tsx src/cli.ts run --input "data"| Method | Description |
|---|---|
runtest() |
Runtest |
assertcontains() |
Assertcontains |
assertsemantic() |
Assertsemantic |
redteam() |
Redteam |
generatereport() |
Generatereport |
comparemodels() |
Comparemodels |
npx vitest(c) 2026 Officethree Technologies. All Rights Reserved.