InterviewsVector

Build AI systems from first principles.

A capability-driven Academy for engineers who want to derive the mechanism, ship the smallest tested version, break it on purpose, and defend the production trade-off.

Choose the capability you need next

These are suggested sequences, not promises of instant seniority. Time ranges estimate the complete mapped curriculum at five focused hours per week; live flagship labs are marked separately.

Applied AI Engineer

Build retrieval and agent features with measurable behavior.

Baseline → math → foundation models → retrieval → evaluation

≈16–20 weeks at 5h/week

Open the mathematical path

Model & Inference Engineer

Reason from computation graphs to serving capacity.

Math → neural systems → model internals → adaptation → AI infra

≈20–24 weeks at 5h/week

Open the neural systems path

Staff AI Engineer / Architect

Own boundaries, failure budgets, economics, and governance.

Retrieval → agents → reliability → infrastructure → architecture

≈18–22 weeks at 5h/week

Open the architecture path

The Vector Loop

Every published lesson moves from a mental model to evidence you can operate and defend. A framework call never substitutes for the mechanism.

  1. 01

    Model

    Name the problem, boundary, assumptions, and mental model.

  2. 02

    Derive

    Work only the mathematics needed to predict behavior.

  3. 03

    Build

    Implement the smallest tested version that exposes the mechanism.

  4. 04

    Stress

    Break it with adversarial inputs, scale, and incorrect assumptions.

  5. 05

    Operate

    Add observability, cost, security, rollback, and realistic constraints.

  6. 06

    Defend

    Explain the trade-off in an interview, design review, or incident.

The capability spine

Eleven dependency-aware arcs move from reproducible experiments to production architecture. “Planned” means mapped and unpublished—not hidden content; withdrawn publications remain available only at their retained URLs.

76 live / 76 mapped

  1. 01

    Software Engineer

    Engineering Baseline for AI Work

    Turn a software project into a reproducible experiment, with explicit data, environment, cost, and verification boundaries.

    Capability: Run an AI experiment another engineer can reproduce and audit.

  2. 02

    Software Engineer

    Mathematical Machinery for AI Systems

    Learn the math as executable engineering machinery: representations, transformations, optimization, uncertainty, and numerical failure.

    Capability: Reason about model behavior without hiding behind library calls.

  3. 03

    AI Engineer

    Learning Systems and Classical ML

    Build the discipline that still governs foundation-model products: splits, baselines, leakage control, calibration, drift, and causal humility.

    Capability: Ship and defend a supervised learning system with trustworthy evaluation.

  4. 04

    AI Engineer

    Neural Systems from Computation Graphs

    Build neural networks as computation graphs with local derivative contracts, then diagnose optimization and representation failures.

    Capability: Implement, test, and debug a neural training loop from first principles.

  5. 05

    Senior AI Engineer

    Transformers and Foundation-Model Internals

    Trace the complete path from bytes to tokens, attention, transformer blocks, training objectives, decoding, and inference state.

    Capability: Explain and capacity-plan the machinery behind modern language models.

  6. 06

    Senior AI Engineer

    Model Adaptation and Multimodal Systems

    Choose between prompting, retrieval, fine-tuning, preference optimization, and multimodal fusion using evidence rather than fashion.

    Capability: Adapt a foundation model while preserving evaluation, safety, and rollback paths.

  7. 07

    Senior AI Engineer

    Retrieval and Knowledge Systems

    Build retrieval as a measurable information system: representations, indexing, chunking, filtering, ranking, grounding, and freshness.

    Capability: Diagnose a RAG system by stage and improve the right component.

  8. 08

    Staff AI Engineer

    Agentic Systems, Tools, and Protocols

    Treat agents as bounded distributed workflows with typed tools, explicit state, permissions, recovery, and human authority.

    Capability: Ship a tool-using workflow whose actions are bounded, observable, and recoverable.

  9. 09

    Staff AI Engineer

    Evaluation, Safety, and Reliability

    Make quality a release system: task-specific datasets, calibrated judges, human review, security tests, telemetry, and incident learning.

    Capability: Define a release bar that catches quality, safety, and reliability regressions.

  10. 10

    Staff AI Engineer

    Inference, Training, and AI Infrastructure

    Connect model execution to hardware reality: memory movement, precision, batching, parallelism, schedulers, storage, and failure recovery.

    Capability: Capacity-plan and operate training and inference systems under real constraints.

  11. 11

    AI Architect

    Production AI Architecture and Technical Leadership

    Integrate models, data, retrieval, tools, safety, reliability, economics, governance, and organizational ownership into durable platforms.

    Capability: Lead an AI architecture decision from requirements through operations and governance.

76 labs. 76 defensible artifacts.

These are complete vertical slices: original explanation, runnable code, failure cases, production constraints, checks, primary references, and an artifact to keep.

The publication contract requires source control, passing artifacts, visible authorship, real dates, and an indexability gate.

Lab 0155 min

Draw the AI System Boundary

Separate deterministic software, probabilistic model behavior, data, and human judgment before choosing tools.

AI system boundary mapEnter lab
Lab 0280 min

Reproducible Experiments, Not Reproducible Notebooks

Make code, data, seeds, dependencies, and hardware assumptions inspectable.

Experiment manifestEnter lab
Lab 0370 min

Data Contracts for Models

Specify schema, meaning, time, lineage, and allowed use before training or retrieval.

Versioned model data contractEnter lab
Lab 0465 min

Define the Measurement Before the Model

Translate a product claim into offline, online, safety, latency, and cost measures.

Measurement contractEnter lab
Lab 0575 min

A First AI Workload Cost Model

Estimate tokens, accelerator time, storage, and network movement before committing architecture.

AI workload cost modelEnter lab
Lab 0675 min

From Experiment to Service Boundary

Extract a tested model contract from exploratory code without copying notebook state into production.

Inference contractEnter lab
Lab 0780 min

Vectors as Representations

Connect coordinates, basis, scale, and information loss to learned representations.

Representation invariance auditEnter lab
Lab 0895 min

Similarity Is a Retrieval Policy

Derive dot product and cosine similarity, then show why normalization changes what a retrieval system rewards.

Tested similarity auditEnter lab
Lab 0990 min

Matrices as Small Programs

Read a matrix as a composition of projection, scaling, rotation, and mixing operations.

Tested linear-map pipelineEnter lab
Lab 1095 min

Probability for Decisions, Not Decoration

Use conditional probability, calibration, and expected cost to make model outputs actionable.

Cost-sensitive decision policyEnter lab
Lab 11100 min

Optimization Under Noise

Derive stochastic gradients and distinguish noisy progress from broken learning.

Noisy optimizer diagnosticEnter lab
Lab 12100 min

Numerical Stability Is Part of the Algorithm

Break softmax, log likelihood, and low-precision reductions, then repair them.

Numerical stability harnessEnter lab
Lab 1385 min

Complexity for Tensor Programs

Estimate FLOPs, memory traffic, activation storage, and asymptotic traps from tensor shapes.

Tensor cost estimatorEnter lab
Lab 1490 min

The Generalization Contract

Define the population, decision, loss, and evidence under which performance is expected to transfer.

Generalization contract auditEnter lab
Lab 15105 min

Split Data by Causality, Not Convenience

Use information availability, time, entity, group, and provenance to construct honest evaluation partitions.

Causal split validatorEnter lab
Lab 16110 min

Linear Models as Debugging Instruments

Use transparent linear baselines to expose target, feature, split, scale, and slice failures before adding complexity.

Linear baseline diagnosticEnter lab
Lab 17110 min

Trees, Boosting, and the Shape of Residual Error

Understand how tree ensembles partition mistakes and when their inductive bias wins.

Residual partition auditEnter lab
Lab 18100 min

Calibration, Thresholds, and Decision Cost

Turn scores into actions using reliability curves and asymmetric error costs.

Calibrated threshold policyEnter lab
Lab 1990 min

When the Product Needs Ranking, Not Classification

Choose ranking losses and metrics when ordering quality matters more than labels.

Ranking evaluation contractEnter lab
Lab 20110 min

Drift, Feedback Loops, and Delayed Labels

Design monitoring when the system changes the data it later learns from.

Drift feedback monitorEnter lab
Lab 2180 min

A Neuron Is a Parameterized Decision Surface

Connect affine maps and nonlinearities to representation capacity.

Neuron representation auditEnter lab
Lab 2290 min

Computation Graphs Make Learning Inspectable

Represent forward values, dependencies, and local derivatives explicitly.

Computation graph trace validatorEnter lab
Lab 23120 min

Backpropagation as Local Contracts

Derive reverse-mode autodiff as small, testable vector-Jacobian products rather than one mysterious global formula.

Tiny autodiff engine and testsEnter lab
Lab 24105 min

Read Optimization Dynamics

Use loss curves, gradient statistics, and parameter updates to separate data, optimization, and capacity failures.

Optimization dynamics diagnosticEnter lab
Lab 25105 min

Normalization and Residual Paths

Understand why signal and gradient paths shape trainability in deep networks.

Signal path contractEnter lab
Lab 26105 min

Convolutions and Locality as an Inductive Bias

Build a convolution and connect weight sharing to images, audio, and structured grids.

Convolution equivariance auditEnter lab
Lab 27110 min

Neural Training Incident: Loss Becomes NaN

Trace a realistic failure through inputs, precision, activations, gradients, and optimizer state.

Neural training incident runbookEnter lab
Lab 28105 min

Tokenization as a Compression Contract

Study how vocabulary construction changes sequence length, multilingual behavior, cost, and failure modes.

Tokenizer compression auditEnter lab
Lab 29120 min

Derive Attention from Content-Based Routing

Build scaled dot-product attention from the need to route information between positions.

Attention routing auditEnter lab
Lab 3095 min

Multi-Head Attention Is Parallel Representation Routing

Explain head dimension, projections, and what head diversity does and does not guarantee.

Multi-head routing auditEnter lab
Lab 31105 min

Position, Context, and Extrapolation

Compare positional mechanisms by the invariants they encode and how they fail outside training lengths.

Position extrapolation auditEnter lab
Lab 32140 min

Assemble and Test a Transformer Block

Compose attention, MLP, normalization, masking, and residual paths with shape tests.

Minimal transformer blockEnter lab
Lab 33105 min

Pretraining Objectives Shape Model Behavior

Connect next-token prediction, masking, data mixtures, and preference objectives to observable capabilities.

Training objective auditEnter lab
Lab 3490 min

Decoding Is a Product Policy

Treat temperature, top-p, constraints, and stopping as explicit quality and risk decisions.

Decoding policy auditEnter lab
Lab 35120 min

The KV Cache Capacity Plan

Derive per-token cache memory, then connect context length, concurrency, precision, batching, and paging to serving capacity.

Tested KV-cache estimatorEnter lab
Lab 3695 min

Prompt, Retrieve, Fine-Tune, or Train?

Choose the smallest intervention that changes the missing capability or knowledge.

Adaptation decision recordEnter lab
Lab 37125 min

Supervised Fine-Tuning as Behavior Shaping

Design data, masking, batching, and evals for instruction tuning without confusing memorization for improvement.

Supervised fine-tuning data contractEnter lab
Lab 38120 min

LoRA and the Low-Rank Update Hypothesis

Derive parameter and memory savings, then test where low-rank adaptation stops being sufficient.

Low-rank adaptation budgetEnter lab
Lab 39115 min

Preference Optimization and Reward Failure

Compare preference objectives through their data assumptions and reward-hacking risks.

Preference evidence auditEnter lab
Lab 40120 min

The Vision-Language Bridge

Trace images through patching, encoders, projectors, fusion, and autoregressive decoding.

Vision-language bridge contractEnter lab
Lab 41105 min

Multimodal Production Boundaries

Engineer media ingestion, latency, privacy, safety, and modality-specific evaluation.

Multimodal production release gateEnter lab
Lab 4290 min

The Embedding Contract

Version task, model, preprocessing, distance, and dimensionality as one inseparable interface.

Versioned embedding contractEnter lab
Lab 43115 min

Approximate Nearest Neighbors Under a Latency Budget

Compare graph and partitioned indexes through recall, build cost, memory, filtering, and updates.

ANN index decision recordEnter lab
Lab 4495 min

Chunking Is a Recall Policy

Connect document structure and answer span length to retrieval candidates and context waste.

Chunking coverage auditEnter lab
Lab 45110 min

Hybrid Retrieval and Score Fusion

Combine lexical and semantic evidence without comparing incompatible raw scores.

Hybrid retrieval fusion contractEnter lab
Lab 46110 min

Reranking and Context Assembly

Separate candidate generation, expensive relevance judgment, diversity, and final context packing.

Reranking and context assembly planEnter lab
Lab 47125 min

Diagnose RAG by Stage

Measure corpus, retrieval, reranking, context, generation, citation, latency, and cost separately so failures remain attributable.

Stage-isolated RAG evaluation harnessEnter lab
Lab 48105 min

Retrieval Security, Deletion, and Freshness

Preserve tenant ACLs, deletion semantics, provenance, and index freshness through ingestion and ranking.

Retrieval governance auditEnter lab
Lab 49105 min

Tools Are Typed Authority Boundaries

Design tool names, schemas, errors, idempotency, and authorization for safe model use.

Typed tool authority contractEnter lab
Lab 50135 min

A Tool-Using Agent Is a Bounded State Machine

Implement budgets, typed transitions, approval gates, idempotency, and terminal states around a probabilistic planner.

Tested bounded agent runtimeEnter lab
Lab 5195 min

State, Memory, and Context Are Different Things

Separate durable workflow state, retrievable memory, and model-visible context.

Agent state and memory separation auditEnter lab
Lab 52115 min

MCP Host, Client, and Server Boundaries

Implement protocol capabilities without delegating consent, authorization, or validation to the model.

MCP host authority contractEnter lab
Lab 53120 min

Durable Agent Workflows

Survive retries, restarts, partial tool success, human pauses, and changing external state.

Durable workflow recovery harnessEnter lab
Lab 54100 min

When Multiple Agents Are Actually Justified

Use ownership, isolation, parallelism, and context constraints—not personas—to decide decomposition.

Multi-agent decomposition decision recordEnter lab
Lab 55120 min

Agent Red-Team: Untrusted Instructions Meet Real Tools

Test prompt injection, confused deputy behavior, data exfiltration, and excessive agency.

Agent threat modelEnter lab
Lab 56105 min

An Eval Is a Decision System

Start from a release decision, then choose cases, graders, uncertainty, and escalation.

Evaluation release decision contractEnter lab
Lab 57110 min

Build a Golden Dataset That Can Disagree with You

Sample real tasks, hard negatives, long tails, and policy boundaries without teaching to the test.

Golden dataset coverage auditEnter lab
Lab 58115 min

Calibrate LLM Judges

Measure position bias, verbosity bias, self-preference, variance, and disagreement against human labels.

Calibrated judge agreement harnessEnter lab
Lab 59105 min

Online Evaluation Without Shipping Blind

Connect shadowing, canaries, holdbacks, user signals, and rollback thresholds.

Online evaluation rollout gateEnter lab
Lab 60110 min

Observe the Decision Path, Not Just the Model Call

Trace retrieval, prompts, tools, model versions, policy checks, latency, and cost with controlled data capture.

Decision-path observability contractEnter lab
Lab 61105 min

Build a Safety Case for an AI Feature

Tie hazards to controls, evidence, residual risk, ownership, and launch conditions.

AI feature safety caseEnter lab
Lab 62110 min

AI Incident Response and Correction Loops

Contain harm, preserve evidence, distinguish model and system causes, and turn findings into durable gates.

AI incident response playbookEnter lab
Lab 63110 min

The Accelerator Memory Hierarchy

Reason from registers, SRAM, HBM, interconnect, and host memory to wall-clock performance.

Accelerator memory traffic modelEnter lab
Lab 64120 min

Precision and Quantization as Error Budgets

Compare numeric formats and quantization methods through memory, throughput, calibration, and quality loss.

Quantization error-budget release gateEnter lab
Lab 65120 min

Continuous Batching and Queueing

Model prefill, decode, scheduling, tail latency, and throughput under mixed request shapes.

Continuous batching capacity modelEnter lab
Lab 66120 min

Parallelism for Inference

Choose tensor, pipeline, expert, and data parallelism from model shape and interconnect constraints.

Inference parallelism topology plannerEnter lab
Lab 67135 min

Distributed Training Without Topology Amnesia

Map optimizer state, gradients, activations, parameters, and collectives onto an actual cluster.

Distributed training topology auditEnter lab
Lab 68115 min

The Model-Serving Control Plane

Design placement, rollout, autoscaling, health, model loading, and rollback independent of request execution.

Model-serving control-plane rollout contractEnter lab
Lab 69110 min

Load-Test an AI Service

Generate representative sequence shapes, concurrency, cancellations, and cache behavior while protecting quality signals.

AI load-test planEnter lab
Lab 70145 min

Design a Multi-Tenant AI Gateway

Create one policy and observability boundary for provider routing, tenant isolation, budgets, fallback, and release evidence.

Gateway architecture and capacity modelEnter lab
Lab 71105 min

Build, Buy, or Partner for AI Capability

Compare control, differentiation, switching cost, data rights, reliability, and total operating cost.

AI capability sourcing decision recordEnter lab
Lab 72110 min

Draw the AI Platform Boundaries

Decide what the platform standardizes and what product teams must continue to own.

AI platform boundary and ownership contractEnter lab
Lab 73115 min

The Cost–Quality–Latency Operating Envelope

Use routing, caching, batching, model choice, and graceful degradation within explicit product constraints.

Cost-quality-latency operating-envelope gateEnter lab
Lab 74110 min

Governance as a Control Plane

Encode inventory, ownership, evidence, policy, approvals, and exceptions into shipping workflows.

Governance control-plane release gateEnter lab
Lab 75120 min

Migrate a Production AI Stack Without a Flag Day

Dual-run, shadow, compare, canary, reconcile, and retire old paths with rollback intact.

Reversible AI stack migration planEnter lab
Lab 76180 min

AI Architect Capstone: Defend the System

Produce and defend a complete architecture under changing scale, safety, cost, and organizational constraints.

AI architecture review packetEnter lab
Legacy open-source reading archive20 imported phases · noindex