Skip to content

Why pytest-agent-eval

LLMs are probabilistic. The same prompt, the same code, the same commit can pass one run and fail the next, and a plain assert was never built to answer a question about a distribution from a single sample. pytest is still the industry-standard way to test Python, so rather than inventing a new framework, this plugin extends it: the same assert, the same pytest ..., the same CI job, but with the pieces a probabilistic system actually needs: repeated runs, thresholds, and checks on what an agent did rather than only what it said.

This is what we'll be looking at:

Go deeper