Search for "authentication handler" and find code about login, OAuth, JWT, and sessions—even if those exact words aren't in your query. ContextStream understands intent.
$ grep -r "auth" ./src
Returns 847 results: author, authorize, authentication, authToken, oauth... Most are irrelevant.
$ grep -r "login handler" ./src
Returns 0 results. The code exists, but it's called "handleUserSignIn".
search(mode="semantic", query="authentication handler")
Returns handleUserSignIn, validateOAuthCallback, createJWTSession—exactly what you need.
search(mode="hybrid", query="error handling")
Combines semantic understanding with keyword matching. Best of both worlds.
Choose the right search mode for your task. All modes work across your entire indexed codebase.
Vector-based search that understands meaning and intent. Find code by what it does, not what it's named.
Combines semantic understanding with keyword precision. Best for when you know some terms but not the exact names.
Exact text matching for when you know the specific symbol, variable, or string you're looking for.
Regex-based search for specific code patterns, function signatures, or structural matches.
Filter by workspace, project, or file patterns to narrow results.
Results ranked by semantic similarity, recency, and importance.
Get intelligent suggestions based on partial queries.
Works with JS/TS, Python, Rust, Go, Java, and more.
Get full content, paths only, or counts—optimize for your use case.
Search across code and memory events in one query.
Find any code by describing what it does. Setup takes 2 minutes.