Sourcegraph
Code intelligence platform for repository search, commit comparison, file contents, user context, and site settings.
Tailored to developers and AI agents that read file contents, compare commits, and search across large codebases without cloning repos locally.
Sign in to connect Sourcegraph
Sign in to connect an account and start using Sourcegraph in your apps.
Example Use Cases
These are example ways Snow can use Sourcegraph when building apps with you. This list is meant to show examples, not document every possible capability. Connecting an account does not make Snow run these automatically on its own.
Tool to check whether site settings can be edited through the API. Use when you need to confirm the API allows site settings edits before attempting configuration changes.
Tool to compare two commits in a repository and retrieve their file diffs. Use after confirming the repository name and commit SHAs to inspect differences.
Get detailed information about a specific commit in a repository.
Tool to retrieve information about the currently authenticated user. Use when needing confirmation of identity via Sourcegraph GraphQL API.
Tool to fetch the contents of a specified file on the default branch. Use when you need raw file text without cloning the repo or using a slower code-host API.
Tool to list repositories on the Sourcegraph instance. Use when you need to paginate through all available repositories.
Tool to list all files and directories in a repository path. Use when you need to enumerate files in a repository without cloning.
Tool to list languages used in a repository. Use when you need to determine the primary and all languages of a given repository; call after you have the repository name.