AI Search Optimization & Agentic SEO
- Knowledge Graphs and Infrastructure for Intelligent Agents
- How Systems Narrow Choices
- Language Model Visibility Fundamentals
NEW: AI Search Optimisation and Agentic SEO Course by Beatrice Gamba -> Immediate start, on-demand learning for how to optimise for discovery in agentic search ✨ ✨
Generative AI & LLMs
In shortThe maximum amount of text, measured in tokens, that a language model can consider at once, including the prompt, retrieved content and its answer.
A context window is the working memory of a large language model: all the text it can take into account when producing a response. It includes the system instructions, the user’s prompt, any documents retrieved for the answer, the conversation so far, and the response itself. Its size is measured in tokens, not words.
Text is split into tokens before it reaches the model; in English, a token is roughly four characters or three quarters of a word. Each model has a maximum context length, which has grown from a few thousand tokens in early models to hundreds of thousands or more in current ones. When content exceeds what fits, something has to give: the application may truncate it, summarise it, drop it, or retrieve only selected chunks.
Bigger is not automatically better. Research such as “Lost in the Middle” found that models use information at the start and end of long contexts more reliably than information in the middle, and Anthropic’s documentation notes that accuracy and recall can degrade as token count grows.
The course describes an agent asked to find a waterproof hiking jacket under a set price. It fetches a retailer’s page, strips the HTML and counts about 193,000 tokens against a 200,000-token window. With the user’s question and other sources added, it does not fit, so the content is cut and the agent answers from other sources or guesses. A lean version of the same page with clear product data fits easily.