Frontend for Calibrate, a framework for evaluating AI agents which let you move from slow, manual testing to a fast, automated, and repeatable testing process for your entire agent stack.
- Node.js 18+
- npm
npm installCopy env.example to .env.local and fill in the values:
cp env.example .env.localnpm run devOpen http://localhost:3000 in your browser.
npm run build
npm startCoverage is measured in two independent layers, reported separately on Codecov
(the component and e2e flags / badges above):
- Component / interaction tests — Jest (jsdom) + React Testing Library, in
src/**/__tests__/. Fast, no backend. - End-to-end tests — Playwright, in
e2e/. Split intopublic(no backend) andauthenticated(*.auth.spec.ts, needs the backend on:8000). See e2e/README.md.
npm test # component tests (Jest)
npm run test:coverage # component coverage -> coverage/component/
npm run test:e2e # public E2E (Playwright, no backend)
npm run test:e2e:integration # authenticated E2E (needs backend)
npm run test:e2e:coverage # public E2E coverage -> coverage/e2e/
npm run coverage # component + public E2E coverageTo deploy your own instance of Calibrate's frontend, see SELF_HOSTING.md.
Calibrate also includes a backend and CLI.
Reference docs:
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
