Skip to content
AgenticAIWiki

From first principles to production agents

2 tracks, 73 chapters, 404 lessons, about 33 hours. Every chapter opens with a diagram you step through.

0 of 404 lessons done

Track 1

Gen AI foundations

Understand how language models work and get reliable results from them: prompting, structured output, evals, retrieval and open models.

CapstonesStructured research assistantHybrid-search PDF RAG with page citations

Part 0. Start here

Build a working agent in 15 minutes, then set up the tools every later chapter uses.

2 chapters12 lessons~1 h

  1. 00

    Your first agent in 15 minutes

    5 lessons26 minDiagram
  2. 01

    Engineering prerequisites for AI apps

    7 lessons46 minDiagram

Part 1. Gen AI concepts

Know what happens between your prompt and the reply: tokens, context, embeddings, training, sampling and the transformer.

9 chapters57 lessons~5 h

  1. 02

    What an LLM is

    6 lessons38 minDiagram
  2. 03

    Context windows, tokens and cost

    4 lessons16 minDiagram
  3. 04

    Embeddings and semantic search

    10 lessons48 minDiagram
  4. 05

    How models are trained

    7 lessons31 minDiagram
  5. 06

    Sampling

    5 lessons21 minDiagram
  6. 07

    Hallucination and grounding

    4 lessons16 minDiagramBuilds on 2
  7. 08

    Multimodal and voice

    9 lessons46 minDiagram
  8. 09

    Machine learning basics for LLM builders

    5 lessons32 minDiagram
  9. 10

    Inside the transformer

    7 lessons47 minDiagramBuilds on 2

Part 2. Prompt engineering and structured output

Write prompts that work the first time and return output your code can trust.

5 chapters30 lessons~2.5 h

  1. 11

    Explicit criteria, roles and XML tags

    7 lessons36 minDiagram
  2. 12

    Few-shot examples

    4 lessons17 minDiagram
  3. 13

    Chain of thought and output steering

    6 lessons28 minDiagram
  4. 14

    Structured output

    8 lessons41 minDiagram
  5. 15

    Prompt chaining and multi-pass review

    5 lessons23 minDiagram

Part 3. Evals

Measure whether your AI feature works, find what breaks it, and stop regressions before they ship.

5 chapters22 lessons~1.5 h

  1. 16

    Write the eval first

    4 lessons16 minDiagramBuilds on 11
  2. 17

    Golden sets and error analysis

    5 lessons22 minDiagramBuilds on 16
  3. 18

    Graders: code, model and human

    5 lessons20 minDiagramBuilds on 17
  4. 19

    Evaluating agents

    4 lessons16 minDiagramBuilds on 18
  5. 20

    Regression gates in CI

    4 lessons16 minDiagramBuilds on 18

Part 4. RAG architectures

Ground answers in your own documents, from a basic pipeline to agentic and graph-based retrieval.

7 chapters38 lessons~3 h

  1. 21

    Naive RAG

    5 lessons26 minDiagramBuilds on 4
  2. 22

    Vector database internals

    8 lessons41 minDiagramBuilds on 4, 21
  3. 23

    Advanced RAG

    7 lessons30 minDiagram
  4. 24

    Agentic RAG

    3 lessons13 minDiagramBuilds on 23, 33, 46
  5. 25

    GraphRAG

    3 lessons12 minDiagram
  6. 26

    Evaluating RAG

    7 lessons36 minDiagramBuilds on 18
  7. 27

    Parsing complex documents

    5 lessons32 minDiagramBuilds on 21

Part 5. Open models, fine-tuning and local inference

Choose, fine-tune and run open-weight models on your own hardware.

4 chapters29 lessons~3 h

  1. 28

    Open-weight models

    7 lessons40 minDiagram
  2. 29

    Fine-tuning

    9 lessons49 minDiagramBuilds on 5, 16
  3. 30

    Local inference

    8 lessons42 minDiagramBuilds on 28
  4. 31

    Alignment and distillation

    5 lessons34 minDiagramBuilds on 29

Part 6. AI product and UX

Design AI features people trust: set expectations, show uncertainty and handle failure gracefully.

1 chapter6 lessons~28 min

  1. 32

    Designing AI products

    6 lessons28 minDiagramBuilds on 40

Track 2

Agentic AI

Build agents that call tools, plan, remember and recover from errors, then run them safely and cheaply in production.

CapstonesStateful multi-agent reviewer with an approval gateProduction hardening suite

Part 7. Tool design and MCP

Give models tools they use correctly, and connect them to any system through MCP.

7 chapters40 lessons~3.5 h

  1. 33

    The tool use loop

    6 lessons36 minDiagramBuilds on 74
  2. 34

    Designing good tools

    6 lessons30 minDiagram
  3. 35

    MCP explained

    6 lessons33 minDiagramBuilds on 33
  4. 36

    Configuring MCP

    5 lessons25 minDiagram
  5. 37

    Built-in tools

    5 lessons24 minDiagram
  6. 38

    Agent interoperability and A2A

    7 lessons33 minDiagramBuilds on 35
  7. 39

    Computer use and browser agents

    5 lessons24 minDiagramBuilds on 33

Part 8. Agentic AI and orchestration

Decide when you need an agent, then build the loop, subagents and guardrails around it.

6 chapters25 lessons~2.5 h

  1. 40

    Workflows vs agents

    3 lessons16 minDiagram
  2. 41

    Workflow patterns

    5 lessons29 minDiagramBuilds on 40, 15
  3. 42

    The agent loop and agent SDKs

    4 lessons24 minDiagramBuilds on 33
  4. 43

    Subagents

    5 lessons26 minDiagramBuilds on 42
  5. 44

    Hooks and the agent lifecycle

    4 lessons22 minDiagramBuilds on 42
  6. 45

    Guardrails and escalation

    4 lessons22 minDiagramBuilds on 44

Part 9. Agent architectures

Pick the right agent design for the job, from ReAct to multi-agent graphs.

8 chapters37 lessons~3 h

  1. 46

    ReAct

    3 lessons15 minDiagramBuilds on 33
  2. 47

    Plan-and-execute and ReWOO

    5 lessons24 minDiagram
  3. 48

    Reflection and self-critique

    3 lessons13 minDiagram
  4. 49

    Multi-agent topologies

    5 lessons22 minDiagram
  5. 50

    Choosing an architecture

    4 lessons18 minDiagramBuilds on 49
  6. 51

    Agent frameworks compared

    6 lessons26 minDiagramBuilds on 50
  7. 52

    Graph-based orchestration

    6 lessons39 minDiagramBuilds on 51
  8. 53

    Specialised agents: coding, research and browser

    5 lessons33 minDiagramBuilds on 39

Part 10. Memory for agents

Give agents memory that lasts beyond one conversation without filling the context window.

4 chapters18 lessons~1.5 h

  1. 54

    The memory types map

    5 lessons23 minDiagramBuilds on 3
  2. 55

    Working memory

    4 lessons17 minDiagram
  3. 56

    Long-term stores

    4 lessons16 minDiagram
  4. 57

    Managing memory over time

    5 lessons22 minDiagram

Part 11. Context engineering and reliability

Fit the right information into every call and keep long-running agents on track.

6 chapters25 lessons~2 h

  1. 58

    Context engineering

    7 lessons32 minDiagramBuilds on 3
  2. 59

    Budgeting the context window

    3 lessons12 minDiagram
  3. 60

    Summarization and compaction

    4 lessons16 minDiagram
  4. 61

    Sessions

    4 lessons18 minDiagram
  5. 62

    Long documents and large codebases

    3 lessons13 minDiagram
  6. 63

    Reliability

    4 lessons18 minDiagram

Part 12. Guardrails and agent security

Keep agents safe from prompt injection, data leaks and actions they should not take.

3 chapters28 lessons~2.5 h

  1. 64

    Guardrails in depth

    11 lessons52 minDiagramBuilds on 45
  2. 65

    Agent security

    10 lessons50 minDiagramBuilds on 64
  3. 66

    Governance and compliance

    7 lessons40 minDiagramBuilds on 65

Part 13. Production: observability, deployment and scale

Trace, serve, scale and pay for AI systems in production, and recover when they fail.

6 chapters37 lessons~2.5 h

  1. 67

    Observability and tracing

    9 lessons39 minDiagramBuilds on 42
  2. 68

    Serving patterns

    5 lessons20 minDiagramBuilds on 75
  3. 69

    Scaling and rate limits

    5 lessons20 minDiagramBuilds on 68
  4. 70

    Caching layers and multi-region

    5 lessons20 minDiagramBuilds on 78
  5. 71

    Cost at scale

    6 lessons25 minDiagramBuilds on 3
  6. 72

    Rollouts and incident response

    7 lessons36 minDiagramBuilds on 20