The agent claims to have acted without doing so, for example by giving an invented ticket number. The answer's text proves nothing.
BAA 101 · 70 terms
The glossary
Every notion met in the journeys, in alphabetical order, with a link to the BAA 101 chapter that explains it.
A
- Action hallucination
- ADR
Architecture Decision Record: a page that records a technical decision, the option set aside, and the numeric measurement that would change it.
- Agent
A program that uses a language model to decide what to do (search, call a tool, answer, refuse), in a loop, with stopping rules.
- Agent loop
The cycle message → model → tool call → result → model, repeated until an answer or a planned exit.
B
- Backtest
Testing a method on the past: you act as if you didn't know how recent cases turned out, you predict, then you compare with what really happened.
SeeEvaluate without lying to yourselfHacktoberfest 2026 · Week 2
- Base rate
The “normal” proportion in the data. A model that always repeats the most frequent answer looks good without understanding anything.
SeeEvaluate without lying to yourselfHacktoberfest 2026 · Week 2
- Bounded tool
A tool that validates its arguments before acting, refuses by naming the valid values, and stays read-only by default.
- Budget
The maximum number of calls an agent loop may make, checked before each call, never after.
C
- Calibration
An 80% score is well calibrated if, over many cases scored 80%, about 8 in 10 happen. A single case can't prove it.
SeeEvaluate without lying to yourselfHacktoberfest 2026 · Week 2
- Chunk (passage)
A piece of a document that retrieval can return. A passage that's too short can lose the sentence that answers.
- Citation
The ID of the document that supports an answer. A correct citation doesn't prove the sentence comes from the document.
SeeThe model's output is untrusted dataEvaluate without lying to yourself
- Cold start
The slowness of the first call to a service that just started. You measure it: it's a number, not a failure verdict.
- Corpus
The set of documents the agent is allowed to rely on.
- Corrective retry
A single second attempt where the model gets back the error from its first one. Beyond that, a flagged refusal.
SeeThe model's output is untrusted dataHacktoberfest 2026 · Week 2
D
- Data leakage
When the model sees by mistake a piece of information it wouldn't have had at prediction time (for example the payment date): the score looks excellent, but it's false.
SeeEvaluate without lying to yourselfHacktoberfest 2026 · Week 2
- Decision threshold
The score from which you say “yes”. You choose it on a separate slice of data, never on the final test data.
SeeEvaluate without lying to yourselfHacktoberfest 2026 · Week 2
- Diff
The exact list of lines added and removed in a file. It's what counts, not what the assistant announces.
F
- Fail closed
When in doubt, the guard blocks rather than lets through. A guard that checks nothing when the model doesn't call the tool “fails open”.
SeeRead the tool call, not the answerWhat must always happen is enforced in codeHacktoberfest 2026 · Week 2
- Failure bucket
The category a failure goes into before you fix it: retrieval, tool choice, instruction not followed, format.
- Fake model
A deterministic model with scripted answers. It tests the circuit, not the judgment: a green test on it proves the plumbing.
- Fresh-clone test
Cloning your own repo into an empty folder and following only the README, like a stranger, to see if it works.
SeeVerify the effect, not the claimHacktoberfest 2026 · Week 2
G
- Golden set
A small set of reference questions, each labeled with the expected behavior: answer, cite, or refuse.
- Grounding
The fact that an answer is actually supported by the document it cites.
SeeThe right page must arriveEvaluate without lying to yourself
- Guardrail
A filter applied to the model's inputs and outputs: harmful content, personal data, denied topics. It's tested like code, false positives included.
H
- Harness
Everything around the model: the loop that runs it, the instructions, the tools, the traces, the evaluations. A managed harness runs the loop for you, with less control.
- Hit rate @k
The share of questions whose expected document is among the top k search results.
- Hook
Code triggered at a precise moment in the agent's life, before or after a call, to enforce a rule the prompt doesn't guarantee.
- Hybrid routing
Choosing the method case by case: for example a model for a new client, and the client's history otherwise.
SeeWhat must always happen is enforced in codeHacktoberfest 2026 · Week 2
I
- Idempotence
Running an action again doesn't change the result: a return already started isn't started twice, an existing resource is reused.
- In-browser inference (WebGPU)
The page downloads the model once, then the computer's graphics card runs it directly in the browser: nothing to install, nothing is sent.
K
- Knowledge base
A set of documents, split and indexed, that the agent queries before answering. An unsynced base returns nothing, with no error.
L
- LLM
Large Language Model: the language model that generates text and chooses which tools to call.
- LLM-as-judge
A model that scores another model's answers against a criterion. It reads the text, but sees neither the tool calls nor what was written to the database.
- Long-term memory
What survives from one session to the next, filed per user: facts, preferences, summaries. Without an owner or a limit, it leaks and contaminates tests.
M
- MCP
Model Context Protocol: a standard for exposing tools and data sources to any agent. An MCP tool is discovered by its name, description and schema.
O
- Open data
Data published by an institution, that anyone can download and reuse for free, often under an open licence.
- Open-weights licence
Open weights don't mean “free to sell”: a model can be free for a prototype and off-limits in a paid product.
- Optimistic locking
Every write carries the version read just before it; if the version changed in the meantime, the write is refused. Two agents can't silently overwrite each other.
- Orchestrator
In a multi-agent system, the agent that never answers itself: it routes the work to specialist agents.
- Over-refusal
Also refusing what the agent could have answered. Safe, but less useful; you measure it as much as errors.
- Overconfidence
A displayed confidence higher than the sources justify, for example 1.0 on a single document.
P
- Parser
The code that reads the model's output and rejects it if it doesn't match the schema: format, exact fields, types, bounds.
- Pinned intent
What was asked, written down before the action exists. Every check compares the action to that pin, never to itself.
- Prompt injection
An order hidden in a text (document, page, tool output, product name) that tries to steer the model. You treat it as data, never as an instruction.
R
- RAG
Retrieval-Augmented Generation: search for passages in a base, then answer from them, citing them.
- Redaction
Replacing a secret (key, token, email) with a label carrying a fingerprint before writing a log, without deleting the field. Same secret, same label.
- Refusal
An explicit "I can't answer": no citation, zero confidence, human review. A state, not a crash.
- Retention policy
What a memory keeps, why, how to correct it, when it expires, and what it refuses to keep. Written before the first record.
- Retrieval
The step that searches the corpus for passages useful to a question, before calling the model. Nothing found: refuse without a call.
- ROC-AUC
A score between 0.5 (chance) and 1 (perfect) that measures whether the model ranks risky cases ahead of the others.
SeeEvaluate without lying to yourselfHacktoberfest 2026 · Week 2
- Rollback
Going back to the last version that worked, described in advance by an action, a number and a unit.
S
- Scheduled job
A program the machine starts on its own at a set time, for example every morning.
SeeWhat must always happen is enforced in codeHacktoberfest 2026 · Week 1
- Schema
The required shape of a piece of data: its fields, their types, their bounds.
SeeThe model's output is untrusted dataHacktoberfest 2026 · Weekend
- Seam
The single point of contact between the agent and any model: one method, and you switch providers without touching the agent.
- Session memory
The history of one conversation, which disappears when it ends.
- Silent failure
An error that looks like a normal answer, like "no results" when there are some. The worst kind of error.
- Skill
An instruction sheet the assistant loads only when the task matches. It's judged by the difference it makes, with evidence.
- Slot filling
Filling a tool's parameters during the conversation: keep what's given, ask for one missing field at a time, act as soon as everything is there.
- Smoke test
A quick test run right after a deployment, designed to be able to say "this deployment is bad".
- SSRF
Server-Side Request Forgery: getting a tool that fetches URLs to call an internal or private address on the attacker's behalf.
- Structured output
Asking the model to answer in a fixed format (JSON), so the interface always shows the same thing, in the same place.
SeeThe model's output is untrusted dataHacktoberfest 2026 · Weekend
- System prompt
The fixed instructions given to the model before any conversation. A rule there reduces a behavior without eliminating it, and a prompt that's too long is followed less well.
SeeData is never an orderWhat must always happen is enforced in codeHacktoberfest 2026 · Week 1
T
- Tabular foundation model
A model already trained on millions of synthetic tables: you give it a small table of examples and it predicts the next rows, without long training.
- Telemetry
The usage statistics a piece of software sends to its publisher. Some tools send them by default; you can turn them off.
- Temperature
The setting for randomness in generation. At 0, answers and tool calls become more stable, without becoming perfect.
- Timeout
A maximum waiting time. Past it, you abandon the call and return a readable refusal, instead of waiting forever.
- Tool call
The model's request to run a tool with specific arguments. That's what you read in the trace, not the final answer.
SeeThe tool as the model sees itRead the tool call, not the answerHacktoberfest 2026 · Week 1Hacktoberfest 2026 · Week 2
- Trace
The log of a run: every step (search, model call, tool call, decision) with its arguments and result.
- Transition table
The list of allowed (state, event) pairs and the state each one leads to. Any missing pair is refused, and the state doesn't move.
U
- URL guard
A check that decides, on the string alone and before any request, whether an address is allowed: protocol, public address, permitted domain.