Glossary

Half of learning any field is learning its words. Here is every term and acronym the course uses, in plain language, with the module that teaches it.

27 terms

A

Agent

A harness that runs a command, reads the result and goes again, in a loop, until the work is done.

The harness runs a command, like ls, which lists the files in a folder. It reads what comes back, opens those files or runs those programs, and goes again, and that loop is what we mean by an agent. It drives the work, and you tell it where to go and approve or deny what it does. Typing comes easily to it and clicking is hard, so don't make it click if you can help it.

AI

artificial intelligence

A machine doing something that would take intelligence if a person did it.

That is the textbook definition, and it is a wild catch-all. It is a net that catches everything: your thermostat, a spreadsheet, a chess computer, a chatbot, even Hero's cart from Roman times all count. So when we mean the modern tools, we use more exact words, like LLM and harness.

C

CLI

command line interface

A way to use a program by typing commands instead of clicking.

You type a short command, press Enter, and the computer prints its answer back as text. It is the typing way in, where a UI is the clicking way in. Claude Code, Codex and Gemini CLI are harnesses you use from the command line, and agents do well there because typing comes easily to them.

Coding harness

A harness, also called a coding agent, that lives on your computer and runs as you, with no wall around it.

It can reach your files, run commands with any of the tools on your machine and get on the internet, checking with you first. Ask it a math problem and it can use a calculator instead of guessing from its weights. Calling it a coding agent is a misnomer, because it isn't only for code. It can do anything you can do on your computer.

Compaction

Summarizing a long conversation so it fits back inside the context window.

As you go back and forth, prompt and reply, you're going to hit the token limit. So the model summarizes everything so far, the summary goes at the top, the rest is dropped, and you carry on. It's lossy, so some detail is lost, and right after a compaction its answers may shift a little. Sometimes you'll have to remind it: we just compacted, remember this, this and this.

Context window

Everything the model can see at once: the whole conversation in that session, counted in tokens.

An LLM has no memory, long term or short term. Every time you send a prompt, the whole conversation so far goes to the model again: you see prompt and response, but it sees the full conversation every single time. The window has a limit, counted in tokens. On a lot of modern models that limit is about a million tokens, and smaller models get less.

D

Desktop harness

A harness that is an app on your computer, while the model still lives at the vendor.

Because it lives on your machine, it can get to your files and some of your tools, the folders you connect, and forward pieces of them to the model. Those pieces go back to the vendor too. It is a sandbox with doors in the wall, and each door gives it permission to do one specific thing. Claude Desktop and the ChatGPT desktop app are examples.

Diffusion model

A kind of model that makes images and video.

Today's AI is really a family of models. Large language models work in text, and diffusion models make pictures and video. This course is mostly about language models, because they happen to be the most useful right now.

G

Graph of token probabilities

A picture of how an LLM works: tokens joined by lines, each line the chance that one token leads to the next.

From the first token it sees, the model walks the graph one step at a time. From ha, hat might be the most likely next step at 31 percent and ham only 18, but the walk doesn't always take the top choice. What came before steers it: after "fly me to", the walk leans toward Hamburg, the city, and after "lunch is a", it leans toward hamburger.

H

Hallucination

A confident answer that is wrong, because the model took the likely looking path.

Ask for the capital of Australia and a model could say Sydney, because it sees a stronger relationship between Australia and Sydney than between Australia and Canberra. It isn't lying. It just didn't look it up, because a model goes off its weights unless a harness gives it a tool to check.

Harness

The program you use, wrapped around the model.

The model is the thing walking the token graph, and the harness is the program you use, wrapped around it. Your message goes in, the harness stacks the history into the context window, ships it to the model and shows you the reply. It's just software. The same model gives completely different results depending on the harness, and there are three kinds to know: web, desktop and coding.

I

Inference

Using a model: putting context in and getting a response back.

Inference happens with every message you send, and it's what your usage limits meter, so it is how you get charged. Training sets the weights once; inference uses them every time. This course is entirely about inference. We're not training any models here.

L

LLM

large language model

A model that takes in tokens and puts out tokens, one guess at a time.

Given a window of tokens, it predicts the next one, over and over, and that's how you get the output. It only sees tokens, not words. It continues patterns, it doesn't look things up, and it's probabilistic, so the same start can take a different path. Claude, ChatGPT and Gemini all run on large language models.

M

Model

The part that walks the token graph: billions of weights that turn tokens in into tokens out.

Today's model is really a family: large language models work in text, and diffusion models make images and video. The model usually lives at the vendor, on their computers. You never use a model directly; you use a harness, the program wrapped around it.

O

Open weight model

A model whose vendor publishes its weights, so you can download it and run it yourself.

With an open weight model you don't need a vendor at all, so you get inference for free, or for the cost of the hardware it runs on. It isn't quite the same as open source: you get the finished weights, not everything that went into making them.

P

Permissions

The rules, set like a dial, for what a harness may do without asking you first.

A coding harness has no wall, so we manage the risk with permissions. The harness can ask before it edits anything or writes to your computer, and you can allow once or set standing rules. Think of it as a dial, from "ask me every time", for control, to "just do it", for speed. For any tool, ask two questions: where is the harness running, and what has it been allowed to reach?

Prompt

What you type to the model: your message, question or instructions.

Each prompt goes into the context window along with the whole conversation so far, and a response comes back. You see prompt and response, prompt and response, but the model sees everything every time.

S

Sandbox

A wall around a program, so it can't get out to your files, folders or tools.

Every browser puts a sandbox around every website, so a bad site can't get into your files or your bank in another tab. A web harness sits inside two sandboxes, the browser's and the vendor's. A desktop harness is one sandbox with doors in the wall, and a coding harness has no wall at all. Walls give you safety and removing them gives the model capability, and the product's name won't tell you which you have.

T

Terminal

The window where you type commands instead of clicking.

You type a command, like ls, which lists the files in a folder, and the answer prints as text below it. The terminal is where you use a CLI. Coding harnesses live there, because typing is how agents work best.

Token

The smallest meaningful chunk of a word, and the unit an LLM reads, writes and charges by.

When you type hamburger, the model doesn't read hamburger. It reads tokens, and that word breaks apart a lot of ways: ha, like a laugh, ham, the food, Hamburg, the city, or the whole sandwich. We learn tokens for two reasons: they are how it works, and tokens in and tokens out are how you get charged.

Tool

Something the harness does for the model, like reading a file, running a command or using a calculator.

On its own, a model doesn't look things up or use tools. Say you ask about your proposal: the model asks the harness to read that file, the file goes into the context window next to your message, and the model only sees what the harness hands it. The more tools a harness can reach, the less the model has to guess from its weights.

Training

How a model's weights get set, done once by the vendor at huge cost.

Training is taking huge amounts of text, as tokens, putting it into a model and setting all of the weights. Inference is using the model afterward. Depending on your plan and settings, what you send a vendor can be used for training, so if your customers' data can't leave your network, check that first.

U

UI

user interface

The screen you click on: the buttons, menus and windows of a program.

When you open a folder and click through your files, you are using a UI. Doing the same job by typing ls in a terminal is using a CLI. People find a UI easiest, and agents find a CLI easiest, because to click they have to work from screenshots or write a script to do the clicking.

V

Vendor

The company that makes and runs the model, such as Anthropic, OpenAI or Google.

The vendor trains the model and runs it on its own computers. With a web harness, the vendor runs both the website and the model. Whatever a harness reads and sends goes back to the vendor, and depending on your plan and settings it can be used for training.

VM

virtual machine

A computer running inside another computer.

When a browser chat writes code and runs it, that code runs on the vendor's VM, a virtual machine on their side. Just because you can see the code doesn't mean it's on your machine: you don't own it, and you can't change it locally. Even if it built you a whole website, it lives in their sandbox, not on yours.

W

Web harness

A harness that runs in your browser, like Claude.ai or ChatGPT.

The website is the harness, and the vendor runs both it and the model. It can only use the tools available to it in the browser, and it is trapped in the browser's sandbox, walled off from your computer. It only sees what you type or upload, and that's all that goes back to the vendor.

Weights

The numbers inside a model that nudge which way the walk goes. There are billions of them.

In the picture of the token graph, every line is what we call a weight: the chance that one token leads to the next. Real models are more tangled than that picture, but the idea holds, and the whole thing becomes a giant graph of weights. Training sets the weights, and the model goes off its weights unless a harness gives it tools.