Your guide to an unfamiliar codebase.
DRAG connects to your GitHub repositories, builds a semantic index of the code, and retrieves the most relevant implementation when you ask a question. Every answer is grounded in cited source.
retrieveChunks() merges them with reciprocal rank fusion 1. The fused fuseHybridResults() ranking is what reaches the model 2.Start where the questions begin.
Students learning new codebases
Learn how real production architectures are structured, without getting lost in thousands of files.
Contributing to open source
Find where your contribution belongs. Locate entry points, provider interfaces, and test suites without guesswork.
New recruits onboarding company
Get productive on day one. Understand service boundaries, legacy flows, and auth systems fast.
Understand a codebase in minutes, not hours.
Connect your repository with zero friction
Sign in with GitHub and choose the repository you want to explore. DRAG securely connects using your existing repository access permissions, with no personal access tokens or complex configurations to manage.
Parse syntax & generate deep embeddings
DRAG parses your code into syntax-aware chunks and builds a searchable semantic index of the implementation. Functions, classes, types, and related code stay connected instead of being treated as isolated text.
Ask about the codebase and get grounded answers
Ask questions in natural language. DRAG retrieves the most relevant implementation chunks through hybrid semantic and keyword search, then generates precise answers strictly grounded in the code.
Verify against the source while the index stays up to date
Every response provides interactive citations pointing to the exact file, symbol, and line range. When the repository changes, paid plans re-index only the modified files in milliseconds.
See how the codebase fits together.
Ask DRAG to turn unfamiliar code into a visual map of the system.
DRAG analyzes the relevant code and generates a Mermaid diagram that you can inspect directly alongside the answer.
Ask questions like:
Built for private codebases.
DRAG only stores what it strictly needs to compute embeddings and answer your questions.
What's Stored
Files are chunked and stored as 768D numerical vectors alongside the source of that chunk, so a citation can be opened and read.
What's Never Stored
OAuth tokens are AES-256 encrypted at rest. DRAG never writes commits, opens pull requests, or shares vectors across accounts.
Access Mirroring
Every repository query is checked against your live GitHub permissions. Revoke access on GitHub and DRAG drops it within the hour.
Disconnect Anytime
Disconnecting a repository deletes your chat histories immediately. Indexed files and embeddings are purged once the last connected account disconnects.
Stop guessing. Start citing.
Connect your GitHub repository and start asking real questions over your codebase in under five minutes.