Order

A new popular science book

How machines think —
and how to make friends with them

No formulas and no “magic”: how AI learns from data, how a language model “guesses” the next word, why it sometimes makes things up, and how to spot it. It reads like a story, not a textbook.

Printed to order · in English, Ukrainian and Russian

  • 59short chapters in 8 parts
  • 13comics and dozens of diagrams
  • 8projects of the reader’s own
  • 150terms in the glossary

From the author

“If you can’t explain it to a six-year-old, you don’t understand it yourself.”

— a line often credited to Albert Einstein

To be honest, no one has found it in Einstein’s writings or letters. Checking who really said what is one of the skills this book teaches.

Explaining to a six-year-old how artificial intelligence works is genuinely hard: there are tokens, probabilities and billions of numbers. So I tried to explain it to a twelve-year-old instead — no formulas, just shells on a beach, a “guess the next word” game, comics and real conversations between Veronica and her dad.

And I wrote it so that parents and grandparents would enjoy it too: read together, argue, check — and be surprised that the “magic” actually makes sense.

Dmytro Olefirenko

The book

A story, not a textbook

Twelve-year-old Veronica is preparing a project for a school contest — a survey: “How much time do my classmates spend on their phones?” Her rival Max promises to do it all “in one evening” with AI alone. Halfway through the book Veronica slips up: a source that doesn’t exist sneaks into her draft — and she learns to check. In the end she takes second place, but she is the only one who can answer the jury’s unexpected question.

Beside her is her dad, an IT engineer, whom she catches out more than once. Together they travel from the mechanical automata of the 18th century to today’s AI agents, and then learn to work with Claude: writing strong prompts, checking answers, protecting personal data, and using AI as a tutor rather than a way to cheat.

What readers get

  • Understanding, not tricks

    How a machine learns from examples, what a neural network is, why a chatbot “guesses the next word,” and where hallucinations come from — through games and everyday examples.

  • The habit of checking

    How to catch invented facts, check sources and numbers, and not trust a “confident tone” — a skill that matters far beyond AI.

  • Practice from the first chapters

    Ready-made “Try it in Claude” prompts (all work on the free plan), “Without a computer” games, and 8 projects in the appendix.

  • Protection from scammers

    A cloned voice saying “Mom, I’m in trouble,” fake payment pages, stolen accounts, deepfakes — and a simple family code-word rule.

  • Honest learning

    How to turn AI into a tutor, not a cheating machine: academic integrity and the “would I be ashamed?” test.

  • A look at the future

    Which jobs will change, which skills AI won’t replace, and where to start learning at 12–17.

Recurring features in every chapter

  • Try it in Claude
  • Without a computer
  • Myth or fact?
  • True story
  • Under the hood
  • Did you know?
  • In brief
  • Check yourself

Who it’s for

  • Teens aged 12–17

    Students who already use AI or soon will. The chapters are short, and each has a scene, a game or a comic.

  • Parents and grandparents

    The book was written for adults too. The Introduction has a “How to read together” section: a chapter an evening with roles, games instead of reading.

  • Teachers

    The “Practice” appendix has projects and lessons with Claude. Its materials may be copied freely for lessons and clubs — non-commercially, crediting the book.

Look inside

Comics and diagrams from the book

Every illustration was made for the book. Tap a picture to see it larger.

The Turing Test at RecessChapter 3
The Secret of “The Turk”Chapter 7
How a Neural Network Sees a CatChapter 22
How a model picks the next wordChapter 24
The map of meanings: similar things sit closeChapter 25
The Article That Doesn’t ExistChapter 28
Answer Machine or Tutor?Chapter 43

Contents

59 chapters in 8 parts

First, how machines learn; then hands-on practice with Claude, ethics and the future. Pick a part:

The book’s route: eight parts from “What AI is” to “The future” and your own project

Part 1

What AI Is and Where It Already Is

From a morning full of “invisible AI” to a first conversation with Claude and data centers.

  1. 1The AI You Don’t Notice
  2. 2What Is “Intelligence,” Anyway?
  3. 3The Turing Test and the Chinese Room
  4. 4Weak and Strong AI
  5. 5First Conversation with Claude
  6. 6The Cloud: Where AI Really Lives

Plus: the Introduction “How to Read This Book,” “About the Author,” and appendices — a 150-term glossary, answers to “Check yourself,” practice (projects and lessons with Claude) and what to read and watch.

Excerpt · Part 3 · Chapter 16

Tell Me Who Your Neighbors Are

Almost a whole chapter — with a live “sandbox” in place of the drawing in the sand.

“Dad, look! Is this a mussel or a whelk? It’s half buried in the sand, and I can’t tell.”

“Then let’s ask its neighbors.”

“Shells have neighbors?”

“Everything has neighbors, if you draw it the right way.”

Dad took a stick and drew two axes in the wet sand. As always, there was a tape measure in his backpack.

“Measure everything we collected today: length and width. I’ll do the drawing.”

Shells in the Sand

Half an hour later, a picture appeared in the sand, very much like the one you saw in Chapter 15. Across — the length of the shell; up — its width. Each shell is one dot. Dad marked the mussels with little circles and the rapa whelks with crosses.

And once again, the dots aren’t scattered at random. The mussels — long and narrow — gathered at the bottom right. The whelks — wider — at the top left. Two camps, each in its own corner.

The numbers we use to describe an object (here, length and width) are called features. And the name “mussel” or “whelk” is a label, or a class. The task of putting a new object into one of the classes — “mussel or whelk,” “spam or not,” “cat or dog” — is called classification.

kNN sandboxDrag the “?” shell — and watch the neighbors vote.
How many neighbors to ask:

    The six shells are the same as in the program from “Under the hood.” Try k = 5: the answer changes.

    Now for the new shell. Veronica measures it — and a question mark appears in the sand. What next? Dad draws a circle around it so that it takes in the three nearest dots. Two of them are mussels, one is a whelk. A vote: two against one. So it’s most likely a mussel.

    That’s the whole method. It’s called k-nearest neighbors (kNN): find the k most similar familiar examples and see which class there are more of. Here k = 3.

    How Many Neighbors Should You Ask?

    We choose the number k ourselves, and a lot depends on it. If k = 1, a single nearest neighbor decides everything. But what if that one was a mistake: a whelk measured wrong, or put in the wrong camp? Then the answer will be wrong too.

    If k is too big — say, all forty shells — the whole beach gets a vote, and whichever class simply has more members wins. So k is chosen somewhere in the middle. And when there are two classes, people pick an odd k, so the votes can’t split evenly.

    “Dad, does this method take long to learn?”

    “It doesn’t learn at all. It just remembers all the shells. And it only thinks when you bring a new one.”

    That’s true. In Chapter 15, we “squeezed” all the dots into a single line and then used only the line. kNN doesn’t squeeze anything: it keeps all the examples in memory and compares each new one with every one of them. For forty shells, that’s nothing; for a billion photos, it’s very slow.

    The method was described in 1951 by the American statisticians Evelyn Fix and Joseph Hodges — in a report for the U.S. Air Force School of Aviation Medicine. Today it’s one of the very first things almost everyone learns when they start machine learning.

    “So it’s a mussel,” said Veronica, and finally pulled the shell out of the sand. It was long, narrow, and dark.

    “The neighbors didn’t lie,” Dad smiled.

    “This time. Because I measured them carefully.”

    End of Chapter 16. Another 58 are in the book. Order the book →

    One more game from the book · Chapter 24

    Guess the next word

    A language model doesn’t pick one word — it places bets on all of them. Then it rolls the dice and adds one. Turn the “temperature” and roll a few times.

    I drink my tea with …

      Rolled so far:

      The numbers are made up for the example — the idea is the same.

      For parents

      What adults usually worry about

      Are children even allowed to use Claude?

      A personal Claude account is for ages 18 and up — those are Anthropic’s rules. The book says so plainly and suggests working from an adult’s account, side by side. So practice becomes a reason to sit together. No paid subscription is needed.

      Won’t my child start cheating with AI?

      Quite the opposite: a whole chapter teaches how to turn AI into a tutor that asks questions instead of handing over answers. The plot itself is built on the idea that “doing it all in one evening with AI” is a losing strategy.

      My child doesn’t read books at all

      The chapters are short, and each has a scene, a game or a comic. For those who don’t like long texts, the Introduction offers a short route of 14 chapters that can be read on their own. The comics can simply be flipped through.

      I don’t understand any of this myself

      The book was written for adults too. The Introduction has a “How to read together” section: a chapter an evening with roles, games instead of reading, questions for each other.

      Why is all the practice in Claude?

      So that a child learns on one tool instead of jumping between ten. Other services (ChatGPT, Gemini, Copilot and others) are reviewed honestly in a separate part. The book is independent and is not an Anthropic publication.

      AI changes every month. Won’t the book go out of date?

      Most of the book is about how AI works and about habits of thinking; that doesn’t age. Services are described as of fall 2026, and the facts and figures have been checked.

      About the author

      Dmytro Olefirenko

      IT engineer, independent consultant

      Certifications

      • AWS — Amazon’s cloud services
      • CKA — Certified Kubernetes Administrator
      • Claude Certified Associate — Foundations
      • Claude Certified Developer — Foundations

      Hi! My name is Dmytro Olefirenko, and I’m an IT engineer. My job is to make sure that the sites and apps thousands of people use every day keep working and don’t “crash.”

      I started as a programmer, building sites in PHP. Then I was responsible for making sure new versions of programs came out on time and without nasty surprises. Eventually I moved to where I work now: building the “invisible kitchen” that large services run on. Today I am an independent consultant and work with companies from different countries.

      I use AI every day — and very actively. For me Claude is like a programmer partner who never gets tired. But there is one rule I never break: I read and check code written by AI as carefully as my own.

      The wheel never decided where to go. That was always decided by the person. It’s the same with AI.

      Ordering

      The book is printed to order

      Choose the edition’s language and send me an email: how many copies and where to ship them. I’ll reply with the price.

      • ENEnglishadapted translation for international readers
      • UAУкраїнськаthe original
      • RUРусскийedition for the Moldovan market

      What it’s like in your hands

      • just over 300 pages
      • large format, 205 × 290 mm
      • full-color diagrams and comics
      • about 1 kg — a proper book, not an e-book 🙂
      📦 Shipping via Nova PoshtaShipped via Nova Poshta to different countries.
      ✉️ Price on requestIt depends on the language, the number of copies and the destination country.
      ARTIFICIAL INTELLIGENCE
      AI WithoutMagic
      How Machines Think and How to Make Friends with Them
      Dmytro Olefirenkofor everyone aged 12 and up
      Send an email