Issue 13 · Nov 2–8, 2026Editions · Glossary · Archive · Method · RSS · HU / ENG

News of the AI era, curated weekly

Glossary › Basics

in-context learning (ICL)

advancedwidespread

A language model infers a new task on the fly from examples and instructions entered into the conversation, without retraining.

In plain terms

Imagine a new colleague arrives at the office, and you do not send them to a course, but simply show them three completed forms: "this is how we do it". The fourth one they fill out the same way on their own. In-context learning is the same for language models: from the examples and descriptions in your request, the model infers what you expect from it.

It is useful because it requires no programmer, expensive computer, or weeks of training. It is enough to formulate the task clearly and attach some examples or necessary background material. In this way, the same general model adapts to your style, your table, or your rules within minutes.

It differs from traditional training in that the model's "brain" does not change at all during the process. What it understood from the examples is valid only for that specific conversation: in the next, empty conversation, it will not remember unless provided again.

How it works

  1. The model acquired general pattern recognition capabilities during its training on vast amounts of prior text; this knowledge is fixed.
  2. You include the task description, a few examples, or the document to be used in your request (the prompt); together, these form the context.
  3. When generating a response, the model considers the entire context at once and recognizes patterns within it: what output corresponds to what input, in what tone and format.
  4. It continues this pattern for the new case, meaning it responds as if it had learned the task, even though its internal settings (weights) have not changed.
  5. When the conversation ends or the context clears, the 'learned' pattern disappears; you must provide it again the next time.

An everyday example

You enter three previous customer email replies into a chatbot, then ask it to respond to a fourth complaint in the same style. The reply matches your salutation, length, and tone, even though the model was never trained on your company's correspondence.

Who is affected

everyoneIf you give the chatbot an example or pattern, you often get a more accurate answer that better fits your needs.
employeeFor repetitive tasks (emails, summaries, sorting tables), a few custom examples can ensure the output follows your company's standard format. → Work & HR
developerMany tasks can be solved well with carefully assembled context, without expensive fine-tuning. Agents also receive the rules and tool descriptions for their current tasks this way. → Code
entrepreneur, executiveYou can test affordably and quickly what AI is good for in your company before investing in custom model development.

A common misconception

MythWhat I teach the model in conversation, it remembers permanently, and next time it will know it for others too.
In realityThe model itself does not change; the effect of examples applies only to the given context. If a service still remembers you, there are two possible reasons. One is a separate memory function that saves notes about you and automatically writes them back into the context for the next conversation. The other is that the provider uses the conversations later to retrain the model.

Limits and risks

Similar, but not the same

Related concepts

Broader

machine learning, large language model, generative AI

Narrower

few-shot learning, zero-shot learning, one-shot learning

On the edge

prompt, context window, fine-tuning, context engineering, retrieval-augmented generation

A brief history

Even GPT-2 (2019) showed that a language model can solve tasks without separate training, purely based on the request. The phenomenon came into focus in 2020, when OpenAI researchers, in their study on the GPT-3 model, demonstrated that a sufficiently large language model can solve new tasks from just a few examples included in the request. This study widely popularized the term "in-context learning." Since then, researchers have been investigating exactly what happens inside the model during this process.

Where things stand

As of late 2026, this is a basic capability of every large language model, and everyday prompt writing, document-augmented answering and the operation of agents are built on it. Context windows have grown significantly, so entire manuals or codebases can now be provided as 'examples'.

Status: 2026 November

In the news

Appears in 1 Agent Age stories; the curve shows weekly occurrence in the news magazine.

Also known as

in-context learning · in-context learning · in-context learning · ICL

Sources

This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.