Read the tape

Each column of holes is a letter in binary, a = 1 to z = 26, top hole highest. This one spells your tools change our books keep up. Every cover carries a tape that spells its title.

Why it matters

Tools change every week. Most material doesn't.

Here's one release, and what it does to a static tutorial compared with one of our books.

A tutorial or a printed book Written and checkedwith bm25s 0.3.16 bm25s 0.3.17 ships Stays as it was writtenits output drifts fromwhat you saw when you ran it A Rolling Edition book Written and checkedwith bm25s 0.3.16 bm25s 0.3.17 shipsits examples run again You read a new editionexamples that work with 0.3.17,along with a story that matches A Primer on Search Relevance, edition 2026.12.1
The same release, two outcomes. A Primer on Search Relevance ran 109 of its 141 examples, the ones the update could affect, again on bm25s 0.3.17 and released edition 2026.12.1 on Dec 1, 2026, with 141 of 141 passing. 2 sections changed: a library's version number.

How you learn

Learn by building, one section at a time.

Every section explains an idea and proves it with an example you can run.

A Primer on Search Relevance 11 chapters · 141 examples · edition 2026.12.1 Chapter 5 · Lexical retrieval 12 sections Section · Rebuild BM25 by hand to match bm25s 1. The idea Why a common word canlower a score, and howBM25 saturates repeatedterms 2. The example: bm25-by-hand def bm25(query):idf = math.log(1 + (n - df + …→ lucene idf of your: 0.671→ test ndcg@10 by hand: 0.725→ test ndcg@10 with bm25s: 0.725Python 3.12.15 · bm25s 0.3.17numpy 2.5.5 · pandas 3.1.1passing in this edition 3. Working rule Serve BM25 from alibrary such as bm25s,and keep a smallversion you wroteyourself to check it,because yours showswhere every part of ascore comes from.
Every example shows its code, its output and the library versions it ran on. This section is from A Primer on Search Relevance, edition 2026.12.1.

Build it in the Lab

Open any chapter as a notebook, where every example runs as the book ran it. Change the code, try your own ideas on the book's data, and keep your work. Nothing to install.

How the Lab works

With Labs

Put it to work

Each book follows one case from start to finish, so you can use what you learn on Monday.

Show it off

A certificate that stays current.

Pass every exercise in a book and you earn its certificate: the versions you earned it on can be confirmed by anyone.

  • Share one link, or add it to LinkedIn
  • Its own link shows anyone that it's real and still current
  • It never expires by date, only when the tools change, which requires you to complete a few exercises to renew it
Rolling Edition Current

Certificate of completion

Open Table Formats

Quiet Sprocket 41 passed all 41 exercises in its 10 chapters, in the book's own environment.

Earned on Edition 2026.11.19 · Python 3.12.15 · deltalake 1.6.6 · duckdb 2.0.0 · matplotlib 3.11.2 · pyarrow 26.0.1 · pyiceberg 0.12.0

Certificate IDB4TN-9QWX-H2MC
A sample certificate.

How we make them

Written with AI. Verified by people.

Agents write and keep the books current; people read, check and correct them; every change passes the same checks.

AGENTS WRITE Agents drafttext and examples A critic reviewsevery chapter Agents fixwhat it found THE SAME CHECKS, EVERY TIME The checksevery example runs, andthe writing is checked An edition shipsstamped with what passed People read and checkit, in the open PEOPLE VERIFY reportan error An agent reviews itand drafts the fix A pull requestpublic, on the book's repository or fix it themselves every fix goes through the same checks
Agents write, review and fix; every example runs and the writing is checked; people read, check and correct in the open. A fix from a reader or from an agent is a pull request either way, and ships only when the same checks pass.
12
books
245
editions released
919 of 919
examples passing, every book run since Nov 22, 2026
3 days
median from a library release to a new edition, against a target of 4 days

Securing LLM Applications and Agents

How an assistant with tools and data is turned against its users, and which defences measurably stop it: prompt injection, exfiltration, tool misuse and third-party code, on a property office's assistant.

Edition 2026.12.1 · Examples passed Dec 1, 2026 · 60 of 60 examples pass

Evaluating LLM Applications

Know whether an LLM application works, and whether a change made it better: test sets, checks, judges you can trust and statistics that hold up, on a documentation assistant for a small command-line tool.

Edition 2026.11.8 · Examples passed Nov 22, 2026 · 58 of 58 examples pass

Small Open Models

How to replace a hosted model with one you run for a single job, and when it is the wrong choice: measuring the task, choosing a base model, prompting, LoRA fine-tuning, distillation, quantization, CPU serving, versions and hand-offs to people, on a bank's support messages from BANKING77.

Edition 2026.11.18 · Examples passed Nov 30, 2026 · 42 of 42 examples pass

Who it's for

For anyone who builds with technical tools.

Learners

Read every book and run its code free, or skip the setup in the Lab.

Labs

Organizations

Editions written for your stack, kept current for onboarding and KTLO.

For teams

Free

Learn by doing, free.

Every book is free to read and use in your work: its text under CC BY-NC 4.0, its code under MIT, and its source open on GitHub. Run it on your own machine. Labs turns what you read into skills you can prove:

  • Work through any chapter in the Lab, with nothing to install
  • Listen to every chapter, save notes across editions, and send to your Kindle
  • A certificate for every book you finish, ready to show off, that anyone can check

Our mission

Keeping technical knowledge open, current and verifiable.

Free to read, forever.

Start Labs

The books stay free to read.

See pricing