Discover and explore top open-source AI tools and projects—updated daily.
ind-igoSemantic code navigation for AI agents
Top 97.8% on SourcePulse
Summary
cx addresses the inefficiency of AI agents consuming excessive context window tokens and execution time when navigating codebases. It provides semantic code navigation capabilities—including file overviews, symbol searching, definition lookups, and reference finding—without the overhead of traditional language servers. This enables AI agents to interact with code more efficiently, reducing token costs and improving response times for developers.
How It Works
cx leverages Tree-sitter for robust, language-aware parsing of source files, building an index of symbols, signatures, and code locations. Unlike Language Server Protocols (LSPs) designed for human editors, cx is optimized for agent access patterns, avoiding persistent daemons, high memory footprints, and complex project setup. It offers a tiered query system, starting with low-cost overview commands and escalating to more detailed definition or references queries only when necessary, significantly reducing token expenditure and read operations.
Quick Start & Requirements
brew install cx), Cargo (cargo install cx-cli), a shell script (curl ... | sh), or PowerShell (irm ... | iex) on Windows.cx lang add <language> (e.g., rust, typescript, python). Grammars are downloaded on demand.cx skill command generates prompts to integrate cx into AI agent instruction files, teaching them to prefer cx over raw file reads.Highlighted Details
ripgrep.Maintenance & Community
No specific details regarding maintainers, community channels (e.g., Discord, Slack), or project roadmap were found in the provided text.
Licensing & Compatibility
The license type and compatibility for commercial or closed-source use are not specified in the provided text.
Limitations & Caveats
The project includes a disclaimer "Built with AI," suggesting potential quality variations or bugs inherent in AI-generated code. Users must explicitly install necessary language grammars. Indexing occurs on first invocation, which may incur an initial time cost. Operation in sandboxed environments may require configuration of the cache directory (CX_CACHE_DIR). Default pagination limits apply to certain commands, necessitating the use of offset or limit flags for full results.
3 days ago
Inactive
oraios