π§ Codebase QA Assistant
An AI-powered assistant that analyzes GitHub codebases and answers natural language questions using LLMs, vector databases, and agents.
Now built with a React frontend and a FastAPI backend for a full-stack developer experience.
π Features
π Fetch and analyze any GitHub repository (public or private)
π Chunk and embed source code files (Python, HTML, JS, etc.)
π€ Ask natural language questions about the codebase
π‘οΈ Secure handling of secrets (API keys not exposed to frontend)
β‘ Powered by LangChain agents, Google GenAI embeddings, and vector databases (FAISS/Chroma)
π Modern React frontend with GitHub login + interactive UI
βοΈ FastAPI backend managing agent workflow and retrieval
π Project Structure Codebase-QA-Assistant/ βββ frontend/ # React app (UI + routing) β βββ src/ β β βββ App.js β β βββ pages/ β β β βββ LoginPage.js β β β βββ HomePage.js β β βββ ... β βββ package.json β βββ backend/ # FastAPI + AI Agent β βββ agent.py # Core agent logic β βββ load.py # Load embeddings/models β βββ vectorDB.py # Vector database setup + retrieval β βββ main.py # FastAPI server β βββ requirements.txt β βββ README.md # Project documentation
βοΈ Setup Instructions πΉ 1. Clone the Repo git clone https://github.com/Av-17/Codebase-QA-Assistant.git cd Codebase-QA-Assistant