XRAY equips AI assistants with advanced code intelligence and navigation features, enabling them to understand codebases structurally. By leveraging ast-grep, a tree-sitter powered tool, XRAY provides accurate analysis for multiple programming languages including Python, JavaScript, TypeScript, and Go. It offers a progressive discovery workflow with tools for mapping project structure, finding specific symbols, and analyzing code impact, all without requiring a persistent database or complex setup. Its stateless, on-demand analysis provides real-time, accurate results, bridging the gap between simple text search and complex language servers.
Key Features
01Structural Code Analysis (via ast-grep)
02Codebase Mapping and Exploration
03Fuzzy Search for Code Symbols
04Impact Analysis for Code Changes
05Multi-language Support (Python, JS, TS, Go)
064 GitHub stars
Use Cases
01Understanding codebase structure and dependencies for AI assistants
02Identifying the potential impact of code changes on a project
03Locating specific functions, classes, or symbols within a codebase