Developer builds open-source code intelligence tool trelix to replace grep

A developer frustrated by spending hours tracing authentication logic through an 80,000-line codebase built trelix, an open-source code intelligence engine. The tool indexes any repository using Tree-sitter, embeds every symbol, and answers natural-language questions via a hybrid BM25, vector, and call-graph search approach. Unlike grep, which treats codebases as text documents, trelix models code as a graph of functions, imports, and class hierarchies to provide structural context. It runs entirely offline with no API key or external infrastructure, and can be installed and queried with just a few command-line steps. Since version 2.1.0, trelix also includes a Code Property Graph that unifies all indexed data into a traversable NetworkX graph for handling complex, multi-step queries.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in