Skip to main content
Search public GitHub repositories without cloning them locally. WarpGrep clones and searches the repo on Morph’s servers — no local clone or ripgrep needed.

Why?

Use GitHub search when your primary agent needs to find code snippets from a public repository that isn’t cloned locally — exploring how an open-source library works, finding usage patterns, or pulling reference implementations. See the GitHub search example.

Direct Usage

As an Agent Tool

Each SDK adapter provides createGitHubSearchTool():
Pass githubTool in your tools array the same way as createWarpGrepTool. GitHub search returns the same WarpGrepResult format as codebase search.

Options

createGitHubSearchTool() accepts: