LLM fluency is not reliability, design your system for proof
A quote from Scott Aaronson highlights a core AI engineering problem: fluent output is not the same as reliable reasoning. This post focuses on how you inspect, constrain, and evaluate LLM systems so they hold up in production.
Scott Aaronson, quoted by Simon Willison, points to a useful split in AI work. Some outputs sound deep while hiding weak reasoning. Others look plain but hold up under inspection. If you build with language models, this matters more than benchmark headlines.
For a practitioner, the hard part is not getting words on a page. It is getting behavior you can inspect, constrain, and trust inside a system. The gap between fluent text and reliable reasoning shows up fast in production. It appears in support agents, data extraction, coding tools, and workflow automation.
The practical lesson is simple. Treat model output as an interface, not a verdict. Build systems which expose where the model guessed, where it retrieved facts, where your code checked those facts, and where failure modes still sit. This is less about model mystique and more about software design.
Separate language skill from task reliability
A smooth answer often hides three different components:
- next-token fluency
- latent world knowledge from training
- multi-step task execution under constraints
These components fail in different ways. A model with strong fluency and broad recall still falls apart on tasks with strict state, arithmetic, tool sequencing, or edge-case business rules. You see this when an agent explains a billing policy well, then applies the wrong exception on line three.
Your evaluation setup should reflect this split. Do not score one broad prompt and call it done. Break tasks into layers:
- Did the model parse the request correctly?
- Did it retrieve the right context?
- Did it choose the right tool?
- Did your code validate the tool output?
- Did the final response preserve the validated result?
This decomposition matters because fixes live in different places. Retrieval errors point to indexing or chunking. Tool errors point to schema design or retries. Final-answer drift points to prompt structure or response templating.
A simple pattern works well in production. Keep a machine-readable state alongside the natural-language answer. For example, store selected policy IDs, numeric totals, confidence flags, and validation results as structured fields. Then render the user-facing text from those fields where possible. This reduces the chance of a polished paragraph overriding a checked result.
Inspect the chain around the model, not only the model
Many AI failures come from the system around the model. Weak context assembly, stale retrieval, permissive tool wrappers, and poor post-processing create more operational pain than model IQ debates.
Inspect these points first:
- Context window composition. Which documents were inserted, in what order, and with what truncation?
- Retrieval quality. Did the ranker pull the policy page or an old changelog?
- Tool contract design. Are arguments typed and constrained, or passed as loose text?
- Execution logs. Do you record tool calls, retries, and timeouts?
- Output gating. What blocks an answer from shipping when required checks fail?
A strong agent stack leaves an audit trail. You want to reconstruct why the system answered the way it did without reading a transcript like a detective novel. In practice, this means structured logs for retrieval hits, tool inputs and outputs, validation failures, and final response templates.
For example, suppose you run an internal coding assistant. A bad patch is rarely only a model issue. The model might have received an outdated API signature from retrieval, generated a patch against the wrong file version, and passed a test suite with weak coverage. The fix sits across source indexing, branch selection, and test gating.
This is where teams waste time. They swap models before measuring system-level faults. Often the cheaper gain is better observability.
Design prompts and tools for constraint, not eloquence
Prompting advice often centers on phrasing. In production, the bigger win is constraint. You want prompts and tool interfaces which make the wrong move harder.
Start with schemas. If a model must extract an invoice, define exact fields, types, enums, and null behavior. If it must decide whether to call a refund API, require a discrete action object instead of free-form text.
Good constraints include:
- JSON schemas with narrow types
- enums for action selection
- explicit abstain states
- required citation fields for factual claims
- bounded numeric ranges
- step limits for agent loops
Then add validators outside the model. Check dates, sums, IDs, and referential integrity in ordinary code. If a field fails validation, route to retry or human review. Do not ask the model to be its own final judge.
Here is a simple pattern for extraction pipelines:
1. Model reads source document.
2. Model returns structured JSON.
3. Validator checks schema, totals, dates, and cross-field rules.
4. If invalid, send targeted repair prompt with failing fields only.
5. If still invalid, escalate.
This works because it narrows the task after failure. A broad retry often repeats the same mistake in different words. A repair loop tied to concrete validation errors performs better and is easier to measure.
For agentic systems, use tool affordances the way you use typed APIs in any other service. Name tools clearly. Keep argument surfaces small. Avoid optional parameters with overlapping meaning. Require the model to choose from finite actions when the business process is finite.
Read the right signals during evaluation
Generic benchmarks do not tell you enough about your workflow. You need task-level signals from your own stack.
Useful evaluation signals include:
- success rate by subtask, not one top-line score
- abstention rate when evidence is missing
- citation accuracy against retrieved context
- tool-selection precision and recall
- repair-loop success rate after validation failure
- latency and token cost by workflow stage
- regression rate after prompt or model changes
One underused metric is unsupported assertion density. Count claims in the final answer which do not map to retrieved text, validated tool output, or deterministic program state. This catches a common failure mode, fluent glue text which quietly invents facts between true statements.
Another useful metric is state divergence. Compare the final natural-language answer against the structured state used to produce it. If the text says a refund is approved but the action object says manual_review, your system has a rendering or prompt-control problem.
You should also evaluate under realistic load and context noise. Production inputs contain OCR defects, partial records, contradictory policies, and users who omit key details. A model which scores well on clean examples still breaks when context contains near-duplicates or stale versions of the same document.
Build a test set from real failures. Tag each case by failure class. Then track whether changes improve one class while hurting another. This gives you a map of where the system bends.
Common failure patterns in AI business systems
Across support, ops, and internal tooling, the same patterns show up often.
First, retrieval contamination. The system pulls plausible but stale context. The model answers with confidence because the text it saw looked authoritative. Versioning and recency filters matter more than longer prompts.
Second, format compliance without semantic correctness. The JSON validates, but the values are wrong. This is why schema checks are necessary and insufficient. You still need domain checks.
Third, over-eager tool use. Agents call APIs when they should ask for missing information. Add explicit preconditions for each tool. Require evidence fields before execution.
Fourth, answer smoothing. The model softens uncertainty into polished prose. This makes error review harder. Prefer direct status fields such as missing_document, ambiguous_match, or policy_conflict, then translate them into user language.
Fifth, hidden prompt coupling. A small prompt edit fixes one task and breaks another because multiple behaviors share the same instructions. Split prompts by role where possible. Keep retrieval instructions separate from answer rendering. Keep policy rules separate from tone.
If you build with Go, these controls fit cleanly into ordinary service boundaries. Put validators in typed packages. Represent tool calls as structs. Log state transitions with request IDs. Keep the model behind an interface so you swap providers without rewriting your workflow logic. The more your AI layer looks like normal software, the easier it is to operate.
What to watch next
The next wave of useful AI work will look less like chat and more like audited execution. Expect stronger schema support, better tool protocols, improved trace capture, and tighter integration between retrieval, validation, and policy engines.
For your own systems, watch the gap between eloquence and checked work. Measure it. Log it. Shrink it with constraints and verification. Aaronson’s framing is a good prompt to inspect where your system sounds smart, and where it proves its work.