Analysis updated 2026-07-03
Study machine learning and AI from first principles using this intuition-first, 20-chapter textbook that requires only basic Python and elementary math to start.
Prepare for research roles at AI labs by working through chapters on NLP, computer vision, GPU programming, and ML systems design.
Connect the included MCP server to Claude Code or Cursor to query the compendium's content directly while coding.
| henryndubuaku/maths-cs-ai-compendium | zerebos/ghostty-config | bknd-io/bknd | |
|---|---|---|---|
| Stars | 3,719 | 3,717 | 3,723 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | easy | easy | moderate |
| Complexity | 2/5 | 1/5 | 3/5 |
| Audience | researcher | developer | vibe coder |
Figures from each repo's GitHub metadata at analysis time.
The MCP server feature requires a local clone of the repository.
This repository is a free, open textbook covering mathematics, computer science, and artificial intelligence from the ground up. The author created it from years of personal notes built while working in AI and machine learning, prioritizing intuition and real-world context over dense notation. Friends used earlier versions of these notes to prepare for research roles at organizations like DeepMind and OpenAI. The book is available to read online and is hosted on GitHub Pages. The compendium spans 20 chapters. The first chapters cover mathematical foundations: vectors, matrices, calculus, statistics, and probability. Later chapters move into machine learning, then into specialized areas including natural language processing, computer vision, audio and speech processing, multimodal learning, autonomous systems, and graph neural networks. The final chapters cover software engineering for production, GPU programming, AI inference optimization, and machine learning systems design. Two chapters on applied AI in healthcare and finance, plus one on emerging topics like quantum machine learning, are listed as coming soon. The intended reader is someone who wants to genuinely understand the material rather than memorize it for an exam. The author states you need only elementary mathematics and basic Python to start, and the book builds everything else from there. The foreword outlines a study approach in phases: reading after each session, reviewing notes, then testing recall without notes before moving on. The repository also includes an MCP server, which is a local knowledge-base connector that lets AI coding assistants like Claude Code or Cursor query the compendium's content directly while working. This requires a local clone of the repository. The project is open-source and accepts contributions. All content is readable in the GitHub repository or through the hosted online version.
A free open textbook covering mathematics, computer science, and AI from the ground up, built from personal AI research notes. Spans 20 chapters from vectors to GPU programming, plus a local MCP server for querying the content inside AI coding tools.
Mainly TypeScript. The stack also includes TypeScript, Python.
Open-source and free to read, use, and contribute to.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.