Free lesson · Module: Agent Foundations

What Is an LLM

The model continues text

Your phone keyboard suggests the next word. A large language model (LLM) does the same, only far better. You type “The capital of France is” and it adds “Paris.” It writes in pieces called tokens: predict one, add it, reread, predict the next. No finished answer sits inside. It is built token by token.

A token is a piece of text

A token is a short word, a piece of a long word, or a punctuation mark. “Agent” is one token. “Unbelievable” may be cut into three: “un,” “believ,” “able.” A thousand tokens is about 750 English words. Why care: prices and length limits are counted in tokens.

More on Way of the Agent

Still in this lesson: 4 more cards, a quiz of 5 questions, XP and stars - in the course.

Continue the lesson on the Path