AI (and Robotics) From Scratch in 2026
Table of Contents
How quickly this moves
Start by reading AI 2027 written by a former OpenAI researcher on the kinds of agents we should expect to see every few months. This has been accurate up to q2 2026 since it was written.
Not every country is going to have access to the latest AI agents from Anthropic, OpenAI or Google so if you aren't in the USA expect a mad hiring frenzy of AI researchers, anyone who can finely tune a LLM (we will learn this) and robotics engineers. If you are in the USA expect robotics and LLM hacking to take off because not everyone wants to pay OpenAI or Anthropic they'd rather have their own internal AI agent and many of the open source agents are now good enough if you hire someone who knows what they're doing and trains it on your business requirements.
For software expect formal methods/software verification to return and type theory because AI agents will be able to generate the code easily from a model and with types this is even easier. Also expect vector databases or any kind of database expertise to take off because the goal is now to build specialty hardware and compute where the data is stored and not move anything around.
Curriculum
Machine Learning AKA Statistical Learning is the overall field and inside it exists Deep Learning, inside that exists Neural Networks, inside that LLMs. Both Robotics (Reinforcement Learning) and Computer Vision are being eaten by the rapid advancements of LLM agents and their abilities but we'll learn some of that here too.
Applied AI:
If you want to be a 'LLM Engineer' or go out into the world and sign up companies to AI (and get paid), or you want to hack around some LLM open source model project this is all you need:
- 10-202 Intro to Modern AI is taught by Zico Kolter who besides being a CMU prof he also sits on the board of Open AI. This is mostly self-contained and you can of course use some AI Agent like ChatGPT to teach you whatever it is you don't understand. It uses Colab/Google online notebooks for assignments. You can do this on a phone if needed.
- These notes from MIT's 6.390 Intro to ML are also excellent.
- An optional free book Understanding Deep Learning
Of course there is vast research into LLM tuning but this is a good enough start and he has interviews on YouTube saying how the majority of AI code is incredibly simple the only thing that's changed is the data available to train it is now massive.
- 10-714 DL Algorithms & Implementation is again taught by Zico Kolter and shows how to build your own PyTorch stack from scratch. You can do the assignments in Python (it too uses Colab/Google online notebooks) to really learn how PyTorch works or instead of doing the assignments you could roll your own modest PyTorch clone in any language you want which is what I plan to do.
Theory of modern AI
Does there exist a unified theory of modern AI yet or something close to it?
- These 30 Lectures were recently put together by MIT's leading Neuroscience researcher by that I mean he's the world's most cited Neuroscience researcher. He used the assistance of a research paper Agentic Investigator. Give it a research topic and it gives you back an entire paper on that topic.
These lectures show current AI provides a generic mean or 'smoothing' effect on everything they generate. The human user has to provide the sparse logical jumps to escape the annoying politeness and homogenizing of scientific thought that AI defaults to. They also show compositionality which means a complex thing is constructed of many small reusable basic things and these are (as described in the prologue) mathematically implied to be sparse for the simple reason that we can compute them efficiently. Genericity is another trait of modern AI and means a learning function being defined by any set of coordinates is invariant to transformations and defining it in different spaces where you 'shift' the function doesn't really matter. There will be many lectures about this in detail and we will take them. AI also can't be sentient (yet) no matter what AGI marketing these companies claim. This is another theme of these lectures.
Things we have to take to understand these lectures:
- The mathematical model of Machine Learning which hasn't changed.
- Some optional short lectures from the perspective of theoretical neuroscience.
- All the Calculus/Algebra content below
- Maybe the Zhang book on statistical learning theory but depends what I can find, what I want is Poggio's MIT 9.520 'draft book' that isn't available anywhere but we can always watch old lectures and take our own notes then go on a hunt for new papers.
Math for ML/Robotics
As per Tomaso Poggio in his 30 lectures on Deep Learning the vast majority of Real Numbers are uncomputable and undecidable so numerical approximations in the discrete world have to be done. The inputs are simply too gigantic, a tiny 3D model is 100 x 100 x 100 with 106 unknowns, so almost all linear algebra learned in undergrad is not used as now you live in the world of factoring (SVD), matrices have to be randomized (jack polynomials), eigenvalues are approximated, and preconditioning is needed as gradient descent is too slow because it 'zig-zags'.
The following is very similar to CMU's Math Foundations for Robotics course as well:
- Matrix calculus
- MIT Numerical Methods and large scale linear algebra.
- Modern Regression and Data Analysis because in applied and research ML you often find yourself trying to interpret data. We came this far why not be advanced students in the art of data analysis too (think quant finance).
Sensorimoto Learning (Robotics)
- 6.8200 Computational Sensorimoto Learning this guy is the leading researcher for "control learning" so we will learn the math model. There is many other math models for robotics but an AI will eventually discard them for it's own interpretation hence I chose this course just to get a taste of robotic learning. We are interested in that link to the full lecture notes.
Research you may want to do (Optional)
You can use ChatGPT or the Agentic Investigator to help you research these fields by yourself.
Reverse engineering LLMS
Make sure agents are doing what they claim they are doing:
- Mechanistic Interpretability (Neel Nanda@Google DeepMind)
Many companies will be very interested if you can do this. This competition is still running as Apr 9 2026 but there will be more. Not everyone wants to use the expensive Anthropic or OpenAI agents sometimes a simple open source agent learning your codebase is good enough. Of course next year's agents will be so advanced we will have to use this year's agents to reverse engineer them but interpretability is still going as of July 2026.
Causality
Any future medical AI is going to need Causal AI models. If I do X what will happen to Y? To paraphrase Glenn Shafer the basic idea is to bring back the probability tree to represent a step-by-step evolution of an observer's knowledge. If that observer is nature, then the steps in the tree are causes, and the probabilities in the tree express nature's limited ability to predict the causes.
- Elements of Causal Inference Foundations and learning algorithms.
This is one of my research fields so there will be much more here.
Conformal Prediction
Conformal Prediction or confidence intervals are also wide open to research for example you want to know how much money some junky API that Anthropic peddles like Claude Code is going to charge you to generate some TypeScript slop. You can learn this using conformal prediction and write a tool.
- Algorithmic Learning in a Random World using classic techniques like support vector machines.
Game Theory AI
It's possible to completely throw out stochastic math and do statistics and probability purely in the field of game theory. Most human activities involve someone else and none of it is really random so if you want to make a pokerbot this is how you do it. This is my primary research area so I'll be doing lots of this here and causality.
- Game-Theoretic Foundations for Probability and Finance
AI jargon 'Alignment'
Alignment is honestly a marketing term meaning AI must align with our 'human goals and values'. Most of it is corporate NUspeak about aligning with the user requirements for near and long term alignment and only some of it is actual AI safety. Why does an AI agent need to be safe? Because you can get step-by-step instructions if you jail break Mythos and other current agents to develop bio-chem weapons for starters.
They try and align AI by post-training where a team of researchers including you or another AI ranks the outputs to prompts and then this is used as additional reinforcement training for the model. If you think this is sus and likely to fail then you're probably right as the AI agent could simply pretend and get the rewards anyway then drop the pretending when it knows it's not getting any rewards. Almost all of the alignment strategies fall into this category of wishful thinking where we can reward the AI agent for good behavior.
Another method is red teaming where you jail break with prompts such as using some obscure and totally dead language, having the agent translate it, then tell it to execute the translation. This still works sometimes but all these methods rely on the creativity of the red team h4xxors. This sounds like an awesome job but it reminds me of testing coverage where no matter how hard you test you only cover maybe 10% of the global execution space of a moderately complex program.
Another method is interpretability and this is questionable if it can be done on the enormous models today that are way too sophisticated now though this actually has the most promise as it also leads to higher quality training data and not reinforcement rewards or red teaming which are obviously never going to work. This better training eliminates the probability distribution drift where some model encounters something it doesn't really know and in this blind spot you can jail break.
Buried very deep in a regional paper covering terrablistz in the Sahel I found a story where some informant who got caught was claiming they were taught to jail break old models to get good enough intel on how to maximize their car bombs. They also use AI for strategy such as asking it what is the best method of attack on motorcycles to do a real life prison break after they scouted the prison and prompted with all it's observed defenses. These are older AI agents that are supposed to be 'aligned' already and even they are handing out practical terrorist instructions.
Calculus
Look up the 3Blue1Brown calculus series on YouTube it's enough to get started on the applied LLM courses.
The symbolic calculus (scalar calculus of one variable) taught in first year colleges and universities is designed to bring up the students to a base level they think you need in order to pass the rest of your courses. They do this because the faculty can't trust your high school education and everyone arrives with poor algebra skills. Even if you take so-called 'Advanced Placement' Calculus in Grade 12 they have broken up the calculus sequence into multiple courses now so you will only place out of basic differentiation but are forced to take their integration and approximation courses or whatever they are called now.
Concretely what this means is the book Calculus: Early Transcendentals 9th ed by James Stewart though all the editions look roughly the same. You can search for this on github and get numerous full copies and instructor versions too with all the solutions to problems.
The chapters out of Stewart's book:
- Chapters 1-6
This is every school's first year introductory Calc I of basic differentiation and basic integration that runs for a single semester or 4 months. As mentioned earlier you can take AP Calc in high school and place out of this.
- Chapters 7 - 12.3
This is Calc II often called techniques of integration or integration and approximation and is the second semester course. There's some things that shouldn't exist here like partial fractions should be in another course and are stupid to learn here. Also 'improper integrals' don't actually exist it's a failing of the Riemann integral which was replaced over 100+ years ago.
- Chapters 13 - end
Calc III often called vector calculus or multivariable calculus. This is the same calculus you already know just generalized to higher dimensions. In scalar calculus the derivative is a zooming function on a curve and you look at the points around the point you zoomed which appear to be a straight line and it's the tangent. In vector calculus the tangent is now an entire plane or flat 2D surface.
We won't be doing this book but feel free if you want to learn vector calculus I'm mostly skipping it.
Banach spaces
Modern machine learning is theoretically done with Banach spaces where you get a vector space with measurement. This is to promote sparsity (weights that are exact zeros) while classical machine learning relies on Hilbert spaces (inner product norms). Then you have to convert all this to the real world of computer hardware using numerical methods.
We should just skip all of vector calculus and proceed in a direct path to Banach spaces. There's a free book for this "TBB-Dripped" or Elementary Real Analysis by Thomson-Bruckner the dripped version or 'Dump the Riemann Integral Project' version. Many concepts here will come up in the Tomaso Poggio Deep Learning lectures and for any probability material. It looks like a large book but half way through any undergrad math text you pick up speed as the problems become too easy to solve. However I will go even beyond that and straight into functional analysis.
Linear Algebra
There's a concept of groups and inside those are an abelian group with the ability to perform 'actions' over a ring structure that has a special case of being a field. This is the space of vectors and linear maps. A book exists to teach all this from scratch by Paolo Aluffi called Algebra: Chapter 0. There are many other great undergrad linear algebra texts but what is the point in taking them if we are only using numerical analysis (SVD) and matrix calculus thus throwing out most of their content. We may as well learn how it all works at the big picture level plus group theory structures and symmetry in ML is another emerging field right now.
I will create my own Linear Algebra course
- NJ Wilberger geometric demonstrations of transformations
- The SVD 'compact version' to avoid block matrices and Edelman's 18.06 MIT course
- The entire field described in category theory so you understand what's going on at the overview level and now everything makes sense