Context Window
How much your AI tool can remember at once.
What is Context Window?
An LLM can only consider a limited amount of text at once — its context window. In long projects, the AI starts forgetting earlier code. This is why large apps built entirely in one conversation often break. Break your builds into smaller sessions.
Think of a context window like a desk. The bigger the desk, the more papers you can spread out and reference at once. A small desk means you can only look at a few pages at a time.
In Vibe Coding
When your Cursor conversation gets very long or your project is very large, the AI starts forgetting earlier code. This is because it hit its context window limit. Solution: start a new conversation, or tell the AI which specific files to focus on.
Example
For example: You've been chatting with Cursor for 2 hours building features. You ask it to fix a bug, but it generates code that conflicts with something you built earlier — it forgot because that code fell outside its context window.