Guide

How to chat with your codebase using AI.

"Chat with your codebase" means asking questions about your repo in plain English and getting answers that cite exact files and functions. Here's what it is, why it beats a generic chatbot, and how to do it.

Try it in Guthub

What codebase-aware AI gives you

Answers with references

Instead of guessing, the AI points to the exact files and functions behind its answer, so you can verify and jump straight to the code.

Onboarding in minutes

New to a repo? Ask how a feature works or where something lives and get a grounded answer, instead of reading everything first.

Fewer interruptions

Ask the codebase instead of a teammate. Knowledge that lived in someone's head becomes queryable.

Why generic AI isn't enough

A general chatbot can explain a snippet you paste in, but it doesn't know your repo — your architecture, your conventions, how your modules connect. So it guesses, and its answers can't be trusted for anything specific to your project. Chatting with your codebase means the AI has read your actual code and grounds every answer in it.

How it works

A codebase-aware assistant indexes your repository — files, functions, dependencies — so when you ask a question, it retrieves the relevant code and answers with citations to exact source references. You ask "where is authentication handled?" or "what calls this function?" and get a precise, verifiable answer instead of a plausible-sounding guess.

Doing it in Guthub

Guthub's AI is codebase-aware by design: connect your repo and ask questions in plain English, and it answers with exact file and function references, right next to your project management and living docs. It's like a pair programmer who has read every file — and it stays current as your code changes.

Chat with your codebase FAQ

What does "chat with your codebase" mean?+

It means asking questions about your repository in plain English and getting answers grounded in your actual code, with citations to the exact files and functions involved.

How is it different from ChatGPT?+

A generic assistant only sees what you paste in. A codebase-aware AI has indexed your whole repo, so it can answer questions specific to your project and reference the exact source.

How do I chat with my codebase in Guthub?+

Connect your repository and ask questions in Guthub's AI chat. It answers with exact source references, alongside your project management and living documentation.

Ask your codebase anything.

Get answers grounded in your real code, with exact references — free to start.

Try it in Guthub