Skip to content

Overview

CI   License

The Openlearn library page with a book search field and a list of free technical books

  • First principles, made concrete: chapters derive an idea from its assumptions, work a small example by hand, then connect the reasoning to a complete solution.
  • Book library: six primary books, two field guides, and two reading paths. AI model building, applications, evaluation, and responsible deployment share one AI Engineering book.
  • Build Your Own LLM System: follow a complete LLM platform (tokenizers, attention, KV caches, kernels, inference, serving, and operations) through annotated reference solutions in course/solutions/.
  • Check your understanding: predict a result before revealing it, explain why it follows, and use review questions to find gaps in your reasoning.
  • Test and validate: check reference code against its assumptions, invariants, boundary cases, and failure scenarios to decide whether it meets the requirement.
  • Worked problem sets: mathematics problem sets show every answer with its derivation and the common wrong answers.
  • Read anywhere: use the mobile book reader with full-text search, inline code and equations, or download a published PDF for offline reading.
  • Publish from one source: use a course manifest to select the same Markdown lessons for its website, PDF, and downloadable pack.

Read the website without installing anything, or download PDFs and source packs from releases.

RequirementUsed for
GitClone the repository
Python 3.11+List, validate, and export courses
Pandoc and XeLaTeXBuild course PDFs (optional)
Node.js 24 and pnpmServe the website locally (optional)

Clone the repository to read the sources locally or publish a course:

Terminal window
git clone https://github.com/urmzd/openlearn.git
cd openlearn
Start hereWhat to expect
Technology FoundationsExplore programming, mathematics, systems, data, AI, and other areas of technology at your own pace
AI EngineeringLearning foundations, model construction, training, inference, applications, evaluation, and responsible deployment
Course catalogueSubject-specific study plans and other learning routes
Programming and AlgorithmsPredict-the-output puzzles and data-structure implementations, each with a worked answer

Predict each step before reading it, explain the result in your own words, then find a test or counterexample that could challenge your explanation. Nothing is graded, and reaching the end of a page is not evidence of mastery. See How to read these books for the full reading method.

Terminal window
python3 scripts/course_catalog.py list
python3 scripts/course_catalog.py validate
python3 scripts/course_catalog.py export --course mathematics --zip

Read the Markdown sources in outputs/packs/mathematics/ or share outputs/packs/openlearn-mathematics.zip. For a typeset offline edition, download or build a PDF. Export refuses to overwrite an existing destination. Pass --output with a fresh directory for another export.

Install Pandoc, XeLaTeX, and Bash 4.3 or newer, then run:

Terminal window
./scripts/build-book.sh --course mathematics

The result is outputs/openlearn-mathematics.pdf. See course publication for the publishing workflow and the build script for rendering options and recommended diagram tools.

Install Node.js 24 and pnpm 11.6, then run:

Terminal window
cd apps/web
pnpm install --frozen-lockfile
OPENLEARN_COURSE=mathematics pnpm dev

Omit OPENLEARN_COURSE to serve the full catalogue.

SettingPurpose
Course openlearn.jsonReading order, shared lessons, and references
OPENLEARN_COURSESelect one course for a website build or development server
OPENLEARN_SITE_URLSet the public URL for an independent course deployment

See course authoring and publication for manifest fields.

Terminal window
just course-lint # validate manifests and relative links
just run-practice-solutions # run every C and C++ reference solution

Rebuild the website, then run teasr run --config teasr.toml to refresh the screenshots in showcase/.

This repo’s conventions are available as portable agent skills in skills/.

Apache License 2.0. Linked resources and individual assets retain their stated licenses and access terms.