Triage incoming issues
- Webhook fires on every new issue
- Persona summarises and labels it
- Assigns the right engineer
8 tools available
Sourcegraph is a code intelligence platform that enables developers to search, understand, and manage code across large codebases.
Connect Sourcegraph to Definable to triage issues, review pull requests, monitor builds. Personas call Sourcegraph's 8 tools directly from chat or scheduled flows. Wire it into a triage, review, or release-management persona — every action runs scoped, reviewable, and logged.
Every Sourcegraph action below is a callable tool any Definable persona can invoke.
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.
Anything Sourcegraph exposes through its API. Common developer tools workflows on Definable include triage issues, review pull requests, monitor builds. Personas can call any of the 8 Sourcegraph tools directly, then chain the result into another integration without you writing code.
Sourcegraph uses API_KEY on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.
Yes — every Definable plan, including Starter, includes access to all 8 Sourcegraph tools. You only need a separate Sourcegraph subscription if Sourcegraph itself charges per seat or per API call.
Every call from a persona to Sourcegraph is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.
Sign up for Definable, open the integrations page, find Sourcegraph, and connect via OAuth or API key. You can immediately attach Sourcegraph to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.
Definable exposes all 8 Sourcegraph actions as callable tools — including `Check Site Settings Edit Permission`, `Compare Commits`, `Get Commit Details`, plus 5 more. Each tool gets a typed parameter schema so personas know exactly how to call it.
Wire it up in minutes. No coding required.