🔵 AI Engineer Roadmap

By · Updated · How this roadmap was made

Understands the underlying ML/LLM technology and builds, optimizes, evaluates, and operates AI systems in production.

Goal: Understand, build, optimize, evaluate, and operate AI/ML systems.

Walk this roadmap in 3D →

What an AI Engineer is excellent at

  • ML
  • Deep Learning
  • Transformers
  • LLMs
  • RAG
  • Agents
  • Evaluation
  • Infrastructure

“I understand AI models deeply enough to build and operate AI systems.”

Timeline: ~12–14 months

  1. Months 1–2: Software + Python
  2. Months 3–4: Math + ML
  3. Months 5–6: Deep Learning + PyTorch
  4. Months 7–8: Transformers + LLMs
  5. Month 9: RAG + Agents
  6. Month 10: Fine-tuning + Model Optimization
  7. Months 11–12: MLOps + Model Serving
  8. Months 13–14: Production AI Systems

Foundations every path shares

  • Programming Fundamentals

    Code Village · 1–2 months

    Become comfortable with Python, everyday software-engineering tools and SQL. This establishes the foundation needed for everything that follows.

    🐍 Python: The language every AI path is written in.

    variables and data types · conditions · loops · functions · classes · inheritance · exceptions · modules/packages · file handling · async programming · type hints · testing

    What these mean
    variables and data types:
    Named boxes that hold values such as numbers, text and lists. The type decides what you can do with a value.
    conditions:
    if / elif / else let a program choose what to do depending on whether something is true.
    loops:
    for and while repeat a block of code, for example once for every item in a list.
    functions:
    Named, reusable blocks of code that take inputs (arguments) and return a result.
    classes:
    Blueprints for objects that bundle data (attributes) together with behaviour (methods).
    inheritance:
    A class can extend another class, reusing its behaviour and adding or overriding parts of it.
    exceptions:
    Errors raised while code runs. try / except lets you catch them and recover gracefully.
    modules/packages:
    Code split across files (modules) and folders (packages) that you bring in with import.
    file handling:
    Opening, reading and writing files, ideally with `with open(...)` so they close automatically.
    async programming:
    async / await lets one program juggle many slow I/O tasks, like API calls, without waiting on each in turn.
    type hints:
    Annotations like `def f(x: int) -> str` that document types and let tools catch mistakes early.
    testing:
    Writing code that checks your code (e.g. with pytest), so changes don't silently break things.

    🌐 Web & APIs: How programs talk to each other over the web.

    JSON · REST APIs · HTTP · API design

    What these mean
    JSON:
    A text format for structured data. Python's json module turns it into dicts and lists and back again.
    REST APIs:
    Web services you talk to over HTTP, using URLs for resources and methods like GET and POST.
    HTTP:
    The request/response protocol of the web: methods, URLs, headers, bodies and status codes like 200 or 404.
    API design:
    Choosing clear endpoints, inputs, outputs and error responses so others can use your service easily.

    📊 Data stack: Then: Python's tools for arrays, tables and charts.

    NumPy · Pandas · basic data visualization

    What these mean
    NumPy:
    Fast arrays and maths on whole arrays at once. The base layer of Python's data and ML stack.
    Pandas:
    DataFrames: spreadsheet-like tables in Python for loading, cleaning, filtering and grouping data.
    basic data visualization:
    Plotting data as lines, bars, scatters or histograms to spot patterns and problems at a glance.

    🛠 Dev engineering: Everyday tools to build, ship and debug.

    virtual environments · environment variables · Git/GitHub · Linux command line · Docker fundamentals · logging · debugging · unit testing · cloud fundamentals

    What these mean
    virtual environments:
    An isolated Python setup per project (e.g. venv), so each project keeps its own library versions.
    environment variables:
    Settings handed to a program from outside (like API keys), so secrets and config stay out of the code.
    Git/GitHub:
    Git tracks every change to your code; GitHub hosts repositories so you can share, review and collaborate.
    Linux command line:
    Navigating files, running programs and managing servers from a terminal. Most AI systems run on Linux.
    Docker fundamentals:
    Packaging an app and everything it needs into a container that runs the same way everywhere.
    logging:
    Recording what a program does, with levels like INFO and ERROR, so you can debug it later.
    debugging:
    Finding out why code misbehaves: reading errors, using breakpoints and checking assumptions step by step.
    unit testing:
    Small automated tests that each check one function or class in isolation.
    cloud fundamentals:
    Renting servers, storage and managed services (AWS, Azure, GCP) instead of owning hardware. Where most AI apps end up running.

    🗄 SQL: Ask questions of a database.

    SELECT · JOIN · GROUP BY · subqueries · CTEs · indexes · transactions · basic PostgreSQL

    What these mean
    SELECT:
    Reads rows and columns from a table, optionally filtered with WHERE and sorted with ORDER BY.
    JOIN:
    Combines rows from two tables through a related column, e.g. orders with their customers.
    GROUP BY:
    Groups rows that share a value so you can aggregate them, e.g. total sales per country.
    subqueries:
    A query nested inside another query, whose result is used as a value or a table.
    CTEs:
    Common Table Expressions (WITH … AS) name a temporary result so complex queries read step by step.
    indexes:
    Lookup structures that make finding rows fast, at the cost of extra storage and slower writes.
    transactions:
    Group several changes so they all succeed or all fail together (BEGIN … COMMIT or ROLLBACK).
    basic PostgreSQL:
    A powerful open-source relational database and a common default for AI apps.

    Project: Task Management API (Client → FastAPI → PostgreSQL → Docker)

  • Mathematics for AI

    Math Mountain · 2–4 weeks

    Don't try to become a mathematician. Learn enough mathematics to understand ML: linear algebra, probability, statistics and calculus. Most importantly, understand gradient descent intuitively.

    📐 Linear Algebra: The language of vectors and matrices.

    vectors · matrices · matrix multiplication · dot product · transpose · norms · eigenvalues/eigenvectors · vector spaces

    What these mean
    vectors:
    Ordered lists of numbers. In AI a vector can describe a data point or the meaning of a word.
    matrices:
    Grids of numbers. They hold datasets and the weights of neural-network layers.
    matrix multiplication:
    Combines two matrices by taking dot products of rows and columns. It is the core operation inside neural networks.
    dot product:
    Multiply two vectors element by element and add the results. A large value means they point the same way.
    transpose:
    Flips a matrix over its diagonal, turning rows into columns.
    norms:
    Measures of a vector's length or size, such as the everyday Euclidean (L2) length.
    eigenvalues/eigenvectors:
    Directions a matrix only stretches and never turns; the eigenvalue says by how much. Used in methods like PCA.
    vector spaces:
    Sets of vectors you can add and scale. Embeddings live in high-dimensional vector spaces where closeness means similarity.

    🎲 Probability: Reasoning about uncertainty.

    probability · conditional probability · Bayes theorem · probability distributions · expected value · variance

    What these mean
    probability:
    A number from 0 to 1 for how likely an event is.
    conditional probability:
    The probability of A given that B has happened, written P(A | B).
    Bayes theorem:
    Updates a belief with new evidence: P(A | B) = P(B | A) × P(A) / P(B).
    probability distributions:
    Describe how likely each possible outcome is, e.g. a fair coin or the normal 'bell curve'.
    expected value:
    The long-run average outcome, weighting each outcome by its probability.
    variance:
    How spread out outcomes are around the expected value.

    📊 Statistics: Describing data, and telling signal from chance.

    mean · median · standard deviation · correlation · sampling · distributions · confidence intervals · hypothesis testing

    What these mean
    mean:
    The average: add up the values and divide by how many there are.
    median:
    The middle value once the data is sorted. Less thrown off by extreme outliers than the mean.
    standard deviation:
    The typical distance of values from the mean (the square root of the variance).
    correlation:
    How strongly two variables move together, from −1 to +1. Correlation is not causation.
    sampling:
    Studying a subset to draw conclusions about the whole. Results are biased if the sample isn't representative.
    distributions:
    The shape of your data: where values cluster, how widely they spread and whether they're skewed.
    confidence intervals:
    A range that likely contains the true value, e.g. 'accuracy 82% ± 3% at 95% confidence'.
    hypothesis testing:
    Checking whether an observed difference is real or could just be chance, e.g. with p-values.

    📈 Calculus: How things change, and how models learn.

    derivatives · partial derivatives · gradients · chain rule · optimization

    What these mean
    derivatives:
    The rate of change of a function: how much the output moves when the input is nudged.
    partial derivatives:
    The derivative with respect to one input while all the other inputs are held fixed.
    gradients:
    The vector of all partial derivatives. It points in the direction of steepest increase.
    chain rule:
    How to differentiate a function inside a function. Backpropagation is the chain rule applied layer by layer.
    optimization:
    Finding the inputs that minimise a function, such as a model's loss. Gradient descent gets there by repeatedly stepping downhill.
  • Machine Learning Fundamentals

    ML Meadow · 2–4 weeks

    Now introduce actual ML: supervised and unsupervised learning, the core concepts, and how to evaluate models. By the end you are familiar with traditional ML.

    🎯 Supervised learning: Learn from labelled examples.

    regression · classification · decision trees · random forests · gradient boosting

    What these mean
    regression:
    Predicting a number, such as a house price, from input features.
    classification:
    Predicting a category, such as 'will churn' vs 'will stay', or spam vs not spam.
    decision trees:
    A flowchart of yes/no questions about the features that ends in a prediction. Easy to interpret.
    random forests:
    Many decision trees, each trained on a random slice of the data, voting together for a sturdier prediction.
    gradient boosting:
    Trees built one after another, each fixing the previous ones' mistakes (e.g. XGBoost). Very strong on tabular data.

    🧩 Unsupervised learning: Find structure without labels.

    clustering · dimensionality reduction

    What these mean
    clustering:
    Grouping similar items without any labels, e.g. customer segments with k-means.
    dimensionality reduction:
    Compressing many features into a few while keeping the important structure, e.g. PCA.

    🧠 ML concepts: The ideas behind every model.

    features · labels · training · validation · testing · overfitting · underfitting · regularization · bias/variance · feature engineering

    What these mean
    features:
    The input variables a model learns from, e.g. tenure, plan type and monthly bill.
    labels:
    The answers you want to predict, e.g. whether a customer churned.
    training:
    Fitting the model's parameters to examples so its predictions match the labels.
    validation:
    A held-out set used during development to tune settings and compare models.
    testing:
    A final, untouched set used once to estimate real-world performance.
    overfitting:
    The model memorises the training data, noise included, and does badly on new data.
    underfitting:
    The model is too simple to capture the pattern, so it does badly even on the training data.
    regularization:
    Penalising complexity (such as large weights) to reduce overfitting.
    bias/variance:
    The trade-off between errors from overly simple assumptions (bias) and from over-sensitivity to the training data (variance).
    feature engineering:
    Creating or transforming inputs so patterns are easier to learn, e.g. 'days since last login'.

    📏 Evaluation: How good is the model, really?

    accuracy · precision · recall · F1 · ROC-AUC · confusion matrix · MAE · MSE · RMSE

    What these mean
    accuracy:
    The share of predictions that are correct. Misleading when one class is much rarer than the other.
    precision:
    Of everything predicted positive, the share that really was positive.
    recall:
    Of all the real positives, the share the model found.
    F1:
    The harmonic mean of precision and recall: one score that balances both.
    ROC-AUC:
    How well a classifier ranks positives above negatives across all thresholds. 0.5 is random guessing, 1.0 is perfect.
    confusion matrix:
    A table of actual vs predicted classes, showing true and false positives and negatives.
    MAE:
    Mean Absolute Error: the average size of regression errors, in the target's own units.
    MSE:
    Mean Squared Error: the average of squared errors, so big misses are punished more.
    RMSE:
    Root Mean Squared Error: the square root of MSE, back in the target's units.

    Project: Customer Churn Prediction (Dataset → Data Cleaning → Feature Engineering → Train Model → Evaluate → Save Model → FastAPI → Prediction API)

    Tools: NumPy, Pandas, Matplotlib, Scikit-learn

The AI Engineer path, phase by phase

  • Deep Learning

    Neural Garden · ~2 months

    Learn how neural networks work and how to train them. PyTorch should be your primary deep-learning framework.

    🧠 Building blocks: Neurons, layers and what they compute.

    neural networks · perceptrons · activation functions · forward propagation

    What these mean
    neural networks:
    Layers of simple connected units (neurons) whose weights are learned from data.
    perceptrons:
    The simplest neuron: a weighted sum of inputs plus a bias, passed through a step to make a yes/no decision.
    activation functions:
    Non-linear functions (ReLU, sigmoid, tanh) applied after each layer so networks can learn complex patterns.
    forward propagation:
    Passing inputs through the layers, one after another, to produce a prediction.

    🎯 Training: How networks learn from their mistakes.

    loss functions · backpropagation · gradient descent · optimizers

    What these mean
    loss functions:
    A score of how wrong the predictions are (e.g. cross-entropy or MSE). Training tries to minimise it.
    backpropagation:
    Working backwards from the loss with the chain rule to find how much each weight contributed to the error.
    gradient descent:
    Nudging every weight a small step against its gradient to reduce the loss, over and over.
    optimizers:
    Algorithms that decide how to update weights from their gradients, such as SGD or Adam.

    🧰 Training tricks: Keep training fast, stable and general.

    regularization · batch normalization · dropout

    What these mean
    regularization:
    Techniques like weight decay that keep a network from overfitting.
    batch normalization:
    Normalising a layer's inputs over each mini-batch to make training faster and more stable.
    dropout:
    Randomly switching off neurons during training so the network can't rely on any single one.

    🧬 Architectures: Then: networks for images and sequences.

    CNN · RNN · LSTM · attention

    What these mean
    CNN:
    Convolutional neural networks slide small learned filters over images to detect edges, textures and objects.
    RNN:
    Recurrent neural networks read sequences one step at a time, carrying a hidden state forward.
    LSTM:
    An RNN with gates that decide what to remember and what to forget, so it copes with longer sequences.
    attention:
    Lets a model weigh which parts of the input matter most for each output. The key idea behind Transformers.

    Project: Image Classification System (Images → Preprocessing → CNN → Training → Evaluation → Inference API)

    Tools: PyTorch

  • Transformers

    Transformer Tower · ~1 month

    This is a critical stage. Understand the Transformer architecture well enough to explain how an LLM generates the next token, without simply saying 'The API does it.'

    👀 Attention: How every token looks at the others.

    attention · self-attention · multi-head attention · causal attention

    What these mean
    attention:
    Each token scores how relevant every other token is and blends their information according to those scores.
    self-attention:
    Attention where a sequence attends to itself, so every token can pull context from every other token.
    multi-head attention:
    Several attention heads run in parallel, each free to focus on different relationships in the text.
    causal attention:
    Masked attention in which each token can only see earlier tokens, never future ones.

    🏗 Architecture & generation: The parts, and how the next token is produced.

    positional encoding · encoder · decoder · autoregressive generation

    What these mean
    positional encoding:
    Information added to the embeddings so the model knows the order of tokens, which attention alone ignores.
    encoder:
    The part that reads the whole input at once to build rich representations (e.g. BERT).
    decoder:
    The part that generates output tokens one at a time. GPT-style LLMs are decoder-only.
    autoregressive generation:
    Producing text one token at a time, feeding each new token back in to predict the next one.
  • LLMs & Foundation Models

    Model Forge

    Learn how foundation models are trained, adapted and compressed, and what drives their speed and cost at inference time.

    🏋️ Training: Where knowledge and behaviour come from.

    pretraining · supervised fine-tuning · instruction tuning · RLHF · preference optimization

    What these mean
    pretraining:
    Training a model from scratch on massive amounts of text to predict the next token. This is where its general knowledge comes from.
    supervised fine-tuning:
    Further training a pretrained model on curated input → output examples to teach it a task or style.
    instruction tuning:
    Fine-tuning on many instruction–response pairs so the model follows instructions instead of just continuing text.
    RLHF:
    Reinforcement Learning from Human Feedback: people rank outputs, a reward model learns their preferences, and the LLM is tuned towards them.
    preference optimization:
    Methods such as DPO that tune a model directly on 'preferred vs rejected' answer pairs, without a separate reward model.

    🪶 Efficient adapting: Smaller, cheaper and faster models.

    LoRA · QLoRA · quantization · distillation

    What these mean
    LoRA:
    Low-Rank Adaptation: freeze the model and train small add-on matrices, which makes fine-tuning far cheaper.
    QLoRA:
    LoRA on top of a 4-bit quantized base model, so large models can be fine-tuned on a single GPU.
    quantization:
    Storing weights with fewer bits (e.g. 4 or 8 instead of 16) to cut memory and speed up inference, at a small quality cost.
    distillation:
    Training a small 'student' model to imitate a large 'teacher', keeping much of the quality at a lower cost.

    ⚙️ Inference economics: Understand what drives speed and cost.

    model parameters · context length · inference · KV cache · batching · token throughput · latency

    What these mean
    model parameters:
    The learned weights. Their count (e.g. 7B) drives capability, memory needs and cost.
    context length:
    How many tokens the model can attend to at once. Longer contexts cost more memory and compute.
    inference:
    Generating output: one pass over the whole prompt, then one decoding step for every new token.
    KV cache:
    Keeps the attention keys and values of earlier tokens, so each new token doesn't recompute them.
    batching:
    Processing several requests together to keep the GPU busy and raise total throughput.
    token throughput:
    How many tokens per second the system produces across all users.
    latency:
    How long a single user waits, e.g. the time to the first token and the time to the full reply.

    Tools: Hugging Face Transformers, Hugging Face Datasets, Hugging Face Tokenizers, Hugging Face PEFT

  • Advanced RAG

    Deep Archive

    The AI Engineer should go considerably deeper than the AI Developer: stronger retrieval, advanced architectures and rigorous evaluation.

    🔍 Retrieval: Find the right passages: dense, sparse or both.

    dense retrieval · sparse retrieval · hybrid retrieval · BM25 · reranking · query expansion · query rewriting

    What these mean
    dense retrieval:
    Searching with embedding vectors that capture meaning, so paraphrases still match.
    sparse retrieval:
    Keyword-based search over word counts (like BM25). Great for exact terms, names and codes.
    hybrid retrieval:
    Running dense and sparse retrieval together and merging the results for the best of both.
    BM25:
    A classic keyword-ranking formula that scores documents by how often, and how rarely elsewhere, the query words appear.
    reranking:
    A stronger model rescores the top candidates by reading the query and each passage together.
    query expansion:
    Adding synonyms or related terms to the query so more relevant documents match.
    query rewriting:
    Using an LLM to rephrase a vague or conversational question into a better search query.

    🏛 Advanced architectures: Smarter ways to retrieve and assemble context.

    parent-child retrieval · hierarchical retrieval · multi-hop retrieval · graph RAG · agentic RAG · contextual retrieval · corrective RAG · multimodal RAG

    What these mean
    parent-child retrieval:
    Search small, precise chunks, but hand the LLM their larger parent section for full context.
    hierarchical retrieval:
    Searching in levels: first find the right document or section, then the best passages inside it.
    multi-hop retrieval:
    Answering questions that need several lookups, using what one retrieval finds to drive the next.
    graph RAG:
    Building a knowledge graph of entities and relationships from documents, and retrieving through it.
    agentic RAG:
    An agent decides when, where and how to retrieve, and searches again if the results aren't good enough.
    contextual retrieval:
    Adding a short note about each chunk's surrounding document before indexing it, so chunks aren't misread out of context.
    corrective RAG:
    Grade the retrieved chunks first; if they look weak or off-topic, rewrite the query or try another source (like web search) before answering.
    multimodal RAG:
    Retrieving across images, tables, charts and audio as well as text, e.g. answering from a diagram in a manual.

    📏 Evaluation: Measure retrieval and answers with real metrics.

    Recall@K · Precision@K · MRR · NDCG · answer faithfulness · context relevance · groundedness

    What these mean
    Recall@K:
    Of all the relevant documents, the fraction that appear in the top K results.
    Precision@K:
    Of the top K results, the fraction that are relevant.
    MRR:
    Mean Reciprocal Rank: rewards putting the first relevant result near the top (1 for first place, ½ for second, and so on).
    NDCG:
    Normalized Discounted Cumulative Gain: scores the whole ranking, giving more credit to relevant results placed higher.
    answer faithfulness:
    Whether every claim in the answer is supported by the retrieved context.
    context relevance:
    Whether the retrieved context is actually relevant to the question.
    groundedness:
    How firmly the answer is anchored in the provided sources rather than the model's own guesses.
  • Agent Architecture

    Clockwork Keep

    Go beyond using an agent framework. Understand how agents actually work: the loop of planning, executing, using tools and updating state.

    🧭 Planning & control: How the agent decides what to do next.

    planning · tool selection · reflection · retries · state machines

    What these mean
    planning:
    Breaking a goal into steps, and revising the plan as results come in.
    tool selection:
    How an agent picks the right tool for each step, and why clear tool names and descriptions matter.
    reflection:
    The agent critiques its own output or progress and corrects course.
    retries:
    Recovering from failed tool calls or bad outputs with limited, smarter re-attempts.
    state machines:
    Modelling an agent as explicit states and transitions, which makes its behaviour predictable and testable.

    💾 State & memory: Keep progress safe, across steps and sessions.

    agent state · checkpointing · long-running agents · agent memory · episodic & semantic memory

    What these mean
    agent state:
    The structured record of an agent's progress (goal, plan, tool results, messages) that every step reads and updates.
    checkpointing:
    Saving the agent's state after each step, so a crash, a timeout or a human pause can resume where it left off.
    long-running agents:
    Agents that work for minutes or days, which need checkpoints, persistence and resumable state.
    agent memory:
    How an agent stores and recalls information across steps and sessions, short-term and long-term.
    episodic & semantic memory:
    Episodic memory recalls past events ('last time, this user wanted a summary'); semantic memory stores facts and knowledge the agent has learned.

    👥 Agents & humans: Teams of agents, with people in the loop.

    multi-agent systems · supervisor agents · human-in-the-loop

    What these mean
    multi-agent systems:
    Several specialised agents that hand off work or collaborate, e.g. a planner directing several workers.
    supervisor agents:
    A manager agent that splits a task, hands the parts to specialist worker agents, and combines their results.
    human-in-the-loop:
    Points where a person reviews, approves or corrects the agent before it continues.
  • Model Serving & Inference

    GPU Plant

    This is one of the major differences from an AI Developer: serving models yourself, efficiently, on GPUs.

    🖥 GPU basics: The hardware that runs the maths.

    GPU fundamentals · CUDA concepts · GPU memory

    What these mean
    GPU fundamentals:
    GPUs run thousands of simple cores in parallel, which suits the matrix maths at the heart of neural networks.
    CUDA concepts:
    NVIDIA's platform for GPU programming: kernels, threads and blocks, and moving data between CPU and GPU memory.
    GPU memory:
    VRAM must hold the model weights, the KV cache and activations. It's usually what limits which models you can serve.

    🚀 Serving at speed: More tokens per second from every GPU.

    inference optimization · batching · quantization

    What these mean
    inference optimization:
    Making generation faster and cheaper, e.g. with better kernels, caching, batching and quantization.
    batching:
    Serving many requests together. Continuous batching adds and removes requests on the fly to keep the GPU busy.
    quantization:
    Lower-precision weights so a model fits in less GPU memory and runs faster.

    🌐 Scaling out: When one GPU isn't enough.

    model parallelism · distributed inference

    What these mean
    model parallelism:
    Splitting one model across several GPUs when it's too big for one.
    distributed inference:
    Serving across multiple GPUs or machines, with replicas and load balancing, to handle more traffic.

    Tools: vLLM, Hugging Face, Ollama, TensorRT-LLM

  • MLOps / LLMOps

    MLOps Conveyor

    Run models as a reliable production process: versioned, tracked, deployed, monitored and continuously improved.

    🧪 Track & version: Know exactly what produced each model.

    model versioning · experiment tracking · model registry

    What these mean
    model versioning:
    Tracking each model version together with the exact code, data and settings that produced it.
    experiment tracking:
    Logging the parameters, metrics and outputs of every training run so results can be compared and reproduced.
    model registry:
    A central catalogue of approved model versions and their stage, such as staging or production.

    🚚 Ship: Move data and models to production safely.

    data pipelines · model deployment · evaluation pipelines

    What these mean
    data pipelines:
    Automated steps that collect, clean and transform data for training and evaluation.
    model deployment:
    Releasing a model to real traffic safely, e.g. to a small share of users first.
    evaluation pipelines:
    Automated evals that run on every new model or prompt before, and after, it ships.

    📡 Watch: Spot problems in production early.

    monitoring · LLM tracing · drift detection

    What these mean
    monitoring:
    Watching latency, errors, cost and quality in production, with dashboards and alerts.
    LLM tracing:
    Recording each request's steps (prompts, model calls, tool calls, retrieval) as a trace, e.g. with OpenTelemetry or Langfuse, to debug production.
    drift detection:
    Noticing when live data or model behaviour moves away from what the model was trained and tested on.

    Tools: MLflow, Langfuse, OpenTelemetry, Prometheus, Grafana

  • AI Security

    Security Citadel

    A deep dive into how AI systems are attacked, and the controls enterprise AI needs.

    🗡 Attacks: A deep dive into how AI systems get attacked.

    prompt injection · indirect prompt injection · model extraction · data poisoning · adversarial attacks · jailbreaks · tool abuse · excessive agency · data exfiltration · model supply-chain security

    What these mean
    prompt injection:
    Instructions smuggled into input that hijack the model. Defend in layers, never with the prompt alone.
    indirect prompt injection:
    Malicious instructions hidden in content the AI reads (web pages, emails, documents) rather than typed by the user.
    model extraction:
    Querying a model many times to copy its behaviour, or to steal its weights or hidden prompts.
    data poisoning:
    Planting bad data in training or retrieval sources to corrupt what the model learns or finds.
    adversarial attacks:
    Inputs subtly altered to fool a model, like invisible noise that makes an image classifier see the wrong object.
    jailbreaks:
    Techniques that get a model to bypass its safety training, e.g. role-play or disguised requests.
    tool abuse:
    Manipulating an agent into calling its tools in harmful ways.
    excessive agency:
    Giving an AI more permissions, tools or autonomy than its task needs, which magnifies any mistake or attack.
    data exfiltration:
    Sneaking sensitive data out through the AI, e.g. hidden inside a link or a tool call.
    model supply-chain security:
    Trusting only verified models, datasets and libraries, because downloaded weights or packages can be tampered with.

    🛡 Guardrails & containment: Limit the blast radius when an attack gets through.

    guardrails · agent sandboxing · MCP security · AI red teaming

    What these mean
    guardrails:
    Input and output checks around the model: block injections and unsafe content, strip personal data, and validate every answer and tool call.
    agent sandboxing:
    Running agent-written code and tool actions in an isolated environment with no access to secrets, the network or production data by default.
    MCP security:
    Treat MCP servers as untrusted code: verify their source, scope their permissions, and watch for tool descriptions that smuggle in instructions.
    AI red teaming:
    Deliberately attacking your own AI system (injections, jailbreaks, data leaks) before real attackers do, and turning each finding into a test.

    🏢 Enterprise AI: The access controls enterprise customers expect.

    RBAC · ABAC · RLS · tenant isolation · audit logging · secrets management · encryption

    What these mean
    RBAC:
    Role-Based Access Control: permissions granted by role, such as admin, editor or viewer.
    ABAC:
    Attribute-Based Access Control: rules based on attributes of the user, the resource and the context, like department or region.
    RLS:
    Row-Level Security: the database itself filters which rows each user can read, e.g. in PostgreSQL.
    tenant isolation:
    Strict separation of each customer's data, indexes and prompts in a multi-tenant AI system.
    audit logging:
    Recording who did what and when, including AI and tool actions, for investigations and compliance.
    secrets management:
    Keeping API keys and credentials in a secure secret store, never in code or prompts.
    encryption:
    Protecting data in transit and at rest, so intercepted or stolen data is unreadable.

How the paths compare

Skill depth by career path, out of 5 stars
Skill areaAI DeveloperAI EngineerAI FDE
Python4/55/54/5
Software Engineering4/55/54/5
SQL3/54/54/5
Mathematics2/55/52/5
Statistics2/54/52/5
ML3/55/53/5
Deep Learning2/55/52/5
PyTorch2/55/51/5
Transformers3/55/53/5
LLM APIs5/55/55/5
Prompt Engineering4/54/55/5
RAG5/55/55/5
Agents5/55/55/5
Fine-tuning2/54/52/5
Model Training1/54/51/5
Model Serving2/55/53/5
MLOps2/55/53/5
AI Evaluation3/55/54/5
AI Security3/55/54/5
Product Development5/54/54/5
Research2/54/51/5
Customer Communication3/52/55/5
Enterprise Integration3/53/55/5
Cloud Deployment3/54/55/5

Explore other roadmaps