AIHero

    AI Hero · Dictionary

    The vocabulary of AI coding, in plain English.

    Skimmable definitions for the terms that make agentic coding click. Search 71 entries below, or jump into a section.

    5,001mattpocock/dictionary-of-ai-coding

    The Model

    16 terms

    AI

    A moving label, not a technology. Points at whatever computers can newly, impressively do — right now, large language models.

    Model

    The parameters. Stateless — does next-token prediction and nothing else. Cannot do anything agentic on its own.

    Parameters

    The numbers inside a model — often billions — tuned during training. Everything the model knows lives in them. Also called weights.

    Training

    The process that sets a model's parameters by exposing it to vast amounts of text and adjusting to improve next-token prediction.

    Inference

    Running a trained model to generate output — what happens on every model provider request. Parameters stay fixed.

    Effort

    A dial for how much reasoning the model does before it answers. More effort spends more output tokens for a better shot at hard problems.

    Token

    The atomic unit a model reads and writes. Roughly word-sized but not exactly. Context window size, cost, and latency all count tokens.

    Next-token prediction

    What the model actually does. Samples one next token from the context, appends it, and runs again. Its only mode of operation.

    Non-determinism

    The same input can produce different output. A property of how models generate text and how providers serve requests.

    Model provider

    Whatever serves a model for inference. Usually remote (Anthropic, OpenAI, Google), but can also be local (Ollama, llama.cpp).

    Harness

    Everything around the model that turns it into an agent: tools, system prompt, context-window management, permissions, hooks.

    Model provider request

    One round-trip from the harness to the model provider. The harness sends context; the provider returns one response.

    Input tokens

    Tokens the harness sends on each model provider request. Billed at a lower rate than output tokens.

    Output tokens

    Tokens the model generates back. Billed at a higher rate than input tokens, since they cost more compute to produce.

    Prefix cache

    The provider-side store that lets consecutive requests skip re-processing a shared prefix, billing those tokens at a lower rate.

    Cache tokens

    Input tokens the provider has cached from a previous request via its prefix cache, billed at a much lower rate.

    Sessions, Context Windows & Turns

    8 terms

    Tools & Environment

    10 terms

    Failure Modes

    9 terms

    Handoffs

    9 terms

    Memory and Steering

    6 terms

    Patterns of Work

    13 terms

    Human-in-the-loop

    A working pattern where one or more humans pair with the agent during a session — reviewing, redirecting, or collaborating in real time.

    AFK

    A working pattern where the user kicks off a session and leaves the agent to run unattended (away from keyboard).

    Automated check

    A deterministic verification that runs in the environment — tests, type checks, lints, build, pre-commit hooks. Pass/fail, no judgement.

    Automated review

    An agent reviewing another agent's work, often with a different model or system prompt. Non-deterministic: it forms a judgement.

    Human review

    The user reading the code the agent produced and forming a judgement on it. Reading the diff counts; reading the summary doesn't.

    Vibe coding

    A working pattern where the user accepts the agent's code without human review. The diff is treated as opaque.

    Design concept

    The shared understanding of what's being built, held in common between user and agent but separate from any asset.

    Grilling

    A technique for developing a design concept: the agent interviews the user Socratically, one decision at a time.

    Prototyping

    Having the agent build a quick, rough version when conversation is too low-fidelity and you need a real artifact to talk about.

    DX

    Developer experience: how easy a codebase and its toolchain make it for humans to do good work — docs, feedback speed, errors.

    AX

    Agent experience: how well the environment is set up for an agent to do good work — checks, architecture, and free context.

    Software factory

    A system of work where triggers, not humans, start agent sessions, so more work runs AFK and HITL time is saved for what needs it.

    Dark factory

    A codebase, or part of one, where a software factory writes the code and no human ever reviews it.

    Want more than vocabulary?

    Join AI Hero for practical skills, thinking on AI engineering, and resources that keep you ahead of the curve.

    No spam. Unsubscribe anytime.