CodeLens AIv2.0
Neural Code Observatory & AST Vector RAG

Supercharge Your Understanding of Any GitHub Codebase

Connect private or public repositories. CodeLens chunks your files, embeds them into high-dimensional vector space with Google Gemini, and lets you interrogate architecture, logic, and bugs in real-time.

OAuth 2.0 Scope VerifiedPgVector 768-DimToken-Level AST Splitting
codelens://observatory
CONNECTED
Repository Treemain
๐Ÿ“ backend/src/main/java
โ””โ”€ ๐Ÿ“„ indexingService.java
โ””โ”€ ๐Ÿ“„ CodeChunker.java
โ””โ”€ ๐Ÿ“„ RagSettings.java
๐Ÿ“ client/components
โ””โ”€ ๐Ÿ“„ repo-card.tsx
โ””โ”€ ๐Ÿ“„ chat-view.tsx
Vector Retrievable768 Dim
Matched Chunk #1 (Cosine: 0.94)
vectorStore.similaritySearch(SearchRequest.builder().query(question)...)
Matched Chunk #2 (Cosine: 0.89)
codeChunker.chunkFile(repoId, path, content)
Neural SynthesisGroq LPU
User: How does repository indexing work in this codebase?

Indexing uses an async thread pool (`IndexingExecutor`) that pulls GitHub file trees recursively, filters non-code extensions, and splits files with `TokenTextSplitter` into PgVector embeddings.

Smart AST Chunking

Respects language boundaries, comments, and structure so code vectors retain semantic context.

Streaming Real-Time RAG

Receive lightning-fast SSE streaming answers grounded with exact file and line citations.

Private Repositories

Full AES encryption on OAuth access tokens guarantees your private code never leaks.

Interactive File Explorer

Browse the live GitHub file tree right alongside your conversation to audit any module.