中文版正在随流水线自动整理,稍后刷新即可;可先阅读下方英文原文。
本文由 AI图鉴自动抓取并翻译,版权归原作者所有;如需查看原文请点下方链接。
AI图鉴首页 › AI 资讯 › Show hn: Genesis Map – 可视化你的agent所做的变更。查
当agent越来越快地发布代码时,人工审查变得不再可能。这带来了至少两个问题,就我个人而言:1.我需要理解我的agent做了哪些修改。
中文版正在随流水线自动整理,稍后刷新即可;可先阅读下方英文原文。
本文由 AI图鉴自动抓取并翻译,版权归原作者所有;如需查看原文请点下方链接。
English · 简体中文
genesis-launch.mp4
Genesis turns your codebase into a business flow map and shows which of your agent's changes are untested or risky. It runs as a skill inside Claude Code and Codex, and works on projects in Python, TypeScript, JavaScript, Go, Java, Rust and most other common languages. Python gets the most accurate results.
We gave Claude Code and Codex 10 recent commits from 5 open-source Python projects and asked what a user would ask: what does this commit change, could it break anything, and do the tests cover it? Each agent answered every commit three times on its own and three times with Genesis. Every answer was scored against a reference answer built from the code and its tests before the runs.
With Genesis:
- Changes that tests run but would not catch are flagged about five times as often. A test runs such a change but would still pass if it broke, like the 🟡 stock change in the example below. Claude Code flagged 8% of them on its own and 38% with Genesis. Codex flagged 4% and 23%.
- False alarms drop to about a third, and real risks hold steady. So more of the risks an answer raises are real: 64% instead of 44% for Claude Code, 72% instead of 54% for Codex.
- More of the entry points a change affects are named: the routes, tools and commands that reach the changed code. Claude Code went from 32% to 47%, Codex from 15% to 24%.
Keep in mind that the first row says less than it seems. Most changes in these commits are covered, so an answer that called every change covered would already score 82%. For Codex it is higher on only 4 of the 10 commits. The difference is in the changes tests would not catch, and even with Genesis about a third of those are still called covered. Codex names more entry points with Genesis, but a smaller share of them are right. The sample is small, 10 commits with three runs each, and the answers were scored by language-model readers, not people. Method and full results: change-analysis benchmark.
The quickest way is to let your coding agent do it. Open your own project in the agent and paste:
Install Genesis by following https://raw.githubusercontent.com/GenesisAgentInfra/genesis/main/docs/install.md, then review my latest commit with it and tell me how to open the result.
Or install it yourself. You need uv and Git, on macOS or Linux:
uv tool install --python 3.12 "git+https://github.com/GenesisAgentInfra/genesis#subdirectory=packages/genesis_ci"
"$(uv tool dir --bin)/genesis" agent install --agent claude
Use --agent codex for Codex and --agent both for both. Other agents, updating,
uninstalling and troubleshooting are in the install guide.
Now open your own project in Claude Code. It has to be a Git repository with at least one commit. Then ask for one of two things:
/genesis map
/genesis review main
map draws the system as it is now, so you can understand it. review shows what
changed since a revision (here main) and whether a test checks it. You can also just
ask in plain language.
In Codex the skill is $genesis. When it finishes, open .genesis/out/latest/view.html
in a browser. The summary.md next to it is ready to paste into a pull request. The
usage guide explains the page and the other files.
Say you asked your agent for guest checkout. It built that, and changed three other things on the way. Genesis draws the checkout flow and puts all four changes on it:
These are the labels on the page. summary.md calls the same verdicts not reached,
reached only, unknown and covered; the usage guide lists
both.
Click a step to see what changed there, the test verdict with the note that explains it, and the code behind it:
Your agent does the reading, but it doesn't get the last word. Every step it writes has
to quote the lines of code it stands for, and the Genesis CLI checks each quote against
a frozen snapshot of your repo. If one doesn't match, the whole description is rejected
and the agent tries again. For Python, Genesis also parses the code itself, so a branch
the agent skips leaves the result marked partial in summary.md. When you map a
project, the page also shows "Partial" at the top. A review's page does not, so check
summary.md.
In a review, Genesis finds the changes itself by comparing the two versions of the code, so the list does not depend on the agent. What each change means, its test verdict and its risks are the agent's reading. The CLI refuses a verdict only in plain cases: Behavior checked (covered) with no cited test that asserts anything, or, for Python, No coverage found (not reached) when a test calls the changed function directly. In other languages, whether a cited test asserts anything is the agent's word.
The CLI calls no model, sends nothing anywhere, and never runs your code.
- Python gets the most accurate results, because Genesis parses it. Other languages work too: your agent reads the code and Genesis checks each step against the source, but a path the agent misses is not flagged.
- Test verdicts come from reading your tests. Genesis doesn't run them.
- Risks are what your agent noticed while reading. There is no rule engine.
- Install: requirements, which flag for which agent, updating, uninstalling, and what to do when something goes wrong.
- Use: what to ask, where the result is, how to read the page.
- Benchmark: what was measured and the full results.
- AGENTS.md: for a coding agent asked to install, use or change Genesis.
Questions and bug reports go to GitHub issues. Report a security problem privately, as SECURITY.md describes.
Apache-2.0. Bundled components keep their own licenses, listed in NOTICE and THIRD_PARTY_NOTICES.md. Want to help? See CONTRIBUTING.md.
Auto-fetched and translated by AI Atlas. All rights belong to the original author.
面向企业官网与外贸获客的一体化 AI 建站和持续增长平台,整合网站生成、可视化编辑、多语言发布、产品与文章管
个人上下文 MCP个人上下文 MCP:智能体方向的 AI 工具,Hacker News 新品(热度 28)。
AI 智能体工程斯坦福 Stanford CS329Z(Engineering AI Agents)中文学习教程,面向 Py
AgenvasAgenvas 是 MIT 开源、自托管的 AI 创作画布,把文字、图片、视频、音频和 Agent 放在同一
免费 Hobby 档:Tab 补全与 AI 对话
E2BAgent 沙箱:注册送 $100 赠金
Figma师生免费 Figma 专业版(含 FigJam 与 Dev Mode)
GitHub Copilot Free免费档:每月 2000 次补全 + 50 次高级请求
标题、摘要与正文均来自该信源的公开页面,版权归原作者所有;本站自动聚合与翻译,仅作出处跳转。