Concepts
The ideas the technology pages actually turn on. MVCC is not a product and quorum is not software, but understanding them is what makes the rest legible. Each concept is defined once here and linked from everywhere it applies, rather than re-explained per page.
AI
An open protocol for communication between independent AI agents - discovery via a published Agent Card, work delegated as a stateful Task, updates streamed or pushed back.
AgentA system that uses a language model to plan, execute tool calls and iterate towards a goal, rather than producing a single response.
Agent harnessThe execution system that wraps a model and turns it into a working agent - owning the agent loop, conversation state, the permission policy, the sandbox and recovery across turns.
AlignmentThe problem of making a model behave according to intended values and instructions, rather than pursuing the training objective in unintended ways.
Artificial intelligenceSystems that perform tasks normally requiring human cognition, from classification and generation to planning and tool use.
AttentionA mechanism that lets each position in a sequence attend to every other position, weighting their relevance dynamically rather than relying on fixed-distance connections.
Context compactionA long conversation or agent trace is summarised and the window restarted from the summary, so the loop can continue past the context limit.
Context windowThe fixed number of tokens a model can attend to on one request, shared between the system prompt, tools, retrieved documents, history and the answer itself.
Deep learningMachine learning with neural networks of many layers, which learn hierarchical representations from raw data rather than hand-engineered features.
Disaggregated servingSplitting the prefill and decode phases of an inference request onto different workers, so each runs on hardware suited to its own bottleneck.
DistillationTraining a smaller student model to reproduce the outputs of a larger teacher model, transferring capability at lower inference cost.
EmbeddingA fixed-length vector that represents the meaning of a piece of text, image or other input, positioned so that similar items are nearby in the vector space.
EvalsStructured tests for an LLM system: a fixed input, a run, and grading logic applied to the output, where the grader may be a rule, a rubric, a reference answer, a second model or a person.
Fine-tuningContinuing training on a narrower dataset to specialise a pretrained model for a particular task or domain.
HallucinationA model generates text that is fluent and confident but factually wrong, because it is optimised for plausibility rather than truth.
InferenceRunning a trained model to produce output, as distinct from training it. The phase where cost, latency and throughput matter operationally.
KV cacheThe cached key and value tensors from a prompt's attention computation, kept so that generating each next token does not recompute the whole prefix.
LLM-as-a-judgeUsing a language model as the grader in an evaluation: it reads an output, applies a rubric or compares against a reference, and returns a score or verdict.
Machine learningA system improves at a task by learning from data rather than being explicitly programmed for it.
MCPAn open wire protocol that standardises how an application hosting a language model discovers and calls external capabilities - tools, resources and prompts - exposed by servers.
Multimodal AIModels that process and generate across multiple modalities - text, image, audio, video - rather than text alone.
Neural networkA computation graph of weighted connections between nodes, where the weights are adjusted during training to approximate a target function.
ParameterA learned weight in a model, adjusted during training. Parameter count is the headline measure of model size.
Progressive disclosureLoading information into context in stages rather than all at once - metadata always, instructions on trigger, resources on demand - so an agent pays the token cost only for what a task actually uses.
QuantisationReducing the numerical precision of model weights (for example from 16-bit to 4-bit) to lower memory requirements and speed up inference.
ReasoningA model generating intermediate steps or chains of thought before arriving at an answer, trading latency for accuracy on complex problems.
Reinforcement learningAn agent learns by trial and reward, maximising a cumulative signal rather than matching labelled examples.
Retrieval-augmented generationRelevant documents are retrieved at query time and supplied as context, so the model answers from evidence rather than parametric memory.
Sandbox isolationThe boundary a code-execution sandbox puts between model-generated code and the host - ranging from a shared process with no boundary at all to a dedicated host that shares nothing.
Synthetic dataTraining data generated by a model rather than collected from real-world sources, used to augment datasets or avoid privacy constraints.
TokenThe atomic unit a language model reads and generates - a word, subword, or byte depending on the tokeniser.
Tool callingA model emits a structured request to invoke an external function, and the result is returned as context for its next step.
TrainingThe process of adjusting a model's parameters by iterating over data, producing the weights that define the model's behaviour.
TransformerAn architecture that processes input in parallel using self-attention, replacing recurrence and enabling training on much larger datasets.
Vector databaseA store optimised for indexing and querying high-dimensional vectors, used to find semantically similar items for RAG and other retrieval tasks.
Vector searchText or images are embedded as vectors and compared by distance, so results are ranked by similarity rather than keyword match.
AI security
Databases
Dead row versions left by MVCC occupy space until a background process reclaims them; if it falls behind, tables and indexes grow without the data growing.
Foreign keyA constraint that links a column in one table to the primary key of another, enforcing referential integrity so that orphan rows cannot exist.
IndexA data structure maintained alongside a table that makes lookups by specific columns faster, at the cost of slower writes and additional storage.
Isolation levelsThe contract for which concurrency anomalies a transaction may observe, traded against how much concurrency the engine allows.
MVCCReaders see a consistent snapshot without blocking writers, because an update creates a new row version rather than overwriting the old one.
NormalisationOrganising tables so that each fact is stored once, reducing redundancy at the cost of more joins.
Primary keyA column or set of columns that uniquely identifies every row in a table, enforced by a unique index and a NOT NULL constraint.
Replication lagThe delay between a write committing on the primary and becoming visible on a replica.
SchemaThe structure that defines how data is organised in a database: tables, columns, data types, constraints, relationships, and indexes.
Shard keyThe field determining which shard a document lives on, and therefore which queries can be routed to one shard rather than all of them.
Stored procedureA named block of SQL (or procedural code) stored in the database and executed on the server, avoiding the round-trip cost of sending each statement from the application.
TransactionA sequence of operations that either all succeed (commit) or all fail (rollback), guaranteeing that the database moves from one consistent state to another.
Transaction ID wraparoundPostgreSQL transaction IDs are 32-bit and wrap around, so rows must be frozen before the counter laps them or data would appear to vanish.
TriggerCode that the database executes automatically when a specific event occurs on a table - typically an INSERT, UPDATE, or DELETE.
ViewA named query stored in the database that behaves like a virtual table - it does not hold data itself but runs its defining query each time it is read.
Write amplificationOne logical write causes several physical writes - to the log, the data pages, and every affected index.
Distributed systems
A saturated component signals upstream to slow down, rather than accepting work it cannot complete.
ConsensusAn algorithm by which unreliable nodes agree on a single ordered history, usually Raft or Paxos in practice.
Eventual consistencyReplicas converge on the same state given no further writes, but may disagree at any given moment.
FencingPositively preventing a demoted or unreachable node from continuing to serve, rather than assuming it has stopped.
QuorumA majority of members must agree before a decision stands, which is what stops two halves of a partitioned cluster both acting as leader.
Split brainTwo nodes both believe they are primary, usually after a network partition, and both accept writes that cannot afterwards be reconciled.