Sem introduces code understanding primitive beyond LSPs

Original: Sem: New primitive for code understanding – not LSPs, but entities on top of Git

Why This Matters

Enhances developer productivity by providing semantic code analysis that improves AI workflow automation

Ataraxy Labs releases Sem, a Git-based code analysis tool providing entity-level diffs, blame, and impact analysis across 26 programming languages. The tool shows function-level changes instead of line-level diffs, improving AI agent accuracy by 2.3x according to benchmarks.

Sem transforms Git workflow by analyzing code at the entity level rather than line-by-line. The tool provides six core commands including diff (entity-level changes with rename detection), blame (per-entity commit history), impact (cross-file dependency analysis), log (entity evolution tracking), entities (code structure listing), and context (AI-optimized code summaries). Supporting 26 programming languages and 5 data formats, Sem processes typical diffs in 8ms with zero configuration required. Installation via 'brew install sem-cli' automatically replaces git diff functionality. Benchmarks show AI agents achieve 2.3x higher accuracy when processing Sem output versus traditional line diffs. The tool generates machine-readable JSON output and provides token-budgeted context windows optimized for LLM prompts.

Source

ataraxy-labs.github.io — Read original →