SShortSingh.
Back to feed

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

0
·3 views

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.

Read the full story at DEV Community

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

Related stories

0
ProgrammingDEV Community ·

How a stability-check loop cut false positives in visual regression monitoring

A software team found that screenshot-based visual monitoring was generating overwhelming false alerts, with 46 out of 47 flagged changes on one homepage caused by a rotating testimonial carousel. Common fixes like loosening pixel-diff thresholds or manually excluding dynamic elements proved unreliable, especially after page redesigns invalidated the configurations. The team's effective solution was a stabilization pass that pauses carousels and videos, removes cookie banners, and force-loads lazy content before any comparison is made. They then capture two consecutive screenshots and diff them against each other, only proceeding if fewer than 0.1% of pixels differ between the two. If the page fails to stabilize after two attempts, the job is flagged as unstable rather than silently passing a noisy baseline to review.

0
ProgrammingDEV Community ·

DevTime v0.1.2 Gives Coding Agents Verified Repo Memory via Local MCP Server

Developer tool DevTime has released version 0.1.2, introducing a local MCP server that coding agents can query to understand a repository before making edits. The tool scans codebases and surfaces structured knowledge — including supported concepts, evidence file paths, and explicit uncertainty — rather than letting agents guess at code structure. Three read-only tools are exposed: list_concepts, explain_concept, and get_context_pack, which bundles governed context for agents before they touch code. DevTime operates entirely locally with no cloud connectivity, no telemetry, and no code execution during scanning. It can be integrated with clients like Claude Code using a single command and is installable via pipx with optional MCP support.