In depth · Appendix · A3
Glossary
From A2A to stateless: every term in one to three sentences, in its usual English form, with the chapter where it is covered in depth.
The glossary sums up what the chapters cover in depth. Every entry points to the chapter where the term is explained and worked through with an example. Other common names and spelled-out abbreviations are in parentheses, because you need them when searching. The entries keep the order of the German edition, so a few terms sit under a different letter than you might expect. Figures are as of November 24, 2026. You’ll find formulas and rough figures on one page in the cheat sheet, and to test your knowledge there is the final quiz.
A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · Y · Z
A
- A2A (Agent2Agent)
- Protocol through which an agent hands tasks to another agent, even one run by someone else. Google introduced it on April 9, 2025; since August 27, 2026 it has been a project of the Agentic AI Foundation. MCP connects agent and tool (vertical), A2A connects agent and agent (horizontal). More in chapter 12.
- AAIF (Agentic AI Foundation)
- Fund under the umbrella of the Linux Foundation, founded by Anthropic, Block and OpenAI. Anthropic handed MCP over to it on December 9, 2025; A2A joined later. More in chapter 12.
- Stopping criterion
- Condition at which an agent loop ends. The regular one is
stop_reason: "end_turn"; a maximum number of rounds, a budget, a time limit and a limit on repetitions are safety nets. More in chapter 16. - Adapter
- The small matrices learned in LoRA training, often only a few megabytes in size. Several adapters for different tasks can sit on the same base model. More in chapter 19.
- Agent
- A model in a harness that pursues a goal and decides on its own which steps and tools to use. Anthropic describes it as an LLM that uses tools based on feedback in a loop. More in chapter 15 and chapter 16.
- Agent Card
- Business card of an A2A agent in JSON format at
/.well-known/agent-card.json: who it is, what it can do, how to reach it and which authentication it requires. More in chapter 12. - Agent SDK
- Anthropic library for Python and TypeScript with the same tools, the same agent loop and the same context management as Claude Code (SDK: Software Development Kit). More in chapter 15 and chapter 16.
- Agent loop
- The model answers with text or tool calls, the program runs the tools and sends the results back, and this repeats until no more tools are requested. More in chapter 16.
- Active parameters
- In an MoE model, the parameters that do the computing for a single token: attention, the selected experts, the output layer. They determine the writing speed. “A3B” in the name means 3 billion active. More in chapter 8.
- Activation function
- Small nonlinear function after a neuron’s weighted sum, such as “negative values become zero”. Without it, all layers could be collapsed into a single one. More in chapter 1.
- ANN (Approximate Nearest Neighbor)
- Approximate search for the nearest neighbors of a vector. Vector databases use indexes such as HNSW for this; they almost always find the right neighbors, but there is no guarantee. More in chapter 11.
- API (Application Programming Interface)
- Agreed interface through which programs talk to each other. For language models it is almost always an HTTP endpoint that accepts and returns JSON; the model APIs are stateless. More in chapter 12.
- Working memory
- The context window itself: whatever is in it, the model sees directly. Fast, but limited and volatile. More in chapter 14.
- ASI01 to ASI10
- Numbers of the “OWASP Top 10 for Agentic Applications” (2026 edition), such as ASI01 Agent Goal Hijack, ASI06 Memory & Context Poisoning, ASI09 Human-Agent Trust Exploitation. More in chapter 18.
- ASR (Automatic Speech Recognition)
- Automatic speech recognition, another name for STT. More in chapter 13.
- Attention
- Mechanism in the transformer: each token compares its query with the keys of the tokens before it and mixes their values, weighted accordingly. As a formula: softmax(Q · KT / √dk) · V. More in chapter 4.
- Data processing on behalf (processor)
- A service provider processes personal data on someone else’s behalf. Under Article 28 GDPR this requires a contract that, among other things, states that the provider acts only on instructions. More in chapter 2.
- Autoregressive
- Each generated token is appended and becomes input for the next step. An answer with 500 tokens means 500 passes through the model. More in chapter 3.
B
- Backpropagation
- Method for computing the gradient layer by layer, from back to front. More in chapter 4.
- Barge-in
- The caller interrupts the voice agent. Then the audio output has to go silent, generation has to stop, and the history has to be cut back to the part that was actually heard. More in chapter 13.
- Base model
- Model after pretraining that only continues text; post-training is what turns it into an assistant model (often “Instruct” or “it” in the name). In German, the same word (Basismodell) is also used for foundation model. More in chapter 1.
- Batching
- Several requests share one pass through the weights. Total throughput rises sharply, while the speed per user drops only a little, as long as compute and memory for the KV caches suffice. More in chapter 6.
- Threat model
- Answers to four questions: what is worth protecting, who attacks, where do they get in, what can they achieve. For agents, every text in the context is a way in. More in chapter 18.
- BERT
- Well-known pure encoder model from 2018, mainly for classification and search. It also looks to the right, so a KV cache like the one in decoder models wouldn’t work there. More in chapter 4 and chapter 7.
- Reinforcement learning
- A program learns through trial and error, reward and punishment. Important for language models in the form of RLHF. More in chapter 1.
- BF16 (bfloat16)
- 16-bit floating-point format with 1 sign bit, 8 exponent bits and 7 mantissa bits: the same range as FP32, but less precise than FP16. Today’s models are almost always released in BF16. More in chapter 9.
- Bias
- A neuron’s own offset that is added to the weighted sum. Weights and biases together are the parameters. More in chapter 1.
- BM25 (Best Matching 25)
- Classic keyword search: it awards points for search terms, gives rare terms a high weight and evens out document length. Strong with item numbers, error codes and names. More in chapter 11.
- BPE (Byte Pair Encoding)
- Method for building a tokenizer: step by step, the most frequent adjacent pair is merged into a new token until the vocabulary is large enough. More in chapter 3.
C
- Canary token (decoy)
- Made-up credentials or documents that nobody uses legitimately. If their content shows up in an outgoing call, something is wrong. More in chapter 18.
- CCA (Claude Certified Architect)
- English video series that follows Anthropic’s exam guide, often cited in the course. Some of it has been overtaken by newer models, such as forcing tools with
tool_choice. More in chapter 16. - Chain of thought
- Asking the model to think step by step before it answers. Helps mainly small models with math and logic tasks; with reasoning models it is usually unnecessary. More in chapter 5.
- Channels
- Preview feature of Claude Code: an MCP server pushes events, for example from Telegram, into a running session. They only arrive while the session is open. More in chapter 17.
- Chat template
- Template that turns the list of messages into the string with control tokens that a model was trained on. If it doesn’t fit, the model answers in a muddled way or calls tools incorrectly. More in chapter 6.
- Chinchilla
- Paper from 2022: a model with 70 billion parameters and more training text beat one four times its size trained on less text. More parameters don’t automatically mean better. More in chapter 1.
- Chunk
- Piece of text that a document is split into for RAG. A chunk should carry exactly one idea; rule of thumb: one to three paragraphs. More in chapter 11.
- Claude Code
- Anthropic’s harness with loop, tools, context management, permissions, hooks and CLAUDE.md. The default engine of tybo. More in chapter 15.
- CLAUDE.md
- A project’s instruction file that Claude Code loads into the context at the start. The docs recommend keeping it under 200 lines. More in chapter 14.
- CLI (Command Line Interface)
- Program for the command line, such as the Claude CLI, Codex CLI,
ollamaorlms. More in chapter 10. - Codex CLI
- OpenAI’s coding agent that runs locally in the terminal, open source under Apache-2.0. A harness like Claude Code and one of the engines in tybo. More in chapter 15.
- Constrained decoding
- Before sampling, every token that would violate the schema is struck out. The basis of
strictand structured output. More in chapter 12. - Context editing
- Old tool results or thinking blocks are removed from the context on purpose instead of being summarized, at Anthropic for example with
clear_tool_uses_20250919. More in chapter 5. - Context rot
- Report by Chroma (2025, 18 models): as input length grows, performance becomes more and more unreliable, even on simple tasks. More in chapter 5.
- Contextual Retrieval
- Method from Anthropic (2024): before embedding, each chunk gets a short sentence of context about the document. Together with BM25 and reranking, the failure rate for the top 20 dropped by 67 percent. More in chapter 11.
- Continuous batching
- After every decode step, a finished request can leave the batch and a new one can join. A core feature of vLLM, on by default in llama-server. More in chapter 6.
- CPU (Central Processing Unit)
- Main processor, built to work through a sequence of instructions as fast as possible; it runs a few dozen threads in parallel. More in chapter 6.
- CRM (Customer Relationship Management)
- System for customer data and sales opportunities. Often the target of integrations in the course, such as call notes via structured output. More in chapter 12.
- CUDA (Compute Unified Device Architecture)
- NVIDIA’s platform that lets programs use the GPU for computing. vLLM, SGLang and TensorRT-LLM are built mainly for it, which is why many DGX Spark playbooks don’t run on the Mac. More in chapter 6.
D
- Decode
- Phase in which the answer is produced token by token. For every token, all active weights have to be read, so memory bandwidth limits the speed (memory-bound). More in chapter 6.
- Deep learning
- Part of machine learning with neural networks of many layers that learn useful features on their own. More in chapter 1.
- Reasoning model
- Model that writes an internal chain of thought before it answers. With Claude Opus 5.5, thinking is always on; the thinking tokens cost time and count as output. More in chapter 5.
- Distillation
- A large model generates training examples, people check them, and a small model is fine-tuned on them for one task. More in chapter 19.
- DGX Spark
- Small AI computer from NVIDIA with a Grace CPU, a Blackwell GPU and 128 GB of shared memory (also 64 GB through OEM partners) at 273 GB/s. Very fast prefill; when decoding small models, though, no faster than a Mac with an M4 Pro. More in chapter 6.
- Dense model
- Every token runs through all parameters. Memory needs and speed depend on the same number. More in chapter 8.
- DNS rebinding
- Attack in which a web page uses a manipulated DNS name (DNS: the internet’s name resolution) to reach an unprotected local server, such as an MCP server. More in chapter 18.
- GDPR
- General Data Protection Regulation, Regulation (EU) 2016/679. It doesn’t forbid cloud services, but it does require things like a data processing agreement; fines go up to €20 million or 4 percent. Local doesn’t automatically mean compliant. More in chapter 2.
E
- ElevenAgents
- ElevenLabs’ agent platform with its own speech recognition, a freely chosen language model (including “Custom LLM”), TTS, turn model, telephony and tests. tybo uses it for real phone calls. More in chapter 13.
- Elicitation
- MCP building block: a server asks the human a question through the client, such as “Which of the three accounts do you mean?”. More in chapter 12.
- Embedding
- Vector that describes a token or a text as a place in a space of meaning. In the transformer it is the first step (Qwen3-8B: 4,096 numbers per token), in RAG one vector per chunk (EmbeddingGemma: 768 numbers). More in chapter 4 and chapter 11.
- Embedding model
- Separate, usually small model that returns exactly one vector of fixed length for a text. Documents and questions have to be embedded with the same model. More in chapter 11.
- Encoder and decoder
- The two halves of the 2017 transformer: the encoder reads, the decoder writes. Today’s open language models such as Qwen or Llama are decoder-only. More in chapter 4.
- Episodic memory
- Stored history of earlier conversations and work steps, tied to points in time. Searched when needed, not sent along all the time. More in chapter 14.
- Fallback chain
- In tybo, the stages that take over when all engines fail: a model via OpenRouter, the Claude CLI with a different model, a freely chosen OpenRouter model, and finally Ollama. They work with limited tools. More in chapter 15.
- ETL (Extract, Transform, Load)
- Data pipeline of extracting, transforming and loading. A typical case for prompt chaining, because the shape of the work is fixed regardless of the content. More in chapter 16.
- EU AI Act
- AI regulation, Regulation (EU) 2024/1689. Article 50 requires that people learn they are talking to an AI. Fines up to €35 million or 7 percent apply only to prohibited practices; for most other obligations it is up to €15 million or 3 percent. More in chapter 2.
- Evaluator-optimizer
- Workflow pattern: one model generates, a second one evaluates, in a loop until the evaluation is good enough. tybo’s
/goalwith a judge follows this pattern. More in chapter 16. - Excessive Agency
- OWASP LLM06: an agent has too many tools, too broad permissions per tool, or too much autonomy without checking back. More in chapter 18.
- Expert
- One of the many feed-forward blocks of an MoE layer. Experts are not subject areas; the router learns the split on its own, and it follows syntax more than topic. More in chapter 8.
F
- Feature
- Measurable property that a classic ML method receives as input, such as “visits to the pricing page in the last 30 days”. Deep learning learns such features on its own. More in chapter 1.
- Feed-forward layer (FFN, MLP)
- Part of every transformer layer that processes each token on its own (MLP: Multi-Layer Perceptron). In Qwen3-8B, about two thirds of all parameters sit here. More in chapter 4.
- Few-shot
- A few examples of input and desired output in the prompt. Helps mainly with fixed formats and edge cases. More in chapter 5.
- Fine-tuning
- A finished model is trained further on your own data, and its weights shift. Good for style, format and narrow, recurring tasks, not for knowledge that changes. More in chapter 19.
- Flash Attention
- Memory-saving way of computing attention. In Ollama it is a prerequisite for a quantized KV cache and is used automatically when the hardware supports it. More in chapter 7.
- Foundation model
- Large model trained on broad data that can be adapted to many tasks. The term was coined by Stanford CRFM in 2021. More in chapter 1.
- FP16
- 16-bit floating-point format with 5 exponent bits and 10 mantissa bits. Accurate to a little over three decimal digits, largest number 65,504. More in chapter 9.
- FP32
- 32-bit floating-point number following the IEEE 754 standard, 4 bytes per number. A 7B model would need 28 GB in it. More in chapter 9.
- FP8
- 8-bit floating-point formats: E4M3 (4 exponent bits, 3 mantissa bits, largest number 448) for weights and activations, E5M2 (largest number 57,344) for gradients. More in chapter 9.
- Function calling
- Another name for tool use. More in chapter 12.
- Funes trap
- Image from video 3, after Borges’ story “Funes el memorioso”: someone who remembers everything can no longer generalize. Applied to an overstuffed context. More in chapter 14.
G
- GAL (Generative AI Leader)
- English playlist for the Google certification “Generative AI Leader”, often cited in the course. It still uses names from before April 2026, such as Vertex AI instead of Gemini Enterprise Agent Platform. More in chapter 11.
- Memory of an agent
- Text that is stored outside the model and put back into the context before an answer. The model itself has no such storage. More in chapter 14.
- Gemini and Gemma
- Google’s closed model, available only through an API, and Google’s model family with open weights (currently Gemma 4 under Apache 2.0) that runs on your own hardware. More in chapter 1.
- Generative AI
- AI that creates new content: text, images, audio, video, code. Today it almost always works with deep learning. More in chapter 1.
- Total parameters
- All parameters of an MoE model, including all experts. They determine the memory needed. More in chapter 8.
- GGUF
- File format of llama.cpp, also used by Ollama and LM Studio. One file contains the weights, tokenizer, chat template and other details; the quantization is usually in the name. More in chapter 9.
- GiB and GB
- A GiB (gibibyte) is 1,024³ bytes, a GB (gigabyte) 109 bytes; a KiB is 1,024 bytes. 4.5 GiB of KV cache is about 4.83 GB. More in chapter 7.
- Floating-point number
- Number made of a sign, an exponent (order of magnitude) and a mantissa (digits). More exponent bits give more range, more mantissa bits more precision. More in chapter 9.
- gpt-oss
- OpenAI models with open weights and an MoE design: gpt-oss-120b with 117 billion parameters, 5.1 billion of them active, gpt-oss-20b with 21 and 3.6 billion. The experts come in MXFP4. More in chapter 8.
- GPU (Graphics Processing Unit)
- Graphics processor that runs thousands of threads in parallel, which is why it computes language models. One video in the GAL playlist wrongly expands the abbreviation as “General Processing Unit”. More in chapter 1 and chapter 6.
- GQA (Grouped-Query Attention)
- Several query heads share one KV head. Qwen3-8B has 32 query heads and 8 KV heads, so its KV cache is a quarter the size it would be with MHA. More in chapter 7.
- Gradient descent
- Training moves every parameter a small step in the direction in which the error goes down. The step size is called the learning rate. More in chapter 4.
- GraphRAG
- RAG variant in which a language model extracts entities and relationships from documents and stores them as a knowledge graph, so that questions spanning several hops can be answered. More in chapter 11.
- Greedy decoding
- Always taking the most likely token. Predictable, but monotonous and prone to repetition loops; Qwen advises against it. More in chapter 3.
- Grounding
- Google’s term for anchoring an answer in verifiable sources: Google Search, Google Maps or your own data. RAG is one way to get there. More in chapter 11.
H
- Half duplex and full duplex
- In half duplex, only one side speaks at a time, as with a walkie-talkie. A full-duplex model such as GPT-Live keeps listening even while it speaks. More in chapter 13.
- Hallucination
- A statement from a model that sounds plausible but is false. According to an OpenAI paper from 2025, the causes lie in rare facts during pretraining and in evaluations that reward guessing. More in chapter 3 and chapter 2.
- Handoff
- An agent passes responsibility to another agent or a human, ideally with a structured package of request, what has been checked, the obstacle, a recommendation and evidence. More in chapter 16.
- Harness
- Layer around the model that offers and runs tools, drives the loop, manages the context and enforces permissions and hooks. Examples: Claude Code, Codex CLI, OpenCode. More in chapter 15.
- Hermes Agent
- Open personal agent from Nous Research (MIT) with messenger channels, a built-in scheduler and memory in MEMORY.md and USER.md. More in chapter 17.
- Background job
- Long task that runs separately from the conversation and reports back at the end, in tybo even after a crash. More in chapter 17.
- HITL (Human in the Loop)
- A human decides before a certain action runs. This only works if they have the time and the material to check, and see the actual action, not the model’s explanation of it. More in chapter 18 and chapter 2.
- HNSW (Hierarchical Navigable Small World)
- Widely used index for approximate neighbor search: a network of connections on several levels, like highways, country roads and alleys. More in chapter 11.
- Hook
- Your own script that runs at fixed points, such as before (PreToolUse) or after (PostToolUse) a tool call. In Claude Code, exit code 2 blocks the action. More in chapter 16.
- HTTP
- Protocol that browsers use to load web pages and programs use to call model APIs. A request has headers and a body. More in chapter 12.
- Hub and spoke
- A coordinator in the middle hands subtasks to subagents that talk only to it, never to each other. More in chapter 16.
- Hybrid search
- Semantic search and keyword search (BM25) run side by side, and the two ranked lists are merged, usually with RRF. More in chapter 11.
I
- imatrix (importance matrix)
- Matrix that uses sample texts to measure which weights strongly affect the result, so that those are rounded more precisely during quantization. More in chapter 9.
- In-context learning
- A model solves a new task from examples in the prompt, without its parameters changing. More in chapter 5.
- Indirect prompt injection
- The attacker never talks to the system. They plant instructions in data that the agent reads later: an email, a web page, a PDF, a tool result. More in chapter 18.
- Inference
- Running a fully trained model; the weights stay fixed. Every answer from a chatbot is inference. It doesn’t mean logical reasoning. More in chapter 1 and chapter 6.
- Inference server
- Program that loads a model and takes care of the chat template, tokenizer, sampling, KV cache, batching and an HTTP API, such as Ollama, llama-server, vLLM or SGLang. More in chapter 6.
- INT8 and INT4
- Integer formats with 256 and 16 possible values. Together with a scale factor per block, they are the basis of quantization. More in chapter 9.
J
- Jailbreak
- Attempt to get around the safety rules of the model itself. A prompt injection, by contrast, targets the application’s instructions. More in chapter 18.
- JSON (JavaScript Object Notation)
- Text format for nested data made of objects, lists, strings, numbers and booleans. Model APIs exchange requests and responses in JSON. More in chapter 12.
- JSONL
- File with exactly one complete JSON object per line, the usual format for fine-tuning data. More in chapter 19.
- JSON-RPC 2.0
- Simple format for function calls over the network with
id,methodandparams. The message format of MCP. More in chapter 12. - JSON Schema
- Language that describes what a valid JSON document looks like:
type,enum,required,additionalProperties. More in chapter 12.
K
- Catastrophic forgetting
- After intensive training on one task, a model can get worse at other things than before. LoRA forgets less than full fine-tuning, but also learns less. More in chapter 19.
- Causal attention
- Each token sees only the tokens before it. That’s why the keys and values of earlier tokens no longer change and can sit in the KV cache. More in chapter 7.
- No stale data
- Rule for routines in tybo: if the source data is missing or out of date, the routine says what is missing and ends with an error code instead of carrying on with the last known state. More in chapter 17.
- AI (artificial intelligence)
- Umbrella term for systems that do tasks that would otherwise need human intelligence. The term comes from the Dartmouth proposal of August 31, 1955. More in chapter 1.
- SMEs
- Small and medium-sized enterprises. For EU AI Act fines, the lower of the two amounts applies to them. More in chapter 2.
- Compaction
- Older rounds of a conversation are condensed into a summary. Whatever gets dropped is gone, which is why key facts are stored separately. More in chapter 5.
- Context engineering
- Deciding, at every step of an agent, what should be in the context: the smallest possible set of meaningful tokens. Tools: references instead of content, compaction, notes, subagents. More in chapter 5.
- Context window
- Maximum number of tokens in one request, input and output together. Current Claude models: 1,000,000, of which up to 128,000 can be output. Ollama silently truncates when the window is too small. More in chapter 5.
- Head
- One of several parallel attention computations with their own weight matrices; each head learns to pay attention to different patterns. More in chapter 4.
- Cosine similarity
- Measure of the angle between two vectors: a · b / (|a| · |b|). 1 means the same direction, 0 a right angle; the length of the vectors doesn’t matter. More in chapter 11.
- k-quants
- GGUF method (K in the name): blocks are grouped into super-blocks of 256 weights, and the scales of the small blocks are themselves quantized. More in chapter 9.
- Cross-entropy loss
- Error measure in training: the negative logarithm of the probability the model gave to the correct token. At 64.4 percent, that is 0.44. More in chapter 4.
- KV cache (key-value cache)
- Cache for the keys and values of all previous tokens in every layer. Saves compute during decode, but grows linearly with the context. More in chapter 7.
L
- Latency budget
- A breakdown of how much time each link of a voice agent takes until the first audible sound: VAD, STT, language model, TTS, network. More in chapter 13.
- Lethal trifecta
- Simon Willison’s formula (2025): access to private data, exposure to untrusted content and a way to communicate externally together make data exfiltration possible. More in chapter 18.
- Letta
- Company that grew out of the MemGPT research project. Its agents rewrite their own memory blocks. More in chapter 14 and chapter 17.
- llama.cpp
- Library for inference with GGUF files, the foundation of Ollama and LM Studio. Can be used directly as a server with
llama-server(default port 9931; older guides say 8080). More in chapter 6 and chapter 10. - LLM (Large Language Model)
- Large language model: a foundation model for language, usually a transformer, trained in pretraining to predict the next token. More in chapter 1.
- LLM01 to LLM10
- Numbers of the “OWASP Top 10 for LLM Applications 2025”, such as LLM01 Prompt Injection, LLM06 Excessive Agency, LLM08 Vector and Embedding Weaknesses. More in chapter 18.
- LLM Wiki
- Pattern by Andrej Karpathy (2026): a model works sources into linked Markdown pages, maintains an index and notes contradictions. According to Karpathy, it works well up to about 100 sources and a few hundred pages. More in chapter 14.
- LM Studio
- Desktop app with model search, chat and a local server (example port 1234); command line
lms. Uses llama.cpp and, on Apple Silicon, MLX as well. More in chapter 10. - Logit
- Raw score that the model outputs for each token in the vocabulary. Softmax turns these into probabilities. More in chapter 3.
- Logprob
- Natural logarithm of a probability. You get back with p = elogprob; a logprob of −0.951 is 38.6 percent. More in chapter 3.
- LoRA (Low-Rank Adaptation)
- Fine-tuning in which the weights stay frozen and only two small matrices B and A are trained, r × (rows + columns) parameters per adapted matrix. More in chapter 19.
- Lost in the Middle
- Finding by Liu et al. (2023): models make the best use of information at the beginning and end of the context, and clearly worse use of what’s in the middle. More in chapter 5.
- LSTM
- Older kind of recurrent layer that reads text word by word with a kind of memory. The 2017 MoE paper still placed its experts between such layers. More in chapter 8.
M
- Machine learning (ML)
- Part of AI in which the machine derives its rules from examples instead of a human programming them. More in chapter 1.
- MCP (Model Context Protocol)
- Open standard through which applications (hosts) bring in tools, data and templates from servers. Current specification 2026-07-28, stateless since then. More in chapter 12.
- MCP building blocks: tools, resources, prompts
- Tools are called by the model, resources (data with their own URI) are brought in by the application, prompts are templates that a human picks. More in chapter 12.
- Mem0
- Memory layer as a library that extracts facts from conversations, merges them with existing ones and retrieves them. More in chapter 14.
- MemGPT
- Paper from 2023 that moves information between the context window and external storage like an operating system, controlled by the model itself. Letta grew out of it. More in chapter 14.
- Memory poisoning
- Outside text gets an agent to store something false that keeps having an effect in later sessions. At OWASP: ASI06 Memory & Context Poisoning. More in chapter 14 and chapter 18.
- Memory tag
- Marker such as
[REMEMBER: …],[GOAL: …]or[KNOWLEDGE: …]in tybo’s answers. After outside content, a gate applies them only as a suggestion. More in chapter 14. - Message threads
- Beta from Anthropic: the API keeps a conversation on the server for a short time, and you send only new messages. Expires five minutes after the last request; the model still reads everything. More in chapter 5.
- Metal
- Apple’s graphics API. llama.cpp, Ollama and MLX use it to access the Mac’s GPU. More in chapter 6.
- MHA and MQA
- Multi-head attention: each head has its own keys and values. Multi-query attention: all heads share one set. GQA sits in between. More in chapter 7.
- min_p
- Sampling setting that removes all tokens whose probability is below a fraction of the best token’s. More in chapter 3.
- Mixture of Experts (MoE)
- Architecture in which a router lets only a few of many experts compute, per token and layer. Memory depends on the total parameters, writing speed on the active ones. More in chapter 8.
- µ-law
- Classic telephone format that stores each sample in 8 bits. Twilio delivers it at 8,000 hertz, which is 64 kbit/s. More in chapter 13.
- MLX
- Apple’s framework for machine learning on Apple Silicon; the mlx-lm package offers generate, chat, convert, server and lora. Since 2026, Ollama has its own MLX engine. More in chapter 10.
- Modelfile
- Ollama file you use to create your own variant of a model with fixed settings (
ollama create name -f Modelfile). More in chapter 10. - Model
- Function made of a fixed computation rule (architecture) and learned parameters: data goes in, a prediction comes out. More in chapter 1.
- Engine
- In tybo, the swappable part that produces an answer: Claude Code (default), Codex, OpenCode or the Anthropic API directly. More in chapter 15.
- MRL (Matryoshka Representation Learning)
- Embeddings whose first numbers carry the most important information, so you can shorten the vector, such as EmbeddingGemma from 768 to 128. More in chapter 11.
- MTEB (Massive Text Embedding Benchmark)
- Leaderboard for embedding models. For German company documents, what matters most is whether the model handles German well. More in chapter 11.
- MXFP4 (Microscaling FP4)
- 4-bit format with tiny floating-point numbers (E2M1) and a power-of-two scale per 32 weights, 4.25 bits per weight. OpenAI ships the experts of gpt-oss this way. More in chapter 9.
N
- n8n
- Tool for workflow automation with nodes in the browser, an AI Agent node and MCP nodes in both directions. It is under the Sustainable Use License (no reselling as a service). More in chapter 12.
- NF4 (NormalFloat 4)
- 4-bit number format from QLoRA, tailored to the typical distribution of weights. More in chapter 19.
- NLP (Natural Language Processing)
- Processing of natural language by computers, much older than language models. From the classic pipeline, mainly tokenization has survived. More in chapter 1.
- Nucleus sampling
- Another name for top-p. More in chapter 3.
- NVFP4
- NVIDIA’s 4-bit format for the Blackwell generation, so also for the DGX Spark: E2M1 values, blocks of 16 numbers with an FP8 scale, 4.5 bits per value according to NVIDIA. More in chapter 9.
O
- OAuth 2.1
- Sign-in method in which you give an application limited access without revealing your password to it. Intended in MCP for remote servers. More in chapter 12.
- OCR (Optical Character Recognition)
- Text recognition from images, for example from scanned PDFs, before they are split up for RAG. More in chapter 11.
- Ollama
- Convenient inference server with its own model library, command line, REST API and OpenAI-compatible API on port 11434. Uses llama.cpp and, on Apple Silicon, MLX as well. More in chapter 10.
- OMR (Optical Mark Recognition)
- Detecting check marks in boxes, a classic image processing method. An example of a task with a fixed rule that needs no language model. More in chapter 2.
- Open WebUI
- Self-hosted chat interface in the style of ChatGPT with accounts, groups, knowledge stores and assistants. At its core, a wrapper. More in chapter 10 and chapter 15.
- Open weights
- The finished parameters can be downloaded; the training data and training code usually can’t. That’s why it is not the same as open source. More in chapter 1.
- OpenAI-compatible API
- Endpoints such as
/v1/chat/completionsthat almost all local servers offer. A program switches servers when you just swap the address. More in chapter 10. - OpenClaw
- Open personal assistant (MIT) with a local gateway process, many messenger channels and memory as Markdown files in the working folder. More in chapter 17.
- OpenRouter
- Intermediary with an OpenAI-compatible API to a very large number of models. Billing is per token; in tybo it is the first stage of the fallback chain. More in chapter 15.
- OpenShell
- NVIDIA’s sandbox for agents on the DGX Spark: a gateway enforces YAML policies for the file system, network and processes. More in chapter 18.
- Outbox
- In tybo, the single path for notifications to the user, to Telegram and to the WebUI. No context reader passes such entries on to a model. More in chapter 17.
- OWASP
- Open Worldwide Application Security Project. Maintains the Top 10 for LLM applications (LLM01 to LLM10) and for agentic applications (ASI01 to ASI10). More in chapter 18.
P
- PagedAttention
- Technique from vLLM that splits the KV cache into small pages, much like an operating system does with memory. Earlier systems used only 20.4 to 38.2 percent of the reserved cache memory. More in chapter 7.
- Parakeet
- NVIDIA’s speech recognition, TDT 0.6B v3 with 600 million parameters, 25 European languages and a CC-BY-4.0 license; expects 16 kHz. On the Mac via parakeet-mlx. More in chapter 13.
- Parameters
- The learned numbers of a model, that is, weights and biases. qwen3:8b has 8.2 billion. More in chapter 1 and chapter 4.
- Parametric memory
- Knowledge stored in a model’s weights. It has a knowledge cutoff, contains no private data and fills gaps by guessing. More in chapter 11.
- PCM
- Uncompressed audio format. The Gemini Live API accepts 16-bit PCM at 16 kHz and answers at 24 kHz. More in chapter 13.
- PEFT (Parameter-Efficient Fine-Tuning)
- Fine-tuning that trains only a few additional parameters, for example with LoRA. More in chapter 19.
- Perplexity (PPL)
- Measure of how surprised a model is by a text; lower is better. It is used to compare quantization levels: Q8_0 plus 0.0026, Q4_K_M plus 0.18, Q2_K plus 3.5 (Llama-3-8B). More in chapter 9.
- pgvector
- PostgreSQL extension that stores vectors next to all your other data. The
vectortype can be indexed only up to 2,000 dimensions,halfvecup to 4,000. More in chapter 11. - Pipecat and LiveKit Agents
- Open-source frameworks for real-time voice agents: you plug STT, language model, TTS and turn model together and run everything yourself. More in chapter 13.
- Piper
- Local speech synthesis with German voices such as thorsten, kerstin and ramona, now under GPL-3.0 at the Open Home Foundation. More in chapter 13.
- PM2, launchd and systemd
- Service managers that restart a long-runner after a crash or reboot: launchd on macOS, systemd on Linux, PM2 across platforms. More in chapter 17.
- Prefill
- Phase in which the model reads the whole input at once and fills the KV cache. Limited by compute and often a hundred times faster than decode. More in chapter 6.
- Prompt chaining
- A task is broken into fixed steps, and the output of one is the input of the next. A check in code can sit between the steps. More in chapter 5 and chapter 16.
- Prompt injection
- Text in the input becomes an instruction. Simon Willison proposed the name in 2022, after SQL injection; unlike there, there is no technical separation of code and data. More in chapter 18.
- Prompt caching
- Providers keep the KV cache of the beginning of a prompt; it only hits when the prefix is identical byte for byte. At Anthropic, writing costs 1.25 times the price, and reading costs one twentieth with Opus 5.5 and Sonnet 5.5. More in chapter 7.
- Procedural memory
- Knowledge of how something is done; for agents mainly instruction files like CLAUDE.md, skills and routines. More in chapter 14.
Q
- Q4_K_M
- The most widely used GGUF level and the default for many Ollama models: 4.89 bits per weight on average, about a third of the FP16 size, small loss in quality. More in chapter 9.
- QK-Norm
- Normalization of queries and keys before they are compared, used in Qwen3 for stable training. Costs only 256 parameters per layer. More in chapter 4.
- QLoRA
- LoRA on a base model whose frozen weights are quantized to 4 bits, with NF4, double quantization and an optimizer that steps aside during memory spikes. More in chapter 19.
- Quantization
- Weights are mapped block by block onto a few levels with a scale factor. Saves memory and speeds up decode, at the cost of some precision. More in chapter 9.
- Query, key, value
- The three vectors every token forms in every layer: what it is looking for, what it stands for, what it passes on. More in chapter 4.
- Qwen3
- Model family with open weights that comes up throughout the course. Qwen3-8B has 8.19 billion parameters and 36 layers; qwen3:8b is 5.2 GB in Ollama. More in chapter 4.
R
- RAG (Retrieval-Augmented Generation)
- Generation with looked-up knowledge: search for matching passages and give them to the model together with the question. RAG changes only the prompt, not the model. More in chapter 11.
- Rank
- In LoRA, the width r of the matrices B and A, typically 4 to 64; mlx-lm uses 8 by default. More in chapter 19.
- Recall@k
- Share of test questions for which the right passage is among the first k hits; the metric used to measure a RAG search. More in chapter 11.
- recommendedMaxWorkingSetSize
- Metal value for how much memory a Mac’s GPU should use without losing performance. On the 24 GB test Mac, 19,069.67 MB, about 74 percent. More in chapter 10.
- Reranker
- Model that reads the question and a chunk together and outputs a relevance score directly. More accurate but slower than embeddings, so it is used only on a shortlist of 20 to 50 candidates. More in chapter 11.
- Residual connection
- The result of attention and feed-forward is added to the vector instead of replacing it. This makes deep networks trainable. More in chapter 4.
- REST API
- API over HTTP with fixed paths, such as Ollama’s
/api/generate,/api/chatand/api/embed. More in chapter 10. - RLHF (Reinforcement Learning from Human Feedback)
- Post-training with human comparisons (“answer A is better than B”) as the reward signal. One reason chat models follow instructions. More in chapter 1.
- RMSNorm
- Normalization that brings the numbers of a vector to a uniform scale before each sub-step of a transformer layer. More in chapter 4.
- RoPE (Rotary Position Embedding)
- Method for position information: queries and keys are rotated depending on their position, so that comparing them depends on the distance between the tokens. More in chapter 4.
- Router (gating network)
- Small matrix in an MoE layer that computes a score per expert for each token and picks the best k. More in chapter 8.
- Routine
- In tybo, a scheduled, short run outside the bot, such as the morning briefing, check-in or nightly check, started through a shared wrapper that records duration and exit code. More in chapter 17.
- Routing
- Workflow pattern: an input is classified first and then passed on to a specialized path or a suitable model. More in chapter 16.
- RRF (Reciprocal Rank Fusion)
- Method for merging ranked lists by position: the sum of 1 / (60 + rank) over all lists. The constant 60 has been the standard since 2009. More in chapter 11.
- Rule of Two
- Design rule from Meta (2025): within one session, an agent should have at most two of three properties: untrusted input, access to sensitive data, effects on the outside world. Otherwise only under supervision. More in chapter 18.
S
- SAIF (Secure AI Framework)
- Google’s framework from 2023 with six core elements that extends existing security foundations, detection and governance to AI. More in chapter 18.
- Sampling
- Drawing the next token from the probability distribution like from a lottery drum, controlled by temperature, top-k and top-p. More in chapter 3.
- Sandbox
- A limit on what a process can see and do, regardless of its intentions. Claude Code uses Seatbelt on macOS and bubblewrap on Linux; containers or virtual machines are stronger. More in chapter 18.
- Shadow AI
- AI tools that employees use without their employer’s approval. More in chapter 2.
- Second brain
- External, digital store for what you learn, including the sources (Tiago Forte, CODE method). The idea goes back to Vannevar Bush’s Memex from 1945. More in chapter 14.
- Seed
- Starting value of the random number generator during sampling. The same seed, the same settings and the same computer produce the same text locally. More in chapter 3.
- Semantic memory
- Facts about the world and the user, short and valid for a long time, such as job, preferences, projects. More in chapter 14.
- SFT (Supervised Fine-Tuning)
- Fine-tuning with pairs of input and desired output; the most common form. More in chapter 19.
- SGLang
- Inference server with RadixAttention, which reuses the KV cache of shared beginnings in a tree structure. Strong for agents and JSON, mainly on NVIDIA, port 30000. More in chapter 6.
- SIP (Session Initiation Protocol)
- Protocol that phone systems use to set up calls. Through a SIP trunk, an agent talks directly to a phone provider’s network. More in chapter 13.
- Dot product
- Multiplying two vectors number by number and adding everything up. The basis of attention and cosine similarity. More in chapter 4 and chapter 11.
- Scale factor (scale)
- Number per block that values are divided by during quantization and multiplied by again during computation, usually the largest absolute value in the block divided by the outermost level. More in chapter 9.
- Sliding window
- Layers that see only the last few hundred or thousand tokens and need correspondingly little KV cache, for example in Gemma 3 and gpt-oss. More in chapter 7.
- Softmax
- Turns logits into probabilities: e to the power of the logit, divided by the sum over all of them. Every point of difference in the logit means a factor of 2.718. More in chapter 3.
- Speech-to-speech
- Model that hears audio and speaks audio, without text in between. Faster and hears the tone of voice, but harder to check and more expensive per token. More in chapter 13.
- Memory bandwidth
- How many gigabytes per second the memory delivers. Limits decode speed: M4 120 GB/s, M4 Pro and DGX Spark 273 GB/s, RTX 4090 1,008 GB/s. More in chapter 6.
- SSE (Server-Sent Events)
- Data stream from server to client over HTTP, for example for responses in MCP over Streamable HTTP. More in chapter 12.
- SSO (Single Sign-on)
- One sign-in for many applications, for example with a Microsoft account in Open WebUI. More in chapter 15.
- stdio and Streamable HTTP
- The two transports of MCP: a local server runs as a subprocess over standard input and output, a remote one is reached via HTTP POST. More in chapter 12.
- stop_reason
- Field in every Claude response that says why the model stopped: end_turn, tool_use, max_tokens, stop_sequence, pause_turn, refusal or model_context_window_exceeded. More in chapter 16.
- Streaming
- Passing on partial results before the whole thing is done. For voice agents, the biggest lever against waiting time. More in chapter 13.
- strict
- Switch on a tool definition that guarantees a call’s inputs follow the schema. Requires
additionalProperties: false. More in chapter 12. - Structured outputs
- The answer is guaranteed to follow a JSON schema, with Claude via
output_config.format. What is guaranteed is the form, not the content. More in chapter 12. - STT (Speech-to-Text)
- Speech recognition, audio to text, for example with Whisper, Parakeet or Voxtral. More in chapter 13.
- SwiGLU
- Variant of the feed-forward layer with three large matrices instead of two; one of them acts as a gate. More in chapter 4.
- System prompt
- Instruction at the start of the context with role, rules and tone. It goes along with every request; fixed parts belong at the front so that prompt caching hits. More in chapter 5.
T
- Tailscale
- Private network between your own devices with fixed addresses from 100.64.0.0 to 100.127.255.255, without open ports on the router. More in chapter 15.
- Taint tracking
- Tracking where outside content came from, outside the model, and treating certain actions differently because of it, for example by requiring approval. tybo’s memory gate is a simple form of it. More in chapter 18.
- Temperature
- Setting that divides the logits before softmax: below 1 the distribution gets sharper, above 1 flatter. No longer adjustable on current Claude models. More in chapter 3.
- Terminal-Bench 2.0
- Benchmark for agents in the terminal that lists every entry as a pair of model and harness. With the same model, the harnesses were just over 18 percentage points apart. More in chapter 15.
- Token
- Piece of text that a tokenizer splits text into: a word, part of a word, a punctuation mark or a byte. English roughly four characters per token; German usually needs more. More in chapter 3.
- Tokenizer
- Splits text into tokens and replaces them with numbers from the vocabulary. Every model has its own, so counts don’t carry over. More in chapter 3.
- Tool use
- Instead of an answer, the model writes a structured tool call; the application runs it and sends a
tool_resultback. More in chapter 12. - tool_choice
- Parameter for tool selection: auto, any, tool or none. Current Claude models such as Opus 5.5 reject any and tool with a 400 error. More in chapter 12 and chapter 16.
- Top-k
- Keep only the k most likely tokens and redistribute the probability among them. Rigid: with flat distributions it cuts off good candidates. More in chapter 3.
- Top-p
- Keep the smallest group of top tokens that together reach at least probability p. Adapts to the shape of the distribution. More in chapter 3.
- TPU (Tensor Processing Unit)
- Google’s special-purpose chip (ASIC) for machine learning, available only in Google’s cloud; the generally available generation is the seventh, Ironwood. More in chapter 6.
- Training
- Phase in which a model’s parameters are set; expensive and rare. Qwen3 was pretrained on 36 trillion tokens. More in chapter 1 and chapter 4.
- Transformer
- Architecture from “Attention Is All You Need” (2017): embeddings, a stack of identically built layers of attention and feed-forward, and an output layer. More in chapter 4.
- TTFT (Time to First Token)
- Time until the first token: waiting in the queue plus loading the model plus prefill. More in chapter 6 and chapter 3.
- TTS (Text-to-Speech)
- Speech synthesis, text to audio, for example ElevenLabs in the cloud or Piper on your own computer. More in chapter 13.
- Turn
- In tybo, one message and the answer to it; only one turn runs per conversation at a time. More in chapter 17.
- Turn-taking
- Recognizing when the human is done. Turn models such as semantic_vad, the LiveKit Turn Detector or Smart Turn evaluate words and sound instead of just silence. More in chapter 13.
- τ-Voice
- Benchmark (2026) for voice agents with customer service tasks. They reached only 30 to 45 percent of a text model’s performance. More in chapter 13.
- Twilio
- Telephony provider that sends calls to a server via Media Streams over WebSocket, always in µ-law at 8,000 hertz. More in chapter 13.
- tybo
- The author’s personal assistant and the running example of the course: Telegram, WebUI and terminal as channels, Claude Code as the default engine, memory, routines and background jobs. More in chapter 17.
U
- Overfitting
- The model memorizes the training examples. You can tell when the training loss keeps falling but the validation loss starts rising again. More in chapter 19.
- Overlap
- The end of one chunk shows up again at the beginning of the next, so that ideas at the boundary aren’t torn apart. 10 to 20 percent is common. More in chapter 11.
- Supervised learning
- Learning from examples with the right answers (labels); typical tasks are classification and regression. More in chapter 1.
- Unified memory
- Shared memory for CPU and GPU, in Apple’s M chips and in the DGX Spark. Trades bandwidth for size. More in chapter 6.
- Subagent
- Starts with its own empty context, knows only the coordinator’s task and returns only its last message. More in chapter 16.
- Unsupervised learning
- Learning without labels: the method finds patterns on its own, such as groups of similar customers (clustering). More in chapter 1.
V
- VAD (Voice Activity Detection)
- Detects whether someone is speaking and, above all, when a turn has ended. A pure silence threshold mistakes pauses in the middle of a sentence for the end. More in chapter 13.
- Vector database
- Stores vectors with the original text and metadata and finds the nearest neighbors of a question, such as pgvector, Qdrant or Chroma. More in chapter 11.
- Trust boundary
- Point where outside text gets into an agent’s context. Layers of defense start at these crossings, not in the model. More in chapter 18.
- vLLM
- Inference server for many concurrent users with PagedAttention, continuous batching and prefix caching, mainly on NVIDIA; port 8000. More in chapter 6.
- Vocabulary
- Fixed list of all tokens of a tokenizer. Qwen3 has 151,936 entries. More in chapter 3.
- VRAM
- A graphics card’s own, very fast video memory, but a hard limit: the RTX 4090 has 24 GB at 1,008 GB/s. More in chapter 6.
W
- Whisper
- OpenAI’s speech recognition under the MIT license, from tiny (39 million parameters) to large (1.55 billion); turbo is the default model of the command line. More in chapter 13.
- Knowledge base
- Collection of documents that is searched when needed. In a company with many users, usually RAG with access rights. More in chapter 14.
- Workflow
- System in which models and tools run along code paths fixed in advance. Cheaper, faster and easier to test than an agent when the path is known. More in chapter 16.
- Wrapper
- Thin layer around a model API: interface, system prompt, history and connection. One call per message, no tools, no loop. More in chapter 15.
Y
- YaRN
- Method that stretches the rotation angles of RoPE. With it, Qwen3-8B handles up to 131,072 tokens instead of 32,768. More in chapter 4.
Z
- Zero-shot
- Posing the task without a single example; the normal first attempt. More in chapter 5.
- Stateless
- The server remembers nothing between two requests. That’s why, with the Messages API, the whole history goes along every time; in MCP 2026-07-28, every request carries its version and capabilities itself. More in chapter 5 and chapter 12.
Progress is saved in this browser only.