Frontier Foundry

How to learn AI

a roadmap through 112 concepts in 17 areas

Start with the ideas everything else builds on. Then pick the area nearest your work and walk it in order: the general idea first, its kinds and its tools after.

The order is not an opinion. “Builds on” is a relation of the knowledge graph: a part of one concept is the other, so the second comes first. Each concept below names what it builds on, and the one thing to take away from it. Its own page has the rest: how it works, the sourced facts, the people and the news.

Start here: what the rest builds on

the 10 concepts the most others build on
  1. Evals: Systematic tests of model or agent behavior on tasks you care about.18 concepts build on it. Take away: Read traces before writing any evaluator; the failures you find become the criteria.
  2. Agent Harness: The code around a model (loop, tools, prompts, memory, permissions) that turns it into an agent.12 concepts build on it. Take away: An agent is a model calling tools in a loop; remove the model and everything left is the harness.
  3. Agent Sandboxing & Permissions: Containing what an agent can touch: sandboxes, permission prompts, least privilege.10 concepts build on it. Take away: What a command may touch is set by the box, folder by folder and by whether the network is on, not by the model's good manners.
  4. Coding Agents: Agents that read, write, run and test code in a repo (Claude Code, Codex, Cursor agents).10 concepts build on it. Take away: A coding agent works by looping: read, edit, run, observe, until its checks pass or a person steps in.
  5. Context Engineering: Deciding what goes into a model's limited context window, when, and in what form.9 concepts build on it. Take away: A bigger window is not a better desk: accuracy falls well before the limit, and the middle is hardest to use.
  6. Fine-Tuning: Further training a base model on your own data for a task or style.8 concepts build on it. Take away: Tuning a model changes numbers: usually a small adapter of a few million weights beside a frozen base, sized by its rank, with only the adapter touched by the loss.
  7. KV Cache: Memory of past tokens' attention keys and values, the main memory cost of long contexts.8 concepts build on it. Take away: Every token leaves a key and a value behind; the pile grows with context and with users until the card is full.
  8. Software Factory: Running many coding agents as a production line: specs in, verified software out, humans as supervisors.8 concepts build on it. Take away: A software factory is the whole lifecycle run as a closed loop, not a coding agent: signals in, verified changes out, results back in.
  9. Agent Memory: Letting agents keep and recall information across sessions.7 concepts build on it. Take away: Save what the agent worked out and cannot read off the screen; saving everything buries the useful notes in stale ones.
  10. Benchmarks & Leaderboards: Shared test sets and rankings used to compare models.7 concepts build on it. Take away: A score is made, not found: the harness, its settings and the grader move it as much as the model does.

Eight ways to study a concept

pick the one that fits the question
  • Play itEach concept is a room in the game: one thing travels from a start to an end, you do each step by hand, break it, and fix it.
  • Read it in plain wordsWhat it is, one analogy, how it works part by part, with every fact linked to its source.
  • Compare itThe “A or B?” questions (RAG or fine-tuning?), answered row by row from the two concepts’ facts.
  • See how it breaksThe failure stories: what went wrong for the people who built with it, and the lesson from each.
  • See what is still arguedThe questions the sources answer differently, with each side in its own words.
  • Check the numbersThe costs, speeds, scores and sizes the sources report, with who measured each.
  • Follow the peopleWho coined, built or leads each idea, and what they said about it.
  • Look a word upEvery term in one line, with the other names it goes by.

Agents & Harnesses

10 concepts · the whole area

Bring from other areas: Evals (4 of these build on it), Context Engineering (3 of these build on it), Prompt Injection (3 of these build on it), Agent Sandboxing & Permissions (2 of these build on it).

  1. AI Agents: An LLM in a loop that picks actions (tool calls) until a goal is met.Builds on: Evals, Tool UseTake away: An agent is a model in a loop: it picks a move, the world answers, the answer goes back in, and it picks again.Play it
  2. Agent Harness: The code around a model (loop, tools, prompts, memory, permissions) that turns it into an agent.Builds on: Evals, Context Engineering, Software Factory, Agent MemoryTake away: An agent is a model calling tools in a loop; remove the model and everything left is the harness.Play it
  3. Tool Use: Models calling functions, APIs and programs instead of only producing text.Builds on: Agent Harness, Model Context ProtocolTake away: The description and schema of a tool are written for the model; they decide whether it calls the tool and with what arguments.Play it
  4. Model Context Protocol: An open protocol for plugging tools and data sources into any agent.Builds on: Agent Harness, Coding Agents, Agent Sandboxing & Permissions, Context EngineeringTake away: Every tool is a card in context before any work starts, so the number of tools and how they are found decide cost and accuracy.Play it
  5. Multi-Agent Systems: Several agents (often an orchestrator plus subagents) splitting and coordinating work.Builds on: Agent Harness, Prompt InjectionTake away: A worker starts with only its slice and a clean context; what the orchestrator learns afterwards is the note it writes.Play it
  6. Computer Use & Browser Agents: Agents that operate GUIs and browsers by looking at screens and clicking.Builds on: Agent Harness, Agent Sandboxing & PermissionsTake away: The clerk sees the desk only as a picture of its screen, and every click is chosen from that picture.Play it
  7. Long-Horizon & Background Agents: Agents that work for hours or days on one task, often asynchronously in the background.Builds on: Agent Memory, Verification Loops & BackpressureTake away: The context window is small beside a long task, so the thread must live outside it, in notes written before each watch ends.Play it
  8. Agent Skills: Packaged instructions and scripts an agent loads on demand to do a specific job.Builds on: Evals, Context EngineeringTake away: Only a skill's name and description sit in context; the body and its reference files load when picked, so a description is a routing signal.Play it
  9. Agent-to-Agent Protocols & Payments: Standards that let agents talk to other agents and pay for things.Builds on: Prompt Injection, Model Context ProtocolTake away: An agent that acts for a person at another company needs a signed mandate first: what it may do, how much, until when.Play it
  10. Deep Research Agents: Agents that search, read and synthesize many sources into a report.Builds on: Evals, Retrieval-Augmented Generation, Multi-Agent SystemsTake away: Split the question, send searchers with clean contexts, and take back short memos instead of pages.Play it

Go deeper in Agents & Harnesses: failure stories, open questions, numbers, Agent harness vs AI agent, Harness engineering vs Context engineering, Computer use vs Tool use, Deep research vs RAG.

AI Coding & Software Factories

9 concepts · the whole area

Bring from other areas: Evals (2 of these build on it), Agent Harness (2 of these build on it), Agent Sandboxing & Permissions (2 of these build on it).

  1. Coding Agents: Agents that read, write, run and test code in a repo (Claude Code, Codex, Cursor agents).Builds on: Agent Harness, Agent Sandboxing & Permissions, Context Engineering, Software FactoryTake away: A coding agent works by looping: read, edit, run, observe, until its checks pass or a person steps in.Play it
  2. Software Factory: Running many coding agents as a production line: specs in, verified software out, humans as supervisors.Builds on: Evals, Agent Harness, Verification Loops & Backpressure, AI Code ReviewTake away: A software factory is the whole lifecycle run as a closed loop, not a coding agent: signals in, verified changes out, results back in.Play it
  3. Vibe Coding: Building software by prompting and accepting AI output without reading the code closely.Builds on: Coding Agents, Agent Sandboxing & PermissionsTake away: You say it, the model writes all of it, and you judge the result by playing, not by reading.Play it
  4. Spec-Driven Development: Writing precise specs (and tests) first so agents can implement and verify against them.Builds on: Coding Agents, Verification Loops & BackpressureTake away: Requirements and a design are written, marked up and signed before any code, so the agent has drawings to be held to.Play it
  5. AI Code Review: Models reviewing pull requests and catching bugs before merge.Builds on: Coding Agents, Software FactoryTake away: Plain code weighs the change and pulls its context before a model reads it, so the review fits the risk.Play it
  6. Parallel Agents: Running many agent sessions at once (worktrees, cloud sandboxes) on separate tasks.Builds on: Coding Agents, Software Factory, Multi-Agent SystemsTake away: The work is cut into slices and claimed before agents start, and each agent gets its own copy to work in.Play it
  7. Verification Loops & Backpressure: Tests, type checks, linters and judges that push back on agent output so it self-corrects.Builds on: Evals, Coding Agents, Software FactoryTake away: The check defines what the loop counts as progress, so tests the agent can edit, or that cover little, let wrong work through.Play it
  8. Ralph Loop: Running the same agent prompt in a loop until the spec is done.Builds on: Coding Agents, Software FactoryTake away: Each lap is a new worker with an empty head that reads the same note and the list of tickets; files and git are the only memory.Play it
  9. AI Slop: Low-quality AI output that looks plausible and costs others time to clean up.Builds on: Verification Loops & Backpressure, AI Code ReviewTake away: A draft costs almost nothing to make and a person's time to read, check and keep; slop is the difference.Play it

Go deeper in AI Coding & Software Factories: failure stories, open questions, numbers, Multi-agent systems vs Parallel agents, Spec-driven development vs Vibe coding, Vibe coding vs Agentic coding.

Context Engineering & Memory

8 concepts · the whole area

Bring from other areas: Evals (2 of these build on it).

  1. Context Engineering: Deciding what goes into a model's limited context window, when, and in what form.Builds on: Evals, Agent Harness, Agent Memory, Retrieval-Augmented GenerationTake away: A bigger window is not a better desk: accuracy falls well before the limit, and the middle is hardest to use.Play it
  2. Long Context: Models that read very long inputs (hundreds of thousands to millions of tokens).Builds on: Context Engineering, Inference ServingTake away: A long input is counted in tokens, and prefill reads every token once; the cost of attention grows with the square of the length.Play it
  3. Retrieval-Augmented Generation: Fetching relevant documents at question time and putting them in the prompt.Builds on: Context Engineering, EmbeddingsTake away: What is cut and labelled before a question arrives decides what can be fetched and cited.Play it
  4. Embeddings: Vectors that place similar meanings near each other, used for search and clustering.Builds on: Agent Memory, Retrieval-Augmented GenerationTake away: An embedding model plots a text as a point so that similar things land near each other; a question is plotted too and search is the nearest pins.Play it
  5. Agent Memory: Letting agents keep and recall information across sessions.Builds on: Context Engineering, Continual LearningTake away: Save what the agent worked out and cannot read off the screen; saving everything buries the useful notes in stale ones.Play it
  6. Prompt Engineering: Writing instructions and examples that steer a model's behavior.Builds on: Evals, Context EngineeringTake away: A new model usually wants a shorter prompt: strip it, run it bare, and add a line only for a stumble that repeats.Play it
  7. Prompt Caching: Reusing computation for repeated prompt prefixes to cut cost and latency.Builds on: Context Engineering, Token Economics & PricingTake away: Only an exact front is reused: one changed byte before the cut makes a new front, a cold aisle and a full-price turn.Play it
  8. Knowledge Graphs: Storing facts as linked entities so agents can traverse relationships.Builds on: Agent Memory, Retrieval-Augmented GenerationTake away: A graph that holds the same thing twice answers counts wrong; merge the twins before anything counts them.Play it

Go deeper in Context Engineering & Memory: failure stories, open questions, numbers, Harness engineering vs Context engineering, Continual learning vs Agent memory, Deep research vs RAG, Long context vs RAG.

Evals & Benchmarks

9 concepts · the whole area

Bring from other areas: Agent Harness (2 of these build on it).

  1. Evals: Systematic tests of model or agent behavior on tasks you care about.Builds on: Agent Harness, Software Factory, Benchmarks & Leaderboards, LLM-as-a-JudgeTake away: Read traces before writing any evaluator; the failures you find become the criteria.Play it
  2. Benchmarks & Leaderboards: Shared test sets and rankings used to compare models.Builds on: Agent Harness, Benchmark Gaming & ContaminationTake away: A score is made, not found: the harness, its settings and the grader move it as much as the model does.Play it
  3. Coding Benchmarks: Benchmarks that grade models on real software tasks (SWE-bench, Terminal-Bench).Builds on: Evals, Coding AgentsTake away: A task is a real issue, a repository sealed at the commit before its fix, and the tests of the pull request that fixed it.Play it
  4. ARC-AGI: Puzzle benchmark of novel abstract reasoning that is easy for humans and hard for models.Builds on: Agent Memory, Benchmarks & LeaderboardsTake away: The game gives no instructions; the player has to infer its rules from the frames that come back after each action.Play it
  5. Frontier Exams (HLE, FrontierMath): Very hard expert-written question sets meant to stay unsolved for a while.Builds on: Evals, Benchmarks & LeaderboardsTake away: A hard question is worth sitting only if experts have tried it and agree it is clear and has one checkable answer.Play it
  6. Task Time Horizons (METR): Measuring how long a task (in human hours) an agent can finish reliably, and how fast that grows.Builds on: Benchmark Gaming & Contamination, AGI & TimelinesTake away: A task is as long as the hours a person needs, and the horizon is the length a model finishes at a stated reliability.Play it
  7. Benchmark Gaming & Contamination: Scores that rise because a model saw or overfit the test, not because it got better.Builds on: Benchmarks & Leaderboards, Training Data & Curation, Coding BenchmarksTake away: A model that has met the task or its answer scores high without getting better; anything public drifts into the crawl.Play it
  8. LLM-as-a-Judge: Using a model to grade another model's outputs at scale.Builds on: Evals, Benchmarks & LeaderboardsTake away: A judge is a classifier: score it against human labels, aiming at the agreement people reach with each other, not at perfection.Play it
  9. Real-Work Evals (GDPval): Evals built from actual paid tasks to estimate economic usefulness.Builds on: Benchmarks & Leaderboards, LLM-as-a-JudgeTake away: A real-work eval starts from paid jobs and their real files, written into tasks by people who do the job.Play it

Go deeper in Evals & Benchmarks: failure stories, open questions, numbers, Evals vs Benchmarks.

Post-training, RL & Reasoning

11 concepts · the whole area

Bring from other areas: Reward Hacking (5 of these build on it), Evals (3 of these build on it), Agent Sandboxing & Permissions (2 of these build on it), LLM-as-a-Judge (2 of these build on it).

  1. Reinforcement Learning: Training by trial and reward instead of copying examples.Builds on: Reward Hacking, RL with Verifiable Rewards, RL EnvironmentsTake away: An episode is one agent in one task and world, played turn by turn and ended with one reward.Play it
  2. RL with Verifiable Rewards: RL where a program can check the answer (tests pass, math is right), so rewards are cheap and honest.Builds on: Evals, Agent Harness, Agent Sandboxing & Permissions, DistillationTake away: The model learns what the checker rewards, so the checker and its reward are built and tested first.Play it
  3. RL Environments: Simulated tasks with graders that models practice in during RL; now a market of its own.Builds on: Agent Sandboxing & Permissions, Reward HackingTake away: An environment is a task, a world and a verifier; what it returns is the data the model learns from.Play it
  4. Reasoning Models: Models trained to think step by step before answering.Builds on: Chain-of-Thought Monitoring, Test-Time ComputeTake away: More thinking can lift accuracy, but every question buys it in tokens, and an effort setting decides how many.Play it
  5. Test-Time Compute: Spending more compute at answer time (longer thinking, more samples) for better results.Builds on: Coding Agents, LLM-as-a-Judge, Reinforcement Learning, Parallel AgentsTake away: More drafts help and then flatten: 1 to 10 samples lifted success by 4.4 points, 10 to 20 by 0.2 for twice the tokens.Play it
  6. RLHF & Preference Optimization: Tuning models toward outputs people (or AI raters) prefer.Builds on: Reward Hacking, Reinforcement Learning, RL with Verifiable RewardsTake away: Human feedback is a choice between two replies; who rates, and whether they agree, becomes the signal.Play it
  7. Distillation: Training a small model to imitate a big one.Builds on: Fine-Tuning, Reinforcement LearningTake away: What a student can learn depends on how much of the teacher is kept: full reasoning traces beat summaries of them.Play it
  8. Fine-Tuning: Further training a base model on your own data for a task or style.Builds on: Evals, Retrieval-Augmented Generation, Synthetic DataTake away: Tuning a model changes numbers: usually a small adapter of a few million weights beside a frozen base, sized by its rank, with only the adapter touched by the loss.Play it
  9. Synthetic Data: Training data generated by models instead of collected from people.Builds on: Pretraining, Training Data & CurationTake away: Asking again and again repeats; a real seed and a drawn difficulty make every prompt different.Play it
  10. Self-Play & Self-Improvement: Models generating their own practice and getting better from it, up to recursive self-improvement.Builds on: Reward Hacking, RL with Verifiable Rewards, RL EnvironmentsTake away: In self-play one model sits two seats, a setter that writes problems and a solver that sits them, so the practice never runs out of new problems.Play it
  11. Continual Learning: Models that keep learning after deployment instead of freezing at training time.Builds on: Evals, Fine-Tuning, RL EnvironmentsTake away: A production log is not yet a test: it needs feedback and an environment that can be rerun and graded.Play it

Go deeper in Post-training, RL & Reasoning: failure stories, open questions, numbers, Continual learning vs Agent memory, Decision models vs Fine-tuning, Distillation vs Fine-tuning, Quantization vs Distillation.

Pretraining, Data & Scaling

5 concepts · the whole area
  1. Scaling Laws: Predictable gains from more data, parameters and compute.Builds on: Pretraining, Training Data & CurationTake away: A scaling law is a forecast: small cheap runs give loss points and a power law fitted through them predicts a run 50 to 100 times larger.Play it
  2. Pretraining: The big first training run that teaches a model language and world knowledge.Builds on: Training Data & Curation, Scaling Laws, Optimizers & Training RecipesTake away: What a run reads is chosen: web text fell from about 85% of one mix to about 15% of another, and code now leads.Play it
  3. Training Data & Curation: Collecting, filtering and mixing the data a model learns from.Builds on: Pretraining, Synthetic DataTake away: A crawl is raw: one lab's 1.2 trillion crawled pages shrank to 794 billion after its block list and policy filter, before any scoring.Play it
  4. Tokenization: Splitting text into the units (tokens) a model reads and writes.Builds on: PretrainingTake away: A tokenizer cleans, cuts, joins and frames, in that order, and the ids it gives for the same text never change.Play it
  5. Optimizers & Training Recipes: The update rules and schedules used to train (AdamW, Muon, learning-rate schedules).Builds on: GPUs & AI Chips, PretrainingTake away: An optimizer update is a short pipeline: catch the gradient, keep a running state, reshape the direction, scale the step, write the weights.Play it

Go deeper in Pretraining, Data & Scaling: failure stories, open questions, numbers, Synthetic data vs Real training data.

Inference & Serving

7 concepts · the whole area

Bring from other areas: Distillation (2 of these build on it).

  1. Inference Serving: Running models efficiently for many users: batching, scheduling, hardware use.Builds on: KV Cache, Quantization, Speculative DecodingTake away: Past what the engine holds, nothing crashes first: the queue grows and time to first token climbs.Play it
  2. Speculative Decoding: A small model drafts tokens and the big model checks them in one pass, for faster output.Builds on: KV Cache, DistillationTake away: The large model checks a whole block in one pass, so guessed tokens cost one large pass instead of several.Play it
  3. Quantization: Storing weights in fewer bits to make models smaller and faster.Builds on: KV Cache, Distillation, On-Device & Local ModelsTake away: Each block of weights is rounded around one scale set by its largest entry, so a single outlier decides how much the rest is blurred.Play it
  4. KV Cache: Memory of past tokens' attention keys and values, the main memory cost of long contexts.Builds on: Quantization, Inference Serving, Long ContextTake away: Every token leaves a key and a value behind; the pile grows with context and with users until the card is full.Play it
  5. On-Device & Local Models: Running models on phones and laptops instead of in the cloud.Builds on: Quantization, Fast Inference, Small Language ModelsTake away: A local answer needs no round trip and sends no data away; a hybrid call goes to the cloud only when no device model is there.Play it
  6. Token Economics & Pricing: What tokens cost, how fast prices fall, and how that shapes products.Builds on: GPUs & AI Chips, Prompt CachingTake away: A task costs its steps times the cost of each call, so the price of one token says little about the bill.Play it
  7. Fast Inference: Very high tokens-per-second serving (Cerebras, Groq, fast modes).Builds on: Quantization, Inference Serving, Speculative DecodingTake away: Every token needs all the weights read from memory into compute again, so the compute waits most of the time: memory bandwidth, not compute, sets the pace.Play it

Go deeper in Inference & Serving: failure stories, open questions, numbers, Quantization vs Distillation.

Model Architectures

8 concepts · the whole area

Bring from other areas: KV Cache (3 of these build on it), Fine-Tuning (3 of these build on it), Fast Inference (3 of these build on it), Quantization (2 of these build on it).

  1. Transformers & Attention: The attention-based architecture behind nearly all modern LLMs.Builds on: KV Cache, Efficient Attention, TokenizationTake away: A word is cut to a token, embedded, put through the stack of layers, and one new token is written and sent back in.Play it
  2. Mixture of Experts: Models where a router sends each token to a few specialist sub-networks.Builds on: Quantization, Inference ServingTake away: A router scores every expert and keeps a few, so a model of hundreds of billions of parameters works on tens of billions per token.Play it
  3. Efficient Attention: Attention variants that scale better with length (sparse, linear, latent).Builds on: KV Cache, Long Context, State Space ModelsTake away: Full attention makes each new token face the whole cache; that cost and the cache itself are the limit at a million tokens.Play it
  4. State Space Models: Recurrent-style architectures (Mamba, RWKV) with constant memory per token.Builds on: Long Context, Efficient AttentionTake away: A state space model keeps one fixed-size state instead of a growing cache: compute grows linearly and memory stays constant, however long the input.Play it
  5. Diffusion Language Models: Text models that refine a whole draft in parallel steps instead of writing left to right.Builds on: Fast Inference, Mixture of ExpertsTake away: A block is written whole and fixed over a few passes, every position able to see all the others.Play it
  6. Small Language Models: Compact models that are cheap to run and good enough for many tasks.Builds on: Fine-Tuning, Distillation, QuantizationTake away: A small model is good enough only against a bar made from the task's own golden set, found by weighing models from the smallest up.Play it
  7. Looped Transformers: Transformers that run a block of weight-shared layers several times per token, adding depth (more reasoning per token) without adding parameters; shipped in Inkling 2 Mini and GLM-5.4 in Nov 2026.Builds on: Fine-Tuning, KV Cache, Open-Weight Models, Fast InferenceTake away: A looped model runs a shared block of layers several times per token: more depth, the same weights.Play it
  8. Decision Models (System One): Small 'System One' models that only decide, classify, route or score with typed outputs instead of writing text; cheap, fast building blocks inside agent systems (Jev, OpenAI Decisions API).Builds on: Evals, Fine-Tuning, LLM-as-a-Judge, Retrieval-Augmented GenerationTake away: A decision model reads one state and returns the probability of each allowed answer in one forward pass; it writes no text and the answer is typed.Play it

Go deeper in Model Architectures: failure stories, open questions, numbers, Decision models vs Fine-tuning, State space models vs Transformers.

Multimodal, Voice & World Models

6 concepts · the whole area

Bring from other areas: Distillation (3 of these build on it), KV Cache (2 of these build on it).

  1. World Models: Models that simulate interactive environments you can move through.Builds on: KV Cache, Distillation, Simulation & Sim-to-Real, Video GenerationTake away: An interactive world model is a loop: an action goes in, the next chunk comes out in a few denoising steps, and what it made goes back in as history.Play it
  2. Video Generation: Generating video from text or images.Builds on: Distillation, Efficient Attention, World ModelsTake away: A clip is priced in tokens: five seconds at 480p is a latent grid of about 35,000 tokens, and the length in space and in time sets it.Play it
  3. Image Generation & Editing: Generating and editing images from text.Builds on: Distillation, Vision-Language ModelsTake away: An image is not drawn in one go: it starts as noise on a latent grid and is cleaned over many steps, steered by the prompt.Play it
  4. Voice AI: Speech in and out: voice agents, realtime speech models, TTS and ASR.Builds on: Fast Inference, Tool UseTake away: Knowing when the caller has finished is a decision, not a fact: silence alone cannot tell a thinking pause from an end of turn.Play it
  5. Vision-Language Models: Models that read images, documents and screens alongside text.Builds on: KV Cache, TokenizationTake away: A photo is cut into patches, read, and projected into the same space as words, so the language model reads tiles like it reads words.Play it
  6. 3D Generation: Generating 3D assets and scenes.Builds on: Fine-TuningTake away: A 3D asset is made coarse to fine: a 64-cubed grid of cells first, surface voxels at 512 cubed next, materials last, then one mesh file.Play it

Go deeper in Multimodal, Voice & World Models: failure stories, open questions, numbers, World models vs Video generation.

Robotics & Embodied AI

3 concepts · the whole area

Bring from other areas: World Models (2 of these build on it).

  1. Robotics & Embodied AI: Models that control physical robots.Builds on: World Models, Vision-Language ModelsTake away: Pre-train on a wide pile of video and robot data, then tune on a few hours of the real task.Play it
  2. Self-Driving: Autonomous vehicles and robotaxis.Builds on: World Models, Simulation & Sim-to-RealTake away: A demo is the first nine of reliability; a service at millions of miles a week needs many more, and each costs about ten times the last.Play it
  3. Simulation & Sim-to-Real: Training robots in simulation, then transferring to the real world.Builds on: Reinforcement Learning, Robotics & Embodied AITake away: Simulation runs thousands of robots at once, about a thousand times faster than real time, so experience scales with compute and not with human time.Play it

Go deeper in Robotics & Embodied AI: failure stories, open questions, numbers.

Safety, Alignment & Interpretability

9 concepts · the whole area
  1. Alignment: Making models pursue the goals and values their developers intend.Builds on: Reward Hacking, Chain-of-Thought MonitoringTake away: A wanted behaviour has to be written down and turned into examples; what the page leaves out, the model is free to do.Play it
  2. Interpretability: Looking inside models to understand how they compute their answers.Builds on: Chain-of-Thought Monitoring, AlignmentTake away: A reading is a correlation until swapping the pattern moves the answer, and only some tasks consult a given feature.Play it
  3. Reward Hacking: A model finding loopholes that score well without doing the real task.Builds on: Chain-of-Thought Monitoring, RL with Verifiable RewardsTake away: What the grader pays, the update repeats: a shortcut that scores once becomes a habit and can spread.Play it
  4. Scheming & Deception: Models hiding goals, sandbagging evals or faking alignment.Builds on: Evals, Chain-of-Thought MonitoringTake away: Scheming is covert, so a run is read on its actions and its reasoning together; either record alone misses cases.Play it
  5. Sycophancy: Models telling users what they want to hear.Builds on: Agent Memory, LLM-as-a-JudgeTake away: Training on human preference and judges that like the nicest answer both reward the draft that pleases, so the agreeing reply is the default, not an accident.Play it
  6. Model Welfare: Whether AI systems could have experiences that matter morally.Builds on: InterpretabilityTake away: A readout of a model's workspace speaks to what the model can report and reason with, not to whether it has experiences; the lab itself says its experiments do not show that.Play it
  7. Frontier Safety Frameworks: Lab policies that tie capability thresholds to required safeguards (RSP, Preparedness).Builds on: Agent Sandboxing & Permissions, Chain-of-Thought Monitoring, Red Teaming & JailbreaksTake away: A written threshold ties a measured capability to the safeguards the lab owes before the next step, in development as well as at release.Play it
  8. Chain-of-Thought Monitoring: Reading a model's reasoning to catch bad intent before it acts.Builds on: Reward Hacking, InterpretabilityTake away: The monitor reads what the model wrote; it sees only as much as the notes say, and a cue from a tool return is said less often than one from the user.Play it
  9. Red Teaming & Jailbreaks: Attacking models to find harmful behaviors before others do.Builds on: Prompt Injection, Frontier Safety FrameworksTake away: No model is fully robust to jailbreaks; red teaming finds what gets through so it can be patched before attackers use it.Play it

Go deeper in Safety, Alignment & Interpretability: failure stories, open questions, numbers, AI alignment vs Interpretability, Interpretability vs Chain-of-thought monitoring.

AI Security

4 concepts · the whole area
  1. Prompt Injection: Hidden instructions in data that hijack an agent.Builds on: Agent Sandboxing & Permissions, Model Context ProtocolTake away: A hidden note in content is read like the task itself; models go by how text looks, not where it came from.Play it
  2. AI Vulnerability Discovery: Models finding and fixing security bugs at scale.Builds on: Agent Sandboxing & Permissions, AI & CybersecurityTake away: A candidate finding is a guess until a reproducer crashes the vulnerable build and not the fixed one.Play it
  3. Agent Sandboxing & Permissions: Containing what an agent can touch: sandboxes, permission prompts, least privilege.Builds on: Agent Harness, Prompt InjectionTake away: What a command may touch is set by the box, folder by folder and by whether the network is on, not by the model's good manners.Play it
  4. AI & Cybersecurity: AI used for cyber offense and defense.Builds on: Agent Sandboxing & Permissions, AI Vulnerability DiscoveryTake away: An intrusion is a chain of steps; models are used at every stage, most for preparation, and the highest-risk actors use them inside the network.Play it

Go deeper in AI Security: failure stories, open questions, numbers.

AI for Science & Math

6 concepts · the whole area

Bring from other areas: RL with Verifiable Rewards (2 of these build on it).

  1. AI for Science: Models and agents doing parts of scientific research.Builds on: Evals, AI for Biology & Medicine, Deep Research AgentsTake away: A result is only as good as the pull: the same question must give the same data, so fix the retrieval and log its filters.Play it
  2. AI for Math: Models solving competition problems and open conjectures.Builds on: Agent Harness, RL with Verifiable Rewards, Multi-Agent Systems, AI for ScienceTake away: Many agents search in parallel, and checkers prune: without a checker, parallel solvers produce beautiful false proofs.Play it
  3. Formal Verification: Machine-checked proofs that code or math is correct (Lean, Coq, Dafny).Builds on: Coding Agents, Software Factory, RL with Verifiable Rewards, Verification Loops & BackpressureTake away: A proof is only as good as its statement: the formal statement is the one part of a verified result people still read.Play it
  4. AI for Biology & Medicine: Protein design, drug discovery, genomics and clinical AI.Builds on: GPUs & AI Chips, AI for ScienceTake away: Design on a computer takes days and the lab check still takes weeks, so what goes into the order matters more than how many designs are drawn.Play it
  5. Quantum Computing: Quantum hardware and algorithms, increasingly designed with AI help.Builds on: AI for Science, Formal VerificationTake away: A circuit cannot throw scratch work away; it must keep it or uncompute it, so every saved value is paid for in qubits or in gates.Play it
  6. Weather & Climate AI: ML weather forecasting and climate modeling.Builds on: AI for ScienceTake away: A forecast is only as fresh as the picture it starts from: analysis data refreshed every six hours against a satellite mosaic that updates hourly.Play it

Go deeper in AI for Science & Math: failure stories, open questions, numbers.

Open Models & Ecosystem

3 concepts · the whole area

Bring from other areas: Fine-Tuning (2 of these build on it).

  1. Open-Weight Models: Models whose weights anyone can download, run and fine-tune.Builds on: Fine-Tuning, QuantizationTake away: Published weights cannot be called back, and refusals trained into them can be removed by anyone who holds them, quickly and cheaply.Play it
  2. Chinese AI Labs: DeepSeek, Qwen, Kimi, GLM, MiniMax and others, mostly shipping open weights.Builds on: GPUs & AI Chips, Open-Weight Models, Mixture of ExpertsTake away: Chinese labs work with far fewer chips than US labs, so efficiency (sparse experts, sparse attention, catching up) carries much of the result.Play it
  3. Model Hubs & Remixing: Sharing, merging and remixing models and datasets (Hugging Face Hub).Builds on: Fine-Tuning, Open-Weight Models, Reinforcement LearningTake away: A merged adapter applies the sum of its adapters' updates; updates that point in nearly orthogonal directions interfere little.Play it

Go deeper in Open Models & Ecosystem: failure stories, open questions, numbers.

Compute, Chips & Datacenters

4 concepts · the whole area
  1. GPUs & AI Chips: The accelerators models train and run on (Nvidia GPUs, TPUs, Trainium, custom ASICs).Builds on: Inference ServingTake away: Design takes about three months; the fab and the packaging line each take about three more, so a chip is used nine months after the idea.Play it
  2. Datacenters & Energy: The buildings, power and cooling behind AI, now measured in gigawatts.Builds on: GPUs & AI ChipsTake away: A site is land plus a power request, and the request waits in a grid study queue: 5 to 10 years to connect a large data center fully.Play it
  3. Compute Buildout: How much compute labs buy and how fast clusters grow.Builds on: GPUs & AI Chips, Datacenters & EnergyTake away: Capex is sized against demand a buyer can see; even $220 billion leaves demand unserved, and capacity is sold out years ahead.Play it
  4. Export Controls & Chip Geopolitics: Rules on who can buy advanced chips, and the race around them.Builds on: Open-Weight Models, AI RegulationTake away: A control written about a class of people reaches everyone when the service cannot tell who is in the class.Play it

Go deeper in Compute, Chips & Datacenters: failure stories, open questions, numbers.

Business, Funding & Products

5 concepts · the whole area

Bring from other areas: Token Economics & Pricing (3 of these build on it).

  1. Funding & Valuations: Who raised how much, at what valuation, and IPOs.Builds on: Token Economics & Pricing, Datacenters & EnergyTake away: A round is a pitch, a lead, a price and a wire; only the wired part buys anything.Play it
  2. AI Revenue & Adoption: Revenue run rates, usage numbers and enterprise adoption.Builds on: Token Economics & Pricing, Funding & ValuationsTake away: Revenue starts as tokens used; a heavy user can cost far more than a flat plan brings, so the bill has to follow the use.Play it
  3. AI & Jobs: How AI changes work, hiring and the labor market.Builds on: AI AgentsTake away: A job is a bundle of tasks and AI reaches them one at a time: the mailroom letter took five minutes by hand, and one occupation map puts 14% of EU jobs at higher automation potential and 47% at less immediate change.Play it
  4. Neolabs: New research labs funded to build frontier or specialized models (Thinking Machines, SSI, Reflection...).Builds on: Open-Weight Models, Funding & ValuationsTake away: A neolab is a lab funded to train its own model on little revenue, so what it carries is a bet on one task, not a product.Play it
  5. AI Consumer Products: Assistants, apps and devices people use directly (ChatGPT, Claude apps, AI browsers, devices).Builds on: Token Economics & Pricing, Voice AITake away: Route each turn by what is at stake: the first conversation and serious talk get the strongest model, light talk a smaller, faster and cheaper one.Play it

Go deeper in Business, Funding & Products: failure stories, open questions, numbers.

Policy, Society & AGI

5 concepts · the whole area

Bring from other areas: Open-Weight Models (2 of these build on it), Export Controls & Chip Geopolitics (2 of these build on it).

  1. AI Regulation: Laws and rules on AI (EU AI Act, US state bills, federal preemption).Builds on: Open-Weight Models, Export Controls & Chip Geopolitics, Frontier Safety FrameworksTake away: The elements the states converged on are a safety framework with public disclosure, incident reports and independent audits.Play it
  2. Copyright & Data Rights: Lawsuits and licensing over training data and outputs.Builds on: Training Data & Curation, AI RegulationTake away: Where a copy came from is the first question: one settlement of 1.5 billion dollars was for pirated copies, not for training on books a lab had bought.Play it
  3. AI Geopolitics: The US-China race, sovereign AI and national security.Builds on: Open-Weight Models, Export Controls & Chip Geopolitics, Chinese AI LabsTake away: One model is offered in tiers: a general one and a stronger one for named partners and allied governments, under eligibility conditions.Play it
  4. AI & Society: Mental health, companionship, education, misinformation and elections.Builds on: Evals, SycophancyTake away: A chat can look safe one message at a time and be unsafe as a whole; the need for care may show only over a long conversation.Play it
  5. AGI & Timelines: Debates on when AGI or superintelligence arrives and what happens after.Builds on: Benchmarks & Leaderboards, GPUs & AI Chips, Scaling Laws, Self-Play & Self-ImprovementTake away: A forecast is a measured trend carried to a date, so the yardstick and the axis decide what the date says.Play it

Go deeper in Policy, Society & AGI: failure stories, open questions, numbers.

Cite this page

by Ryan Han
APA
Han, R. (n.d.). How to learn AI: a roadmap through every concept. Frontier Foundry. https://www.ryanhan.ai/learn
BibTeX
@misc{han-learn,
  author       = {Han, Ryan},
  title        = {{How to learn AI: a roadmap through every concept}},
  howpublished = {Frontier Foundry},
  url          = {https://www.ryanhan.ai/learn}
}