Guardrails, Cost and Latency (the three budgets the harness enforces)

Building with LLMs. The last board of the run. “Evals for Apps” (Evals for Apps (the test suite for a program that is a string)) built the instrument that says whether a reply is right. This board asks the three questions that come after right: what the app may do, what it may spend, and how long it may take.
The returns desk is a support assistant built on a large language model (LLM) - software trained to read and write text - that helps an online shop’s customers look up an order and start a return.
Before you start. Every reply from the returns desk starts from the window, the block of text the model reads before it answers, and its only action besides replying is a tool call: asking a program to run one exact, named action, like looking up an order. The harness is the ordinary code wrapped around the model that holds the window together and cannot be seen or argued with by the model - every check in this lesson lives there, never in a sentence of the prompt.