智能体如何重塑软件工程

查看“产品与平台”全部内容
查看“创新与 AI”全部内容
查看“产品与平台”全部内容
智能体如何重塑软件工程
智能体如何重塑软件工程
Google Antigravity 负责人 Varun Mohan 分享了他如何使用 Antigravity、他的团队如何在单个任务中协调多个前沿模型、软件开发接下来将走向何方,以及更多内容。
你的浏览器不支持音频元素。
Varun Mohan 和他的团队正在为 Google Antigravity 引入新的智能体功能,包括 Orchestrator、/swarm 和 Remote Agents。这些工具通过协调 Gemini 4 模型来处理规划、执行和测试,让你能够跨代码仓库管理复杂、多步骤的编码任务。你可以访问 Google Antigravity 网站,在你自己的软件工程项目和工作流中开始使用这些功能。
摘要由 Google AI 生成。生成式 AI 仍处于实验阶段。
Varun Mohan 多年来一直为开发者构建工具,如今在 Google DeepMind 负责领导 Google Antigravity。过去几周,他的团队在 Antigravity 中推出了 Gemini 4 Neon、Hydrogen 和 Carbon,同时上线的还有包括 Orchestrator、/swarm 和 Remote Agents 在内的新智能体功能。这些功能共同为开发者提供了一个统一入口,可在 Antigravity 桌面应用、命令行界面(CLI)和 IDE 扩展中运行长周期编码、测试和多智能体工作流。
我们与 Varun 聊了聊,听他讲述自己如何在日常工作中使用 Antigravity、他的团队如何在单个任务中协调多个前沿模型、为什么代码库需要面向智能体测试与优化来设计,以及软件开发下一步将走向何方。
你现在个人在日常工作中是如何使用 Antigravity 的?
VM:我用 Antigravity 来构建和监控 Antigravity。我们让 Antigravity 具备运行自身的能力,并能在自身的测试框架和产品体验上迭代,因此我很容易就能根据反馈进行迭代,直接对代码库做修改,这非常“元”(meta)!这款产品还让我在做复杂数据分析时轻松了许多,从而理解用户遇到的问题,以及哪些做法有效、哪些无效。
随着编码助手逐渐变成自主智能体,日常软件工程发生了哪些变化?
早期的 AI 编码工具是围绕单轮自动补全和简短的对话片段构建的。你停留在单个文件里,向模型发出提示,然后自己手动把每一步拼接起来。而现在,我看到工程师们把更长、更杂乱的任务交给系统,跨越整个代码仓库,由子智能体承担大量多步骤的繁琐工作。
你不再是一行一行地思考,而是在任务层面思考。借助 Antigravity 的插件市场(Plugin Marketplace),智能体可以直接跨 50 多个开发者工具、云服务和 MCP 服务器拉取上下文。而有了在云虚拟机中独立运行的远程智能体(Remote Agents),你可以启动一次重构或功能开发,然后离开笔记本电脑,通过手机或桌面浏览器异步查看进度,回来时测试已经通过,拉取请求(pull request)也已准备好供你审阅。
Antigravity 是如何把 Gemini 4 Neon、Hydrogen 和 Carbon 结合在一起的?
我们的思路是,对于一个长任务的每一个环节,没有任何单一模型是合适的。Gemini 4 Neon 是我们面向广泛代码库的日常主力,Carbon 负责最繁重的推理与验证,Hydrogen 则提供快速执行能力,并带有四个可调节的思考层级。
很多工具走了一条捷径:在你的提示词前面放一个静态的“模型路由器”,它在第一轮就猜测任务难度,并把整个会话锁定到单一模型上。这在较长的任务上会失效,因为随着新的依赖关系浮现,复杂度会在执行中途发生变化。
于是我们构建了 Orchestrator,它可以在单个任务内部在 Carbon 和 Hydrogen 之间动态切换。Carbon 可以梳理架构并制定计划,然后交给 Hydrogen 去编写代码、更新软件包并运行测试——如果 Hydrogen 遇到意料之外的阻力,Carbon 会重新介入。在 Terminal-Bench 4.0 上,Orchestrator 达到了接近 Carbon 的成功率,同时完成任务的速度快了 19%,配额消耗少了 24%。
Google Antigravity 中的 Orchestrator 会在单个任务内部在 Carbon 和 Hydrogen 之间动态切换。
当一项任务超出单次会话所能承载的范围时——比如一次跨及数十个文件的迁移——/swarm 会在彼此隔离的工作区中协调一支并行智能体团队,让各方编辑永不冲突,并搭配验证智能体来运行测试、对 diff 提出质疑。你可以指派 Carbon 主导架构与验证,同时让更快的模型并行处理常规编辑。
让软件的设计方式能够支持智能体对其进行测试和打磨,这意味着什么?
这是我和团队花了很多时间思考的问题。几十年来,我们设计代码仓库、构建系统和文档时,纯粹是围绕人的使用便利来考虑的。而今天,智能体有多可靠,取决于你为它提供的、用于验证自身工作的反馈回路有多可靠。如果你的测试套件要跑 45 分钟,或者本地环境脆弱易坏,智能体就无法有效自我纠错。
那些把 Antigravity 用出最大价值的团队,都在投入精力让自己的代码库变得可验证。快速且确定性的测试、干净的编译器和 lint 信号、隔离的测试环境,以及清晰的仓库上下文——比如可复用的技能(skills)与随代码持续演进的规格说明(living specs)——让智能体能自行编写代码、运行测试,并在你打开 diff 之前就发现回归问题。事实证明,良好的软件工程习惯对智能体而言是一个巨大的放大器。
真实世界中的代码库与基准测试有何不同?Google 内部的使用又如何塑造了 Antigravity?
传统的编程基准测试干净、自洽且毫无歧义:通常只有一处孤立的 bug,以及一个预先写好的测试等着给它打分。而真实的生产工程看起来截然不同。你要应对的是当前 diff 之外的隐式契约、跨服务依赖、规模化下的性能权衡,以及判断需求何时描述得不够充分。
每天有超过 100,000 名 Google 员工在庞大的生产代码仓库中使用 Antigravity 和 Gemini 4 进行构建,这已成为我们最有价值的试验场。例如,针对复杂的多包迁移和跨子系统根因排查开展的为期五周的内部测试,直接塑造了 /swarm。工程师们明确表示,他们不想要一个不透明的黑箱,这促成了我们内置的 Swarm UI——配有实时消息板、智能体名录和可交互的轨迹图,让你可以在任何时候检查并操控任何智能体。正是同样的日常构建者反馈,推动了 Orchestrator 的双向重新规划和 Hydrogen 的细粒度思考层级控制。
Antigravity 内置的 Swarm UI 包含实时消息板、智能体名录和可交互的轨迹图,让你可以在任何时候检查并操控任何智能体。
展望未来,你在软件工程领域最期待的是什么?
逐行敲语法从来都不是软件工程的终极目标。解决真实问题、交付有用的系统才是。随着更好的工具接手重复性的样板代码和管道式基础工作,我很高兴开发者能把更多时间花在构建中最具创造性的部分:定义架构、运用产品判断力、拆解难题,以及审查已验证的成果。
最让我兴奋的是缩短一个雄心勃勃的想法与可靠、可投产的软件之间的距离。当你把强大的模型与为真实工程打造的框架结合起来,开发者就能承接雄心大得多的项目,把时间真正用在设计系统上,而不是和工具较劲。
对于第一次尝试智能体优先(agent-first)工具的构建者,你会分享哪一条建议?
通过非常大胆地写提示词,来建立对模型能力的直觉。大多数人只让模型做小事——但真正的威力在于,你能在大块组件上反复迭代,同时给模型提供清晰的输出验证方式。经验法则:试着做一件你觉得智能体不可能替你完成的事,看看你能走到哪一步!
开始使用 Google Antigravity。
译文由英文原文机器翻译,术语按行业惯例统一,可在文末展开原文核对。
查看英文原文(How agents are reshaping software engineering)
See all in Products & platforms
See all in Innovation & AI
See all in Products & platforms
How agents are reshaping software engineering
How agents are reshaping software engineering
Google Antigravity lead Varun Mohan shares how he uses Antigravity, how his team coordinates multiple frontier models inside a single task, where software development is headed next, and more.

Your browser does not support the audio element.
Varun Mohan and his team are introducing new agentic features to Google Antigravity, including Orchestrator, /swarm, and Remote Agents. These tools allow you to manage complex, multi-step coding tasks across repositories by coordinating Gemini 4 models to handle planning, execution, and testing. You can visit the Google Antigravity website to start using these features for your own software engineering projects and workflows.
Summaries were generated by Google AI. Generative AI is experimental.
Varun Mohan has spent years building tools for developers, and now leads Google Antigravity at Google DeepMind. Over the past few weeks, his team rolled out Gemini 4 Neon, Hydrogen, and Carbon in Antigravity alongside new agentic features including Orchestrator, /swarm, and Remote Agents. Together, they give builders one place to run long-horizon coding, testing, and multi-agent workflows across the Antigravity desktop app, command-line interface (CLI), and IDE extensions.
We caught up with Varun to hear how he uses Antigravity in his own work, how his team coordinates multiple frontier models inside a single task, why codebases need to be designed for agent testing and refinement, and where software development is headed next.
How are you personally using Antigravity in your own day-to-day work right now?
VM: I use Antigravity to build and monitor Antigravity. I’m very easily able to iterate on feedback and make changes directly to the codebase since we’ve also instrumented Antigravity to be able to run itself and iterate on both its own harness and product experience, which is very meta! The product has also made it much easier for me to do complicated data analysis to understand issues from our users and what’s working versus what’s not.
How has day-to-day software engineering changed now that coding assistants are becoming autonomous agents?
Early AI coding tools were built around single-turn autocomplete and short chat snippets. You stayed inside a single file, prompted the model, and manually stitched every step together yourself. Now, I see engineers handing off much longer, messier tasks across entire repositories with subagents taking care of a lot of the multi-step legwork.
Instead of thinking line by line, you’re thinking at the task level. With Antigravity’s Plugin Marketplace, agents can pull context directly across more than 50 developer tools, cloud services, and MCP servers. And with Remote Agents running independently in cloud virtual machines, you can kick off a refactor or feature build, step away from your laptop, check progress asynchronously from a mobile or desktop browser, and come back to passed tests and a pull request ready for your review.
How does Antigravity bring Gemini 4 Neon, Hydrogen, and Carbon together?
The way we think about it, no single model is right for every turn of a long task. Gemini 4 Neon is our everyday workhorse across broad codebases, Carbon handles the heaviest reasoning and verification, and Hydrogen gives you fast execution with four adjustable thinking levels.
A lot of tools take the shortcut of putting a static “model router” in front of your prompt that guesses task difficulty on turn one and locks the whole session into a single model. That breaks down on longer tasks, because complexity shifts mid-flight as new dependencies surface.
Instead, we built Orchestrator, which dynamically switches between Carbon and Hydrogen inside a single task. Carbon can map the architecture and build a plan, then hand it off to Hydrogen to write code, update packages, and run tests — stepping back in if Hydrogen hits unexpected friction. On Terminal-Bench 4.0, Orchestrator reaches near-Carbon success rates while finishing tasks 19% faster and using 24% less quota.
Orchestrator in Google Antigravity dynamically switches between Carbon and Hydrogen inside a single task.
When a task outgrows a single session, like a migration spanning dozens of files, /swarm coordinates a team of parallel agents in isolated workspaces so edits never collide, paired with verifier agents that run tests and challenge diffs. You can assign Carbon to lead architecture and verification while faster models handle routine edits in parallel.
What does it mean to design software so agents can test and refine it?
This is something I spend a lot of time thinking about with my team. For decades, we designed repositories, build systems, and documentation purely around human ergonomics. Today, an agent is only as reliable as the feedback loops you give it to verify its own work. If your test suite takes 45 minutes to run or local environments are brittle, agents can’t self-correct effectively.
The teams getting the most out of Antigravity invest in making their codebases verifiable. Fast, deterministic tests, clean compiler and lint signals, isolated test environments, and clear repository context like reusable skills and living specs let an agent write code, run tests, and catch regressions on its own before you ever open the diff. Good software engineering hygiene turns out to be an enormous multiplier for agents.
How do real-world codebases differ from benchmarks, and how has Google’s internal use shaped Antigravity?
Traditional coding benchmarks are clean, self-contained, and unambiguous: There’s usually one isolated bug and a pre-written test waiting to grade it. Real production engineering looks very different. You’re dealing with implicit contracts outside the immediate diff, cross-service dependencies, performance trade-offs at scale, and knowing when requirements are underspecified.
Having more than 100,000 Googlers build with Antigravity and Gemini 4 every day across massive production repositories has been our most valuable proving ground. For example, five weeks of internal testing on complex multi-package migrations and cross-subsystem root-cause investigations directly shaped /swarm. Engineers made it clear they didn’t want an opaque black box, which led to our built-in Swarm UI with a live message board, agent roster, and interactive trajectory graph so you can inspect and steer any agent at any point. That same daily builder feedback drove Orchestrator’s bidirectional re-planning and Hydrogen’s granular thinking-level controls.
Antigravity’s built-in Swarm UI includes a live message board, agent roster, and interactive trajectory graph so you can inspect and steer any agent at any point.
Looking ahead, what are you most looking forward to in software engineering?
Typing syntax line by line was never the ultimate goal of software engineering. Solving real problems and shipping useful systems is. With better tools handling repetitive boilerplate and plumbing, I love that developers get to spend more time on the creative parts of building: defining architecture, exercising product judgment, decomposing hard problems, and reviewing verified outcomes.
What excites me most is shrinking the distance between an ambitious idea and reliable, production-ready software. When you pair strong models with a harness built for real engineering, developers can take on much more ambitious projects and spend their time actually designing systems instead of fighting tooling.
What’s one piece of advice you’d share with a builder trying agent-first tools for the first time?
Build intuition for the capabilities of the models by prompting very ambitiously. Most people try to ask the model for small things — but the power comes when you can iterate over large components while giving the model clear ways to verify its output. Rule of thumb: Try to do something you feel it would not be possible for the agent to do for you and see how far you get!
Get started withGoogle Antigravity.
原文为英文,正文由自动抓取并保留原文。
原文发布于 Google Blog(How agents are reshaping software engineering),标题、摘要与正文由机器翻译,术语按行业惯例统一,未经人工逐句校订。