cd /news/ai-tools/google-antigravity-acp-using-custom-… · home › topics › ai-tools › article
[ARTICLE · art-178097] src=github.com ↗ pub= topic=ai-tools verified=true sentiment=↓ negative

Google Antigravity ACP using "custom-agent" consumes 4x quota per token

Google Antigravity CLI version 1.5.17 consumes exactly 4.00x the Gemini weekly and 5-hour quota per token versus 1.5.16 when run with a custom agent via `agy acp --agent`, according to a bug report filed against the google-antigravity/antigravity-cli repository. The reporter's minimal reproduction, using a tool-free custom agent and the Gemini 4 Neon (XHigh) model over a headless stdio ACP client, found no quota difference between 1.5.16 and 1.5.17 on the default agent, and the 1.5.17 release notes do not mention a 4x multiplier for custom agents.

recommendation

Pin Antigravity CLI to 1.5.16 or avoid `--agent` custom agents on 1.5.17, and check `/usage` remaining_fraction before and after runs to catch the 4x quota multiplier.

more in playbook: Controlling LLM cost
by read12 min views1 publishedNov 29, 2026
Google Antigravity ACP using "custom-agent" consumes 4x quota per token
Image: Michielbdejong (auto-discovered)

Repository navigation #

1.5.17

ACP

bugSomething isn't working

comp:agent capabilitiesBackground Tasks & Subagents, Permissions, Sandbox

comp:billing/quotaLive quota, credit reporting, SMS eligibility checks

comp:customizationsPlugins & Skills, MCP, Status Line, Window Title

regression issueTo spot regression issues from previous updates

subtype:ubuntu/LinuxUbuntu/Linux build, execution, or keybinding issues

Description #

Antigravity CLI Version

1.5.17 (regressed vs 1.5.16)

Environment Context

  • OS: Linux x86_64 (Fedora 45)
  • Shell: bash
  • Terminal Emulator: not applicable (reproduced via headlessagy acp stdio client)
  • Runtime Version: Antigravity CLI 1.5.16 vs 1.5.17 (consumer OAuth plan, Gemini Models)
  • Hardware Details: x86_64 desktop, single isolated process per run (no concurrent sessions)

Steps to Reproduce

Summary

Starting in agy 1.5.17, running agy acp --agent <custom-agent> consumes exactly 4.00× Gemini weekly and 5-hour quota per token compared to 1.5.16 on the exact same custom agent, model, and prompt. On the default agent (agy acp without --agent), 1.5.16 and 1.5.17 consume the exact same quota per token. Nothing in the 1.5.17 release notes mentions a 4× multiplier for custom agents.

Minimal reproduction

  1. Create an empty directory with a .git/ folder and a minimal custom agent (no tools, minimal 1-line prompt) at.agents/agents/notools-custom.md :
---
name: notools-custom
description: Minimal custom agent with no tools
mainAgent: true
subagent: false
tools: []
inheritCustomizations: false
excludeDefaultComponents: true
---
You are a terse assistant. Answer directly.
  1. Check baseline quota until two consecutive reads agree: Record
AGY_CLI_DISABLE_AUTO_UPDATE=1 agy -p "/usage" --output-format json

remaining_fraction forgemini-weekly andgemini-5h underGemini Models . 3. Run one turn against agy acp --agent notools-custom withGemini 4 Neon (XHigh) using a minimal stdio ACP client (initialize →authenticate →session/new withmcpServers: [] and no_meta →session/set_model →session/prompt , then exit): Prompt used (with a fresh UUID nonce per run to avoid caching):

import json, os, subprocess, sys, threading

binary, work, prompt = sys.argv[1], sys.argv[2], sys.argv[3]
extra = sys.argv[4:]  # e.g. ["--agent", "notools-custom"]
proc = subprocess.Popen(
    [binary, "acp", *extra], cwd=work,
    env={**os.environ, "AGY_CLI_DISABLE_AUTO_UPDATE": "1"},
    stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL,
    text=True, bufsize=1,
)
results, lock, nid = {}, threading.Condition(), [0]

def send(obj):
    proc.stdin.write(json.dumps(obj) + "\n")
    proc.stdin.flush()

def req(method, params):
    nid[0] += 1
    rid = nid[0]
    send({"jsonrpc": "2.0", "id": rid, "method": method, "params": params})
    with lock:
        while rid not in results:
            lock.wait(timeout=300)
        return results.pop(rid)

def reader():
    for line in proc.stdout:
        msg = json.loads(line)
        if "method" in msg and "id" in msg:
            send({"jsonrpc": "2.0", "id": msg["id"], "error": {"code": -32601, "message": "unsupported"}})
        elif "id" in msg:
            with lock:
                results[msg["id"]] = msg
                lock.notify_all()

threading.Thread(target=reader, daemon=True).start()
try:
    init = req("initialize", {"protocolVersion": 1, "clientCapabilities": {"fs": {"readTextFile": False, "writeTextFile": False}, "terminal": False}})
    methods = (init.get("result") or {}).get("authMethods") or []
    if methods:
        req("authenticate", {"methodId": methods[0]["id"]})
    res = req("session/new", {"cwd": work, "mcpServers": []})["result"]
    sid = res["sessionId"]
    pick = next(m["modelId"] for m in res["models"]["availableModels"] if "Neon (XHigh)" in m["name"])
    req("session/set_model", {"sessionId": sid, "modelId": pick})
    req("session/prompt", {"sessionId": sid, "prompt": [{"type": "text", "text": prompt}]})
    print("session:", sid)
finally:
    proc.terminate()
    proc.wait(timeout=10)

Nonce <uuid>. List the first 25 prime numbers, give their sum, and state in one sentence why 1 is not prime. Then stop. 4. Re-read AGY_CLI_DISABLE_AUTO_UPDATE=1 agy -p "/usage" --output-format json until two consecutive reads agree, and compare the quota delta against the token usage recorded in~/.gemini/antigravity-cli/conversations/<session>.db (gen_metadata ). 5. Repeat step 2–4 with agy1.5.16 vs1.5.17 , and as a control without--agent (default agent).

Expected Behavior

A custom agent with no tools and a minimal prompt should draw Gemini quota at the same per-token rate in 1.5.17 as in 1.5.16 and as the default agent (~$6.00 API-equivalent per weekly percentage point on Gemini 4 Neon).

Actual Behavior / Error Screenshots

In 1.5.17, --agent notools-custom draws exactly 4.00× the Gemini weekly and 5-hour quota per token compared to 1.5.16 and compared to the default agent in 1.5.17.

Normalizing each run by native Neon token usage at API rates ($3/M uncached input, $15/M output; 0 cached tokens on fresh sessions):

Run agy version agentScript streamGenerateContent calls Native Neon tokens (in / out) API equiv. ($) Weekly Δ (pp) 5h Δ (pp) $/weekly pp Relative burn
agy acp --agent notools-custom 1.5.16 true 2 740 / 2,441 (2,307 thinking + 134 resp.) $0.038835 0.006470 pp 0.025886 pp $6.0022 1.00×
agy acp --agent notools-custom 1.5.17 true 2 737 / 3,066 (2,924 thinking + 142 resp.) $0.048201 0.032133 pp 0.128532 pp $1.5001 4.001×
agy acp (default agent, run 1) 1.5.16 false 2 12,007 / 2,868 $0.079041 0.013173 pp 0.052696 pp $6.0004 1.00×
agy acp (default agent, run 2) 1.5.16 false 2 12,009 / 2,741 $0.077142 0.012857 pp 0.051421 pp $6.0001 1.00×
agy acp (default agent, run 1) 1.5.17 false 2 12,001 / 3,317 $0.085758 0.014293 pp 0.057173 pp $5.9999 1.00×
agy acp (default agent, run 2) 1.5.17 false 2 12,003 / 3,014 $0.081219 0.013536 pp 0.054145 pp $6.0001 1.00×

Notes:

Logs & Configurations

Relevant lines from ~/.gemini/antigravity-cli/log/acp-server-*.log for the two --agent notools-custom runs:

1.5.16:

Language server version: 1.5.16
Creating new cascade trajectory (agentScript=true)

1.5.17:

Language server version: 1.5.17
Creating new cascade trajectory (agentScript=true)

Agent file (.agents/agents/notools-custom.md):

---
name: notools-custom
description: Minimal custom agent with no tools
mainAgent: true
subagent: false
tools: []
inheritCustomizations: false
excludeDefaultComponents: true
---
You are a terse assistant. Answer directly.

Activity #

  1. addedbug Something isn't workingsubtype:ubuntu/Linux Ubuntu/Linux build, execution, or keybinding issuescomp:agent capabilities Background Tasks & Subagents, Permissions, Sandboxcomp:customizations Plugins & Skills, MCP, Status Line, Window Titlecomp:billing/quota Live quota, credit reporting, SMS eligibility checksregression issue To spot regression issues from previous updateson Nov 26, 2026
  2. Experiencing this too. 5-hour Usage limits drained in 45 minutes Vs 4-5 hours before.
  3. Experiencing this too. 5-hour Usage limits drained in 10 minutes Vs 4-5 hours before. Reacted by Aleksandar Puharic [Rolfs] and Yixuan
  4. 我是使用了一个完整的五小时配额,然后周配额也清空了,我记得在五小时配额使用之前当时周配额还有一半以上的。 Reacted by Yixuan, kaku717813694, Lunar Dev, uni1k and z121245017-ai
  5. Experiencing this too。
  6. same
  7. This is intentional, not a regression. Conversations run by a custom agent ( .agents/agents/* , plugin agents, and their subagents) are billed as custom-agent requests, which draw quota at a higher rate than the default agent. The default agent and built-in agents are unchanged.For the standard rate, run without --agent and put your instructions in rules (AGENTS.md /GEMINI.md ) or skills.Reacted by yiruxiao262Reacted by Aleksandar Puharic, Luna, qvsix, lolmatikx, juziguai, wsw3939, xiaoyiru92-cmd, shinkimea, many bear, tsukumi and 214 moreReacted by Emilia296, Dolutech, IA20201 and yiruxiao262Reacted by yiruxiao262Reacted by Si1entroom, yiruxiao262 and safwan6363Reacted by yiruxiao262Reacted by yiruxiao262Reacted by SourceCodeplz, Fabison Andrea de Souza, zuiailaoda and Matt
  8. 15 remaining items

  9. So why not disable customize agent feature, since it's useless? Reacted by DM3GA, NazukiMio, Lennard and David Zhang
  10. Then you should remove the entire .agents/agents/* feature, and delete this page:https://antigravity.google/docs/subagents/ Reacted by aeongdesu, ryank231231, Hunter-Chen, Neodon, losewayy, AdamWangXX, tisfeng, Yufan Kuang, DM3GA, NazukiMio and 4 more
  11. Google is always low. They have done some pretty disgusting stuff about AI subscription / billing / API etc in the past year. most people didn't know because Gemini was dead for nearly a year and nobody cared. Let me show you one example. They expanded the kv cache pool a week ago so that we now have a normal cache hit rate. This only happened because so many people were complaining on X that they couldn't pretend they aren't aware anymore. But the cache hit and TTFT issues actually predate Gemini 4 era (even on vertex). A very small group of people had to live with these issues. Some of them complained and Google didn't do anything. There are a lot of similar examples, but I think my point is made. So for anyone furious and complaining, know that they will only fix this when more and more people are aware and complaining. We should spread the words🤣 that's the only wayReacted by Raul Garrido, DM3GA, NazukiMio, 1PercentSync, yuchenfei, Lennard and safwan6363
  12. added a commit that references this issueon Nov 28, 2026
  13. added a commit that references this issueon Nov 28, 2026
  14. Same problem, and i didnt use --agents, just using neon week limit is over in 4-5 hours, maybe less. @yaoshengzhe Reacted by Raul Garrido and DM3GA
  15. I reproduced this on agy 1.5.19 with the plain CLI (agy -p), without ACP. I ran the same task four times on Gemini 4 Neon (Low), alternating between the default agent and a minimal no-tools custom agent selected with --agent. After weighting the recorded input and output tokens at the API rates in the original report, the custom agent used about 4x as much quota for equivalent work in both the 5-hour and weekly buckets. Separately, #1886 reports background tool-safety reviews even when using the default agent. Those calls appear in logs but aren't itemized in /usage. The reports suggest they draw from the same plan quota, but that hasn't been confirmed.I'd prefer the standard rate for a single top-level custom agent that uses no tools and launches no subagents. If the higher rate is staying, please publish the multiplier, say which plans and models it applies to, and show it before the first affected request. Either way, please break down /usage so I can distinguish normal model use, extra quota from custom-agent weighting, and any safety reviews that count against my plan. Reacted by DM3GA
  16. @yaoshengzhe what possible reason could there be to implement a change like this quietly when just recently according to the antigravity blog this is considered a recommended approach to actually save on agent context and cost?This also doesn't make any sense from a technical perspective, why would a custom agent cost any more to run vs an agent that gets fed context via an AGENTS.md/GEMINI.md or even agent skills? Very unfortunate move. Reacted by Raul Garrido, 123bbt, Alaestor Weissman, banzhe, IA20201, Yufan Kuang, DM3GA and NazukiMio
  17. added a commit that references this issueon Nov 28, 2026
  18. Closing this as "intentional" without any prior notice, release note, or UI warning is a serious trust issue for paying subscribers.
  19. Zero disclosure: Neither the 1.5.17 release notes, the custom agents documentation, nor/usage mentions a 4× quota multiplier. Paying users had to reverse-engineer local SQLite logs just to discover why their 5-hour and weekly quotas vanished 4× faster.
  20. Contradicts official guidance: Antigravity's own docs and blog explicitly promoted.agents/agents/* as the recommended way to keep context clean and reduce token waste. Silently turning a documented feature into a 4× quota penalty—then telling users to dump everything back intoGEMINI.md /AGENTS.md —undermines confidence in every other documented feature.
  21. Blunt collateral damage: If the real goal is to prevent people from stripping the harness (tools: [] +excludeDefaultComponents: true ) to abuse consumer subscriptions as a raw API proxy, applying a blanket 4× tax toall custom agents and plugin agents punishes legitimate users who are staying inside Antigravity's own harness. At minimum, please:
  • Document the exact multiplier and scope in the release notes and docs;
  • Show an explicit warning before a --agent / custom-agent session starts and itemize multiplier usage in/usage ;
  • Reconsider penalizing legitimate custom agents running inside Antigravity's own harness. Reacted by Alaestor Weissman, Mr-Cong, Neodon, sssysy, IA20201, Zephyr, Ryan Ray, Femoon, BlueRain-debug, ttys001 and 18 more
  1. added a commit that references this issueon Nov 28, 2026
  2. added a commit that references this issueon Nov 28, 2026
  3. This is intentional, not a regression. Conversations run by a custom agent ( .agents/agents/* , plugin agents, and their subagents) are billed as custom-agent requests, which draw quota at a higher rate than the default agent. The default agent and built-in agents are unchanged.For the standard rate, run without --agent and put your instructions in rules (AGENTS.md /GEMINI.md ) or skills.Is there any evidence that custom agents cause harm to Antigravity? Or is it simply because you arrogantly believe that your own system prompts are the absolute best in the world? @yaoshengzhe Reacted by Illustar0
  4. 是不是gpt不行了谷歌你们就觉得可以蹬鼻子上脸了 Reacted by Tsuki, NazukiMio, liziyuanliziy-sys, Lennard, TSAO, East, zanllp and Pref2rence
  5. Four times the burn rate. No changelog. No warning before the request. No line item in /usage. And the issue gets closed as "intentional" while the only question that matters — why does a one-line custom agent with tools: [] and subagent: false cost 4× — is never answered.If the real concern is people stripping the harness to turn a subscription into an API proxy, then say that, name the abuse, and target it. Blanket-taxing every legitimate custom agent and hiding the meter is not a policy, it's a trap for paying users. Announce the multiplier, show it before the first request, itemize it in /usage, and audit what was burned before anyone knew.You don't get to call it intentional and mark the issue completed in the same breath. Intentional means you knew. It doesn't mean you told us.Reacted by NazukiMio, egorlepa and TSAO

Metadata #

Metadata #

Assignees

Labels

1.5.17

ACP

bugSomething isn't working

comp:agent capabilitiesBackground Tasks & Subagents, Permissions, Sandbox

comp:billing/quotaLive quota, credit reporting, SMS eligibility checks

comp:customizationsPlugins & Skills, MCP, Status Line, Window Title

regression issueTo spot regression issues from previous updates

subtype:ubuntu/LinuxUbuntu/Linux build, execution, or keybinding issues

── more in #ai-tools 4 stories · sorted by recency
── more on @google 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/google-antigravity-a…] indexed:0 read:12min 2026-11-29 · —