EN
返回档案库

档案库 · 开发与企业工具 · 产品决策 · 2026

Ataraxy Labs 押注 git 差异应按实体阅读;sem 获 3.3k 星

sem 用 tree-sitter 解析代码,并在实体级别(函数而非行)进行差异比较,服务于人类和 AI 代理;已有 3.3k 星并发布准确率基准。

Ataraxy Labs

它在赌什么变更应是实体而非行:tree-sitter 解析使 diff、blame、impact 和 log 在函数级别给出答案,快速且零配置,足以替代 git diff。已上线

做的是什么生意

sem is an open-source semantic version-control CLI that sits on top of git: it parses code with tree-sitter into entities (functions, methods, classes), then diff, blame, impact, log, entities and context commands report change at entity level, with JSON output and a token-budgeted context command aimed at LLM agents.

起因

Ataraxy Labs created the repository on 2026-02-05 and positioned sem as 'semantic version control on top of git': tree-sitter parses code, extracts every function, class and method as an entity, and diffs at the entity level with rename detection, structural hashing and word-level inline highlights — 'function authenticateUser modified' instead of 'lines x-y changed.' Six commands cover diff, blame, impact, log, entities and token-budgeted context, all working in any git repo with no configuration.

经过

The product site claims roughly 26 languages and 5 data formats via tree-sitter, 8ms typical diffs and 4,000+ downloads, and publishes an agent-accuracy benchmark: Claude Sonnet 4.5 answered the same code-change questions from sem JSON versus raw git diff across 3 commits, and sem's entity output was exact or accurate where git-based answers confused added lines with added entities (238 vs 32 on a speed-optimization commit) or counted files instead of entities. The repo README, live 2026-09-05, documents what came next: entity matching phases, a GitHub Action that posts entity-diff comments on pull requests, an MCP server with eight sem tools for coding agents, and an opt-in cloud-backed graph for large repositories and teams.

结果

No company, funding or revenue is documented in the material; as of 2026-09-05 sem is live and shipping, with the repo grown from a six-command CLI into a GitHub Action, an MCP server and an opt-in cloud tier.

背景

sem 是一个开源语义版本控制工具,运行在 git 之上。它用 tree-sitter 解析代码,提取函数、方法、类和类型作为实体,并在该级别报告变更——‘函数 authenticateUser 已修改’而不是‘第 x-y 行已更改’。它的六个命令涵盖实体差异、责备、影响分析、实体历史、实体列表和专为 LLM 提示设计的 token 预算 context 命令,全部在任意 git 仓库中零配置运行。

其赌注是 git 的行级差异是代码审查和 AI 代理的错误视角。网站声称支持约 26 种语言和 5 种数据格式(通过 tree-sitter),典型差异在 8ms 内完成,下载量超过 4,000,并发布了一个代理基准:Claude Sonnet 4.5 分别基于 sem JSON 和原始 git diff 回答关于 3 个提交的相同问题,sem 的回答与真实情况匹配,而基于 git 的回答将添加的行计为添加的实体(238 对 32)或将文件数当作实体数。

Ataraxy Labs 于 2026-02-05 创建该仓库;在 2026-09-04 抓取时显示 3.3k 星(元数据中为 3,334)。实时仓库 README 显示了后续发展——一个在拉取请求上发布实体差异的 GitHub Action、一个为编码代理提供八个 sem 工具的 MCP 服务器,以及一个用于大型 monorepo 和团队的可选云图。未记录公司、融资或收入,因此条目记录的是一个开发者工具赌注,其可衡量的结果目前是星数、下载量和公开基准。

这件事要成立,得有什么

  • 具体吸引力:Ataraxy-Labs/sem 创建于 2026-02-05,在 2026-09-04 抓取时显示 3.3k 星(抓取元数据中为 3,334),产品网站声称下载量超过 4,000。
  • 可证伪且有已发布证据:网站的‘2.3 倍更准确’说法链接到一个基准,显示 sem JSON 准确,而基于 git diff 的回答错误(添加实体数为 238 对 32)。
  • 清晰的架构赌注:函数和实体作为 diff、blame、impact 和 log 的单位,是对基准文档中行级差异失败模式的一致回答。
  • 面向代理的方向:JSON 输出、带 token 预算的 context 命令以及仓库中的 MCP 服务器都将编码代理视为一等用户。

可借鉴之处

首先修正分析单元:行级差异会误导审查者和代理;一旦解析的实体成为单元,下游人类和 LLM 的准确性都会提高,而无需改变命令。

后续进展

截至 2026-09-05,sem 已发布:仓库显示 3.3k 星,可通过 Homebrew、winget、Scoop、npm、cargo 或 Docker 安装,README 记录了实体差异 GitHub Actions、提供八个 sem 工具的 MCP 服务器,以及一个用于大型仓库和团队的可选‘sem cloud’图。材料中未记录公司实体、融资或收入,因此 sem 最好被解读为 Ataraxy Labs 的一个开源开发者工具赌注,其证据目前是 GitHub 影响力、下载量和公开代理准确率基准。

资料来源

发现哪里写错了?告诉我们。

轮到你了

你刚读完一家。说说你在做什么,看看谁在赌同一件事。

免费账号 · 3 次免费提问 · 不用绑卡

相关案例