From GitHub URL to AI Insights
CodeSense AI combines Retrieval-Augmented Generation (RAG) with the power of Gemini 1.5 Pro to provide deep codebase understanding.
Paste Repo URL
Drop any public GitHub repository URL. Our system instantly validates the repository and prepares for ingestion.
Technical Detail
GitHub API + Octokit fetches repository metadata and complete file tree
AI Indexes Codebase
We scan your codebase, split it into meaningful chunks, and generate high-dimensional embeddings for each part.
Technical Detail
Google text-embedding-004 converts each code chunk into a 768-dimension vector, stored in pgvector (Neon DB) with HNSW indexing for fast similarity search
Chat & Analyze
Ask complex questions, get code reviews, or generate documentation. The AI uses your specific code as context.
Technical Detail
RAG retrieves top 8 most relevant code chunks via cosine similarity search. Gemini 1.5 Pro generates accurate responses with full code context