Skip to content
HomeHomePathsPathsLibraryLibraryNewsNews
Engineering ContextFoundations
HomeHomePathsPathsLibraryLibraryNewsNews
All paths

AI Engineering Foundations

Core5 stages20 topicsabout 14 h

Start here if you write software and want to build with LLMs. You learn how models turn tokens into answers, how to prompt for structured output, and how to manage what goes into the context window. Then you connect models to your own data with retrieval, give them tools through MCP, and measure quality with evaluations instead of intuition.

Start

First article: Large Language Models · 9 min

Syllabus

  • Done
  • Started
  • Not started
  • Shared with other paths
  1. 1

    Stage 1: Foundations

    0 of 45 done

    1. How LLMs Work8 articles · 71 minAlso in RAG Engineer and 6 more0/8
      1. Large Language Models9 minUp next9 min
      2. Tokens and Next-Token Prediction9 minSign in to read9 min
      3. LLM API Requests and Responses8 minSign in to read8 min
      4. Temperature and Sampling8 minSign in to read8 min
      5. Non-Determinism in LLM Output8 minSign in to read8 min
      6. Pretraining and Post-Training10 minSign in to read10 min
      7. Transformers and Attention8 minSign in to read8 min
      8. Reasoning Models and Test-Time Compute11 minSign in to read11 min

      Topic overview

    2. Prompting & Structured Outputs8 articles · 78 minAlso in RAG Engineer and 3 more0/8
      1. Writing Clear Instructions10 minSign in to read10 min
      2. Instruction Hierarchy9 min9 min
      3. Few-Shot Examples9 minSign in to read9 min
      4. JSON Schemas for Model Output9 minSign in to read9 min
      5. Structured Outputs and Constrained Decoding9 minSign in to read9 min
      6. Validating and Repairing Structured Output10 minSign in to read10 min
      7. Prompt Templates and Versioning11 minSign in to read11 min
      8. Splitting System Prompts11 minSign in to read11 min

      Topic overview

    3. Context Engineering10 articles · 108 minAlso in RAG Engineer and 8 more0/10
      1. Model Context and Conversation State10 min10 min
      2. Prompt Engineering and Context Engineering9 minSign in to read9 min
      3. Context Budgets11 minSign in to read11 min
      4. Context Rot10 minSign in to read10 min
      5. Just-in-Time Context12 minSign in to read12 min
      6. Skills and Progressive Disclosure10 minSign in to read10 min
      7. Context Compaction11 minSign in to read11 min
      8. Exact Facts and Authoritative State12 minSign in to read12 min
      9. Context Selection, Prioritization and Assembly12 minSign in to read12 min
      10. Multimodal Context11 minSign in to read11 min

      Topic overview

    4. Evaluation Fundamentals12 articles · 114 minAlso in RAG Engineer and 9 more0/12
      1. Evals and Unit Tests9 min9 min
      2. Eval Datasets8 minSign in to read8 min
      3. Eval Graders10 minSign in to read10 min
      4. Rubrics and Scoring Scales10 minSign in to read10 min
      5. Precision, Recall and the Confusion Matrix10 minSign in to read10 min
      6. LLM-as-a-Judge11 minSign in to read11 min
      7. Repeated Trials and Variance10 minSign in to read10 min
      8. Eval Slices and Error Analysis9 minSign in to read9 min
      9. Boundary and Perturbation Cases9 minSign in to read9 min
      10. Offline and Online Evaluation9 minSign in to read9 min
      11. Regression Cases from Production Failures8 minSign in to read8 min
      12. Regression Gates for AI Systems11 minSign in to read11 min

      Topic overview

    5. Models, Latency & Cost7 articles · 69 minAlso in RAG Engineer and 8 more0/7
      1. Model Selection10 min10 min
      2. Inference Cost per Task10 minSign in to read10 min
      3. LLM Latency10 minSign in to read10 min
      4. Prompt Caching10 minSign in to read10 min
      5. Pareto Frontiers and Service Modes9 minSign in to read9 min
      6. Model Routing10 minSign in to read10 min
      7. Model Fallbacks10 minSign in to read10 min

      Topic overview

  2. 2

    Stage 2: Retrieval

    0 of 23 done

    1. RAG Fundamentals5 articles · 49 minAlso in RAG Engineer and 5 more0/5
      1. Retrieval-Augmented Generation9 min9 min
      2. The RAG Pipeline11 minSign in to read11 min
      3. Retrieval and Generation Failures10 minSign in to read10 min
      4. Long Context and RAG10 minSign in to read10 min
      5. Retrieval Methods for RAG9 minSign in to read9 min

      Topic overview

    2. Ingestion & Document Processing2 articles · 20 minAlso in RAG Engineer and 3 more0/2
      1. Document Ingestion Pipeline10 min10 min
      2. Parsing Digital Documents10 minSign in to read10 min

      Topic overview

    3. Embeddings & Vector Search Fundamentals3 articles · 28 minAlso in RAG Engineer and 5 more0/3
      1. Embeddings and Embedding Space8 min8 min
      2. Semantic Similarity and Distance Metrics9 minSign in to read9 min
      3. Exact and Approximate Vector Search11 minSign in to read11 min

      Topic overview

    4. Chunking Fundamentals3 articles · 28 minAlso in RAG Engineer and 5 more0/3
      1. Chunking and Retrieval Units9 min9 min
      2. Fixed-Size and Recursive Chunking10 minSign in to read10 min
      3. Chunk Size and Overlap9 minSign in to read9 min

      Topic overview

    5. Lexical & Hybrid Retrieval5 articles · 47 minAlso in RAG Engineer and 5 more0/5
      1. Lexical Search for Exact Terms9 min9 min
      2. BM25 Ranking10 minSign in to read10 min
      3. Merging Hybrid Search Results10 minSign in to read10 min
      4. Reciprocal Rank Fusion9 minSign in to read9 min
      5. Choosing a Retrieval Mode per Query9 minSign in to read9 min

      Topic overview

    6. Grounded Generation3 articles · 28 minAlso in RAG Engineer and 4 more0/3
      1. Evidence Blocks and Provenance10 min10 min
      2. Claim-Level Grounding9 minSign in to read9 min
      3. Abstention and Partial Answers9 minSign in to read9 min

      Topic overview

    7. RAG Evaluation2 articles · 19 minAlso in RAG Engineer and 7 more0/2
      1. Component and End-to-End RAG Evaluation10 min10 min
      2. RAG Evaluation Datasets9 minSign in to read9 min

      Topic overview

  3. 3

    Stage 3: Building agents

    0 of 17 done

    1. Agent vs Workflow4 articles · 38 minAlso in Agent Engineer and 6 more0/4
      1. AI Agents9 min9 min
      2. Workflows and Agents8 minSign in to read8 min
      3. Model Call, Workflow or Agent11 minSign in to read11 min
      4. The Autonomy Spectrum10 minSign in to read10 min

      Topic overview

    2. The Agent Loop & Runtime4 articles · 38 minAlso in Agent Engineer and 7 more0/4
      1. The Agent Loop9 min9 min
      2. The Agent Runtime10 minSign in to read10 min
      3. Stopping Conditions9 minSign in to read9 min
      4. Tool Result Validation10 minSign in to read10 min

      Topic overview

    3. Tool Use & Tool Design4 articles · 37 minAlso in Agent Engineer and 8 more0/4
      1. Function Calling from First Principles10 min10 min
      2. Designing a Good Tool Schema9 minSign in to read9 min
      3. Tool Descriptions9 minSign in to read9 min
      4. Structured Tool Errors9 minSign in to read9 min

      Topic overview

    4. Agentic Workflow Patterns3 articles · 26 minAlso in Agent Engineer and 4 more0/3
      1. Prompt Chaining9 min9 min
      2. Workflow Routing9 minSign in to read9 min
      3. Parallelization8 minSign in to read8 min

      Topic overview

    5. State, Session & Memory2 articles · 16 minAlso in Agent Engineer and 7 more0/2
      1. Context, State, Memory and Knowledge8 min8 min
      2. Session State8 minSign in to read8 min

      Topic overview

  4. 4

    Stage 4: Evaluate, secure and connect

    0 of 4 done

    1. Agent Evaluation2 articles · 18 minAlso in Agent Engineer and 7 more0/2
      1. Agent Success Criteria9 min9 min
      2. Task-Level and Step-Level Evaluation9 minSign in to read9 min

      Topic overview

    2. Agent Security Fundamentals2 articles · 18 minAlso in RAG Engineer and 9 more0/2
      1. Direct and Indirect Prompt Injection9 min9 min
      2. Prompt Defences and Security Boundaries9 minSign in to read9 min

      Topic overview

  5. 5

    Stage 5: Production

    0 of 2 done

    1. AI Software Development Lifecycle2 articles · 18 minAlso in RAG Engineer and 7 more0/2
      1. Prototype, Pilot and Production9 min9 min
      2. Eval-Driven Development9 minSign in to read9 min

      Topic overview

You will be able to

  • Explain how an LLM produces output and why it varies between runs
  • Get reliable, structured output and control cost and latency
  • Ground answers in your own documents with basic retrieval
  • Build a small tool-using assistant with MCP and evaluate it

Stages

Shares topics with

AI Agent Architect Interview20 shared topicsSenior AI Engineer20 shared topicsAgent Engineer: Zero to Production15 shared topics