Surfaces

Pattern 19 of 26

IDE-Embedded Agents

Context the model already has, where you are already working

Cursor, Windsurf, Copilot, Cline, and Zed all have agents that live inside the editor with access to your open files, language server data, git history, and terminal output. They already know your project. The range runs from tab completion all the way to autonomous agent mode. This is where most developers get their first real exposure to agents doing actual work.

Why it matters

You spend most of your working hours in an editor. The agent is already there with context it does not need to be told. That is a fundamentally different starting point than a chat window where you have to describe everything from scratch.

Deep Dive

GitHub Copilot launched in 2021 and proved that developers would adopt inline AI assistance if it was fast and contextually accurate. What it did not do was act autonomously. The transition from completions to agent mode happened in steps over the next few years: single-line suggestions, then multi-line, then file edits, then multi-file tasks, then full autonomous operation. Each step required the editor to expose more context to the model and give the model more surface area to act on. The language server was a big unlock. Types, errors, and symbol resolution gave the model grounding that raw file contents alone could not.

Cursor became the reference implementation for what agent-first development looks like in practice. Its Composer mode, and later Cursor 2.0 agent mode, gave developers multi-file editing with full codebase context and a conversational interface that felt less like autocomplete and more like pair programming. Windsurf launched in November 2024 with its Cascade agent. VS Code shipped agent mode in February 2025. The whole ecosystem moved from treating AI as a feature to treating the agent as the primary interface in roughly 18 months. That is fast.

What makes IDE agents different from chat for coding is context that does not need to be described. When I open Claude Code or Cursor, the agent already knows which files are open, what the test failures are, and what changed in the last commit. When I use a chat interface for the same task, I spend the first few minutes explaining the codebase before I can ask anything useful. That description is always incomplete. Always. The missed details are usually the ones that matter. Cutting out that description step is where most of the productivity gain actually comes from.

In the Wild

Cursor
GitHub Copilot
Cline (VS Code, open-source)
Zed
Windsurf

Go Deeper

PAPEREvaluating Large Language Models Trained on Code (Codex)ARTICLEIntroducing GitHub Copilot: Your AI Pair ProgrammerARTICLEFrom Pair to Peer Programmer: Our Vision for Agentic Workflows in GitHub CopilotARTICLEIntroducing Copilot Agent Mode

Related Patterns