AI for Product Managers / Agents and engineering teams

Follow the engineering conversation

The 16 terms you'll hear most on an AI team, what each one means, and a good question to ask back.

Lesson 14 of 32 · 25 min

In a standup an engineer says: "TTFT is fine, but we hit 429s at peak and the harness retries forever." That's ordinary engineering talk. Once you know the terms, you can follow it and ask a useful question back.

Each term below has what it means, a line you might hear, a real example and a question to ask back. The AI terms and definitions page has short entries for everything else.

The model
  • Reads the context it is given
  • Writes the next tokens
  • Asks for a tool call in a structured form
The harness around it
  • Builds the prompt and context
  • Runs tool calls and checks permissions
  • Retries on errors and decides when to stop
The model writes; the harness does the restTwo products on the same model can behave very differently, because the harness decides what the model sees, which tools it can use and when it stops.

Running the model

Inference

What it means. Running a trained model to get an answer. Training happened once, at the model company. Inference happens on every request your product makes.

What you'll hear. "We don't train anything. All our model spend is inference."

Example. In the local models lab, each pet owner's message is one inference call. Claude Haiku answered in 4.9 seconds through the API. Gemma 4 on a Mac took 25.9 seconds for the same message. An agent makes several inference calls for one user action, so its bill and wait grow with every turn.

Ask back. "How many inference calls does one user action make?"

Serving

What it means. Hosting a model so the product can call it: the machines, scaling and uptime. You either pay someone to serve it (the Claude API, Amazon Bedrock, Google's Gemini Enterprise Agent Platform, formerly Vertex AI) or your team serves it.

What you'll hear. "If we self-host, serving is on us: GPUs, scaling and uptime."

Example. vLLM, a popular open-source engine, calls itself "a fast and easy-to-use library for LLM inference and serving". Teams use it to serve open models on their own GPUs. In the local lab, Ollama serves the model on your laptop, and the runtime broke the eval in three different ways.

Ask back. "Who gets paged when serving goes down at 2 a.m.?"

Latency and time to first token

What it means. Latency is how long a reply takes. Time to first token (TTFT) is the time from sending the prompt to the first token of the response, as Anthropic's docs define it.

What you'll hear. "p95 latency is nine seconds." p95 means 95 of every 100 requests finish faster than that, so it shows what your slowest users feel.

Example. A 25-second answer is fine for an overnight job that tags 10,000 messages. In a chat window, 25 seconds of blank screen feels broken, and people tap away.

Ask back. "Is that the first token or the full reply? And is it p95 or the average?"

Streaming and tokens per second

What it means. Streaming shows the reply word by word as the model writes it, the way ChatGPT and Claude do. Tokens per second is how fast the words come out.

What you'll hear. "We can stream the chat, but not the care card. The app needs the whole JSON before it can draw it."

JSON is text arranged in labelled fields that code can read, such as "category": "emergency".

Example. Anthropic's latency guide says streaming "can significantly improve the perceived responsiveness" of an app, because users see output in real time. Total time stays the same; the wait feels shorter. A screen that needs structured data, like a card with fields, can't show half an answer, so it needs a different plan, such as a loading state with the first field filled in.

Ask back. "Which screens can stream, and what does the user see while the rest waits?"

Weights and parameters

What it means. Parameters are the numbers a model learned in training. The weights are those numbers saved as files; the files are the model. The size in a model's name counts them: Gemma 4 12B has about 12 billion. More parameters usually means a more capable model that needs more memory and answers more slowly.

What you'll hear. "It's a 70B model, so it won't fit on one GPU." Or: "We'll pull the weights from Hugging Face," the site where most open models are published.

Example. At 16-bit precision each parameter takes 2 bytes, so a 70B model needs about 140 GB of memory for its weights alone. In the local models lab, Gemma 4 12B was a 7.7 GB download and used 16 GB of memory while it ran. You never get the weights for Claude; you send requests and Anthropic runs the model. Open-weight models publish the files, and the licence sets the terms. OpenAI's gpt-oss-20b ships under Apache 2.0. Meta's Llama 3.1 licence requires any company with more than 700 million monthly active users to ask Meta for a licence first. Open-weight releases rarely include the training data, so open weights and open source mean different things.

Ask back. "Do we need the weights, or does an API do the job? And has legal read the licence?"

Quantization

What it means. Storing a model's numbers with fewer bits so it takes less memory and runs faster on smaller hardware. Quality can drop a little.

What you'll hear. "We'll run a 4-bit quant on the clinic's machine."

Example. On Ollama, Llama 3.1 8B at 4-bit (q4_K_M) is a 4.9 GB download. The full 16-bit version is 16 GB. The default tag is the 4-bit one, so most people running local models already use a quantized model.

Ask back. "Did the eval run on the quantized version users will get, or only on the full one?"

Rate limits

What it means. The most a provider lets you send in a period. Go over and requests fail until the limit refills.

What you'll hear. "We hit 429s during the Monday launch." A 429 is the error code for "too many requests".

Example. Anthropic measures limits in requests per minute, input tokens per minute and output tokens per minute. Over the limit, the API returns a 429 error, often with a retry-after header that says how many seconds to wait. For most Claude models, input read from the prompt cache doesn't count toward the input limit, so caching repeated instructions lets you serve more users on the same limit.

Ask back. "What does the user see when we're rate limited, and how much headroom do we have at peak?"

Changing the model

LoRA

What it means. A cheap way to fine-tune a model, which means training it further on your own examples. LoRA (low-rank adaptation) keeps the original weights frozen and trains a small add-on called an adapter. One base model can carry several adapters, one per task.

What you'll hear. "We don't need a full fine-tune. A LoRA on the clinic's past replies should do."

Example. The LoRA paper (Hu and others, 2021) reports that on GPT-3 175B it cut the parameters to train by 10,000 times and the GPU memory by 3 times, compared with full fine-tuning. Hugging Face's PEFT documentation says the adapter can be merged into the base model, so it adds no delay when the model answers. You need the model's weights, or a provider that offers fine-tuning for that model. Training on customer chats also needs a privacy decision before anyone starts.

Ask back. "What will the adapter learn that a better prompt or retrieval can't give us, and which eval will show it?"

Distillation

What it means. Training a smaller model on a larger model's outputs. The large model (the teacher) answers many prompts for one job, and the small model (the student) learns from those answers. The student is faster and cheaper for that job.

What you'll hear. "We'll distil the big model into a small one for triage."

Example. Amazon Bedrock describes distillation as moving knowledge "from a larger more intelligent model (known as teacher) to a smaller, faster, cost-efficient model (known as student)". Bedrock has the teacher answer your prompts, or reuses its answers from your logs, then fine-tunes the student on them. Meta's model card says Muse Glimmer, the model in the local models lab, is "distilled from Muse Spark". The idea goes back to a 2015 paper by Geoffrey Hinton, Oriol Vinyals and Jeff Dean.

Ask back. "Do the teacher model's terms let us train on its outputs, and did the student pass the same eval as the teacher?"

Around the model

Harness

What it means. All the code around a model that turns it into a product or an agent. It builds the prompt and context, offers the tools, runs the tool calls, checks permissions, retries on errors and decides when to stop.

What you'll hear. "The model is fine. It's the harness: we drop tool results after three turns."

Example. Claude Code is a harness around Claude. Anthropic's Agent SDK "gives you the same tools, agent loop, and context management that power Claude Code", and Anthropic describes its Managed Agents as "a hosted agent harness that runs the agent loop". Two products on the same model can behave differently because their harnesses differ. When an agent fails, check the harness before you blame the model.

Ask back. "If we switch models, what in the harness has to change?"

Agent loop

What it means. The cycle an agent repeats: the model decides the next step, calls a tool, reads the result and goes again until the task is done or it gives up.

What you'll hear. "It looped 14 times before it gave up on the booking."

Example. Anthropic's guide to building agents says they "are typically just LLMs using tools based on environmental feedback in a loop." In the agent lesson, the booking assistant reads open slots, asks for approval, calls the booking tool and checks the result. Each turn is another inference call, with its own cost and wait.

Ask back. "What's the most turns it can take, and what happens when it hits that limit?"

Eval harness

What it means. The code that runs your test cases through the system, scores the answers and reports the result. The word is the same, but this harness tests the product, while the one above runs it.

What you'll hear. "Add those cases to the eval harness and run it on every prompt change."

Example. EleutherAI's Language Model Evaluation Harness is the backend for Hugging Face's Open LLM Leaderboard. In the evals lab, run_eval.py is a small eval harness: it sends 20 messages, checks rules in code and asks a judge model to score warmth, clarity and safety.

Ask back. "Does the eval harness test what users get: the same prompt, tools and model settings?"

Tool calling

What it means. The model asks for an action in a structured form, and your code carries it out. The model never presses the button itself.

What you'll hear. "The model guessed a tool argument. Nobody gave it the pet's name."

Example. In Anthropic's API, the model returns a tool_use block naming the tool and its inputs. Your code runs it and sends back a tool_result. Anthropic's docs warn that when a required detail is missing, some models fill in a plausible value instead of asking. Their example is a weather tool that gets "New York" when the user never named a city.

Ask back. "Which tool calls change something, and do those need a confirmation first?"

Context engineering

What it means. Choosing what goes into the model's context window for each request: instructions, conversation, retrieved facts and tool results.

What you'll hear. "We see context rot past 100K tokens, so we summarise the older turns."

Example. Anthropic calls context engineering "the set of strategies for curating and maintaining the optimal set of tokens" and treats context as "a finite resource with diminishing marginal returns". Context rot is the model recalling less well as the window fills. Decide what the model sees and remembers goes deeper.

Ask back. "What do we keep, what do we summarise and what do we drop?"

Guardrails

What it means. Checks that stop unsafe actions or outputs. Checks in code can't be talked around. Rules in the prompt only ask the model to behave.

What you'll hear. "The guardrail is in the prompt for now."

Example. Riverside's prompt says "never give a medicine dose". A scanner in code can block patterns like a number followed by mg, though it can miss other wording. A prompt-only rule can be talked around by a clever message. Find the risks before your users do covers where each control belongs.

Ask back. "Which rules does code enforce, and which do we only ask the model to follow?"

Fallback and routing

What it means. Routing sends each request to the model that suits it, often a cheap one for easy questions and a strong one for hard ones. A fallback is the backup when the first choice fails or is down.

What you'll hear. "Simple questions go to the small model, and we fall back to the big one when it's unsure."

Example. Amazon Bedrock's Intelligent Prompt Routing routes "between different foundational models within the same model family". It predicts which model will give the best answer for each request, to balance quality and cost, and you name a fallback model as the baseline.

Ask back. "Did the eval run on every model the router can pick?"

Practice: decode a standup

Read this made-up Riverside standup. Say what each line means and what you'd ask before you read the answers.

Monday standup
  1. "TTFT is under a second, but full replies take eight at p95."
  2. "We're streaming the chat now. The triage card still waits for the whole JSON."
  3. "Saturday's spike gave us 429s for about ten minutes."
  4. "The agent looped 11 times on one booking. The harness has no turn limit."
  5. "We want to route easy messages to Haiku and keep Sonnet for urgent ones."
  6. "The 'no dose' rule is still prompt-only."
#What it meansWhat you'd ask
1Words start fast; slow users wait eight seconds for the full answerIs eight seconds OK for this screen?
2Chat feels fast; the card can't show until the reply is completeWhat does the owner see while the card loads?
3The provider refused requests at peakWhat did owners see, and do we need a higher limit or caching?
4Nothing stops a runaway agent, so cost and wait can climb with no ceilingWhat's the turn limit, and who hears about it when it's hit?
5A cheaper model for most messages, the strong one for risky onesDid the eval run on both, especially the urgent cases?
6Only the model's good behaviour protects this ruleCan we add a check in code before launch?
Check

Explain inference, serving, weights, TTFT, streaming, quantization, rate limits, LoRA, distillation, the harness, the agent loop, an eval harness, tool calling, context engineering, guardrails and routing in one sentence each. Then write the question you'd ask about each in a standup.

Sources

1. An engineer says: "The model is fine, it's the harness. We drop tool results after three turns." What are they telling you?

2. Engineering reports p95 latency of 9 seconds for the chat. What do you ask first?

3. The team plans to run a 4-bit quantized model in the clinic to save money. What should you check?