Docs — start here.
AssayKit is a cohort-aware evaluation layer for AI agents. Pin known-good runs per agent cohort, and every subsequent run gets scored against that baseline — surfacing regressions before they ship.
What AssayKit does
Most agent testing tools compare against a single golden run. They miss the context that matters: who is the agent, what environment is it running in, and what variance is normal for that cohort.
AssayKit was built to fill that gap. Define test scenarios as YAML, pin a baseline per agent cohort (model + version + role), and every new run is graded against the baseline — not a single snapshot. When behavior drifts outside the expected range, you get a clear signal before deployment.
The core workflow
Three steps, repeated for every cohort you ship.
Write the prompt
Define the input scenario in YAML — the prompt, the agent under test, and the environment it runs in.
Add assertions
Specify expected outputs and scoring criteria: structured patterns, grading rubrics, or LLM-as-judge prompts.
Run the test
Execute the suite. AssayKit scores each run against your cohort baseline and returns a clear pass/fail verdict.
Deeper guides
Long-form essays on the design decisions behind AssayKit.
Per-Cohort Baselines: Why Aggregate Scores Break With Multiple Agent Personas
If you're running tests across multiple agent personas, a single aggregate baseline will lie to you. Here's how to detect drift at the cohort level before it ships.
Read more →AI Agent Testing: Why Your Quality Gate Is Lying to You
Most AI agent evaluation setups produce pass/fail results that mean nothing. Here's how to build evaluation frameworks that actually catch regressions before they ship.
Read more →Ready to ship?
Generate an API key, import your first suite YAML, and run a scenario against a cohort baseline — usually under five minutes.
Open the app → Full API reference →