Google Antigravity支持Claude Opus 5.5
Claude Opus 5.5 and Claude Sonnet 5.5 are now available in Google Antigravity
Agent开发者的实用更新,Antigravity原生支持Claude 5.5系列,且给出了跨模型验证与子代理调度的具体配置示例,可直接参考优化你的多模型工作流。
Whether you are iterating on a quick bug fix or planning a complex migration, different tasks call for different models.
无论你是进行快速错误修复的迭代,还是规划复杂的迁移,不同的任务需要不同的模型。
In keeping with Google Cloud's commitment to an open ecosystem and to give developers the right model for every job, Claude Opus 5.5 and Claude Sonnet 5.5 are now available in Google Antigravity for Google Cloud customers. Claude Opus 5.5 is built for complex work while Claude Sonnet 5.5 is a faster, lower-cost complement.
秉承 Google Cloud 对开放生态系统的承诺,并为开发者提供适合每项工作的正确模型,Claude Opus 5.5 和 Claude Sonnet 5.5 现已在 Google Antigravity for Google Cloud 中向客户开放。Claude Opus 5.5 专为复杂工作设计,而 Claude Sonnet 5.5 则是一种速度更快、成本更低的补充方案。
Once enabled by an administrator, developers can select Claude Opus 5.5 and Sonnet 5.5 directly from the model picker. Administrators can also select Google’s Gemini models, including Gemini 3.8 Flash and Gemini 4 Argon. The models apply across Antigravity 2.0, Antigravity CLI and our recently released Antigravity IDE extensions for VS Code, JetBrains IntelliJ, and Visual Studio. This lets you choose the right model for the job, under a unified enterprise billing and security boundary.
管理员启用后,开发人员可以直接从模型选择器中选择 Claude Opus 5.5 和 Sonnet 5.5。管理员还可以选择 Google 的 Gemini 模型,包括 Gemini 3.8 Flash 和 Gemini 4 Argon。这些模型适用于 Antigravity 2.0、Antigravity CLI 以及我们最近发布的用于 VS Code、JetBrains IntelliJ 和 Visual Studio 的 Antigravity IDE 扩展。这使您能够在统一的企业管理账单和安全边界内,为任务选择合适的模型。
In this post, we’ll share two engineering patterns for building in Antigravity using these models. To view the entire list of models supported in Antigravity across subscriptions, see our documentation here.
在本文中,我们将分享两种使用这些模型在 Antigravity 中进行构建的工程模式。要查看跨订阅在 Antigravity 中支持的所有模型列表,请参阅我们的文档此处。
Multi-model engineering patterns in Antigravity
Antigravity 中的多模型工程模式
Having multiple model families available inside the same agent harness unlocks practical multi-model workflows that improve code quality while controlling latency and cost.
在同一智能体框架(agent harness)中提供多个模型系列,可以解锁实用的多模型工作流,从而在控制延迟和成本的同时提高代码质量。
Pattern 1: Cross-model verification ("LLM-as-a-Judge") in loop and graph workflows
模式 1:循环和图工作流中的跨模型验证(“LLM-as-a-Judge”)
When building agentic loops or multi-step graph workflows, using the same model to both write code and review its own output can reinforce model-specific blind spots. Pairing two distinct model families, one as the implementer and another as the validator (judge), provides independent verification before moving to the next stage of a workflow.
在构建智能体循环或多步图工作流时,使用同一模型既编写代码又审查其自身输出可能会强化模型特定的盲点。将两个不同的模型系列配对,一个作为实现者,另一个作为验证者(裁判),可以在进入工作流的下一阶段之前提供独立的验证。
In Antigravity, you can run this pattern either interactively or via automated subagents:
在 Antigravity 中,您可以交互式地或通过自动化子代理运行此模式:
- Plan and implement with Model A: Start in planning mode using Claude Opus 5.5 or Gemini 4 Argon to design and implement a multi-file change.
- Validate with Model B: Before committing or advancing the loop, switch models, or invoke a one-shot /model check in the CLI, to have a different model family critique the implementation against your test suite and requirements.
- 使用模型 A 进行规划和实施:使用 Claude Opus 5.5 或 Gemini 4 Argon 在规划模式下开始,设计和实施多文件更改。
- 使用模型 B 进行验证:在提交或推进循环之前,切换模型,或在 CLI 中调用一次性 /model check,让不同的模型系列根据您的测试套件和需求对实现进行批判性评估。
Pattern 2: Pairing reasoning models with Flash subagents
模式 2:将推理模型与 Flash 子代理配对
Complex engineering tasks often combine a few high-reasoning decisions with dozens of high-volume, mechanical lookups (searching files, grepping logs, checking lint output, or classifying test failures). Running every lookup on a frontier model can increase both latency and spend.
复杂的工程任务通常会将少数需要高推理能力的决策与大量机械性的查找操作(如搜索文件、grep 日志、检查 lint 输出或分类测试失败)结合起来。在前端模型上运行每一次查找都会增加延迟和成本。
Antigravity's Subagent customization system (.agents/agents/*.md) lets you assign specific model tiers (inherit, flash, or pro) to specialized subagents. When your primary session is running a more powerful model.
Antigravity 的子代理定制系统(.agents/agents/*.md)允许你为专门的子代理分配特定的模型层级(inherit、flash 或 pro)。当你的主会话正在运行更强大的模型时。
Subagents configured with model: inherit use your active session model for deep reasoning subtasks.
配置为 model: inherit 的子代理将使用你当前活动的会话模型来处理需要深度推理的子任务。
Subagents configured with model: flash offload high-speed search, classification, and triage work to Gemini Flash models.
配置为 model: flash 的子代理会将高速搜索、分类和初步筛选工作卸载到 Gemini Flash 模型上。
For example, you can define a fast log-triage subagent in .agents/agents/test-triager.md:
例如,你可以在 .agents/agents/test-triager.md 中定义一个快速的日志筛选子代理:
code_block
代码块
<ListValue: [StructValue([('code', '---\r\nname: test-triager\r\ndescription: Runs unit tests, classifies failures, and returns a concise summary of failing assertions.\r\nmodel: flash\r\ntools:\r\n - read\r\n - edit\r\n---\r\n\r\nRun the requested test targets, classify any failures by root cause (compilation error, assertion failure, or timeout), and return a structured summary to the parent agent.'), ('language', ''), ('caption', <wagtail.rich_text.RichText object at 0x7f336d5faa50>)])]>
<ListValue: [StructValue([('code', '---\r\nname: test-triager\r\ndescription: Runs unit tests, classifies failures, and returns a concise summary of failing assertions.\r\nmodel: flash\r\ntools:\r\n - read\r\n - edit\r\n---\r\n\r\nRun the requested test targets, classify any failures by root cause (compilation error, assertion failure, or timeout), and return a structured summary to the parent agent.'), ('language', ''), ('caption', <wagtail.rich_text.RichText object at 0x7f336d5faa50>)])]>”
And a cross-model code reviewer subagent in .agents/agents/gemini-judge.md:
以及在 .agents/agents/gemini-judge.md 中定义一个跨模型代码审查子代理:
code_block
代码块
<ListValue: [StructValue([('code', "---\r\nname:cross-model-judge\r\ndescription: Independent LLM-as-a-judge verifier that audits diffs and edge cases using Gemini Pro.\r\nmodel: pro\r\ntools:\r\n - read\r\n---\r\n\r\nReview the current workspace diff against the user's requirements. Check for regressions, missing edge-case tests, and security issues. Output a pass/fail verdict with specific line references."), ('language', ''), ('caption', <wagtail.rich_text.RichText object at 0x7f334fc71c90>)])]>
<ListValue: [StructValue([('code', "---\r\nname:cross-model-judge\r\ndescription: Independent LLM-as-a-judge verifier that audits diffs and edge cases using Gemini Pro.\r\nmodel: pro\r\ntools:\r\n - read\r\n---\r\n\r\nReview the current workspace diff against the user's requirements. Check for regressions, missing edge-case tests, and security issues. Output a pass/fail verdict with specific line references."), ('language', ''), ('caption', <wagtail.rich_text.RichText object at 0x7f334fc71c90>)])]>”
With this setup, you can delegate rapid test-and-classify loops to test-triager and trigger cross-model-judge to validate the final diff, combining the strengths of each model in a single workflow.
通过这种设置,你可以将快速的测试与分类循环委托给 test-triager,并触发 cross-model-judge 来验证最终的差异对比,从而在单一工作流中结合每个模型的优势。
Getting started
入门指南
Claude Opus 5.5 and Claude Sonnet 5.5 are available now for Google Cloud customers using Antigravity:
Claude Opus 5.5 和 Claude Sonnet 5.5 现已面向使用 Antigravity 的 Google Cloud 客户开放:
- Administrators (Gemini for business): Third-party partner models do not draw from the pooled Gemini Enterprise Standard and Plus edition monthly token quota. Instead, usage is billed on a pay-as-you-go basis through your existing Google Cloud Billing account, so overages must be enabled. Visit “Gemini Enterprise” > “Settings” > “AI developer tools” in the Google Cloud Console to configure overage billing, spend limits and authorize partner models for your organization. See Configure AI developer tools settings for step-by-step instructions.
- Administrators (Gemini platform): You can also enable partner models if you are using Antigravity through the API in Gemini platform. Enable Claude models in Model Garden and complete the standard Anthropic terms.
- Developers: Update to the latest version of Antigravity 2.0, the Antigravity CLI, or the Antigravity IDE extensions, and open the model picker (or run /model) to select the right model for your task. To learn more about enterprise governance and multi-agent configuration, visit the Google Antigravity Enterprise documentation. You can switch the active model between turns in the same conversation thread while preserving workspace state, open artifacts, and terminal context.
- 管理员(Gemini for Business):第三方合作伙伴模型不会从共享的 Gemini Enterprise Standard 和 Plus 版月度令牌配额中扣除。相反,使用量将通过您现有的 Google Cloud Billing 账户按用量付费计费,因此必须启用超额计费。在 Google Cloud Console 中访问“Gemini Enterprise”>“Settings”>“AI developer tools”以配置超额计费、支出限额并授权合作伙伴模型供您组织使用。请参阅配置 AI developer tools 设置以获取分步说明。
- 管理员(Gemini platform):如果您通过 API 在 Gemini platform 中使用 Antigravity,您也可以启用合作伙伴模型。在 Model Garden 中启用 Claude 模型并完成标准的 Anthropic 条款。
- 开发人员:更新到最新版本的 Antigravity 2.0、Antigravity CLI 或 Antigravity IDE 扩展,然后打开模型选择器(或运行 /model)以选择适合您任务的模型。要了解有关企业治理和多智能体配置的更多信息,请访问 Google Antigravity Enterprise 文档。您可以在同一对话线程的不同回合之间切换活动模型,同时保留工作区状态、打开的工件和终端上下文。
Note: Lightweight first-party Gemini models continue to run in the background to handle high-frequency client-side coordination, such as context management and summaries. They consume first-party tokens and can incur charges.
注意:轻量级第一方 Gemini 模型继续在后台运行,以处理高频客户端协调任务,例如上下文管理和摘要。它们会消耗第一方令牌并可能产生费用。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力