What an LLM can and can't do in your infrastructure
Twenty years of running systems, a couple working with LLMs: where AI helps an ops team, and where it is a liability.
AI tools are currently marketed heavily to infrastructure teams. After two decades of running production systems, and a couple of years working closely with how LLMs work, I use a split that has worked well for me. It is not “AI good” or “AI bad”. It is AI used in the right place.
The mental model
An LLM behaves like a fast, fluent junior who is sometimes confidently wrong. It will produce a plausible answer to almost anything, instantly, in your exact format, and it has no idea when it is wrong. It predicts likely text, not true text.
This property decides how to use it. It makes the LLM a productivity gain for a senior who verifies, and a risk for a team that trusts it without checking. Same tool, opposite outcomes, depending on how you use it.
The model matters
“Confidently wrong” is the failure mode, not a fixed error rate, and the rate varies considerably with which model you use. A small local model is unreliable. A frontier model like Claude Opus performs differently: it gets things right most of the time, and serious errors are rare. The gap between the two is large, and it is widening with every release.
That difference should change how much you rely on the model. It should not change whether you check it. The discipline is identical at both ends, read it, question it, test it; the better model just means your check passes more often. If you stop verifying because “Opus is basically always right”, the rare confident mistake reaches production. Adjust your trust to the model, but never drop verification entirely.
Where it helps
Useful
- Explaining a cryptic error or stack trace
- Summarising long logs into "what changed"
- First-draft scripts, configs, IaC
- Drafting runbooks and postmortems
- Rubber-ducking a design decision
- Translating between formats and tools
A liability
- Acting unattended on production
- Anything touching secrets or access
- Decisions that need ground truth it lacks
- "It sounded confident, so I ran it"
- Anything where a wrong answer is expensive and hard to catch
The pattern in the left column: the input is messy or in natural language, and a human checks the output before it touches anything. The pattern on the right: the model is trusted to be correct, or allowed to act on its own. Crossing that line means production depends on an unsupervised model.
The cost of hallucinations
A wrong config that looks right is worse than no config at all, because no config fails loudly and a plausible-but-wrong one fails later in a way nobody predicted. The model’s fluency is the risk: the output is always well-formed, so “looks correct” tells you nothing.
A great deal of this is a context problem. A model invents most when the relevant facts are not actually in front of it, so the more of the real situation you can fit in its window, the less it has to guess. This is another area where the bigger models are ahead: a 200k-token context sounds large, but for a real codebase or a set of configs and logs it is frequently not enough. The million-token windows on the larger frontier models help in practice: you give them the whole picture instead of a curated slice, and they have fewer gaps to fill with invented details.
It helps, but it does not remove the need to verify. Verification is not an optional extra, it is a requirement. The key question for any AI workflow in ops is never “can the model do this?”. It is “can I check its work faster than I could have done the work myself?”. When the answer is yes (reading a draft script, sanity-checking a log summary), you win. When it is no (trusting a one-shot answer about something you cannot easily verify), you have just moved the risk somewhere you cannot see it.
Where I use it on my infrastructure
In practice it comes down to two dials: how good the model is, and how good my guardrails are. For a quick one-off, a systemd unit, an nginx block, a throwaway script, I read it like a junior’s pull request and run it myself. At that size, reading every line is the right move, and it works.
“Read every line” does not scale. I hand an agent the keyboard to build a whole CUDA engine, far more code than anyone could review by hand. Past a certain size you change the approach: instead of reading everything, you make a mistake cheap and reversible, then give the model room to work. Scoped credentials, least privilege, everything in git, actual gates, that is the room. Inside a room like that, a capable model can work independently, because the room keeps it safe, not your constant attention.
So it is not “never give it the keys”, I give these models a great deal of latitude every day. It is “never give it keys to a room you cannot undo”. Trust is still earned per change, still calibrated to the model and the stakes, but how you grant it scales: from reading every line of a throwaway script, to trusting the guardrails around an agent writing a hundred thousand. The lesson from twenty years of operations is not “trust nothing”. It is “set up the safeguards before you hand over the keys”.
The underlying rule: AI proposes, a human decides. The model drafts, a person approves, and only then does the system act.