codebase12Try it live

Ask any repo a question. Get the line that answers it.

Paste a public GitHub repo. Ask it something you'd normally ask a teammate — "where's auth handled?", "why does this fail on empty input?". codebase12 reads the codebase and answers with the exact file and line, not a guess.

fastapi/fastapi

? where does request validation happen before a route handler runs

Pydantic models on each path operation are validated in the dependency-resolution step, before your function body executes.

fastapi/dependencies/utils.py:589

fastapi/routing.py:212

How it works

1

Paste a repo URL

Any public GitHub repo — yours, a candidate's, or one you're evaluating for a dependency.

2

Ask in plain English

No need to know the file structure. Ask what you'd ask a teammate who wrote the code.

3

Get a cited answer

Every answer links back to the exact file and line on GitHub, so you can verify it yourself.

Answers you can check, not answers you have to trust

Most code assistants summarize. codebase12 retrieves. Every claim in an answer traces back to a real chunk of the repository — the same lines you'd land on if you searched it yourself, just without the searching.

# retrieved chunk

- def handle_upload(file):

+ def handle_upload(file: UploadFile):

cited: routes/upload.py:34–41

Try it on a repo you already know

You'll spot right away whether the answers hold up.

Open the demo