Basics

Understand AI in 10 minutes

No formulas, no jargon. Scroll through the inner workings of a language model – then read the articles that go deeper.

From prompt to answer

How a language model finds the next word

The cat is sleeping on the ▍

1 · It all starts with text

You type a sentence. To the model, that's just a string of characters at first – it knows neither words nor meaning. Its one and only job: predict the next piece of text.

2 · Text becomes tokens

A tokenizer chops the text into building blocks. Common words stay whole, rare ones are split into pieces – “sleeping” becomes “sleep” + “ing”. Each token gets a number from a vocabulary of roughly 50,000 to 200,000 entries.

3 · Tokens become vectors

Every number is translated into a long vector of numbers – an embedding. Similar meanings end up close together: “cat” sits nearer to “dog” than to “tax return”. On top of that comes information about where in the sequence the token is.

4 · Words look at each other

Now for the transformer's trick: self-attention. Every token asks all the tokens before it: “Which of you matters to me?” The last word “the” mostly looks at “cat” and “sleep” – because that's what the next word depends on.

5 · And all of it many times over

Attention plus a small neural network (MLP) make up a transformer block. Modern models stack dozens of them. With every layer the vectors get more abstract: first grammar, then meaning, then relationships.

6 · In the end: probabilities

From the last vector the model computes a probability for every token in its vocabulary. “sofa” 29 %, “bed” 24 %, “roof” 12 % … The temperature decides how boldly it picks.

7 · One token at a time

The chosen token is appended – and everything starts again. That's how every answer from ChatGPT, Claude or Gemini comes about: token by token. Sounds simple. It is. The magic lives in billions of learned weights.

New: understanding agents

When AI doesn't just answer, but works

Orchestrator, sub-agents, skills, MCP servers and a knowledge graph as memory: watch an agent at work – and see what ends up in the model's context along the way.

🧪Interaktive Demo · Interactive demo: agent-flow

Hands-on

Play with the temperature

How “creative” a language model's answer is comes down to a single dial. Slide it back and forth and watch the probabilities shift.

🧪Interaktive Demo · Interactive demo: softmax