A plain-English starting point for the whole AI cluster in this vault. Everything about agents, harnesses, and coding tools sits on top of one component: the LLM. This page answers the 5W (and a bit of “how”), then covers where LLMs genuinely help and where they bite.


The 5W of LLMs

What is an LLM?

A Large Language Model is an AI system trained to predict the next chunk of text (a “token”) given everything before it. That is the entire core idea. You feed it text, it predicts what comes next, one token at a time, and that is how it writes an answer.

The “large” part is literal: it is trained on enormous amounts of text (books, code, websites) and has billions of internal parameters. By learning to predict text well, it absorbs grammar, facts, reasoning patterns, and how to write code as a side effect. Nobody programmed rules into it. The behavior emerged from prediction at scale.

So when an LLM “reviews your code” or “answers a question,” it is not looking anything up in a database. It is generating the most likely useful continuation based on patterns it learned during training. This single fact explains most of its strengths and its failure modes below.

Why do LLMs matter?

Because they change the interface to computers. Four shifts (drawn from Introduce to LLM):

  • No explicit rules needed. Old tools needed hand-written rules (“flag functions over 50 lines”). An LLM judges like a senior reviewer would, from context, without anyone writing the rule.
  • Language is the interface. Instead of learning a tool’s API, you describe what you want in plain words and the model does it.
  • Cross-domain synthesis. It can combine code, algorithms, and infrastructure knowledge in one answer. Classical tools can’t cross domains like that.
  • Ambiguity handling. Vague input doesn’t break it. It asks a clarifying question or makes a reasonable assumption.

One model, many tasks. That generality is why it spread so fast.

Who builds and uses them?

Builders: a handful of labs train the frontier models. Anthropic (Claude), OpenAI (GPT), Google (Gemini), Meta (Llama, open-weight), plus others like DeepSeek and Mistral. Training a frontier model is expensive, so the list is short.

Users: almost anyone. Developers (the focus of the source slides), writers, analysts, support teams, and PMs. You don’t need to understand the math to use one well. You need to understand its strengths and failure modes, which is the point of this page.

When did they arrive, and when should you use one?

Timeline (the honest version):

  • 2017 — the Transformer architecture is published (“Attention Is All You Need”), the design under almost every modern LLM.
  • ~2020 — scaling up (GPT-3) shows that bigger models trained on more text get qualitatively better.
  • Late 2022 — ChatGPT puts a usable LLM in front of the public and adoption explodes.
  • 2023 onward — models gain tools, longer context, and the agent harnesses that turn them into doers, not just chatters.

When to use one: tasks involving language, judgment, ambiguity, or cross-domain reasoning where you can verify the output. When not to: anything needing guaranteed-correct facts you can’t check, real-time data past the training cutoff, or where a confident-but-wrong answer is dangerous and unverifiable.

Where do they run, and where are they applied?

Where they run: mostly in the cloud, called through an API. Increasingly they also run locally on a laptop or device (see Local Models - Focus and Polish), which trades some quality for privacy and zero per-call cost.

Where they’re applied: coding assistants (Pi, Claude Code), writing and editing, customer support, search and summarization, data analysis. The vault’s whole AI Agents is one long answer to “where can you point an LLM.”

How does it actually work (briefly)?

Text in -> the model breaks it into tokens -> it predicts the next token, appends it, and repeats -> text out. It has no memory between sessions and no live internet by default. Anything it seems to “remember” was re-sent to it in the current request. That mechanic is the root of the memory illusion and explains the statelessness point below.

For the machinery one level down (what “breaks it into tokens” and “predicts the next token” actually involve), see Transformer Architecture, and its two core pieces Attention Mechanism and Tokenization. For why a raw next-token predictor ends up acting like a helpful assistant (and why models refuse, hedge, or differ in tone), see Post-Training and RLHF.


Where LLMs genuinely help

From Introduce to LLM, framed as real advantages rather than marketing:

AdvantageWhat it means
No explicit rules neededJudges code/text like a senior reviewer, from context, not from hand-written rules
Language is the interfaceDescribe the behavior you want instead of learning an API
Cross-domain synthesisCombines code + algorithms + infrastructure in a single answer
Ambiguity handlingAsks clarifying questions or makes reasonable assumptions instead of failing

Where LLMs bite (real disadvantages)

Seven failure modes worth memorizing. Most trace straight back to “it predicts likely text, it doesn’t look up truth”:

  1. Hallucinations — it can state false things confidently. Easy to catch in code (run it), harder in prose.
  2. No real-time knowledge — a training cutoff means library versions, APIs, and security advisories may be stale.
  3. Statelessness — every session starts fresh. A persistent context file (AGENTS.md, or this vault’s CLAUDE.md) is the workaround. See Agent Memory.
  4. Context window economics — large files and long chats cost money and attention. Be deliberate about what you include. See Context Engineering.
  5. Cost and latency — heavy tasks take 20-60 seconds and cost real cents. At scale (50 developers running a model all day) it adds up and should be tracked as an investment.
  6. Prompt sensitivity — small wording changes can swing the answer. This is why reusable prompt templates and skills matter: they standardize the prompts that count. See Skillify - Meta-Skill Pattern.
  7. Confident wrongness — the most dangerous one. Defense: always test, always verify, never auto-ship LLM output without human review. This is the engine behind Cognitive Surrender and Comprehension Debt.

The one rule that covers most of the risk

An LLM optimizes for plausible, not true. Treat every output as a confident draft from a smart colleague who might be bluffing. Verify before you ship.

The strategic view: multiplicative, not additive

The source’s sharpest point. A developer using an LLM does not produce output at “developer-speed + tool-speed.” The gain shows up as a different quality level for the same time, not as raw speed. Two honest ways to spend it:

  • Better code at the same pace, or
  • Same code, with time freed for higher-order thinking.

This reframes the whole “AI makes us faster” pitch. The lever is quality and freed attention, not a speedometer. It connects to the vault’s recurring warning that treating the gain as pure speed is exactly what produces Comprehension Debt and Cognitive Debt.