← Back
TechIndustry#LLM#Show#Graphvein#Trace#LLM Show#From

Show HN: Graphvein – Trace calls to handlers and tables across repos, no LLM

Hacker News 热门(Algolia · 中文化)T2
00:3613h agoHN digestRead the original ↗Export MD ↓

Score

52

Why selected

进入全量动态池,后续可由人工或模型复核精选价值。

AI commentary

「来自 Hacker News 热门(Algolia · 中文化) 的这条信息指向行业格局和商业判断变化,适合用于判断近期 AI 圈的真实动向。」

Quick overview

Show HN: Graphvein – Trace calls to handlers and tables across repos, no LLM · HN points: 2 · comments: 1 · https://news.ycombinator.com/item?id=50656925

  • From any route, call, handler or table to what it connects to, across your frontends, backends and database.
  • Local, labelled, no LLM.
  • - graphvein/graphvein

Full text

Graphvein

Trace any route, call or table across your stack.

Frontend calls behind a route, its handler, the tables it may read or write, and what a change reaches.

Graphvein maps a codebase from its architecture overview down to the exact function or line. It builds a deterministic graph of code facts and keeps design rationale, assessments and human decisions attached to the code they describe.

Graphvein runs locally and uses no LLM. It opens no network connection except to what you configure yourself, such as a team Postgres database or the Try it out environment you select (FAQ).

Status

Preview release (v0.1.0); contributions welcome under the contributor licence agreement (CONTRIBUTING.md). What works today: graphvein index builds the index of a repository, and graphvein serve opens a local web UI on it with the sections API (routes and their callers), Changes (what a change reaches), Architecture, Schema, Explorer (API documentation and a guarded "Try it out"), Project and What Graphvein couldn't read. Two or more repositories can be indexed and served as one project, and graphvein mcp is a read-only MCP server over the same index for coding agents. The same questions work from the command line, with --json for scripts: graphvein callers 'GET /api/items' --json (queries). Help in the app explains every section and label (guide). What Graphvein does not see or model today is listed in known gaps.

The API section of Graphvein on the full-stack FastAPI template: the route GET /api/v1/items/ with its one caller, ItemsService.readItems in frontend/src/client/sdk.gen.ts, labelled 'Exact path match · 0.9'; the label's tooltip reads 'Stored calls_route edge: inferred 0.9 exact. The number is a fixed rank per match rule, not a probability.' The same view in the technical label style: the caller's label reads 'inferred 0.9 exact' and the route's 'fact 1.0'.

The same route of the public full-stack FastAPI template in the plain label style with the caller's tooltip open (left), and in the technical style (right). The number is a fixed rank per match rule, not a probability.

Area What is read Measured evidence
Routes and their callers Routes: Express, FastAPI, Axum, Go net/http, chi and gin, Next.js App Router, Angular and Tauri commands. Calls: fetch, axios, Angular HttpClient, hey-api and Orval generated clients and the Supabase JS client (routes, clients). Route-to-caller links on three messy open-source repositories (langflow, owncast, seerr): 363 of 363 links correct in the current state, after the fix of the 22 false links the first measurement found and its follow-ups, precision 100.0% [Wilson 95%: 99.0%, 100.0%] (first measurement 94.6%). Recall in application code: 93.0% (langflow) and 93.5% (seerr); owncast reaches 81.5% of the calls Graphvein recognises, but its admin console calls the API through a fetchData helper that Graphvein does not recognise yet. Counting every call, langflow's falls to 27.8%: its documentation examples pass the HTTP method in a fetch options object and take the base URL from process.env, which Graphvein does not resolve yet (link precision).
TypeScript and JavaScript call binding Calls to functions, classes and object members by name, with static dispatch; a call Graphvein cannot bind stays unresolved (TypeScript resolution). 0 wrong call edges against the language's own scope analysis on 12 corpora: 11 public open-source repositories and Graphvein's own web UI (call binding).
Schema SQL migrations, judged under Postgres rules; models of SQLModel, Prisma, Drizzle, Sequelize, TypeORM, Diesel and GORM; Supabase generated types (schema). Where an oracle harness exists, facts are compared with the catalog of a real database, and a fact is marked checked only for a form the oracle compared. MySQL, SQL Server and CockroachDB facts are mapped, not checked (known gaps).
Project linking Calls in one repository linked to routes in another, labelled inferred with the assumption they rest on; a call several members could serve stays ambiguous until a consumes declaration settles it (project). No separate measurement yet (known gaps).
MCP server Read-only tools for routes, callers, call chains, tables, change impact, search and source over the index (mcp). Benchmark of 21 questions, three agents, three repetitions each: correct runs out of 63 rose from 53 to 62 (Claude Code) and from 56 to 61 (opencode) with the MCP server; Codex was at 59 without it and 59 to 61 with it, within run-to-run variation. Round 3: with new server instructions, default Codex called Graphvein's tools in 26 of 63 runs, against 2 of 63 before (results).

Calls Graphvein cannot link are not hidden: the API section counts them as unmatched, dynamic or behind a wrapper, and selecting a count lists the calls behind it.

Install

Each release has one archive per system (Windows, macOS and Linux, each for x86-64 and Arm64): .zip for Windows, .tar.gz for macOS and Linux. Each archive holds the graphvein binary with LICENSE, NOTICE, THIRD_PARTY_NOTICES and this README. The binaries are built by the release workflow from the release tag; they are not code-signed. Download the archive for your system and SHA256SUMS from the release page, then check them.

Checksum. In the download folder (Git Bash on Windows has sha256sum; on macOS use shasum -a 256 -c in its place):

grep graphvein-v0.1.0-linux-amd64.tar.gz SHA256SUMS | sha256sum -c

Provenance. Each archive has a build provenance attestation that ties it to the workflow run and the commit it was built from. With the GitHub CLI:

gh attestation verify graphvein-v0.1.0-linux-amd64.tar.gz --repo graphvein/graphvein

Unpack it (tar -xzf graphvein-v0.1.0-linux-amd64.tar.gz; on Windows, Extract All in File Explorer) and put the folder on your PATH, or call the binary by its path: graphvein version prints the version you downloaded.

First run on Windows. A downloaded program that is not code-signed can make SmartScreen show "Windows protected your PC". Choose More info, then Run anyway. Or, before unpacking, open the .zip file's Properties and tick Unblock.

First run on macOS. Gatekeeper refuses a downloaded binary that is not notarised ("graphvein" Not Opened, or "cannot be opened because Apple cannot check it for malicious software"). Remove the download mark from the unpacked binary:

xattr -d com.apple.quarantine ./graphvein

or try to run it once, then open System Settings → Privacy & Security and choose Open Anyway next to the message about graphvein.

Without warnings: install with Go. A binary you build yourself carries no download mark, so neither warning appears:

go install github.com/graphvein/graphvein/cmd/graphvein@latest

It needs Go 1.21 or newer, which downloads the Go toolchain the module requires when yours is older. The binary goes to $(go env GOPATH)/bin and graphvein version reports the module version you installed (use @v0.1.0 for a given release). To build from a checkout instead, see the next section.

Building and running

Requires Go 1.27.4 (the toolchain line in go.mod; an installed Go 1.21 or newer downloads it automatically) and Bash (Git Bash on Windows). No C compiler is needed. From the repository root:

bash scripts/test.sh
bash scripts/build.sh
./bin/graphvein$(go env GOEXE) version
./bin/graphvein$(go env GOEXE) help

graphvein serve [path] serves the local web UI and HTTP API for an indexed repository at http://127.0.0.1:7420/ (loopback only; see serve). The UI is embedded in the binary, so building and testing need only Go. Node (24 LTS, pinned in web/.nvmrc) is needed only to change the UI: see web/README.md and run bash scripts/check-web.sh after editing web/.

Two repositories as one project

A frontend and a backend kept in separate repositories can be indexed, linked and served together (ADR 0075, project). With the built binary on your PATH, from the folder that holds both checkouts (shop-web, shop-api):

graphvein project init --name shop --dir shop frontend=shop-web backend=shop-api
graphvein index --project shop
graphvein serve --project shop

Each member is named explicitly (NAME=PATH, unless its own graphvein.yaml sets repository:), and its path is written relative to the manifest.

project init writes graphvein-project.yaml; index --project indexes each member into the project store (.graphvein/index.db next to the manifest) and links calls in one repository to routes in the other; serve --project serves the UI at http://127.0.0.1:7420/ with a repository switcher and the Project view. A cross-repository link is inferred and shows the assumption it rests on; when several members could serve a call it stays ambiguous until you declare which one it consumes (Edit declarations in the Project view, or graphvein project suggest). graphvein status --project . reports member freshness and stale links.

The build writes bin/graphvein.exe on Windows and bin/graphvein elsewhere. VERSION (default dev) and BUILD_DATE (default current UTC time) can override build metadata; the commit comes from Git, falling back to unknown. A version left at dev is replaced by the module version the Go toolchain recorded, if any (go build in a Git checkout records a version from the commit; go install ...@v0.1.0 records v0.1.0), and an unknown commit or date by the Git commit and its time the toolchain recorded. Direct go run ./cmd/graphvein version uses dev / unknown / unknown. bash scripts/release-archives.sh VERSION OUTDIR builds the release archives and SHA256SUMS as the release workflow does.

Tests include the golden harness self-tests. Fixture tests call golden.Check(t, "testdata/name.golden.json", value). Use golden.Path for filesystem path fields; ordinary text strings are preserved. Object keys are sorted, arrays keep their input order, and output uses two spaces and LF. A mismatch names the first JSON path with expected and actual values. To intentionally update only selected fixtures, review the resulting diff:

go test ./internal/golden -run '^TestFixture$' -update

The isolated parsing spike retains its own module and tests:

(cd spike/parsing && CGO_ENABLED=0 go test ./...)

CI runs the main module on Windows, macOS and Linux with cgo disabled, and the WASM spike tests on Windows. bash scripts/check-line-endings.sh checks tracked files for CRLF, respecting binary attributes and Windows script exceptions. See the vision, architecture and roadmap for scope and order, and known gaps for what Graphvein does not see or model today.

Licence, contributing and security

Graphvein is licensed under the Apache License 2.0; see NOTICE for the copyright notice and the bundled editor logos, which stay under their owners' terms, and THIRD_PARTY_NOTICES for third-party software. Contributions need a signed contributor licence agreement; see CONTRIBUTING.md. Report vulnerabilities privately as described in SECURITY.md. Everyone taking part follows the code of conduct.

Graphvein™ is a trademark of the project owner. The Apache License does not grant permission to use the name; forks must use a different name.

Related items

89

Five-dimension score

Information gain9 ×0.3

基于真实用户行为数据的研究成果,提供了关于AI如何改变工作内容的新定量证据。

Content quality8 ×0.2

结构清晰,关键发现明确,但可进一步深入细分行业差异。

Practical value8 ×0.2

为企业管理层、HR和组织设计者提供了直接可参考的数据洞察。

Timeliness10 ×0.15

研究刚于近日发布,紧贴当前AI应用热潮。

Source reliability10 ×0.15

来源为OpenAI官方研究,数据可靠且权威。

Base 89 × T1 Source weight ×1 = 89

Curation line 60Selected

11:30OpenAI:News(RSS)T1RSS

FeaturedOpenAI Research: AI Is Redefining Job Boundaries

OpenAI研究:AI正在重新定义工作边界

If you care about the real impact of AI on work, this research is a must-read. Instead of theory, it uses data to show how ChatGPT users expand their task scope, offering direct insights for HR, managers, and every professional looking to upgrade their skills.

AIIndustry#ChatGPT#OpenAI#Labor Market Impact
87

Five-dimension score

Information gain8 ×0.3

提供了来自 AI 原生企业内部 CFO 的一手经验,信息增量较高。

Content quality9 ×0.2

内容结构清晰,来自权威高管,质量上乘。

Practical value8 ×0.2

为财务高管提供了可落地的经验与注意事项,实用价值强。

Timeliness9 ×0.15

刚发布的官方内容,时效性高。

Source reliability10 ×0.15

信源为 OpenAI 官方博客,可靠性极高。

Base 86.5 × T1 Source weight ×1 = 87

Curation line 60Selected

01:00OpenAI:News(RSS)T1RSS

FeaturedOpenAI CFO Shares Five Lessons for Building an AI-Native Finance Function

OpenAI CFO 分享构建 AI 原生财务职能的五大经验

As an editor, I find this article uniquely valuable because it comes from a finance chief at an AI leader, not an external consultancy, making it highly practical. I recommend it to finance digitalization leads, CFOs, and anyone interested in AI-driven transformation.

FinanceIndustry#AI-native finance#AI ROI#OpenAI
87

Five-dimension score

Information gain8 ×0.3

首次系统性报告智能体AI在科学计算中的具体应用案例,信息增量较高。

Content quality9 ×0.2

来自权威机构OpenAI,内容结构清晰,案例详实,质量上乘。

Practical value8 ×0.2

为科研人员和决策者提供了可操作的参考和路线图,实用价值显著。

Timeliness9 ×0.15

报告发布日期为近期,紧贴AI agent热门趋势,时效性强。

Source reliability10 ×0.15

OpenAI作为AI领域头部机构,其官方报告可信度极高。

Base 86.5 × T1 Source weight ×1 = 87

Curation line 60Selected

01:00OpenAI:News(RSS)T1RSS

FeaturedScientific Computing in the Age of Agentic AI: OpenAI Releases New Field Report

智能体AI时代下的科学计算:OpenAI发布新领域报告

This report is one of the most practical analyses in the current AI agent wave, especially suitable for practitioners in computational biology and drug discovery. It answers the key question 'What can AI agents do besides writing code?' and directly demonstrates productivity gains in complex scientific computing.

AIIndustry#AI Coding Agent#OpenAI#Genomics
87

Five-dimension score

Information gain8 ×0.3

语音人类自然度评估标准新工具,信息增量高,此前缺乏同类开源基准。

Content quality9 ×0.2

内容详实,技术细节清晰,附带使用说明与开源代码,质量高。

Practical value9 ×0.2

直接可用于模型开发与对比,实用价值极高,尤其对语音相关团队。

Timeliness8 ×0.15

语音AI快速发展期,评测需求强烈,发布时机恰逢其时。

Source reliability10 ×0.15

Hugging Face官方博客,权威信源,工具已开源可验证。

Base 87 × T1 Source weight ×1 = 87

Curation line 60Selected

08:00Hugging Face:Blog(RSS)T1RSS

FeaturedReal World VoiceEQ: Measuring the Human Quality of Voice AI

Real World VoiceEQ:量化语音AI的人类自然度

What's noteworthy is that this benchmark truly focuses on the soft metric of 'human-likeness', not traditional speech recognition rate or MOS scores. For teams working on speech synthesis, voice cloning, or voice interaction, this is a highly practical reference tool that quickly identifies model deficiencies in emotion, prosody, etc. However, language support is currently limited; looking forward to future expansion.

TechIndustry#Hugging Face#Real World VoiceEQ#Naturalness Evaluation
85

Five-dimension score

Information gain8 ×0.3

提出新颖的AI ROI量化框架,对当前缺乏标准化评估方法的企业具有较高的信息增量。

Content quality7 ×0.2

框架逻辑清晰,但缺乏具体案例或数据支撑,偏概念性介绍。

Practical value9 ×0.2

直接面向企业实际痛点,可操作性强,对投资决策有明确指导意义。

Timeliness10 ×0.15

在当前AI投资泡沫与理性化需求背景下,该内容极其及时。

Source reliability9 ×0.15

来自OpenAI官方渠道,由CFO署名,权威性高。

Base 84.5 × T1 Source weight ×1 = 85

Curation line 60Selected

18:00OpenAI:News(RSS)T1RSS

FeaturedOpenAI Introduces AI Age Scorecard: A New Way to Measure ROI

OpenAI 推出AI时代记分卡:衡量投资回报的新方法

This blog post hits a sore point in the current AI industry: how to quantify input-output. For enterprise decision-makers deploying or planning large-scale AI, it helps avoid herd mentality. My personal advice: try defining 'useful work' based on your own business scenario, and avoid designing metrics that are merely formality.

TechIndustry#AI Scorecard#AI Deployment Strategy#OpenAI
85

Five-dimension score

Information gain8 ×0.3

提出了新颖的'每美元有用功'指标,对AI投资评估有较高信息增量。

Content quality7 ×0.2

逻辑清晰、结构完整,但缺少实际案例分析,略偏抽象。

Practical value9 ×0.2

为企业提供了可落地的衡量框架与治理建议,实用性强。

Timeliness9 ×0.15

发表于代理时代兴起之际,贴合当前企业AI投资焦虑点。

Source reliability10 ×0.15

来源为OpenAI官方博客,权威性高。

Base 84.5 × T1 Source weight ×1 = 85

Curation line 60Selected

18:00OpenAI:News(RSS)T1RSS

FeaturedHow to Manage AI Investments in the Agentic Era: Focus on Useful Work per Dollar and High-Value Workflows

代理时代如何管理AI投资:聚焦每美元有用功与高价值工作流

This article is especially important for enterprises scaling AI agents. It reminds us that focusing solely on falling API prices is a trap; what really matters is the return per unit of work. I recommend CTOs and CFOs read it together and establish quantitative evaluation mechanisms internally.

AIIndustry#AI agents#OpenAI#ROI
85

Five-dimension score

Information gain8 ×0.3

提出组织延迟这一概念,对AI落地实践有增量启发。

Content quality8 ×0.2

观点明确,逻辑清晰,引用权威信源。

Practical value9 ×0.2

对企业和组织管理者具有直接指导意义。

Timeliness8 ×0.15

当前AI快速迭代期,组织滞后问题紧迫。

Source reliability10 ×0.15

来源为OpenAI官方新闻,权威性高。

Base 85 × T1 Source weight ×1 = 85

Curation line 60Selected

20:00OpenAI:News(RSS)T1RSS

FeaturedDesigning Organisations That Can Keep Up With AI: Organisational Latency as the Biggest Barrier

设计能跟上AI的组织:组织延迟成为最大障碍

What makes this article truly worth following is that it raises a neglected bottleneck: no matter how strong the technology is, if the organisation can't keep up, it's useless. For CTOs, CIOs, and transformation leaders, this is a more important framework than tech selection.

AIIndustry#AI#OpenAI#Organisational Change
84

Five-dimension score

Information gain9 ×0.3

首次公开OpenAI与美能源部合作框架,披露合作领域与资源支持,信息增量高。

Content quality8 ×0.2

内容清晰完整,但缺乏具体时间表与项目细节,质量上乘但可优化。

Practical value7 ×0.2

对科研机构与政策制定者有参考价值,但普通读者直接实用度一般。

Timeliness8 ×0.15

新闻刚发布,但合作尚未有落地成果,时效性良好。

Source reliability10 ×0.15

来源为OpenAI官方RSS,权威性无可挑剔。

Base 84 × T1 Source weight ×1 = 84

Curation line 60Selected

20:00OpenAI:News(RSS)T1RSS

FeaturedOpenAI Partners with U.S. Department of Energy and National Labs to Accelerate Scientific Discovery with Frontier AI

OpenAI宣布与美国能源部和国家实验室合作,推动前沿AI加速科学发现

This is not just a tech collaboration but a milestone in national AI strategy. For those following AI policy and scientific innovation, the framework design is worth examining.

AIIndustry#OpenAI#Frontier AI#National Labs

Verify against the original source before citing