Skip to content
Devanshu ChicholikarOpen the OS

ProjectsActive

OpenCodeIntel

Code search for AI coding agents, so they stop guessing

  • 94%Hit@1, research eval14 open-source codebases, 665 queries
  • 641msp50 cold search, public playgroundVector search with keyword and code-graph boosts
  • 242msp50 cached repeatEnd to end from Boston, measured Oct 2026
  • 12MCP toolsstdio for local agents, streamable HTTP for Claude.ai

Built by Devanshu Chicholikar, creator & maintainer, solo.

Live siteSource on GitHubResearch data

Overview

Code-search platform for AI coding agents: vector search fused with BM25 keyword scoring and reranking, tree-sitter AST chunking, a web app, a REST API and a 12-tool MCP server.

How it works

Indexing parses each repo with tree-sitter into function-level chunks (Python and JavaScript grammars; TypeScript files go through the JavaScript one), embeds them and stores them in Pinecone. On the API and MCP search path, a query pulls the top 50 chunks by vector search, scores them with BM25, fuses the two rankings with reciprocal rank fusion and reranks the top 20 with Cohere rerank-v3.5. The research eval used a full BM25 index and Voyage rerank-2 instead. The public playground runs a lighter path: vector search with keyword and code-graph boosts, no model reranking. The MCP server speaks stdio for local agents and streamable HTTP for hosted Claude.ai connectors.

On a 665-query research eval across 14 open-source codebases, retrieval hit 94% Hit@1, and a 98-run ablation isolated the reranker at +8.4 points. On the public playground, a cold search takes 641ms at the median and a cached repeat 242ms. One result went against me: rerankers trained on web text made code search worse. It stays in the research log.

Writing

Stack

  • Python
  • FastAPI
  • FastMCP
  • tree-sitter
  • Pinecone
  • Cohere
  • Supabase
  • Redis
  • React
  • TypeScript