Testing an agent
Checking an agent in two ways. Unit tests swap the model for a fake that replays scripted replies, so the harness's own code is tested for free and the same way every time. Evals give the real agent tasks in fresh copies of a project, check each result with a command rather than the agent's own report, and read the pass rate and cost over several runs.
Depth 1 · Foundation
You can tell a unit test with a fake model from an eval, write checks that don't trust the agent's own report, and read pass rates over several runs as solid, flaky or missing something.
Sign in to prove what you know with a short quiz, see how deep you've gone, and earn XP for it.
Sign in with GoogleDepths of understanding
- 1
Foundation
You can tell a unit test with a fake model from an eval, write checks that don't trust the agent's own report, and read pass rates over several runs as solid, flaky or missing something.
Your path here
What's still between you and Testing an agent, depth 1, in the order you can learn it.
- 1Language modelDepth 1 · Foundation · Language Models
- 2AI agentDepth 1 · Foundation · AI Agents
- 3TokenDepth 1 · Foundation · Language Models
- 4CountingDepth 1 · Foundation · Number Systems
- 5Comparing numbersDepth 1 · Foundation · Number Systems
- 6ProbabilityDepth 1 · Foundation · Probability
- 7Flat shapesDepth 1 · Foundation · Geometry
- 8Equal partsDepth 1 · Foundation · Fractions
- 9LengthDepth 1 · Foundation · Measurement
- 10LengthDepth 2 · Deeper · Measurement
- 11Equal partsDepth 2 · Deeper · Fractions
- 12FractionsDepth 1 · Foundation · Fractions
- 13ProbabilityDepth 2 · Deeper · Probability
- 14ProbabilityDepth 3 · Connected · Probability
- 15ProbabilityDepth 4 · Deeper still · Probability
- 16ProbabilityDepth 5 · Deeper still · Probability
- 17Next-token predictionDepth 1 · Foundation · Language Models
- 18Stateless modelDepth 1 · Foundation · Language Models
- 19Context windowDepth 1 · Foundation · Language Models
- 20System promptDepth 1 · Foundation · Language Models
- 21Tool useDepth 1 · Foundation · AI Agents
- 22Agent loopDepth 1 · Foundation · AI Agents
- 23BeliefDepth 1 · Foundation · Epistemology
- 24KnowledgeDepth 1 · Foundation · Epistemology
- 25TestimonyDepth 1 · Foundation · Epistemology
- 26Checking an agent's workDepth 1 · Foundation · AI Agents
- 27Testing an agentDepth 1 · Foundation · AI Agents
Where it fits
Builds on
This concept