Antigravity CLI / gemini-4-argon
Manual Note vs. Session Log Audit: 1h 00m 59s Wall-Clock (vs. Placeholder 00:00-99:99), 7 Agent Commits (+1 Pre-Run init) & 26/26 Async Tests in 13.6s Read field notes ↓
- Outcome
- 7/7 slices
- All 7 specification slices passed · 26/26 tests
- Time Elapsed
- 1h 1m
- Range 14m–1h 51m (28 runs)
- Estimated Cost
- $3.37
- USD · range $0.00–$12.90
Test suite & secondary run metrics
Served 96.75% of 12.61M prompt tokens from prefix cache — saving $23.18 (87.3%) vs. $26.56 uncached; concentrated peak effort in S3 (Send one bounded GET: 24% of run cost ($0.81, 29 calls)); recovered from 27 tool errors across 200 executions.
- Test Suite
- 26/26
- 100% passed (13.6s)
- Total Tokens
- 12.75M
- 96.75% cache hit · 410.5k uncached · 133.3k out
- LLM & Tool Calls
- 131 turns
- 200 tool executions (27 errors)
- Peak Context
- 203.8k peak
- 13,158 → 203,770 prompt tokens; 204,974 total; 19.43% out of 1.05M
- Git Commits
- 7
- Recorded in commit log below
Finished in 13.6 seconds (13.6s async, 0.00s sync) — 26 passed (13.0s 26/26 in JSONL task-330 release check & 13.5s–13.7s 26/26 across 5 audit reruns; 25/26 in 1 post-run manual check due to concurrent async CLI spawn jitter; mix format --check-formatted clean; mix credo --strict: 69 checks on 14 files, 140 mods/funs, 0 issues)
Plan Completion / 7 of 7 Slices
+12 prep/wrap-up calls · $0.29 ↓- S1: PassedLaunch the CLI
- S2: PassedValidate arguments
- S3: Passed (Peak effort bottleneck)Send one bounded GET
- S4: PassedRun a paced five-second loop
- S5: PassedReport outcomes and exit codes
- S6: PassedReport timing
- S7: PassedHandle Ctrl-C
Field Notes / 4 Observations
Manual Note vs. Session Log Audit: 1h 00m 59s Wall-Clock (vs. Placeholder 00:00-99:99), 7 Agent Commits (+1 Pre-Run init) & 26/26 Async Tests in 13.6s(3 points)
- Recovering Exact Duration (
61m/1h 00m 59sin JSONL vs.00:00-99:99in Manual Note) Because the manual note contained a placeholder duration (TIme 00:00-99:99), exact timing was recovered fromrecords/20261118T144240Z.events.jsonlandtranscript.jsonl. Sessiona4fd8525-5124-4642-88b7-476e0f2911cdopened at2026-11-18T14:42:40Z(21:42:40 WIB), dispatchedUSER_INPUTat21:42:42 WIB, and completed final step344at22:43:39 WIB(result.duration_seconds: 3659.24s=1h 00m 59.2s/61m). One3m 15s(195s) upstream API read timeout occurred at Step145(22:01:50→22:05:05 WIB), leaving57m 44s(3,464.2s) of active execution. - Commit Count Audit (
7Agent Commits vs.8Total Git Commits) The manual note recordedGit commit: 8alongside the 8-linegit logoutput (aea16f6 initthroughe4b6b84 S7). Comparing commit timestamps against session start showsaea16f6(initat21:42:28 WIB) was created12 secondsbeforeagylaunched at21:42:40 WIB. Following the leaderboard's non-init conservation rule (tests/audit-runs.test.ts),commitsrecords the7agent-authored slice commits (2f50a35S1throughe4b6b84S7) whilecommitLoglists all8git commits. - Test Suite Audit (
26/26intask-330.log& 5/5 Audit Reruns vs.25/26Post-Run Note) Intest/capy_bench_http_cli_test.exsandtest/capy_bench_https_cli_test.exs, the agent multiplexed 7 HTTP and 3 HTTPS 5-second./cbsubprocess scenarios inside single ExUnit tests viaTask.async_stream(..., max_concurrency: 7), cutting full-suite runtime to13.0s–13.6s(13.6s async, 0.00s sync). In the agent's final in-session validation (task-330.logat Step330) and across 5/5 post-run verification runs, all26/26tests passed (while one post-run manual check saw25/26from concurrent BEAM escript spawn jitter).
- Recovering Exact Duration (
Zero
manage_taskPolling Overhead: 0 Polls Across 11 Backgrounded Commands via Pure Reactivesystem_messageWaiting(3 points)- 0
manage_taskCalls Across 344 Steps: Whenever arun_commandexceeded the 10-second synchronous wait cap (WaitMsBeforeAsync: 10000), Antigravity CLI moved the task to the background (11times total:task-60,task-75,task-193,task-205,task-239,task-269,task-290,task-295,task-303,task-330, andtask-340). On every single backgrounded command,gemini-4-argonoutput a one-line status update, ended its turn, and waited for the reactivesystem_messagecompletion wakeup—making **0manage_taskcalls** across the entire run (compared to7ongemini-4-carbonand105ongemini-3.8-flash-high). - Aggressive Multi-Tool Batching (
1.53Tools/Turn, 59 Multi-Tool Turns) Out of131LLM turns,59turns (45.0%) dispatched multiple parallel tool calls in a single response (up to5tools/turn, totaling200tool calls:102run_command,67edit_file,19write_file,12read_file). - Harness Comparison (
antigravity clivs.ompongemini-4-argonHigh) Compared toomprunning the samegemini-4-argon(High) model (132turns,18.29Mtokens,$3.97,53m),antigravity climatched the turn count almost identically (131vs.132turns) and cut total tokens by **30.3%** (12.75Mvs.18.29M) and billed cost by **15.1%** ($3.37vs.$3.97) because its average prompt context stayed24.6%smaller (96,277vs.127,667tokens, peaking at203,770vs.214,321).
- 0
SIGTERM +
+BiEscript Wrapper Passed All Post-Boot PTY Ctrl-C Probes While Leaving a ~250 ms Early-Boot SIGTERM Race(2 points)- Diagnosing
SIGUSR1Crash Dumps & ChoosingSIGTERMinS1(Steps30–78) DuringS1, the agent probed:os.set_signal/2on OTP 28 and observed thatSIGUSR1triggered ERTS's defaultReceived SIGUSR1 / Crash dump is being written to: erl_crash.dumphandler (Step43) before custom handlers were swapped in. It therefore configuredmix.exswithescript: [main_module: CapyBench.CLI, path: "cb.escript", emu_args: "+Bi -noinput"]and wrote./cbto trapINT TERM, forwardkill -TERM "$child", and loopwait "$child"until the child PID exits whileCapyBench.SignalHandlerswaps:erl_signal_handleron:erl_signal_serverfor:sigterm. - Holdout PTY
Ctrl-CAudit (Post-Boot Pass vs.20 ms–250 msBoot-Window Race) Against both local HTTP servers (10 msfast pacing,800 msslow in-flight,3,000 msstalled in-flight) and live HTTPS (https://rizafahmi.com), sending\x03on a foreground PTY at>= 350 ms(0.35s,0.40s,0.50s,0.55s,0.80s) passed 100%—stopping new dispatches, printing a valid 6-line partial summary tostdout(started == responses + failures), emitting emptystderr, and exiting130. However, because./cbforwardskill -TERM "$child"immediately without a readiness handshake (CB_READY_FILE) or boot-timeSIG_IGN, aCtrl-Carriving during the first~250 msof BEAM startup kills or interrupts the VM beforeCapyBench.CLI.run_benchmark/2callsCapyBench.SignalHandler.install/1(20–50 msexits143via defaultSIGTERM;100–250 mshits{noproc, {gen_server, call, [elixir_config, ...]}}or:standard_ioEIO).
- Diagnosing
53% Lower Cost Than gemini-4-carbon ($3.37 vs. $7.16), 96.75% Cache Hit Rate ($23.18 Saved) & 100% File-Edit Precision (86/86)(3 points)
- 100% File-Edit Success & Decomposition of the 27 Non-Zero
run_commandExits Every singleedit_file(67/67),write_file(19/19), andread_file(12/12) call succeeded on the first try (0file-tool errors). All27tool errors were non-zerorun_commandexits:16deliberate red-phase TDDmix testruns confirming new tests failed before writing implementation code (S1Step21;S2Steps96,102,108,114,120,126;S3Steps160,170,183;S4Steps214,220,228;S5Step249;S6Step281;S7Step312),4mix credo --strictreadability/nesting catches (S3Step202,S4Step236,S5Step266,S7Step327),4disposable OTP/PTY/PKI one-liners (Steps 43, 60, 142, 151),2intermediate S6 TLS test timing adjustments (Steps 290, 295), and1S7 unused-variable--warnings-as-errorscatch (Step 320). - Unit Economics & Single Post-Turn-1 Cache Miss (
96.75%Cache Hit Rate) Across131turns,gemini-4-argonprocessed12,612,272prompt tokens (410,463uncached at$2.00/1M=$0.8209+12,201,809cached at$0.10/1M=$1.2202) and133,296output tokens (including52,223thinking tokens) at$10.00/1M($1.3330), totaling12,745,568tokens and$3.3741($3.37under 2026 rates;$6.75under 2027 rates; saving$23.18/87.3%via prefix caching). Only one turn after Turn 1 experiencedcache_read_tokens: 0(Step38duringS1at28,650tokens), and even after Step145's3m 15sAPI timeout, Step146resumed with a68,907-token cache hit. - Model Ablation on Antigravity CLI (
gemini-4-argonvs.gemini-4-carbonHigh) Running on the exact sameantigravity cliharness and$2.00/$0.10/$10.00rate card,gemini-4-argonfinished27mfaster (61mvs.88mactive), used33.8%fewer LLM turns (131vs.198),52.6%fewer total tokens (12.75Mvs.26.88M), and cut total cost by **52.9%** ($3.37vs.$7.16).
- 100% File-Edit Success & Decomposition of the 27 Non-Zero
Slice / Phase Breakdown
Slice / Phase Breakdown / 9 Phases
Step Range spans transcript events (LLM + tool + system turns) · LLM Calls count completed model inference turns
| Slice / Phase | Step Range | LLM Calls | Thinking Tokens | Estimated Cost |
|---|---|---|---|---|
PrepPreparation: Workspace audit & README contract migration | 1–24(24 steps) | 8 | 3,999 | $0.14 (4%) |
S1 PassS1: CLI help, +Bi escript wrapper & SIGTERM PTY signal probe (2f50a35) | 25–89(65 steps) | 29 | 9,300 | $0.45 (13%) |
S2 PassS2: CLI argument & URL validation before network requests (30f7776) | 90–138(49 steps) | 18 | 3,424 | $0.29 (9%) |
S3 PassS3: Bounded :gen_tcp/:ssl GET client, TLS verify & streaming discard (4649b8e) | 139–211(73 steps) | 29 | 16,961 | $0.81 (24%)Peak |
S4 PassS4: Paced 5s single-flight loop & connection reuse (a7a17e2) | 212–246(35 steps) | 13 | 6,415 | $0.42 (12%) |
S5 PassS5: HTTP status outcomes, transport failures & exit codes (c8122ee) | 247–276(30 steps) | 10 | 2,353 | $0.40 (12%) |
S6 PassS6: Elapsed duration & completed-response p50/p95 latencies (98585e0) | 277–308(32 steps) | 12 | 4,098 | $0.38 (11%) |
S7 PassS7: Foreground PTY Ctrl-C partial summary & exit 130 (e4b6b84) | 309–336(28 steps) | 8 | 5,168 | $0.33 (10%) |
PostRelease verification: HTTP/HTTPS local servers & stdout/stderr checks | 337–344(8 steps) | 4 | 505 | $0.15 (4%) |
| Total (9 phases) | 344 steps | 131 | 52,223 | $3.37 |
Tokens, Cache & Cost
Tokens, Cache & Cost / gpt-6-sol vs gpt-6.1-sol API USD
| Component | Tokens | Rate (gpt-6-sol) | Cost (gpt-6-sol) | Rate (gpt-6.1-sol) | Cost (gpt-6.1-sol) |
|---|---|---|---|---|---|
| Uncached Input | 410,463 | $2.00 / 1M | $0.8209 | $4.00 / 1M | $1.6419 |
| Cached Input (cache_read_tokens) | 12,201,809 | $0.10 / 1M (95% off) | $1.2202 | $0.20 / 1M (95% off) | $2.4404 |
| Output (incl. 52,223 thinking) | 133,296 | $10.00 / 1M | $1.3330 | $20.00 / 1M | $2.6659 |
| Total | 12,745,568 | — | $3.37 ($3.3741) | — | $6.75 ($6.7481) |
Calls & Tool Breakdown
Calls & Tool Breakdown / Tool Loop
- LLM Inference Turns
- 131completed agent_response steps
- Tool Executions
- 200173 succeeded· 27 non-zero / error
- tool/run_command102(51% · 75 ok, 27 err)
- tool/edit_file67(34% · 67 ok)
- tool/write_file19(10% · 19 ok)
- tool/read_file12(6% · 12 ok)
Command & Interface Used
Command / Interface Used / CLI
agy --mode auto --dangerously-skip-permissions --model gemini-4-argon-high --effort high --output-format stream-json --print "$(< PROMPT.md)" > records/20261118T144240Z.events.jsonl 2> records/20261118T144240Z.stderr.logRun window: 21:42:40–22:43:39 WIB (1h 00m 59s / 3,659.2s wall-clock incl. 3m 15s S3 API timeout retry at step 145; 57m 44s / 3,464.2s active execution; placeholder 00:00-99:99 in manual note) • Session a4fd8525-5124-4642-88b7-476e0f2911cd (gemini-4-argon-high, permission_mode: always-proceed, 131 LLM turns, 344 steps)
Git Commits
Git Commits / 8 Checkpoints
Author: Riza Fahmi · Timestamps relative to post-run capture
aea16f6init