agent-evaluation-and-guardrails
Agent Evaluation and Guardrails
Purpose
LLM agents don't fail loudly the way traditional software does — a prompt change, a model upgrade, or a new tool can silently degrade quality on a subset of inputs while looking fine in a quick manual check. Evaluation is the practice of measuring agent behavior against a representative, versioned test set so changes can be compared objectively; guardrails are the runtime checks that catch bad outputs or unsafe actions before they reach a user or a downstream system. Together they are what makes "ship a prompt change" a controlled engineering decision instead of a guess. This skill covers building both the offline eval harness (used before shipping) and the online guardrail layer (used during every real run), and treats them as complementary, not interchangeable.