The goal F AI engineering
Build a memory system for an agent
Episodic and semantic memory, retrieval and long-horizon evaluation — a working memory system that makes an agent better over time.
- Knowledge nodes
- 68
- From zero
- about 53 h
- Labs
- 6
See what you already know — no account
The diagnostic removes what you already know, so your path is usually much shorter.
What you can do afterwards
- DGive your chatbot a memory
- FMemory and privacy
- FMemory retrieval: when should the memory be fetched?
- FSemantic memory and consolidation
- FLong-term evaluation of agents
- FConsolidation and forgetting in memory systems
- FEvaluating memory systems
- FContradictions and updating facts
- GProcedural memory: learnt skills
Labs along the way
You write the code. Tests you cannot see decide whether it holds up.
Project 5: Build a memory system for an agentFa sandbox · about 180 minLab: BM25 and a minimal RAG pipelineEa sandbox · about 60 minLab: a neural network in pure NumPy — forward, backprop, gradient checkDa sandbox · about 75 minLab: dot product, norm and cosine similarityDin the browser · about 40 minLab: gradient descent from scratchDin the browser · about 50 minLab: matrix multiplication and one layer of a neural networkDin the browser · about 45 min
The whole path
Everything the goal builds on, grouped by level and in the order it builds on itself. Show on the map
AExplorer3 knowledge nodes
BInvestigator10 knowledge nodes
- Data in everyday life
- Algorithmic thinking
- Rule-based systems and machine learning
- Source criticism and responsibility in AI use
- Training data, features and labels
- Classification: how a model sorts information
- The technology behind the web: how a page is fetched
- Generative AI: how it creates content
- Language models and probabilities
- AI's invented answers
CBuilder15 knowledge nodes
- Functions and coordinate systems
- Programming logic — variables, conditions, loops
- Python — the basics
- Python — lists, loops and dictionaries
- Python — strings and text processing
- Python — files, CSV and JSON
- Search strategies: linear search vs binary search
- Statistics — mean, median and spread
- Probability — the basics
- Linear regression: fitting a straight line to data
- Neural networks — the intuition
- Prompting — steering a language model
- Fundamentals of search engines: indexing and ranking
- Asking effective questions to AI
- RAG: letting AI answer based on your own documents
DAI developer22 knowledge nodes
- Derivatives and optimisation
- Licences and open data
- Loss functions
- Tokenisation
- Text preprocessing
- BM25 and keyword search
- Gradient descent
- Build a small search engine
- Give your chatbot a memory
- Vectors
- Matrices and matrix multiplication
- Linear regression with several features
- Neural networks — the forward pass with matrices
- Backpropagation
- Embeddings — words as vectors
- Attention
- Overfitting and generalisation
- PyTorch — tensors and autograd
- Retrieval — finding the right text
- Training, validation and test
- Train a neural network in PyTorch
- Transformers — the architecture