AI 编程 4.0 · 优秀 2026-11-30 · GitHub

agy acp --agent consumes 4x Gemini quota per token in 1.5.17 vs 1.5.16 (Antigravity CLI)

2026-11-26 提交的 Antigravity CLI 回归:1.5.17 起 agy acp --agent 每个 token 消耗的 Gemini 周/5 小时配额恰好是 1.5.16 的 4.00 倍(同一自定义 agent模型与提示词),默认 agent 则完全不变报告用无工具最小自定义 agent 加无头 stdio ACP 客户端复现,配额读数来自 /usage --output-format json;44 条讨论标记 billing/quota 回归,2026-11-27 以 completed 关闭教训:自定义 agent/ACP 这类配置路径可能悄悄放大成本,配额遥测才是实际地面真值

打开原文回到归档

agy acp --agent <custom-agent> consumes 4x Gemini quota per token in 1.5.17 vs 1.5.16 (Antigravity CLI)

中文导读

2026-11-26 提交的 Antigravity CLI 回归:1.5.17 起 agy acp --agent <custom-agent> 每个 token 消耗的 Gemini 周/5 小时配额恰好是 1.5.16 的 4.00 倍(同一自定义 agent、模型与提示词),默认 agent 则完全不变。报告用无工具最小自定义 agent 加无头 stdio ACP 客户端复现,配额读数来自 /usage --output-format json;44 条讨论、标记 billing/quota 回归,2026-11-27 以 completed 关闭。教训:自定义 agent/ACP 这类配置路径可能悄悄放大成本,配额遥测才是实际地面真值。

为什么值得关注

Antigravity CLI 1.5.17 regression: custom agents via ACP burn 4x Gemini quota per token vs 1.5.16; closed as fixed after 44 comments.

值得关注的原因在于这是典型的 agent 工具链隐性成本回归:版本升级后同一段提示词的配额消耗精确变成 4 倍,且只有自定义 agent 路径受影响——对跑多个 agent 的团队,配额遥测监控应当和功能测试同级。

关键信息

  • 影响:1.5.17 自定义 agent 经 ACP 每 token 配额 = 1.5.16 的 4.00 倍(周配额与 5 小时配额)
  • 默认 agent 两个版本配额完全一致,问题仅在 --agent 路径
  • 复现:无工具最小自定义 agent + 无头 stdio ACP 客户端,/usage JSON 读配额
  • 44 条讨论,标记 billing/quota + regression,2026-11-27 closed as completed

English Summary

Filed 2026-11-26 against Antigravity CLI 1.5.17: running agy acp --agent <custom-agent> consumed exactly 4.00x Gemini weekly and 5-hour quota per token versus 1.5.16 on the same custom agent, model and prompt, while the default agent showed no change between versions. The reporter reproduced it with a minimal no-tools custom agent and a headless stdio ACP client (initialize, authenticate, session/new, session/prompt), reading quota via /usage --output-format json until two consecutive reads agreed. The issue gathered 44 comments, was labeled a regression affecting billing/quota, and was closed as completed on 2026-11-27. A reminder that agent-configuration paths (custom agents, ACP) can silently multiply token costs, and that quota telemetry is the practical ground truth for agent economics.