sem

Semantic version control => entity-level diffs, blame, and impact analysis on top of git. 28 languages via tree-sitter. Built for coding agents.

What is sem?

Semantic version control => entity-level diffs, blame, and impact analysis on top of git. 28 languages via tree-sitter. Built for coding agents.

Overview of sem

What it is

sem is a semantic version control tool that works on top of Git. It parses code with tree-sitter, extracts every function, class, and method as an entity, and diffs at the entity level instead of lines. It supports 28 languages via tree-sitter and is built for coding agents. It works in any Git repository with no setup required. Cloud-backed queries are opt-in per repository.

Key features

  • Entity-level diffs, blame, and impact analysis on top of Git
  • Supports 28 languages via tree-sitter
  • Commands include find, grep, impact, check, certify, diff, graph, history, cloud, config, and mcp
  • Works in any Git repo with no setup
  • Provides MCP tools for AI agents
  • Stores SQLite entity cache outside the repository

Use cases

  • Finding where a function, class, or method is defined and who calls it
  • Determining what a change touches, including dependencies and tests
  • Checking correctness by running only affected compiler, type checker, linter, and tests
  • Generating review certificates for commit ranges
  • Text searching across source files with rg-compatible output

Getting started

bashcurl -fsSL https://raw.githubusercontent.com/Ataraxy-Labs/sem/main/install.sh | shOr via Homebrew:bashbrew install sem-cliOr via winget on Windows:powershellwinget install AtaraxyLabs.semOr via Scoop on Windows:powershellscoop install semOr install the npm wrapper:bashnpm install --save-dev @ataraxy-labs/semOnce installed, update to the latest release:bashsem config update

License and pricing

Licensed under Apache-2.0. Open source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/ataraxy-labssem.svg)](https://yunodb.com/tools/ataraxy-labssem?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/ataraxy-labssem?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/ataraxy-labssem.svg" alt="Featured on YunoDB" height="20"></a>