Make Claude Code faster and cheaper in large codebases with Ory Lumen
Blog post from Ory
Ory Lumen is a local semantic code search engine designed to enhance the efficiency and cost-effectiveness of working with large codebases by addressing limitations in the use of grep and find within Claude Code. By indexing codebases using local embedding models and providing a semantic_search tool, it allows Claude to find relevant code without reading files directly, thereby reducing token costs and completion times. The tool supports multiple languages with varying performance, notably excelling in Go due to its native AST parser. Lumen's local operation ensures that code remains on the user's machine, making it suitable for air-gapped environments and eliminating reliance on external APIs. Benchmarks show significant improvements in task completion speed and API costs, with Lumen outperforming baseline measures across several metrics. Introduced alongside an Ory Claude plugin marketplace, Lumen is positioned as a practical solution for managing growing codebases while maintaining data privacy and security.