AI Will Be Wrong Sometimes. What Then? A developer building an LLM-powered customer support agent has documented four deterministic failure-mitigation patterns that avoid asking the model to be correct, including score-threshold filtering to suppress weak search matches, circuit breakers for unreachable carrier APIs, and a deterministic keyword-classifier fallback that refuses rather than guesses. The project, published with a companion repository and a failure-modes document mapping each mitigation to a test, argues that AI systems rely on the same circuit breakers and range checks used in ordinary microservices, with the only novelty being which component is unreliable. Four ways this system goes wrong, and the code that catches each one Part 11 findings of an experiment: building an LLM-powered support agent with deterministic boundaries. The companion repo https://github.com/antoniolopescorreia/reliable-ai-support contains the full code. The agent asks to refund order ORD-999. There is no ORD-999. There never was. Nothing in this codebase checks for hallucinations. The request dies anyway, in the same line of code that stops a customer reading someone else's order — a lookup that takes the authenticated session and finds nothing. An invented id and a stranger's id are the same thing to a query with a WHERE clause on the customer. That's the pattern for every failure mode in this post. None of the mitigations ask the model to be right. Search always returns something . Ask "who won the game last night?" and the ranker dutifully surfaces the rate-limits article, because both contain the word "the". The honesty has to live in the score, not the ranking. Below a threshold, the best match is treated as noise and the agent declines: php Optional