Skip to main content

Prerequisites

1

Import GitHub Project

We’ll start by creating a new Relace Repo using GitHub as a source. We use GitHub as an easy example, but agentic search will work over any Relace Repo.
2

Perform Agentic Search

You can now use the search endpoint to find relevant files based on a query in natural language!
The response will be a stream of Server-Sent Events with real-time updates as the agent explores the repo. The final report_back event provides an explanation of the findings and the relevant files with line ranges.
For more details, see our API reference.