Repository navigation
v4.3.2
Antigravity presents requests as a custom agent by default and follows the hub's request spelling; it is aligned with CLI 1.5.21 and hub 2.37.0. Tool search converts between Claude and Responses in both directions. Several conversions to Claude that failed now work: structured output, tool results from Gemini clients and Responses tool search. The lite engine lists models across dialects, and the console can create permission, rate limit and MCP scope rules for several users or keys at once.
Antigravity 默认以自定义 agent 的身份发出请求,请求体按 hub 的写法整理,并对齐到 CLI 1.5.21 和 hub 2.37.0。Claude 和 Responses 之间的工具搜索可以双向转换。几处转换到 Claude 时会失败的情况已经修复:结构化输出、Gemini 客户端的工具结果以及 Responses 的工具搜索。lite 引擎可以跨方言列出模型;控制台创建权限、限流和 MCP 范围规则时可以一次选择多个用户或密钥。
English
Channels
- Antigravity presents a generation request as one of the hub's agents, chosen by the new
agent_kindsetting.custom_agent(the default) sendsrequestType: custom_agentwith the client's system prompt in<System Prompt>tags and no Antigravity identity, as a Markdown custom agent withexcludeDefaultComponents: truedoes.antigravitysendsrequestType: agentwith the hub's identity block. User turns are enclosed in<USER_REQUEST>tags either way. ArequestTypethe client sends itself is kept. - Antigravity requests carry the
trajectory_sourcelabel the hub sends when the editor drives it. - Antigravity writes the system instruction the way the hub does:
systemInstructionwithrole: "user", plain-text parts joined into one, blank parts removed. Toolparametersschemas use upper-case types. Claude Code'sx-anthropic-billing-headerline is removed as before. - Antigravity is aligned with CLI 1.5.21 and hub 2.37.0.
- Antigravity lists the account's banked quota resets and can claim one. A claimed reset refills the quota buckets it names.
- Antigravity accepts a model family name with the tier in
thinkingLevel(for examplegemini-4-hydrogenwithhigh), as Antigravity's ACP server sends behind a custom gateway, and sends the tier's own model. - Antigravity's ACP server sends the placeholder
x-goog-api-key: dummy_api_keynext to the gateway key. The placeholder is ignored and the bearer key authenticates the request. - Codex no longer sends
prompt_cache_breakpoint, which the backend refuses on every model.enable_openai_magic_cacheno longer applies to Codex; magic strings are still removed. - AI Studio Playground no longer aborts the process when it mints a request signature.
Conversion
- Claude's server tool search and Responses'
tool_searchconvert to each other in tools, history, responses and streams. A Responses tool search reaches Claude as the search variant the request declared. - Structured output sent to Claude goes in
output_config.format. Claude refuses the old top-leveloutput_format, so every conversion to Claude with a JSON schema failed, Codex's approval reviews among them. - A Gemini function response filed under the model role reaches Claude as a user message. The Antigravity CLI sends tool results this way, and every request after a tool call failed.
- A Responses
json_schemaformat that comes back with"description": nullis accepted. Non-streamed structured output failed on it. - A Gemini model without
baseModelIdis accepted. Converting a Gemini model list to another dialect failed. - Rerank usage is read from OpenRouter, Cohere, Jina and SiliconFlow replies. Cohere and SiliconFlow reranks recorded no usage.
Lite engine
- The lite engine lists and looks up models across dialects from the upstream's own model list. OpenAI and Claude model requests to Gemini or Claude upstreams failed.
- A pasted credential is checked against the channel's credential kinds. Cookie credentials for Playground and the other cookie channels were refused.
Console
- Creating a permission, rate limit or MCP scope rule can pick several users, keys, providers or operations. One rule is created for each combination.
- The permission, MCP scope and rate limit tables show names instead of ids.
- Antigravity providers have an agent kind setting.
简体中文
渠道
- Antigravity 以 hub 的某种 agent 身份发出生成请求,由新的
agent_kind设置决定。custom_agent(默认)发送requestType: custom_agent,客户端的系统提示词放在<System Prompt>标签中,不带 Antigravity 身份,与 frontmatter 带excludeDefaultComponents: true的 Markdown 自定义 agent 一致。antigravity发送requestType: agent,并带上 hub 的身份块。两种方式下用户回合都放在<USER_REQUEST>标签中。客户端自己发送的requestType会保留。 - Antigravity 请求带有 hub 在编辑器驱动时发送的
trajectory_source标签。 - Antigravity 按 hub 的写法发送系统指令:
systemInstruction,role为user,纯文本 part 合并为一个,空白 part 删除。工具parameters中的类型使用大写。Claude Code 的x-anthropic-billing-header行仍会删除。 - Antigravity 对齐到 CLI 1.5.21 和 hub 2.37.0。
- Antigravity 可以列出账号的重置卡并领取。领取后会重置这张卡对应的额度桶。
- Antigravity 接受在
thinkingLevel中指定层级的模型族名称(例如gemini-4-hydrogen加high),这是 Antigravity 的 ACP 服务器通过自定义网关发送的方式;发往上游时使用该层级对应的模型。 - Antigravity 的 ACP 服务器会在网关密钥之外附带占位的
x-goog-api-key: dummy_api_key。这个占位值会被忽略,由 Bearer 密钥完成认证。 - Codex 不再发送
prompt_cache_breakpoint,后端在所有模型上都会拒绝它。enable_openai_magic_cache不再作用于 Codex,魔法字符串仍会被删除。 - AI Studio Playground 生成请求签名时不再导致进程中止。
转换
- Claude 的服务端工具搜索与 Responses 的
tool_search在工具声明、历史、响应和流中互相转换。Responses 的工具搜索转到 Claude 时使用请求中声明的搜索类型。 - 发往 Claude 的结构化输出放在
output_config.format中。Claude 拒绝旧的顶层output_format,此前所有带 JSON Schema 转到 Claude 的请求都会失败,其中包括 Codex 的审批评审。 - Gemini 中放在 model 角色下的函数响应会以 user 消息发往 Claude。Antigravity CLI 就是这样发送工具结果的,此前工具调用之后的每个请求都会失败。
- 接受 Responses 返回的带
"description": null的json_schema格式,此前非流式的结构化输出会因此失败。 - 接受没有
baseModelId的 Gemini 模型,此前把 Gemini 模型列表转换为其他方言时会失败。 - 从 OpenRouter、Cohere、Jina 和 SiliconFlow 的响应中读取 rerank 用量。此前 Cohere 和 SiliconFlow 的 rerank 不记录用量。
lite 引擎
- lite 引擎根据上游自己的模型列表,跨方言列出和查询模型。此前向 Gemini 或 Claude 上游发起的 OpenAI 和 Claude 模型请求会失败。
- 粘贴的凭证按渠道的凭证类型检查。此前 Playground 和其他 Cookie 渠道的 Cookie 凭证会被拒绝。
控制台
- 创建权限、限流和 MCP 范围规则时可以选择多个用户、密钥、提供商或操作,每种组合各创建一条规则。
- 权限、MCP 范围和限流表格显示名称而不是 ID。
- Antigravity 提供商增加了 agent 类型设置。
Built once by GitHub Actions. CLI (gproxy-*) and Application (gproxy-tauri-*) packages are separate.