Free, self-paced technical books explained from first principles, with worked solutions and checks of your reasoning. Read online or download a PDF.
Download
·
Report Bug
·
Browse 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, three 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.
| Requirement | Used for |
|---|---|
| Git | Clone the repository |
| Python 3.11+ | List, validate, and export courses |
| Pandoc and XeLaTeX | Build course PDFs (optional) |
| Node.js 24 and pnpm | Serve the website locally (optional) |
Clone the repository to read the sources locally or publish a course:
git clone https://github.com/urmzd/openlearn.git
cd openlearn| Start here | What to expect |
|---|---|
| Technology Foundations | Explore programming, mathematics, systems, data, AI, and other areas of technology at your own pace |
| AI Engineering | Learning foundations, model construction, training, inference, applications, evaluation, and responsible deployment |
| Course catalogue | Subject-specific study plans and other learning routes |
| Programming and Algorithms | Predict-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.
python3 scripts/course_catalog.py list
python3 scripts/course_catalog.py validate
python3 scripts/course_catalog.py export --course mathematics --zipRead 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:
./scripts/build-book.sh --course mathematicsThe 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:
cd apps/web
pnpm install --frozen-lockfile
OPENLEARN_COURSE=mathematics pnpm devOmit OPENLEARN_COURSE to serve the full catalogue.
| Setting | Purpose |
|---|---|
Course openlearn.json |
Reading order, shared lessons, and references |
OPENLEARN_COURSE |
Select one course for a website build or development server |
OPENLEARN_SITE_URL |
Set the public URL for an independent course deployment |
See course authoring and publication for manifest fields.
just course-lint # validate manifests and relative links
just run-practice-solutions # run every C and C++ reference solutionRebuild the website, then run teasr run --config teasr.toml to refresh the screenshots in showcase/.
- Course authoring and publication
- Web reader
- How to read these books
- Source register: attribution, resource access, and validation evidence
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.
