Description
sem is a semantic version control tool that runs on top of Git. Instead of reporting changed lines, it reports changed entities such as functions, methods and classes, so a diff says that a function was modified rather than that lines were changed. It parses code with tree-sitter and supports 28 languages. It works in any Git repository without setup. The tool is built for coding agents, and every command takes a --json flag. Commands answer four questions: where something is (sem find and sem grep), what a change touches (sem impact, which lists dependents and the tests to run), whether a change is correct (sem check, which runs the project's own compiler, type checker, linter and tests on the affected parts, with exit codes for pass, fail and undecided), and what a human should review (sem certify, which builds a review certificate for a commit range). An MCP mode, sem mcp, exposes the same commands as tools for agents. Cloud-backed queries are opt-in per repository, and logging in does not upload a repository. sem installs with Homebrew, winget, Scoop or npm, and it is open source on GitHub.…
Highlights
- Entity-level diffs for functions, classes and methods
- Impact analysis with the tests to run
- Runs project checks on affected code
- Review certificates for commit ranges
- Supports 28 languages through tree-sitter
Ratings & Reviews
No ratings yet
Be the first to rate Sem.
People also visit
Sem FAQ
What is sem?
A version control tool that works on top of Git and reports changes at the level of functions, classes and methods.
How do I install it?
With Homebrew, winget or Scoop, or as an npm package. The README also gives a direct install command.
Does it need setup in my repo?
No. The README says it works in any Git repository with no setup.
Does it upload my code?
No. The README says cloud queries are opt-in per repository and logging in does not upload a repository or send a query.
Can agents use it?
Yes. Every command takes --json, and sem mcp serves the same commands as MCP tools.
Which languages are supported?
28, through tree-sitter parsing, according to the README.
What are the best Sem alternatives?
Popular alternatives to Sem include SeaGOAT, revdiff and Grepai. See all Sem alternatives








