In-context learning is an AI capability where models learn to perform tasks from examples provided in the prompt, without any weight updates or fine-tuning. The model extracts patterns from examples you provide and applies them to new inputs within the same conversation.
In-context learning is why AI can adapt to your specific needs without training a custom model. It's the mechanism behind few-shot prompting's effectiveness.
All of this happens within a single prompt — no model updates occur.
Traditional machine learning requires:
In-context learning requires:
In-context learning is powerful but not unlimited:
For persistent learning, combine in-context examples with Cursor Rules or system prompts.