Learning resourcesReviewed · Anysphere

Cursor Agent Search documentation

Cursor’s Search documentation is a guide for developers using its AI coding agent, with the caveat that files opened through local search can still enter model requests. It explains Instant Grep, Explore subagents and support for workspaces containing multiple folders.

Researched 14 Nov 2026

In short.

Cursor’s Search documentation is a guide for developers navigating code with Cursor Agent, but local indexing does not guarantee that opened code stays on the machine. It describes automatic searches for known symbols, regular-expression matching and broader searches through an Explore subagent. It also identifies restrictions for multi-root workspaces. Pricing, minimum supported versions and measured search performance are not established by the page; runtime behavior was not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete supplied Search documentation page at [https://cursor.com/docs/agent/tools/search.md], including its privacy statements and workspace FAQ. Linked changelog, subagent documentation, Data Use, workspace documentation and sitemap pages are excluded. No software was executed; search performance, completeness, billing and actual data handling remain unassessed.

The overview

identity

This is Cursor’s feature guide for Agent search at [https://cursor.com/docs/agent/tools/search.md]. It covers Instant Grep, the Explore subagent and support for multi-root workspaces, where one workspace contains multiple folders.

assessment

The guide is useful for understanding how Cursor Agent finds code and how search indexing differs from sending file content to a model. It gives concrete search patterns and workspace restrictions, but offers limited setup guidance and no measurements supporting its performance claims.

users

The guide suits developers locating functions, variables, errors or references across a codebase. Beginners get an explanation of targeted versus broad searches; experienced developers get details about regex support, separate subagent context and restrictions affecting worktrees and Cloud Agents.

capabilities

Instant Grep supports exact matches, full regular expressions and word-boundary matching. Agent uses grep automatically when specific symbols are referenced. For broader questions, Agent can automatically invoke an Explore subagent, or the user can request one directly. Each folder in a multi-root workspace can contribute context to Agent.

Using it

requirements

The described features operate within Cursor Agent and its workspace context. The page does not specify operating-system support, hardware requirements, subscription eligibility, a minimum Cursor version or the identity of the faster model used by Explore.

mechanism

According to the page, Instant Grep builds and queries its index locally. Cursor does not upload file paths or code to build that search index and does not store codebase embeddings for search. When Agent opens a matching file, however, its contents can still be included in a model request.

Explore runs in its own context window using a faster model. It performs parallel searches and returns relevant findings to the main conversation, reducing the amount of raw search material in that conversation.

setup

The page says Instant Grep runs automatically without configuration. Referencing a concrete symbol lets Agent use grep, while a broad investigation can explicitly request an Explore subagent. Installation, troubleshooting and multi-root workspace configuration steps are not provided.

example

For a targeted lookup, ask Agent to find PaymentFailedError and trace its references. The page also gives import.*PaymentService as a regex pattern for finding related imports. For a broader investigation, ask an Explore subagent to find the places where user input is validated. These illustrate documented usage; nothing was executed, and no search results or coverage were verified.

Assessment & evidence

limitations

Cursor claims Instant Grep outperforms ripgrep on large codebases, but supplies no benchmark method, dataset or timing results here. Search accuracy, completeness and speed were not assessed.

Some features requiring a single Git root, including worktrees, are disabled in multi-root workspaces. Cloud Agents do not support multi-root workspaces. Local search indexing also does not prevent opened file content from entering model requests.

reasoning

A practical inference from the documented behavior is to start with a known symbol or error string for a focused lookup and request Explore for questions spanning many files. Explore’s summary can help manage conversation context, but the page does not establish that such summaries capture every relevant match.

alternatives

Within Cursor, direct grep searches and Explore provide documented approaches for targeted and broad investigations respectively. The page names ripgrep as an external comparison, but provides insufficient evidence to judge comparative performance or feature coverage.

evidence

The source is Cursor’s Search documentation at [https://cursor.com/docs/agent/tools/search.md]. It provides first-party descriptions and example patterns. It contains no reproducible benchmark, runtime results or independent confirmation of the described behavior.

Access & freshness

costs

Pricing is unknown from this page. It does not establish plan requirements, usage limits or whether Explore searches have separate charges or affect an existing usage allowance.

rights

The page does not state a license or redistribution permission for its documentation or the underlying software. It links to Data Use for further information about handling content included in model requests, but those terms are not included in the supplied page.

freshness

The supplied page was captured on 14 November 2026 at 23:44 UTC. It states no publication date, last-updated date or minimum supported Cursor version. Changes after that capture are unknown.

actions

When using Cursor, reference a known symbol for a focused search or explicitly request Explore for a broader investigation. Check multi-root restrictions if your work depends on worktrees or Cloud Agents. Consult the linked Data Use page [https://cursor.com/data-use] for handling of content sent in model requests, and confirm plan access and usage costs separately.

Evidence for this report

selected-page.txtselected · checked 2026-11-14