# How AI Works > Short interactive lessons that explain AI ideas by letting you try them. Free, no account needed. Each page answers one question about AI with a short definition, an interactive lesson that runs in the browser, a written explainer and common questions. Content may be quoted with a link to the page. ## Lessons - [How does AI work?](https://howaiworks.app/how-does-ai-work/): A chat AI works by predicting what text comes next. It learned patterns from a very large amount of writing, and it builds each answer one small piece at a time, choosing pieces that are likely to follow everything written so far. - [What is a token?](https://howaiworks.app/what-is-a-token/): A token is one of the pieces an AI system cuts text into before working with it. A token can be a whole word, part of a word, a punctuation mark or a single character, and each one stands for a number. - [What is a context window?](https://howaiworks.app/what-is-a-context-window/): A context window is the maximum amount of text an AI system can take in at one time, counted in tokens. It holds the conversation so far, any attached files and the app's own instructions. Text that does not fit is not seen by the AI. - [What is an AI agent?](https://howaiworks.app/what-is-an-ai-agent/): An AI agent is an AI system that is given a goal and a set of tools, and then decides for itself which steps to take, using the result of each step to choose the next, until the job is done. ## More - [Full text of definitions and common questions](https://howaiworks.app/llms-full.txt) - [Privacy](https://howaiworks.app/privacy)