RepoCodeNavi is an AI-powered assistant that helps developers understand and navigate any GitHub repository instantly using RAG, Prompting, Structured Output, and Function Calling.
Navigating large or unfamiliar codebases is challenging:
- Documentation is often outdated or incomplete.
- New contributors waste hours figuring out where features live.
- Searching code manually is slow and error-prone.
RepoCodeNavi solves this by connecting natural language questions directly to the relevant parts of the codebase.
- 🔍 Natural Language Code Search – Ask anything about the repo.
- 🗂 AI Summaries – Clear, beginner-friendly explanations of files/folders.
- 🐛 Issue-to-Code Mapping – Links GitHub issues to related files.
- 📚 Learning Suggestions – Guides you to resources for unfamiliar tech.
- 🖥 Function Calling – AI can open files, fetch issues, and trigger actions.
- 📊 Structured Output – AI responses are returned as clean, structured JSON for UI rendering.
| Layer | Technology |
|---|---|
| Frontend | React.js (Vite) |
| Backend | Node.js + Express |
| AI Layer | Python (FastAPI) + OpenAI/GPT + LangChain |
| Embeddings | Pinecone / FAISS |
| Integrations | GitHub OAuth + GitHub API |
| Deployment | Docker + Vercel (Frontend) + Render (Backend) |
- RAG: Retrieves actual repo context before generating responses → less hallucination.
- Prompting: Ensures explanations are clear, concise, and relevant.
- Structured Output: Returns JSON so frontend can display results in an interactive format.
- Function Calling: AI triggers actions like opening files or fetching issue details.
- Authenticate with GitHub → Choose a repository.
- Index the Repo → Files, README, and docs are embedded into a vector DB.
- Ask Questions → e.g., “Where is the login logic?”
- RAG Retrieves Context → Relevant code/files fetched.
- AI Generates Response → Uses prompting for clear explanations.
- Structured Output + Function Calls → Data shown in UI and actions triggered.
# Clone the repo
git clone https://github.com/your-username/RepoCodeNavi.git
# Navigate into the project
cd RepoCodeNavi
# Install dependencies
npm install # Frontend
pip install -r requirements.txt # Backend AI Service
# Start development servers
npm run dev