June 22nd updates
See what changed in Sourcegraph.
See what changed in Sourcegraph.
Smart hover summaries leverage precise code intelligence data to show key architectural details of your code on hover.
Following the smart hover summaries Beta period, smart hover summaries are now generally available. When precise code intelligence is available, you get a summary of the meaning of the symbol and usage of the symbol across the codebase, directly in the hover. Summaries are powered by a small, fast model, but only compiler-grade precise code intelligence data is used to inform the LLM of actual usage patterns across your repositories, allowing the LLM to cite factual usage locations in its answers.
Visit Enterprise Portal to learn more about this feature's credits usage, or see the documentation.
See what changed in Sourcegraph.
Deep Search will automatically compact long conversations when a follow-up question is close to the context window limit.
We are removing the need to manually manage your context window limits!
Compaction runs in the background, so there is nothing new to configure or learn. Keep asking follow-up questions, and Deep Search will make room when older conversation history starts to crowd the context window.
More focused conversations with Deep Search address context window issues and enable even deeper research.
Deep Search can now use a dedicated subagent specialized for finding files relevant to your query in case a specific code domain needs to be researched. This subagent performs scoped searches and presents a summary to the main agent. Since the main Deep Search agent only needs to read this summary, this saves tokens in its context window.
This means Deep Search can explore more of your codebase while using fewer tokens, so you get more focused context and longer conversation. We expect this feature will significantly alleviate issues with deep single-question research - for multi-question, we just shipped auto-compaction.
See what changed in Sourcegraph.
See what changed in Sourcegraph.
See what changed in Sourcegraph.
A dedicated history tab for Deep Search conversations shared with you.
Deep Search conversation history now has a Shared with me tab. It lists conversations you opened from a shared Deep Search link, separate from conversations you created yourself.
From the shared list, you can reopen, export, fork, or remove a conversation from your shared history without deleting the owner's original conversation.
See what changed in Sourcegraph.
See what changed in Sourcegraph.
Administrator privileges can now be delegated through granular RBAC permissions, you can grant users only the admin capabilities they need without making them full administrators.
Administration on Sourcegraph has historically been an all-or-nothing decision: either a user was an administrator and could do everything, or they weren't and couldn't access any admin surface. We've replaced this with a set of fine-grained RBAC permissions that map onto distinct admin responsibilities. Now you can grant users exactly the access they need and nothing more.
Eight new permission namespaces are available in the role editor (Site admin → Users & auth → Roles), each grantable independently to any role.
Find product updates, release notes, technical changelog entries, and related blog posts from one search box.
We're introducing the ability to search the Sourcegraph changelog and blog. Search results include featured changelog posts, release pages, release details, and blog posts.
Use the search button on the changelog page, or press ⌘K on macOS and Ctrl+K on Windows and Linux, to open the search modal. You can search by keyword, filter by Sourcegraph release, or look up entries from a specific date.
See what changed in Sourcegraph.
See what changed in Sourcegraph.
See what changed in Sourcegraph.
Deep Search can now count, rank, and aggregate across search results, not just find them.
Deep Search has always been good at finding and explaining code. It can now also count, rank, and aggregate it without blowing up the context window.
A new sandboxed scripting tool lets the agent run programmatic aggregations across many searches in a single turn. Questions that don't fit into a single query, e.g. top-N rankings, cross-search joins, distributions across many files, can now be answered end-to-end, with every underlying search still cited so you can verify how the answer was assembled.
See what changed in Sourcegraph.
Smart hover summaries leverage precise code intelligence data to show key architectural details of your code on hover.

When precise code intelligence is available, you now get a summary of the meaning of the symbol, and usage of the symbol across the codebase. In combination with the precise code intelligence hover information, this often saves the need to jump to a symbol and back which interrupts the flow of reading, and simplifies understanding complex codebases. Linked citations can even serve as an alternative to traditional code navigation.
Use search contexts in Deep Search to ask questions within a set of repositories.
Search contexts are used to scope searches in code search. Now, you can do the same for Deep Search to guide the response to a specific domain. The users default search context is pre-selected.

Pinpoint where a commit or fix lives across branches, tags, and releases.
Deep Search can now search Git tags, ancestry, and commits on any branch to pinpoint where a change lives in your Git history.
For example, ask Deep Search: "In Kubernetes v1.29, a regression was introduced where the apiserver_watch_events_sizes metric stopped reporting total outgoing watch event traffic. How many versions shipped with the bug before it was resolved?"
See what changed in Sourcegraph.
Deep Search conversations can now be renamed by clicking the title or using the rename option in the menu.
You can now rename your Deep Search conversations to keep your workspace organized! Click directly on the conversation title to edit it inline, or use the rename option from the conversation's options menu.
Batch Changes now supports bulk syncing all changesets at once, making it easy to refresh state across large batch changes without loading each changeset individually.
While syncing individual changesets was already possible, Batch Changes now supports syncing changesets as a bulk action. For batch changes with hundreds or thousands of changesets, this means you can refresh the state of all changesets from the code host in a single click—without having to load and sync each one individually.
This is especially useful when changesets have been updated externally (e.g., merged or closed on the code host) and you want Sourcegraph to reflect the latest state immediately across the entire batch change.
See what changed in Sourcegraph.
Batch Changes now supports OAuth authentication for GitHub code hosts.
Batch Changes now supports OAuth-based authentication for GitHub, joining the existing support for GitLab, Bitbucket Server, and Bitbucket Cloud. Users can now authorize Batch Changes to act on their behalf using OAuth instead of manually creating and pasting personal access tokens.
When adding a credential for a GitHub code host, users will see a new OAuth option in the authentication strategy dropdown. Clicking through initiates a standard OAuth flow that automatically provisions the credential with the correct scopes.
See what changed in Sourcegraph.
Making Code Search easier to use with natural language input.
In Code Search, you can now describe what you're looking for in plain English — press # in the search bar to activate query assist, type something like TODO comments in python files or what did alice work on last week?, and our custom-trained model will translate it into a precise Sourcegraph search query.
Share insights, documentation and architecture diagrams with your team.
Use Deep Search to create architecture diagrams, technical documentation, or research summaries, then export and share them with your team.
The default Sourcegraph MCP endpoint now prioritizes the most commonly used context-gathering tools, while /.api/mcp/all exposes the full tool suite.
As previously announced, the default Sourcegraph MCP endpoint at /.api/mcp now exposes a smaller, more focused set of tools for common context-gathering workflows.
This reduces tool-list noise for MCP clients and avoids spending context window budget on lower-frequency tools that most agents do not need by default.
Batch Changes now supports OAuth authentication for Bitbucket Server and Bitbucket Cloud code hosts.
Batch Changes now supports OAuth-based authentication for Bitbucket Server and Bitbucket Cloud, joining the existing support for GitHub and GitLab. Users can now authorize Batch Changes to act on their behalf using OAuth instead of manually creating and pasting personal access tokens.
When adding a credential for a Bitbucket Server or Bitbucket Cloud code host, users will see a new OAuth option in the authentication strategy dropdown. Clicking through initiates a standard OAuth flow that automatically provisions the credential with the correct scopes.
See what changed in Sourcegraph.
The Slack integration now supports multiple workspaces and Enterprise Grid.
If your organization makes use of multiple Slack workspaces, or Slack Enterprise Grid, you may want Sourcegraph to act as the central code understanding platform where anyone across your organizations can use Sourcegraph to understand your entire codebase.
The Sourcegraph Slack integration now supports connecting any number of Slack workspaces, including Enterprise Grid workspaces, to the same Sourcegraph instance - enabling your Slack users to ask @Sourcegraph questions about your codebase directly in their Slack workspace and get Deep Search answers.
See what changed in Sourcegraph.
Try a different approach or continue past the context window limit.
Hit the context window limit, or want to explore a different direction without losing your original thread? Use the Fork button to start a new conversation that picks up where the original left off.
srcOAuth login is now supported in src, and src auth token allows you to easily use your active token in scripts.
You can now log in to src with OAuth, making it faster to connect src to your Sourcegraph instance without manually managing an access token.
We’ve also added src auth token, which prints the token for your current authenticated session. That makes it easier to use src in scripts and shell workflows, for example by passing $(src auth token) to other commands when needed.
Sourcegraph MCP now includes a dedicated full-suite endpoint, with a curated default endpoint coming March 30.
As of this release, the full Sourcegraph MCP toolset is available at /.api/mcp/all.
Starting with the Sourcegraph release of March 30, 2026, the default MCP endpoint at /.api/mcp will move to a curated set of tools focused on common context gathering.