Master AI Concepts
Through Experience
Explore artificial intelligence and large language models through beautiful, interactive demonstrations. Learn by doing, not just reading.
Topics
68
Interactive guides to understand AI concepts
Recently Updated
Mega-Kernels
Sep 24, 2026
LLM
Architecture
MTP · MoE · KV cache · inference
LMF Blog
Latest AI news, model analysis, and deep dives
Interactive Demos
Visual Learning
Build Intuition
Recently Updated
What's New
ESep 24, 2026
Mega-KernelsFuse operations and move whole transformer steps into a single GPU kernel to cut launch overhead and HBM trafficBSep 13, 2026
Getting StartedMake your first LLM API call in 10 minutes — for freeBSep 13, 2026
The Agent LoopThe observe-think-act cycle that powers autonomous agentsISep 13, 2026
Context AnatomyHow agents structure and manage their context windowISep 13, 2026
Tool DesignPrinciples for building tools that agents can use reliablyHelp Make This Better
This guide is open source. Got an idea for a new topic? Found a bug? Want to improve an explanation? Every contribution helps.
Explore Topics
Dive into interactive lessons
Artificial Intelligence
AI Agents
Core Concepts
Building Blocks
01
Tool DesignPrinciples for building tools that agents can use reliablySep 13, 2026
I02
Programmatic Tool CallingLet agents write code that calls tools, reducing latency and tokensSep 13, 2026
I03
Memory SystemsHow agents remember across conversations and sessionsSep 13, 2026
I04
Agent SkillsReusable capabilities that extend what agents can doSep 13, 2026
I05
MCP (Model Context Protocol)A standard protocol for connecting agents to external toolsSep 13, 2026
IQuality & Security
01
Agent ProblemsCommon failure modes: loops, hallucinations, and goal driftSep 13, 2026
I02
Agent SecurityDefending agents against prompt injection and data exfiltrationSep 13, 2026
E03
EvaluationMeasuring agent performance with benchmarks and metricsSep 13, 2026
E04
Verifiable RewardsTraining LLMs and agents with objective outcome checks in realistic environmentsSep 13, 2026
ELarge Language Models
Fundamentals
01
TokenizationHow text gets broken into pieces the model understandsSep 13, 2026
B02
Subtoken BlindnessWhy models miss letters, digits, and exact counts hidden inside tokensSep 13, 2026
I03
EmbeddingsTurning words into numbers that capture meaningSep 13, 2026
B04
Positional Encoding & RoPEHow LLMs represent token order with positional encodings, RoPE, and long-context tradeoffs.Jul 12, 2026
E05
Attention MechanismHow transformers decide which tokens matter for each predictionSep 13, 2026
I06
Multi-Head Attention, MQA & GQAHow attention heads run learned projections in parallel, and how MQA/GQA share key-value heads.Jun 12, 2026
IBehavior
01
TemperatureHow logits become sampling probabilities.Sep 13, 2026
B02
Reasoning Models & Inference-Time ComputeHow models spend extra runtime compute on search, candidate generation, and verification — and when it pays off.Jul 12, 2026
E03
Jagged FrontierWhy frontier models solve hard benchmarks and still fail simple-looking tasksSep 13, 2026
I04
Context RotEvidence on context length, position and distractors, with clear experimental limits.Sep 13, 2026
ICapabilities
01
RAGAugment LLM answers with retrieved external knowledgeSep 13, 2026
I02
Vision & ImagesHow LLMs process and understand images alongside textSep 13, 2026
B03
Visual ChallengesWhere vision models fail: counting, spatial reasoning, OCRSep 13, 2026
I04
Agentic VisionActive visual investigation through zoom, crop, and code executionSep 13, 2026
E05
MultimodalityProcessing text, images, audio, and video in one modelSep 13, 2026
BArchitecture
01
Transformer ArchitectureThe foundational architecture behind GPT, BERT, and all modern LLMsSep 13, 2026
I02
Looped TransformersExplore how recurrent depth updates a hidden state, reuses model weights, and changes the tradeoffs between memory, compute, latency, and monitorability.Sep 7, 2026
E03
Feed-Forward NetworksHow the same MLP transforms each token position; routing is covered in Mixture of Experts.Sep 13, 2026
I04
Residual Stream & LayerNormHow residual streams and normalization keep deep transformer stacks trainable.Sep 13, 2026
I05
Next-Token PredictionHow logits, softmax, and decoding turn model outputs into text one token at a time.Sep 13, 2026
B06
LLM TrainingFrom pretraining on raw text to fine-tuning with human feedbackSep 13, 2026
I07
Training DataWhere AI models get their knowledge: legitimate sources, controversies, and synthetic dataSep 13, 2026
I08
Mixture of ExpertsRun only a fraction of model parameters per tokenSep 13, 2026
E09
QuantizationShrink model size by reducing numerical precisionSep 13, 2026
E10
Nested LearningLearning algorithms that operate at multiple levelsSep 13, 2026
E11
Multi-Token Prediction (MTP)Train models to predict several future tokens at once instead of only the next tokenSep 13, 2026
E12
N-gram EmbeddingsLearned lookup tables for short local token patternsAug 27, 2026
E13
DistillationTransfer knowledge from a large model to a smaller oneSep 13, 2026
I14
Fine-Tuning & LoRAAdapt large models efficiently by training only tiny low-rank matricesSep 13, 2026
I15
AbliterationRemove a model's refusal behavior by ablating a single direction in its residual streamSep 13, 2026
E16
Speculative DecodingSpeed up inference by drafting tokens with a smaller modelSep 13, 2026
EDiffusion Models
01
KV CacheStore computed keys and values to avoid redundant workSep 13, 2026
E02
Mega-KernelsFuse operations and move whole transformer steps into a single GPU kernel to cut launch overhead and HBM trafficSep 24, 2026
E03
Prompt CachingReuse computed KV caches across API requests to save cost and latencySep 13, 2026
I04
Batching & ThroughputProcess multiple requests simultaneously for higher throughputSep 13, 2026
I05
Running Models LocallyRun LLMs on your own hardware for privacy, speed, and zero API costsSep 13, 2026
B06
VRAM CalculatorCalculate a local LLM memory budget from explicit weight, cache and runtime assumptionsSep 13, 2026
B01
Neural NetworksLayers of connected neurons that learn patterns from dataFeb 9, 2026
B02
Gradient DescentThe optimization algorithm that trains neural networksSep 13, 2026
I03
Training ProcessHow models learn from data through forward and backward passesSep 13, 2026
B04
Reinforcement LearningAgents learn by acting, receiving rewards, and improving a policySep 13, 2026
I05
World ModelsInternal simulators that let AI predict and plan in virtual worldsSep 13, 2026
EPrompting
AI Safety & Ethics
AI Industry
01
AI Made in EuropeThe growing European AI ecosystem and its unique strengthsSep 13, 2026
B02
Open Source AdvantagesWhy open weights matter for innovation and transparencySep 13, 2026
B03
Custom Chips for AIWhy GPUs, TPUs, NPUs, FPGAs, and AI ASICs shape model cost and speedSep 13, 2026
I04
Logge’s Model NotesGPT-6 Astra as the main driver, a current cost frontier and earlier personal rankings.Sep 13, 2026
BPro tip: PressCtrl+Kto search topics