前 GitHub CEO 想用 AI 智能体轨迹取代 PR

AI 智能体让编写软件变得比以往任何时候都更容易。但随着开发者越来越多地将编码工作委派给多个智能体,行业正面临另一个问题:审查、管理和保护它们生成的代码。
Thomas Dohmke,前 GitHub CEO、Entire 创始人,认为传统的软件开发生命周期是为人类编写代码并互相审查彼此工作的世界而构建的。当开发者一觉醒来发现多个 AI 智能体已在一夜之间生成了代码时,这种模式越来越难以维持。
“你实际上无法审查所有这些代码,仅仅因为你不再拥有完整的上下文,”Dohmke 在接受 AIM 独家采访时表示。
Dohmke 于去年 8 月离开 GitHub,此前已在该公司工作七年,并曾在 Microsoft 度过十年。他说,在一个越来越多公司从零开始借助 AI 构建的世界里,他希望重新投身于创办初创公司。
他的新公司 Entire 正试图解决他认为的软件开发领域的下一个重大挑战:管理不断增长的 AI 生成代码量。
GitHub 的 pull request 系统是围绕人与人之间的协作构建的。开发者编写代码,提交 pull request,并请另一位开发者审查和合并。
尽管这种模式帮助数百万开发者在开源项目上协作,并成为各企业的标准做法,但 Dohmke 认为智能体式编码正在从根本上改变开发者的协作方式。
一些初创公司已经在摒弃 pull request,因为开发者可以直接将自己的想法输入自己的智能体,而不必请另一位开发者创建 pull request 并审查生成的代码。
Entire 希望用其所谓的 Trails 来取代这一流程——Trails 是一种工作流,能够捕获每一次代码变更背后的完整上下文。
这包括开发者的提示词、智能体的响应、会话过程中提出的问题、工具调用,以及与 Model Context Protocol(MCP)服务器的交互及其响应。
其目标是让开发者及其智能体获得足够的上下文,从而判断生成的代码是否真正反映了最初的意图。
Entire 还采用多重智能体式审查循环,即生成代码的智能体与另一个负责审查代码的智能体进行交互。这一过程会一直持续到系统达到稳定状态,评估全部通过、遗留问题得到处理为止。
Dohmke 将其比作自动驾驶仪在飞行员决定继续推进之前先进入稳定的飞行航径。
他表示,在拉取请求中添加 AI 生成评论的传统做法往往会带来另一个问题。开发者最终可能面对来自审查智能体的数百条评论,而无论是人类开发者还是最初的编码智能体,都未必能达成稳定的解决方案。
“这些评论全都来自 AI,这意味着除了智能体自己,没人会去读,你也就永远达不到稳定状态,”他指出。
Entire 近期推出的 Git Forge 围绕三个组件构建:Trails、分布式 Git Network 和 Continuous Memory。
这种分布式基础设施允许企业在不同地理区域托管代码仓库,同时通过单一的网页界面访问这些仓库。
例如,一家公司可以根据自身的数据驻留要求,将仓库托管在印度、德国或澳大利亚。跨国组织也可以把仓库分布在多个区域,同时让开发者通过同一界面访问。
Dohmke 表示,这不仅出于监管和地缘政治原因很重要,对性能而言也很重要。
如果一家公司的开发者正在使用印度的 GPU 和 AI 推理基础设施,他们不应该还需要把请求路由到另一个国家的服务器。
第二个组件 Continuous Memory 会捕获来自不同编码智能体的会话日志,包括 Claude Code 和 Codex。这些日志与项目仓库一同存储,让开发者和智能体能够访问项目整个生命周期中发生的决策、提示词和交互。
Dohmke 认为,这或许能解决软件工程中一个长期存在的挑战:理解现有代码库。
他说,自己做了 30 年开发者,加入一个成熟项目往往需要相当多的时间去理解其架构、一路做出的决策以及技术约束。
其中一部分知识记录在代码注释中,包括关于某些组件不应被修改的警告,因为改动可能导致服务中断。
“我们认为,把语义层中的所有上下文作为持续记忆收集起来,对于智能体和人类高效、有效地与所有智能体协作至关重要,”他说。
Trails 位于这一架构的最上层,把最初的构想、智能体会话和审查流程串联为单一开发生命周期。
Entire 最近与印度 AI 初创公司 Sarvam 达成合作,将其软件开发平台与本地托管的 AI 推理基础设施结合起来。
Dohmke 表示,这一合作旨在为印度开发者提供一个自主的软件开发闭环,让代码仓库、开发生命周期和 AI 推理都能留在印度境内。
他认为,开发者应当能够在不依赖其他国家托管的基础设施的情况下构建产品。
“如果我在本地运行推理——就在我家、我的电脑所在的地方——速度更快,而且可能更便宜,”他说。
他以 Sarvam 的 1050 亿参数模型 Sarvam 105B 为例,该模型可以托管在印度的数据中心,并由印度的能源供电。
据 Dohmke 所说,以有竞争力的价格用上本地托管的模型,可以帮助印度开发者在全球范围内参与竞争。
他还认为,硅谷以外的开发者需要更好地利用自身的区域优势,来弥补远离 AI 创新中心等劣势。
除 Sarvam 之外,Entire 还在与 Infosys 合作开展早期试点,评估其三层架构和开发生命周期如何融入这家 IT 服务公司的运营。
开源项目 Open Healthcare Network 也是 Entire 的早期设计合作伙伴之一。
Dohmke 表示,公司并未把重心局限于大型企业。它希望服务于个人开发者、初创公司、学生以及大型组织。
AI 编程工具日益广泛的使用,也引发了人们的担忧:开发者是否正在丧失理解自己所构建软件的能力。
不过,Dohmke 认为,AI 是在降低软件开发的门槛,而不是让熟练工程师变得不再必要。
他把软件开发比作家居改造。任何人都可以买来工具、尝试做一张桌子或椅子,但最终成品的质量取决于这个人使用这些工具的能力。
同样,Lovable 这类工具让没有传统编程技能的人也能把想法变成应用和网站。
Dohmke 表示,AI 将造就十亿软件开发者。不过,他区分了公民开发者与专业软件工程师。
后者仍需对计算机科学、安全、基础设施、可扩展性以及软件构建的经济学有更深入的理解。
“未来开发者的手艺在于,他们确实接受过计算机科学教育,”他说,并补充道,下一代工程师还需要更熟练地编排智能体。
他还认为,开发者必须理解 AI 辅助开发的经济账。
Dohmke 表示,企业需要在员工构建产品所花的时间与基础设施和 Token 上的支出之间取得平衡。在企业中,开发者不能只顾生成代码,而不考虑最终产品是否创造经济价值。
Dohmke 不认同 AI 生成的应用必然界面千篇一律、用户体验糟糕这一观点。但他承认,低质量的 AI 生成软件已经成为一个问题。
他预计,市场将把那些只是用 AI 快速生成应用的开发者,与那些打造出具备出色用户体验、品牌和品质的产品的开发者区分开来。
他还警告称,生成更多低质量代码可能会增加安全风险。近期发现的 PHP 漏洞在代码库中潜伏了近十年才被发现,这凸显了传统人工代码审查的局限。
Dohmke 认为,现代软件的复杂性已经超出了大多数开发者能够手动理解和检查的范围。
不过,他并不认为开发者需要理解技术栈中的每一个组件。
在他看来,竞争优势来自于在这些技术之上构建有价值的产品,而不是从零开始重新实现每一个组件。
原文较长,译文为节选;译文由英文原文机器翻译,术语按行业惯例统一,可在文末展开原文核对。
查看英文原文(Thomas Dohmke Wants to Replace Pull Requests With AI Agent Trails)
AI agents are making it easier than ever to write software. But as developers increasingly delegate coding to multiple agents, the industry is running into a different problem: reviewing, managing and securing the code they produce.
Thomas Dohmke, former GitHub CEO and Founder of Entire, believes the traditional software development lifecycle was built for a world where humans wrote code and reviewed each other’s work. That model is increasingly difficult to sustain when developers can wake up to find multiple AI agents have generated code overnight.
“You can’t actually review all that code simply because you no longer have all the context,” Dohmke tells AIM in an exclusive interview.
Dohmke left GitHub in August last year after seven years at the company, having previously spent a decade at Microsoft. He says he wanted to return to building a startup in a world where companies are increasingly being built with AI from the ground up.
His new venture, Entire, is attempting to address what he sees as the next major challenge in software development: managing the growing volume of AI-generated code.
Entire Wants to Replace Traditional Code Reviews
GitHub’s pull request system was built around human-to-human collaboration. Developers would write code, submit a pull request and ask another developer to review and merge it.
While this model helped millions of developers collaborate on open-source projects and became a standard practice across enterprises, Dohmke believes agentic coding is fundamentally changing how developers collaborate.
Some startups are already doing away with pull requests, as developers can directly feed ideas into their own agents instead of asking another developer to create a pull request and review the resulting code.
Entire wants to replace this process with what it calls Trails, a workflow that captures the complete context behind every code change.
This includes the developer’s prompts, the agent’s responses, questions asked during a session, tool calls, interactions with Model Context Protocol (MCP) servers and their responses.
The objective is to give developers and their agents enough context to understand whether the generated code actually reflects the original intent.
Entire also uses multiple agentic review loops, in which the agent generating the code interacts with another agent responsible for reviewing it. The process continues until the system reaches a stable state, with evaluations passing and outstanding issues addressed.
Dohmke compares this to an autopilot reaching a stable flight path before a pilot decides to proceed.
He says the traditional approach of adding AI-generated comments to pull requests often creates another problem. Developers can end up with hundreds of comments from review agents, without either the human developer or the original coding agent necessarily arriving at a stable solution.
“All of them coming from AI, which means nobody reads it other than the agent itself, and you never get to a stable state,” he notes.
Distributed Git Infrastructure and Continuous Memory
Entire’s recently launched Git Forge is built around three components: Trails, a distributed Git Network and Continuous Memory.
The distributed infrastructure allows companies to host repositories in different geographical regions while accessing them through a single web interface.
For instance, a company can host its repository in India, Germany or Australia, depending on its data residency requirements. A multinational organisation can also distribute its repository across multiple regions while allowing developers to access them through the same interface.
Dohmke says this is important not only for regulatory and geopolitical reasons but also for performance.
If a company’s developers are using GPUs and AI inference infrastructure in India, they should not have to route requests to servers in another country.
The second component, Continuous Memory, captures session logs from different coding agents, including Claude Code and Codex. These logs are stored alongside the project repository, allowing developers and agents to access the decisions, prompts and interactions that have taken place throughout a project’s lifecycle.
Dohmke believes this could address one of the longstanding challenges in software engineering: understanding an existing codebase.
Having spent 30 years as a developer, he says joining an established project often requires considerable time to understand its architecture, the decisions made along the way and its technical constraints.
Some of this knowledge is documented in code comments, including warnings about components that should not be modified because they could cause outages.
“Collecting all the context in the semantic layer as continuous memory, we believe, is crucial for the agents and the humans to be efficient and effective with all the agents,” he says.
Trails sits at the top of this architecture, connecting the original idea, agent sessions and the review process into a single development lifecycle.
Sarvam Partnership
Entire recently partnered with Indian AI startup Sarvam to bring together its software development platform and locally hosted AI inference infrastructure.
Dohmke says the partnership is intended to give Indian developers a sovereign software development loop, where repositories, the development lifecycle and AI inference can all remain within India.
He believes developers should be able to build products without having to depend on infrastructure hosted in other countries.
“If I run my inference here, where my home is, where my computer is, it’s faster and potentially cheaper,” he says.
He points to Sarvam’s 105-billion-parameter model, Sarvam 105B, which can be hosted in Indian data centres and powered by Indian energy.
According to Dohmke, access to locally hosted models at competitive prices could help Indian developers compete globally.
He also argues that developers outside Silicon Valley need to make better use of their regional advantages to compensate for disadvantages such as being away from the centre of AI innovation.
Beyond Sarvam, Entire is working with Infosys on early pilots to assess how its three-layer architecture and development lifecycle fit into the IT services company’s operations.
The Open Healthcare Network, an open-source project, is another of Entire's early design partners.
Dohmke says the company is not restricting its focus to large enterprises. It wants to serve individual developers, startups, students and large organisations.
AI-Generated Software Could Create a New Kind of Craftsmanship
The growing use of AI coding tools has also raised concerns about whether developers are losing the ability to understand the software they build.
Dohmke, however, believes AI is lowering the barriers to software development rather than eliminating the need for skilled engineers.
He compares software development to home improvement. Anyone can purchase tools and attempt to build a table or chair, but the quality of the final product depends on the person’s ability to use those tools.
Similarly, tools such as Lovable allow people without traditional programming skills to turn ideas into applications and websites.
Dohmke says AI will create a billion software developers. However, he distinguishes between citizen developers and professional software engineers.
The latter will still require a deeper understanding of computer science, security, infrastructure, scalability and the economics of building software.
“The craft of the future developer is that they do have a computer science education,” he says, adding that the next generation of engineers would also need to become more proficient at orchestrating agents.
He also argues that developers must understand the economics of AI-assisted development.
Dohmke says companies need to balance the time employees spend building products against the money spent on infrastructure and tokens. In enterprises, developers cannot simply generate code without considering whether the resulting product delivers economic value.
AI Slop Could Become a Security Problem
Dohmke disagrees with the idea that AI-generated applications necessarily have generic user interfaces and poor user experiences. However, he acknowledges that low-quality AI-generated software is already a problem.
He expects the market to distinguish between developers who simply use AI to generate applications quickly from those who build products with strong user experiences, branding and quality.
He also warns that generating more low-quality code could increase security risks. The recent PHP vulnerability, which was discovered after remaining in the codebase for nearly a decade, illustrates the limitations of traditional human code reviews.
Dohmke believes the complexity of modern software has grown beyond what most developers can manually understand and inspect.
However, he does not think developers need to understand every component of the technology stack.
According to him, the competitive advantage comes from building valuable products on top of these technologies rather than recreating every component from scratch.
What About Young Graduates?
Dohmke believes the next generation of developers will enter the workforce with a fundamentally different relationship with AI.
Young developers have already grown up using AI tools such as ChatGPT and coding copilots. They are increasingly comfortable using agents to write code, documents and presentations.
He expects this generation to challenge established ways of working, both in Silicon Valley and large IT services companies.
“The generation of software developers that grew up in the 90s and 2000s should worry much more than the ones growing up today, because they have to upskill, they have to relearn what they were doing their craft for the last 20 years,” he says.
For Indian IT services companies, the implications could be particularly significant.
Traditionally, many IT services firms have charged clients based on the number of employees assigned to a project and the hours they work. Agentic AI could disrupt this model by allowing smaller teams to deliver more work.
Dohmke says these companies would need to rethink their workforce structures, management layers, service offerings and pricing models. They will also need to account for the cost of tokens consumed through AI infrastructure providers.
“Probably not by the hour anymore,” he says, referring to how IT services firms may need to charge their customers.
Ultimately, he believes companies will have to figure out how to maximise the value delivered to customers while maintaining profitability.
正文保留英文原文,标题与摘要由机器翻译。
原文发布于 Analytics India Magazine(Thomas Dohmke Wants to Replace Pull Requests With AI Agent Trails),标题、摘要与正文由机器翻译,术语按行业惯例统一,未经人工逐句校订。