---
title: "Sourcegraph integration | Growf"
description: "Sourcegraph is a code intelligence platform that enables developers to search, understand, and manage code across large… Connect Sourcegraph to Growf."
url: "https://www.growf.io/integrations/sourcegraph/"
language: "en"
---

Integration / Developer Tools & DevOps

![Sourcegraph logo](https://logos.composio.dev/api/sourcegraph)

# Sourcegraph integration

Sourcegraph is a code intelligence platform that enables developers to search, understand, and manage code across large codebases.

[Get a demo](https://www.growf.io/demo/)

About Sourcegraph

## Sourcegraph is a code intelligence platform for searching, understanding, and managing code across large-scale repositories. It helps developers find, review, and analyze code quickly, boosting productivity and collaboration.

[All integrations](https://www.growf.io/integrations/)

Category

Developer Tools & DevOps

Connection

API key

Type

Tool

Actions

1319

Tags

library

Example prompts

## What you can ask Growf to do with Sourcegraph

- “Show all languages used in repo backend-service”

- “Compare latest two commits in project web-ui”

- “List all files under src/utils in repo app-core”

- “Get file contents of README.md from repo docs-site”

Available actions

## 1319 actions your agents can run in Sourcegraph

- Check Site Settings Edit Permission  
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.
- Compare Commits  
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 Commit Details  
Get detailed information about a specific commit in a repository.
- Get Current User  
Tool to retrieve information about the currently authenticated user. Use when needing confirmation of identity via Sourcegraph GraphQL API.
- Get File Contents  
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.
- List Repositories  
Tool to list repositories on the Sourcegraph instance. Use when you need to paginate through all available repositories.
- List Repository Files  
Tool to list all files and directories in a repository path. Use when you need to enumerate files in a repository without cloning.
- List repository languages  
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.

## Put Sourcegraph to work inside Growf.

Connect it once and every workspace, agent and workflow can use it — securely, with your team in the loop.

[Get a demo](https://www.growf.io/demo/)
