Slopfluencer

Notes › AI

Glossary

Terms used across these notes, in alphabetical order. Each entry links to the article that covers the subject in depth, where one exists.

ACP

Agent Client Protocol: an open standard, started by the makers of the Zed editor, for connecting an interface to a coding agent. Any interface that speaks ACP can drive any agent that supports it. See Agent harnesses.

Agent

A program that lets a language model take actions instead of only answering: it reads files, runs commands, calls services and repeats until a task is done. See Agent harnesses.

AGENTS.md

A Markdown file at the root of a code repository that tells coding agents the project's conventions and preferences. Agents read it at the start of each session. See Agent memory.

bb

An open-source desktop app, built by an independent team, for running many coding agents side by side in parallel conversations. It drives other vendors' agents (Claude Code, Codex and others) rather than replacing them, and it can be extended with plugins. I use it daily through BB Studio, my own fork, and wrote plugins for it in a public collection, bb-plugins. See bb and bb-plugins.

Benchmark

A fixed, usually public set of tasks with a scoring rule, used to compare models. A benchmark is an eval that many people share. See Evals and benchmarks.

Bot

In my setup, a long-running agent conversation with a small memory file. It oversees an area of work over weeks and hands single tasks to short-lived conversations. See Agent workbench.

Chain of thought

Having a model write out intermediate reasoning steps before its final answer, first by showing it worked examples in the prompt. Reasoning models are trained to do this on their own. See Prompting, grammars and structured output.

Claude Code

Anthropic's coding agent harness. It started as a terminal program and runs Anthropic's Claude models. See Agent harnesses.

Codex

OpenAI's coding agent harness, available as a terminal program and a desktop app. It runs OpenAI's GPT models. See Agent harnesses.

Compaction

Shrinking a long agent conversation so it fits the model's context window, usually by replacing older turns with a summary or by clearing old tool results. See Agent harnesses.

Constrained decoding

Restricting which tokens a model may produce at each step, so that its output must fit a grammar, a schema or a type system. See Prompting, grammars and structured output.

Context window

The amount of text, measured in tokens, that a model can read at once. Everything an agent knows during a task has to fit in it. See Agent memory.

Deferred resume

A tool that lets an agent wake its own conversation after a set time, instead of waiting inside a shell command or asking a person to check back. I built it into Neon Pilot. See Neon Pilot (Personal Agent).

Distillation

Training a smaller "student" model to imitate a larger "teacher" model's outputs. The student gets cheaper to run but rarely exceeds the teacher. See Adapting language models.

Embedding

A list of numbers that represents a piece of text so that texts with similar meaning get similar numbers. Embedding search powers most RAG systems. See Agent memory.

Environment

In reinforcement learning, a task setup a model can act in and get scored by, such as a coding sandbox with tests. An eval and an environment are often the same thing. See Adapting language models.

Eval

A test set and a scoring method for checking how well a model or agent does a specific task. See Evals and benchmarks.

Extension

Code that runs inside a harness and adds to it: tools, commands, interface panels or whole workflows. Also called a plugin. Hooks, skills and MCP servers are lighter ways to extend a harness. See Agent harnesses.

Fine-tuning

Continuing to train an already trained model on a smaller, task-specific dataset. See Adapting language models.

Frontier model

One of the most capable models available at a given time, usually from the largest labs (Anthropic, OpenAI, Google). "The frontier" is the best performance anyone has reached. See Model economics and access.

Goal mode

A loop that re-prompts an agent each time it tries to stop, until a stated goal is met. Without a reliable stop condition it can keep looping on the same failure. See Background agents, loops and swarms.

GPU

Graphics processing unit: the chip most AI models are trained and run on, because it does many multiplications in parallel. See AI compute and power.

Harness

The program around a model that turns it into an agent: the loop that sends the model's requested actions to tools and returns the results, plus the prompts, tools and interface. Claude Code and Codex are harnesses. See Agent harnesses.

HBM

High-bandwidth memory: the fast memory stacked next to AI accelerators. Its bandwidth limits how fast a model can generate tokens. See AI compute and power.

Heartbeat

A scheduled prompt that wakes the same agent thread at a set interval, so it can check on running work, start or redirect tasks and go back to sleep. See Background agents, loops and swarms.

Hook

A script that a harness runs automatically at a fixed point, such as before or after a tool call. It is one of the lightest ways to change how a harness behaves. See Agent harnesses.

Inference

Running a trained model to produce output, as opposed to training it. Its cost is mostly hardware time: the chips, memory and power needed to generate each token. See LLM inference.

Judgment model

A small, fast model that makes one kind of decision, such as yes or no or picking from a list, instead of writing free text. Some are used zero-shot: they make the decision from a plain description of the options, with no task-specific training. They are sometimes called "system one" models, after the psychologist Daniel Kahneman's name for fast, intuitive thinking, as opposed to slow, deliberate "system two" reasoning. See A small model decides when to interrupt.

Kernel

A single program that runs on a GPU, such as one matrix multiplication. Generating one token runs hundreds of kernels, and how they are written affects both speed and the exact numbers a model produces. See kernels in LLM inference.

KV cache

Key-value cache: stored intermediate results (the attention keys and values) for the tokens a model has already read, so it doesn't recompute them for every new token. It grows with the length of the conversation. See LLM inference.

Lab

Short for AI lab: a company that trains its own large models, such as Anthropic, OpenAI, Google DeepMind, DeepSeek or Alibaba's Qwen team.

Language server (LSP)

A background program that gives an editor code intelligence: go to definition, find references, type errors. LSP is the protocol editors use to talk to it. See Understanding unfamiliar code.

Large language model (LLM)

A neural network trained on large amounts of text to predict the next token, which lets it write, answer questions and follow instructions. The models behind ChatGPT, Claude and Gemini are LLMs.

LLM judge

A language model used to grade another model's output against criteria. Cheap and fast, but it needs checking against human judgment. People's grading criteria also shift as they read outputs, which is called criteria drift. See Evals and benchmarks.

LoRA

Low-rank adaptation: fine-tuning a model by training small add-on matrices instead of all its weights. "Low-rank" means each add-on is the product of two thin matrices, so it has far fewer numbers than the layer it adjusts. Adapters are cheap to train, store and swap. See Adapting language models.

MCP

Model Context Protocol: an open standard for connecting agents to tools and data sources, so one tool server works with many agents. See Agent harnesses.

Meta-harness

A harness that drives other harnesses. It runs each model inside its vendor's own agent, while keeping tools, settings and the interface in one place. See Agent harnesses and bb and bb-plugins.

Mixture of experts (MoE)

A model design that splits some layers into many sub-networks, called experts, and uses a small router to send each token to only a few of them. The model can hold many parameters while spending the compute of a smaller one on each token. See Beyond the standard transformer.

Model cascade

A setup that sends each request to a small, cheap model first and passes it to a larger model only when the small model is unsure. See Model economics and access.

Open-weight model

A model whose trained weights are published, so anyone can run or fine-tune it on their own hardware. DeepSeek, Qwen and GLM release open-weight models. See Model economics and access.

Pareto-efficient model

A model that no other model beats on both quality and price at once. Choosing among them means trading a little quality for a lot of cost, or the reverse. See Cheaper models are enough for most work.

Pi

A minimal open-source coding agent with a handful of tools and an extension system, used as the base for several of my own tools. See Agent harnesses.

Post-training

Everything done to a model after pretraining to make it useful: fine-tuning on examples, preference training (teaching it which of two answers people prefer) and reinforcement learning. See Adapting language models.

Prefill and decode

The two phases of generating text. Prefill reads the whole prompt in parallel; decode then produces output one token at a time and is usually limited by memory bandwidth. See LLM inference.

Pretraining

The first and most expensive stage of training a model, on a broad text corpus. Fine-tuning and reinforcement learning come after it. See Adapting language models.

Prompt cache

A provider feature that stores the processed start of a prompt, so re-sending the same conversation prefix costs much less and returns faster. Long agent conversations depend on it to stay affordable. See LLM inference.

Prompt injection

Text that an agent reads, on a web page or in a file, and then follows as if it were an instruction from its user. See Security when bugs get cheap to find.

Quantization

Storing a model's weights with fewer bits, for example 4 instead of 16, so it needs less memory and runs faster, at some cost in quality. See LLM inference.

RAG

Retrieval-augmented generation: fetching relevant documents, usually through embedding search, and adding them to a model's prompt. See Agent memory.

Reasoning model

A model trained to write out intermediate thinking before its answer. Many let the caller set a reasoning effort, which controls how many tokens it may spend thinking; more effort usually means better answers at higher cost and delay. See Adapting language models.

Reinforcement learning (RL)

Training a model by letting it attempt tasks and rewarding good outcomes, rather than showing it correct answers. See Adapting language models.

SFT

Supervised fine-tuning: training a model further on example inputs paired with the outputs it should give. It is the most common kind of fine-tuning. See Adapting language models.

Self-distillation

Training a model on its own outputs, usually answers it gave with extra help such as a worked solution, so that it learns to answer that well without the help. See Adapting language models.

Self-extensible software

An app with a coding agent inside it that can write extensions to the app itself, using an extension API and documentation written for the agent. See Neon Pilot (Personal Agent).

Skill

A written, reusable procedure an agent can load when a task calls for it, usually a Markdown file with instructions. See Agent memory.

Speculative decoding

Speeding up generation by letting a small draft model propose several tokens that the large model then checks in one pass. The output is the same as without it. See LLM inference.

Steering

Sending a message to an agent while it is working, so it reaches the model at the next step of the running turn. The alternative is a follow-up, which waits until the turn ends. See A small model decides when to interrupt.

Structured output

Model output that a program can use directly, such as JSON that fits a schema or one label from a fixed list. See Prompting, grammars and structured output.

Subagent

An agent started by another agent to do one job in its own context and return the result, which keeps the parent's context small. See Agent harnesses.

Swarm

Many agents working on parts of a task at once, usually with one coordinating agent handing out work and reading the results. See Background agents, loops and swarms.

SWE-bench

A public benchmark of real GitHub issues that tests whether a coding agent can produce a fix that passes the project's tests. See Evals and benchmarks.

System prompt

The instructions a harness or app places before the conversation, telling the model its role, tools and rules. The user usually does not see it. See Skills, plugins and MCP.

Thread

One conversation with an agent, with its own history. Agent apps keep many threads, and a person or agent can search old ones.

Token

The unit a language model reads and writes, roughly three quarters of an English word. Prices and speeds are quoted per token. See LLM inference.

Trace

The full record of what an agent did during a task: each model call, tool call and result, in order. Evals often grade traces, not only the final answer. See Evals and benchmarks.

Vector database

A database built to store embeddings and find the ones closest to a query. It is the usual storage layer for RAG. See Agent memory.

Weights

The numbers learned in training that make up a model, also called parameters. A "70B" model has about 70 billion of them. Running a model means loading its weights into memory, which is why memory size and speed matter so much. See LLM inference.

Worktree

A second working copy of a git repository, on its own branch, that shares the repository's history. Agents working in parallel each get a worktree so their edits don't collide. See Agent harnesses.

Zero-shot

Asking a model to do a task with only instructions, no worked examples and no task-specific training.