DeltaLens

•

Optimizes AI coding assistant context by providing semantic-diff-aware code intelligence and significant token reduction.

DeltaLens acts as an intelligent intermediary between your codebase and AI coding assistants like Claude Code, Cursor, or Windsurf. It addresses the common problem of AI assistants scanning entire codebases, leading to high token usage and noisy context. By combining Tree-sitter static analysis with diff-semantic classification, DeltaLens precisely identifies the minimum viable context for a change, reducing token consumption by 15-40x. This allows AI tools to receive only the most relevant information, improving their precision and performance while maintaining recall, and operates with incremental updates in less than one second.

主な機能

01Sub-second incremental updates on large codebases
0215-40x token reduction for AI coding assistants
03Three-layer token reduction (change classification, scored impact, token budgeting)
040 GitHub stars
05Native integration with Model Context Protocol (MCP) compatible AI tools
06Semantic-diff-aware change classification (Interface vs. Implementation)

ユースケース

01Optimizing context sent to AI coding assistants (e.g., Claude Code, Cursor) to reduce token cost and improve relevance.
02Enhancing the precision and recall of AI-driven code reviews and suggestions.
03Providing efficient, semantic-diff-aware code intelligence for developer workflows with LLM-powered tools.