Maths, CS & AI Compendium
A free online textbook that explains maths, computing and AI from the ground up, intuition first.
- Your data
- Stays on your device
- Coding needed
- No
- Cost
- Free
- Runs on
- Web browser
- Computer
- An ordinary computer is fine
A free online textbook that explains maths, computing and AI from the ground up, intuition first.
This is an open textbook covering the maths, computer science and AI ideas behind modern machine learning. Its author says it puts intuition and real-world context ahead of dense notation.
Chapters run from vectors, matrices, calculus, statistics and probability through machine learning, language, vision, audio, multimodal AI, robotics, graph networks, operating systems, algorithms and production software engineering.
You can read it online. It also includes an MCP server, a connector that lets AI assistants like Claude Code or Cursor use the book as a reference.
Self-learners, students and engineers who want a deeper understanding of the ideas behind AI.
Yes. You can read it in any web browser; the AI connector is optional and needs a copy of the repository. New to this? Start here.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?