Cursor
Type: full-code · Vendor: Anysphere · Language: TypeScript (Electron IDE) · License: proprietary (closed-source) · Status: active · Status in practice: mature · First released: 2023
A proprietary VS Code fork built around an integrated AI agent ('Agent') and tab-completion model ('Tab') that turns the IDE into the surface for tool-using coding agents.
Description. Cursor is the IDE; Agent is the embedded coding agent inside it. Agent runs autonomously with no fixed tool-call limit, edits files, runs terminal commands, searches the codebase via a semantic index, calls MCP tools, and creates checkpoints before significant changes. The IDE provides inline diffs, chat, apply-edit, and autocomplete (Tab). The codebase is indexed locally into encrypted vector embeddings that are kept in sync, and the index can be shared across team members. Cursor advertises multi-mode interaction: Ask, Agent, and Auto modes.
Agent loop shape. Agent runs an unbounded tool-use loop inside the IDE. Each tool call (read, search semantic-index, edit-file, run-terminal, MCP) is reasoned about and executed; results are observed and fed back. Checkpoints are taken automatically before significant changes so users can roll back. The Tab model is a separate, much-tighter loop: predict-as-you-type completions independent of Agent. Agent asks for approval before MCP tools by default; users can enable auto-run.
Primary use cases
- IDE-embedded autonomous coding agent
- semantic-vector codebase search
- predictive autocomplete via Tab model
- MCP-tool integration with approval gating
Key concepts
- Agent (docs) — Autonomous IDE agent that edits, runs commands, and calls tools.
- Tab (docs) — Predictive autocomplete model.
- Codebase indexing → agentic-rag (docs) — Encrypted semantic vector index synced every 5 minutes.
- MCP client → mcp (docs) — First-class MCP client supporting stdio/SSE/HTTP.
- Checkpoints — Automatic codebase snapshots during Agent sessions.
- Rules — .cursorrules and modern rules files steering Agent.
Patterns this full-code implements —
- ★Agent-Computer Interface
IDE-embedded ACI accessed via Cmd+I sidepane; agent edits, runs terminal commands, calls tools, takes browser screenshots, generates images.
- ★★Agentic RAG
Local encrypted semantic vector index, synced every 5 minutes; chunked by function/class/logical block.
- ★★Approval Queue
Agent prompts for approval before using MCP tools by default; auto-run is opt-in.
- ★★Model Context Protocol
First-class MCP client.
- ★★ReAct
Unbounded tool-use loop; Agent reasons, calls a tool, observes, repeats.
- ★★Tool Use
Built-in tools (search/edit/terminal/web/MCP).
- ★Subagent Isolation
Background/Cloud Agents run in their own VMs; parallel without local machine. Still 'limited' — VM isolation not the same as named per-task subagent primitive.
Neighbourhood
Click any neighbour to follow the lineage. Scroll to zoom, drag to pan.