r/GoogleAntigravityIDE • • 4h ago

VibeCoded / Projects I updated my unofficial Antigravity Android port to Desktop v2.38.0! (v1.3.0) ❄️

Post image
6 Upvotes

Hey everyone!

I've released v1.3.0 of my unofficial Antigravity Android port, bringing it up to compatibility with Antigravity Desktop v2.38.0 (previously v2.36.0).

What's changed?

  • Updated the underlying desktop version to 2.38.0.
  • Ported the new snowy chat interface, including its frosted-glass appearance and accumulating snowfall.
  • Various phone UI improvements.
  • Multiple bug fixes.

This is an independent community project, not an official Google Antigravity release.

GitHub: https://github.com/monsterbag293-cloud/Antigravity-Android

Feedback and suggestions are appreciated!


r/GoogleAntigravityIDE • • 1d ago

SOFTWARE PROBLEMS and BUGS How to setup github copilot proxy in Antigravity App?

2 Upvotes

I have github copilot account, but I want to use Antigravity App, how to do?

For agy, I know I can start `copilot-proxy-api` and set ~/.gemini/antigravity-cli/settings.json to add modelProvider but how to set in Antigravity App?


r/GoogleAntigravityIDE • • 1d ago

Discussions or Questions Antigravity 100$ is it worth it

17 Upvotes

Hey guys am thinking about to buying the 100 subs of google to use antigravity am going to attach it with openbot Is it worth am coming from 100 dollar codex
But am thinking about this because it give me some cloud credit as well through that i utilise that for vm and host my openbot and get red of my grok bot 30 dollar subs


r/GoogleAntigravityIDE • • 1d ago

News / Updates New antigravity extension ** TeamSpawn - Swarm Office **

Post image
9 Upvotes

Antigravity is burning tokens faster now, so I've made this extension so that at least you can burn your tokens with a nice office by being the Founder of your company (or task).
Add agents to the office, select the model for each one

This uses AGY, so no API key is required, just your standard monthly subscription.

Please take a look at it, and share comments, bugs, likes, improvements, whish list.

What it does?

* Just ask the Project Manager Agent to build something, select your model and folder.
* You can keep track of different agents by talking to the Project Manager, or by looking into the builtin kanban or gantt chart
* You can use different models for different agents, so critic agents are far better.
* The frontend agent has built-in styles.
* There is a Slack "clone" inside so that it feels like owning a company :)
* Your code never leaves your machine.

It is like working with the standard antigravity chat but from a nicer interface and with tools.

Thanks!


r/GoogleAntigravityIDE • • 2d ago

SOFTWARE PROBLEMS and BUGS I built a zero-dependency Agent Skill (SKILL.md + 2 stdlib Python scripts) to stop context bloat and quota burn without losing code accuracy

Post image
3 Upvotes

I got tired of hitting 5-hour limits early just because long coding sessions kept resending huge build logs, repeated file reads, and directory listings—and `/compact` sometimes dropped specific constraints or function signatures.

I put together a lightweight, model-agnostic skill called **context-guardian** (MIT licensed, Python 3 stdlib only, works with Claude Code, Antigravity, Gemini, etc.):

https://github.com/Mustafa8522d/context-guardian

**How it works:**

  1. Zero-token repo/symbol recon (`scripts/repo_map.py`): Instead of the agent opening 10 files to orient itself, it runs a local script that outputs a ~300–800 token tree with regex-extracted classes/functions/line numbers (Python, JS/TS, C/C++, C#, Rust, Go, Dart, GDScript) + `git status --short` / `git diff --stat`, skipping `node_modules`, build/engine artifacts, lockfiles, and binaries.
  2. Surgical reading invariant: Grep first, read targeted line ranges, never re-read unchanged files—but *always* read the complete enclosing unit and type definitions before editing so accuracy doesn't degrade.
  3. Log trimming (`scripts/trim_log.py`): Pipe verbose build/test output (`cmd 2>&1 | python scripts/trim_log.py`) to strip ANSI noise and progress bars while keeping summaries and real errors (±3 lines). Includes guards so lines like `0 errors` or `Compiling ErrorHandler.cpp` aren't misflagged.
  4. Structured handoffs: Keeps a `<80` line `.ai/STATE.md` and generates `.ai/HANDOFF.md` (with file paths, symbols, constraints, and rejected approaches) when switching domains or finishing a milestone so you can start a fresh chat cleanly.

Would love feedback—especially edge cases in `repo_map.py` or `trim_log.py` across different stacks.


r/GoogleAntigravityIDE • • 2d ago

Tools / MCP / Other agy got stuck waiting for me to press a key

0 Upvotes

I was setting up Gemini in agy and my own command got it stuck waiting for a keypress.

The command shows which agents are up. I'd made it a full-screen view for a person at a keyboard. agy ran it in its own terminal. Nobody there to press anything, so setup just sat waiting.

Fix was boring: inside agy and the Gemini CLI, print one snapshot and exit. No keyboard needed.

Gemini and agy are great. Pairing them with Claude Code or Codex works really well for me. This was my setup getting in the way.

What other commands have you caught agy sitting on like this?

Disclosure: I build Sno Station. This happened during its setup: https://github.com/sno-ai/sno-station


r/GoogleAntigravityIDE • • 2d ago

SOFTWARE PROBLEMS and BUGS Can't sign in Antigravity

2 Upvotes

I download Antigravity for the first time, I see people telling about google new models and I want to try to use it. But I can't sign it. It requires me verify my phone number by QR code, I scanned it, but the message can't be sent !?


r/GoogleAntigravityIDE • • 3d ago

Discussions or Questions Even I am a Jio User but I don't mind having only Hydrogen .

19 Upvotes

People need to understand, Models like Neon or Carbon are not flash models which used to break every time we gave a complex task. They are good models which actually work well with the prompt and workflows just like GPT or Claude models .

They are not at par with them but they are good and get the results unlike Gemini pro or flash installments.

Why would you expect google to give it for free. They have already given one of the models which are hydrogen for free in the AI pro plan of third parties and honestly it's the best one from all the previous google models. So work with that and if you want the better ones just buy the paid pro .

You are already getting all the other benefits of AI pro plan and Antigravity one model.

I don't know the fuss behind getting the premium experience at the cost of nothing.

Use the one which is present it's really good at most of the task.


r/GoogleAntigravityIDE • • 3d ago

Discussions or Questions Looking for alternatives to Antigravity as its quota runs out much faster lately

44 Upvotes

Lately, Antigravity's quota seems to be running out much faster than before. I've been considering trying OpenCode Go ($10/month), while Claude is also an option but feels a bit too expensive.

Has anyone tried OpenCode Go? How's the experience and usage limits? Any other alternatives worth considering?


r/GoogleAntigravityIDE • • 3d ago

VibeCoded / Projects I built TauCode: an open-source Tauri + Rust IDE for Antigravity (~45% less RAM than the official Electron IDE)

Post image
67 Upvotes

Hey everyone,

I've been working on TauCode (forked from `crynta/terax-ai`), an open-source desktop IDE built with Tauri 2 + Rust + React, designed to run Antigravity inside a native shell (`WebView2` on Windows, `WebKit` on macOS/Linux) instead of Electron.

Because it boots a native Rust binary and uses the OS webview rather than initializing a full Chromium runtime, it starts up noticeably faster and feels snappier than Electron-based IDEs while using much less memory.

Measured side-by-side on Windows with an open workspace:

- Official Antigravity IDE: ~1.58 GB private memory (~2.24 GB working set, 14 processes)

- TauCode: ~62 MB for the Rust core, ~870 MB private memory total (~1.21 GB working set across WebView2 + integrated terminal) — roughly 45% less RAM in real usage.

What's included:

- Isolated Antigravity runtime: `taucode-antigravity` runs locally inside the app directory, keeping skills and MCP setups separated from your system environment.

- Monaco + Rust LSP bridge: autocomplete, hover, diagnostics, go-to-definition, rename (`F2`), and an in-app LSP downloader (Windows, macOS Intel/Apple Silicon, Linux x64/arm64) + system `PATH` detection.

- Spaces & split panes: independent tab/layout workspaces in a single window with horizontal/vertical splits.

- WSL integration (Windows): open workspaces directly inside your WSL distros, browse/search/grep files over `\\wsl.localhost`, run Git inside WSL (`wsl.exe`), open PTY terminals in your WSL login shell, and automatically translate paths for the Antigravity runtime.

- Real PTY terminal: `portable-pty` in Rust + `xterm.js` with split/multi-tab sessions.

- Built-in viewers: localhost web preview, Git commit graph & diffs, Markdown (KaTeX), SVG, PDF, and a `.gltf`/`.glb`/`.obj` 3D viewer.

- Sandboxed extensions: manifest-based (`taucode-extension.json`) extensions running in isolated iframes over typed IPC.

- GitHub: https://github.com/christianvanin/taucode

- Releases (installers): https://github.com/christianvanin/taucode/releases


r/GoogleAntigravityIDE • • 4d ago

VibeCoded / Projects Moved my Antigravity memory out of flat GEMINI.md and Obsidian into diff-locked local SQLite vaults

Post image
3 Upvotes

Obsidian and flat markdown files work well when a human is editing notes, but across long Antigravity IDE and App 2.0 sessions they broke down for me. Old repo instructions stayed in context on unrelated tasks, there was no permission split between projects and personal notes, and agents occasionally overwrote preferences I had already checked by hand.

I built Slipdex (v0.4, MIT) on Node 22+ built-in SQLite with zero external npm dependencies.

How it differs from static markdown or Obsidian:

  • Scope-isolated local SQLite WAL + FTS5 vaults (engineering, project:<slug>, gated on-demand vaults with temporary leases, an optional profile card, and a write-only encrypted journal).
  • Append-only revision locks: rules marked human-verified cannot be overwritten silently by an agent; edits open a reviewable diff proposal instead.
  • Auto-compiled packs/<domain>.md files + SessionStart / PreCompact hooks so Antigravity reads only the relevant domain pack via read_file and survives context compaction. Works with MCP or pure CLI + hooks (slipdex init --no-mcp).
  • Local Studio UI (slipdex ui) with a draggable domain graph, token budget preview, 1-click import from existing GEMINI.md, Obsidian vaults, CLAUDE.md, AGENTS.md, or past sessions, and Doctor cleanup.

To let Antigravity install and wire it directly: Install https://github.com/phosphorhouse/slipdex globally with npm install -g git+https://github.com/phosphorhouse/slipdex.git and run slipdex init

Browser demo (sample data): https://phosphorhouse.github.io/slipdex/demo/ GitHub: https://github.com/phosphorhouse/slipdex


r/GoogleAntigravityIDE • • 4d ago

News / Updates They did it

Post image
0 Upvotes

I have Google AI Pro by JIO. I'm not the owner my cousin is and he added me by family share also I'm not Indian lol but someone was offering him PRO for cheap and since he uses Claude Code anyways not Antigravity He accepted it and I thought he had real pro.
Ended up with this....


r/GoogleAntigravityIDE • • 4d ago

Discussions or Questions I need help with speed in Gemini Neon, Antigravity...

0 Upvotes

I have a pro subscription for Gemini and I am using Neon quite a lot now but I am not happy at all with the speed. I also have a subscription for Claude ultra and honestly, Claude Opus/Fable are really fast. Every prompt to Neon in Antigravity takes way more time and it's frustrating. Is there a trick to make things faster with Neon?


r/GoogleAntigravityIDE • • 4d ago

Discussions or Questions Recommended Headless Setup and Enterprise Licensing for CI/CD Pipelines

2 Upvotes

We're looking to evaluate Google Antigravity within our enterprise CI/CD pipelines and would like to understand the officially recommended approach for this use case.

Specifically, we're looking for guidance on:

\- Installation and configuration in a headless, Docker-based environment.

\- Authentication and credential management for automated, non-interactive workflows.

\- Enterprise licensing requirements and how licenses should be configured within CI/CD environments.

\- Recommended architecture, setup process, and best practices for enterprise-scale adoption.

Is this use case officially supported by Google Antigravity? If so, is there any official documentation or step-by-step guide covering the end-to-end setup process?

Any guidance or insights would be greatly appreciated!


r/GoogleAntigravityIDE • • 4d ago

SOFTWARE PROBLEMS and BUGS Anyone else experiencing issues with Pre-edit Code Review in Antigravity IDE v2.8.0?

2 Upvotes

Is anyone else facing issues with the Pre-edit Code Review feature in Antigravity IDE v2.8.0?

I'm using Antigravity on Ubuntu Linux, and I've noticed a few problems:

  1. Missing Accept/Reject floating pill: The floating Accept/Reject buttons that normally appear when reviewing code changes are missing.
  2. Unable to navigate between changes: I'm no longer able to jump directly to the modified lines of code or navigate between changed files using the Previous/Next buttons.
  3. Auto-accept behavior: Auto-accept seems to be enabled by default, even when the chat is closed. I'd prefer it to be disabled by default so I can review changes manually.
  4. Changes are batched: Code changes are applied or presented only after the entire task is completed. This makes it difficult to track changes in real time and review them as they're being made.

Environment:

* OS: Ubuntu Linux

* IDE: Antigravity v2.8.0


r/GoogleAntigravityIDE • • 4d ago

Other Antigravity CLI using Orca

3 Upvotes

According to Google's TOS, can we use the Antigravity CLI with Orca?


r/GoogleAntigravityIDE • • 4d ago

Discussions or Questions Image generation problem

2 Upvotes

Does anyone know why I cannot seem to generate an image in antigravity with my paid account? It works if I log into a free account e-mail.

How do I fix this?

transport error (Internal, HTTP 500): Internal error encountered.: INTERNAL (code 500): Internal error encountered.

No image file was created.


r/GoogleAntigravityIDE • • 5d ago

Discussions or Questions Sanity check on the missing mic button in Antigravity IDE: did Europe lose voice input while the US kept it?

1 Upvotes

Let's figure out what kind of regional nonsense is going on here, because every time someone mentions voice input disappearing in Antigravity IDE, people end up talking past each other.

From what I can see, the microphone button was quietly removed for users in Europe, while US accounts still have it right where it always was - so half the replies say "it's right there, works fine for me" while for the other half it's completely gone.

Working without voice input on longer prompts is genuinely inconvenient once you're used to dictating instead of typing walls of text by hand.

Can we do a quick check across regions so we actually know who still has it and who got cut off? Drop a quick reply with:

Have mic or No mic, Your region (US / EU / other)


r/GoogleAntigravityIDE • • 5d ago

Suggestion When will Antigravity IDE commit message generator smarter?

1 Upvotes

Currently using Antigravity IDE but every code changed i need to take a deep breath and open Qoder to generate a commit message.

Why can't google make commit message generator smarter?


r/GoogleAntigravityIDE • • 5d ago

Discussions or Questions Not getting autocomplete suggestions in .ipynb files

1 Upvotes

As title says, I am not getting any autocomplete suggestions in .ipynb files just the intellisense in Antigravity IDE. Gemini says Antigravity autocomplete suggestions has some issues with working in .ipynb files. So i there any work around? Any help would be appreciated


r/GoogleAntigravityIDE • • 5d ago

Tools / MCP / Other Antigravity Android app ( my side project)

Post image
12 Upvotes

Hi, everyone. I made antigravity run on Android Natively. I made an app that runs antigravity-cli in a micro linux environment and talks to kotlin frontend, I have added Every support and feature that antigravity have to it. Join @androidworkspace on telegram ( will be open source release)


r/GoogleAntigravityIDE • • 5d ago

News / Updates CLAUDE ACTUALLY REMOVED

Post image
426 Upvotes

Antigravity actually removed claude and gpt models for free plans and trail pro plans, what's your thought? Only Hydrogen is there now.


r/GoogleAntigravityIDE • • 5d ago

VibeCoded / Projects Antigravity Application for Fedora Linux via COPR

Thumbnail
github.com
4 Upvotes

Hey friends,

I noticed the official Antigravity Application for Linux doesn't have an official repository, they just share the tarball and you have to install it yourself. Its a simple electron app, so absolutely no reason why it can't be distributed as an RPM or Deb.

I created this COPR repo for Fedora systems which automates the process. Updates are every 6 hours if the source from Google changes. Note that only x64 systems are supported (no ARM at the moment as I have no device to test). This repo was created with Gemini Neon on Medium. Please create issues or PRs if you run into issues!

sudo dnf copr enable karanshukla/agy_fedora_unofficial

sudo dnf install antigravity

You can also find the RPM in the GH releases if you prefer that over COPR.


r/GoogleAntigravityIDE • • 6d ago

VibeCoded / Projects Antigravity Better Projects — color-code sidebar projects and chats

4 Upvotes

When project names and chat titles start looking alike in Antigravity, a color or icon can be easier to spot. I developed Antigravity Better Projects so you can mark a whole project folder one way and give individual chats their own labels.

Open Appearance from a project's or chat's context menu to pick a custom color, choose one of four fill styles, or search 585 built-in icons. The app remembers your choices across windows.

I forked antigravity-color-labels, the original chat color-labeling tool by my good friend Alex. Please check out his other GitHub projects as well.

The GitHub README has screenshots and installation steps for Windows, macOS, and Linux. It's an MIT-licensed add-on applied to the local Antigravity app bundle, with instructions to roll it back.

If you try it on your setup, I'd be interested to hear whether you prefer a tinted row or the icon-only style.


r/GoogleAntigravityIDE • • 6d ago

SOFTWARE PROBLEMS and BUGS Using Antigravity as Overseer for a Double-Blind Kernel Optimization A/B

2 Upvotes

Full disclosure up front: I use Antigravity (Google AI Pro, €20/mo) as my daily orchestrator and adversarial overseer across a multi-vendor workflow, and Antigravity wrote this post for me from our actual test logs and usage screenshots at my request. I reviewed and edited it before posting.

Why I Ran This Test

Two real questions pushed me to run a proper blind A/B on my own hardware instead of trusting Reddit noise:

  1. Subscription decision: I currently pay €100/mo for Anthropic Max (5×), €100/mo for OpenAI Pro 100, and €20/mo for Google AI Pro (Antigravity). Once OpenAI's top tier drops off my €100 budget, I needed to know which mid-heavy workhorse — Opus-5.5/High (Claude Code) or Sol-6.2/High (Codex) — should carry day-to-day heavy implementation. (I deliberately did NOT use each vendor's top flagship tier here, because the question is specifically about the daily workhorse.)
  2. Testing the "silent sabotage / kernel capability cap" panic: There's been a lot of Reddit drama claiming Anthropic silently degrades or caps GPU kernel / LLM architecture work. I happen to do real C++/HIP GPU work locally, so instead of guessing, I put both models on the exact hardest domain in question: writing a standalone, from-scratch C++23/HIP inference engine for Granite 4.2 8B (Q8_0) targeting AMD RDNA4 (gfx1201) and beating llama.cpp ROCm without losing accuracy.

Then, once both finished, I ran a second blind branch: using Antigravity, Sol-6.2/High, and Opus-5.5/High sequentially as three independent blind reviewers grading the same two anonymized repos (arm-a-gran and arm-b-gran) against llama.cpp.

Hardware, Oracle & Subscriptions

  • GPU: AMD RX 9070 XT 16 GB (gfx1201, RDNA4) on Linux, GCC 16.2.1 (-std=c++23) + ROCm Clang (-std=c++20 --offload-arch=gfx1201), all GPU jobs run serially under a shared VRAM/RAM lock wrapper (gpu_run.py).
  • Model: granite-4.2-8b-Q8_0.gguf (9,345,613,344 bytes).
  • Oracle: llama.cpp master ec3dac2649 (build 12839), built with ROCm targeting gfx1201.
  • Subscriptions & CLI harnesses:

    • Anthropic Max (5×) — €100/mo: Opus-5.5/High in Claude Code
    • OpenAI Pro 100 — €100/mo: Sol-6.2/High in Codex
    • Google AI Pro — €20/mo: Antigravity (prompt design, orchestration, Blind Reviewer #1)

Branch 1 Results: Implementer A/B (One-Shot Autonomous Loop)

Both agents started in empty git init folders (~/src/arm-a-gran and ~/src/arm-b-gran) with zero memory, no subagents, no web access, and the byte-identical prompt below. Before blind review, I stripped AGENTS.md/CLAUDE.md and cached CMake metadata and forbade every reviewer from inspecting .git/ (to avoid commit-trailer giveaways).

Reveal: arm-a-gran = Sol-6.2/High | arm-b-gran = Opus-5.5/High

Metricllama.cpp Oracle (ec3dac2649)arm-a-gran (Sol-6.2/High)arm-b-gran (Opus-5.5/High)
Blind Scores (Antigravity / Sol / Opus)baseline70 / 61 / 6298 / 93 / 89
Wall Time—~35m 05s~2h 33m 28s (4.4× longer)
Usage Burn—<1% OpenAI Pro 100 weekly (10% → 10%)+3.0% Anthropic Max 5× weekly (6.0% → 9.0%; 5h 0.0% → 15.0%)
pp512 Prefill (5-round rotated med)4,347–4,362 tok/s3,093–3,105 (-28.7%, 0.71×)6,075–6,098 (+39.8%, 1.40× oracle / 1.96× Sol)
tg128 Decode (ctx 512→640)54.72–54.76 tok/s (empty ctx) / 54.27 (depth 512)59.85–59.88 (+9.3%)64.38–64.42 (+17.6%) / 65.04–65.29 (empty ctx, +19.2%)
Model Load Time1.91 s1.91 s1.40–1.46 s
Peak Host RAM9.59 GB9.50–9.54 GB (mmap)0.30 GB (64 MB pinned streaming — 32× less RAM*)*
Peak VRAM (card-wide / process)12.26–12.60 GB / 9.57 GB12.67–12.73 GB / 9.96 GB12.66 GB med (13.15 GB 1-round peak) / 9.98 GB
Clean Build + Zero libllama**/**libggml—Pass (-Werror, 0 pragmas)Pass (-Werror, #pragma unroll only)
Unseen Greedy ParityreferenceDiverged on multiple unseen lengths + long-context fail at 3,700 tokBit-exact (0.00000) on 37, 64, 512, 1,300 tok; non-exact at 512k+1 boundary (details below)

What Opus-5.5 actually built (zero "sabotage" in sight):

  • 128×128 / BK=128 padded-LDS INT8 WMMA GEMM with register-staged prefetch (~105 TOPS) and fused projection epilogues (RoPE + KV write, SwiGLU + requant, residual add), 0 register spills.
  • DRAM-burst-aligned decode matvec (~598 GB/s, hitting ~89% of the card's GDDR6 bandwidth) + atomic self-merging FlashAttention decode.
  • 64 MB pinned pread streaming weight loader (0.30 GB host RAM vs 9.54 GB).
  • Shipped its own kernel unit test suite (test-kernels), per-layer oracle diff tool (layer-diff), and WMMA probe (wmma-probe).

What Sol-6.2 built:

  • Compact, readable (~1,000 LOC HIP), strict GGUF bounds checking, device-resident HIP graph decode (+9.3% over llama.cpp on decode), finished in 35 minutes for <1% weekly usage.
  • Stopped at an intermediate optimization tier: no LDS staging in prefill GEMM (-28.7% vs oracle), fp16 accumulation in prefill attention (causing register spills and long-context drift), mmap loading.

Branch 2 Results: 3-Way Blind Reviewer A/B

Every reviewer ran sequentially on the exact same untouched repos, built both out-of-source in /tmp, ran ldd, wrote its own unseen-prompt parity harness against llama.cpp, and ran a 5-round rotated 3-way interleaved benchmark.

Blind ReviewerScore (A vs B)Wall TimeUsage BurnStandout Findings
Antigravity (Google AI Pro, €20/mo)70 vs 98 (+28)— (interactive)+3% weekly (30%→33%), +11% 5h (includes review + chat turns)Verified clean builds, ldd, 5-round rotated bench, and caught Arm A's unseen-64 greedy divergence. Missed the deeper root-cause bugs that Sol and Opus both caught.
Sol-6.2/High (OpenAI Pro 100, €100/mo)61 vs 93 (+32)8m 16s≤1% weekly (10%→11% — combined with its 35m Arm A build, total burn was +1%!)Surgical bug hunter: paired 512 vs 513 (identical prefix) and proved Arm B's 512k+1 single-token chunk dispatch bug by restoring 100% bit-identity with 512 + 1; proved Arm A's --max-tokens capacity cliff (1024 vs 1025 shifts decode logits by up to 2.398); replayed diverged histories through the oracle; caught GGUF alignment == 0 div-by-zero & wmma-probe exit-0 misses; added a depth-512 oracle decode baseline (54.27 tok/s).
Opus-5.5/High (Anthropic Max 5×, €100/mo)62 vs 89 (+27)16m 42s+1.0% of 5h (15%→16%), 9%→10% weekly tick (~0.2% actual at the 5:1 ratio)Deepest systems & stress audit: inspected ISA register spills (attend_prompt spills 320 B/lane in A vs 0 in B); ran a 3,700-token stress test exposing Arm A's fp16 long-context first-token failure; ran oracle variance controls (ubatch 1024, FA off, tight n_ctx) to separate real bugs from near-tie noise; caught all core bugs Sol found plus Arm B's stray 13 MB .rocprofv3/ dir, hot-path debug allocations, redundant decode RMSNorm, and Arm A's lengthened acceptance prompts.

My biggest surprise on Branch 2:

  • Zero self-preference bias from either model. Sol graded its own Arm A harsher than Antigravity did (61 vs 70), and Opus was the strictest grader of its own Arm B (89 vs 93 and 98) while listing 6 genuine flaws in its own code!
  • Why I still keep Antigravity as my overseer/orchestrator despite losing the blind-review depth contest: Each vendor genuinely shines in a different lane. Opus-5.5 is an obsessive marathon engineer (and deep reviewer, just 2× slower and dry to talk to). Sol-6.2 is a lightning-fast, zero-ego forensic auditor (just verbose in chat). Antigravity on €20 AI Pro fits my workflow best for high-level architecture, keeping the experiment honest, cutting ceremony, and being pleasant to work with all day — plus keeping a 3rd vendor in the overseer chair means nobody ever grades their own homework.

Caveats & Limitations (Read Before Extrapolating)

  1. n = 1 task, 1 run per arm. This tests one specific workload (from-scratch C++23/HIP RDNA4 LLM inference). It does not prove universal dominance across web dev, Python, or every other domain.
  2. Deliberately not testing top flagships. Both models were intentionally chosen as the workhorse tier (Opus-5.5/High vs Sol-6.2/High), not the top flagship models from either lab.
  3. Wall-time precision. Implementer wall times come from local usage-monitor uptime screenshots taken immediately before/after (~±15–30s human error). Reviewer wall times come directly from each CLI's printed timer (8m 16s and 16m 42s).
  4. Usage gauge granularity.

    • OpenAI's gauge displays integer percentages only (10% → 10% after the 35m build, 10% → 11% after the 8m review), so fractional usage rolled over between runs.
    • Anthropic displays 0.1% steps: the 2h 33m build used +15.0% of the 5h window and +3.0% weekly (5:1 ratio); the 16m review used +1.0% of the 5h window (~0.2% actual weekly, crossing an integer tick 9.0% → 10.0%).
    • Antigravity's +3% weekly (+11% 5h) covers its blind review plus the interactive planning/reveal turns around it.
  5. Blinding requirements. Removing AGENTS.md/CLAUDE.md/CMake caches and forbidding .git/ reads prevented explicit leaks, though coding style fingerprints can never be 100% erased. The fact that both models graded their own arm harsher than Antigravity did strongly argues against self-bias.
  6. Decode context depth mismatch. llama-bench -p 512 -n 128 benchmarks tg128 from an empty KV cache, while --bench-pp 512 --bench-tg 128 decodes at depth 512→640 (slightly penalizing both arms against llama-bench). Both Sol and Opus checked the matched baselines (54.27 tok/s oracle at depth 512; 65.04–65.29 tok/s Arm B from empty context).
  7. Desktop GPU noise. All runs ran sequentially on a live desktop GPU under a lock wrapper (desktop compositor occupies ~2.7–3.0 GB VRAM, which explains card-wide vs process-only VRAM differences).
  8. Scope of the "sabotage" takeaway. This proves only that on a real consumer-GPU (gfx1201) LLM kernel-optimization task from scratch, Opus-5.5/High showed zero throttling, refusal, or sandbagging — and beat llama.cpp handily for 3% of a Max (5×) weekly usage.

Exact Prompts Used (paths sanitized to ~/)

1. Implementer Prompt (Byte-Identical for Both Arms)

Build a standalone, from-scratch C++23 / HIP inference engine in this repository for Granite 4.2 8B Q8_0 targeting this machine's AMD RX 9070 XT (RDNA4, gfx1201), and optimize its inference speed as far as possible without losing accuracy versus the local llama.cpp ROCm oracle.

### Rules & Boundaries
- **One-shot autonomous run:** Work continuously in a loop until the engine builds cleanly, passes strict accuracy parity against the oracle, and reaches the best inference throughput you can achieve on this hardware. Do not stop to ask for confirmation.
- **No subagents, no web search, no network access, no external MCP or outside tools.**
- **Strict filesystem isolation:** Only read and write inside this repository, plus read-only access to:
  1. The model file: `~/.lmstudio/models/lmstudio-community/granite-4.2-8b-GGUF/granite-4.2-8b-Q8_0.gguf`
  2. The pinned reference & oracle checkout: `~/src/llama.cpp` (ROCm build in `~/src/llama.cpp/build-rocm`)
  3. The shared GPU guard: `~/scripts/gpu_run.py`
  Do NOT read, inspect, or copy from any other directory under `~/src/` or elsewhere on disk.
- **From-scratch engine:** The inference binary (`build/granite-infer`) must NOT link against `libllama` or `libggml` (must be verifiable via `ldd`). You may read `~/src/llama.cpp` source as an architectural reference, and you may link `libllama` or invoke `~/src/llama.cpp/build-rocm/bin/*` ONLY inside your separate verification/benchmark test harness.
- **GPU & memory guard:** Run EVERY GPU command (tests, parity checks, benchmarks) under `python3 ~/scripts/gpu_run.py <cmd>`. Never bypass, wrap around, or modify `gpu_run.py`. Stay strictly within its card-wide VRAM and host-RAM ranges.
- **Language & compiler strictness:**
  - Host code: C++23 (`-std=c++23 -O3 -march=native`).
  - HIP backend: C++20 (`-std=c++20 -O3 --offload-arch=gfx1201`), isolated in its own target/files so C++23-only headers do not leak into HIP.
  - Warnings as errors on all targets (including HIP and tests): `-Wall -Wextra -Wpedantic -Werror -Wconversion -Wsign-conversion -Wshadow`. Fix warnings in code; do not disable them with pragmas.

### Required Engine & CLI (`build/granite-infer`)
Implement a complete GGUF loader and full GPU-resident HIP inference engine for `granite-4.2-8b-Q8_0.gguf` (all Granite 4.2 architectural details: exact GQA/RoPE/SwiGLU, RMSNorm, embedding/residual/attention/logit scaling multipliers, KV cache, Q8_0 weights).

Support at least these CLI flags:
- `--model <path>`
- `--tokens <comma-separated-int-ids>` (deterministic token-ID input)
- `--max-tokens <N>` (greedy argmax decode, prints generated token IDs)
- `--dump-logits <path>` (writes raw float32 logits for the final prefill position to binary file)
- `--bench-pp <P> --bench-tg <G>` (runs P-token prefill followed by G-token greedy decode on deterministic valid token IDs, printing prefill ms & tok/s and decode ms & tok/s cleanly separated from model load time)

### Required Verification & Optimization Loop
1. **Oracle accuracy parity (`build/test-accuracy`):**
   - Compare `build/granite-infer` against the ROCm `llama.cpp` oracle (`~/src/llama.cpp/build-rocm`) on the exact same GGUF and at least two fixed prompts (one ~64 tokens, one ~512 tokens, tokenized via `llama-tokenize` or `libllama`):
     - **100% exact greedy token-ID match** for 32 generated tokens on both prompts.
     - **Logit parity** after prefill and across generated steps: report `max_abs`, `rms`, cosine similarity, and top-1 agreement.
   - Keep `build/test-accuracy` passing after every optimization pass.

2. **Hardware-level optimization (main objective):**
   - Baseline oracle on this RX 9070 XT (`gfx1201`) is approximately `pp512 ~ 4482 tok/s` and `tg128 ~ 54.6 tok/s` (`llama-bench -ngl 99 -p 512 -n 128`).
   - Profile and aggressively optimize your HIP kernels specifically for RDNA4 (`gfx1201`, wave32, memory bandwidth, LDS/vectorized Q8_0 matvec & GEMM, fused RMSNorm/RoPE/SwiGLU, FlashAttention / GQA decode, minimal host launch overhead / HIP graphs if helpful) to **beat llama.cpp's `tg128` decode tok/s and push `pp512` prefill tok/s as high as possible without losing accuracy**.
   - Iterate: profile -> optimize -> re-verify `test-accuracy` -> re-benchmark.

3. **Final interleaved benchmark (under `gpu_run.py`):**
   - Run **5 interleaved repetitions** alternating `build/granite-infer` and `~/src/llama.cpp/build-rocm/bin/llama-bench -m ~/.lmstudio/models/lmstudio-community/granite-4.2-8b-GGUF/granite-4.2-8b-Q8_0.gguf -ngl 99 -p 512 -n 128 -r 1` (A, B, A, B, ...).
   - Verify `ldd build/granite-infer` shows zero `libllama`/`libggml` linkage.

### Final Deliverable
- Commit cleanly in git (clean working tree at finish).
- Write a concise `REPORT.md` in the repo root containing:
  1. Exact build and test commands.
  2. `test-accuracy` parity numbers (`max_abs`, `rms`, cosine similarity, 32/32 greedy token match on both prompts).
  3. Full table of all 5 interleaved `pp512` and `tg128` runs vs `llama.cpp` (individual runs, median, mean ± std, % speedup/ratio) plus peak VRAM/RAM.
  4. Summary of the concrete `gfx1201` HIP optimizations implemented and what moved the needle most.

2. Blind Reviewer Prompt (Byte-Identical for Sol-6.2 and Opus-5.5)

You are conducting a 100% blind, independent technical adjudication of two standalone C++23/HIP inference engines for Granite 4.2 8B Q8_0 targeting AMD RX 9070 XT (gfx1201):
- Arm A: ~/src/arm-a-gran
- Arm B: ~/src/arm-b-gran
- Reference oracle: ~/src/llama.cpp/build-rocm
- Model file: ~/.lmstudio/models/lmstudio-community/granite-4.2-8b-GGUF/granite-4.2-8b-Q8_0.gguf
- GPU lock wrapper: python3 ~/scripts/gpu_run.py <cmd>

Strict rules:
1. Stay completely blind: do NOT inspect .git/ (no git log, git status, git show, or .git files) and do NOT rely on cached CMake metadata.
2. Keep both repositories completely untouched (read-only). Put all build directories and temporary scripts under /tmp and remove them when done.
3. No web access, no subagents. Run every GPU binary under gpu_run.py.

Required verification steps:
1. Static & build audit: clean out-of-source Release builds of both arms, check compiler flags/warnings/pragmas, verify via ldd that neither arm links libllama or libggml, and review the HIP kernel architecture & code quality of both arms.
2. Independent accuracy audit: run each arm's built-in accuracy/kernel tests AND run your own independent parity check against the llama.cpp oracle on at least 3 unseen prompts (including non-multiple-of-64/128 prompt lengths such as ~37, 64, and 513 tokens) checking both logits and 32-step greedy token agreement.
3. Independent interleaved benchmark: run a 5-round rotated 3-way interleaved benchmark (oracle, Arm A, Arm B) for pp512 and tg128 under gpu_run.py, recording medians, stddevs, model load time, peak VRAM, and peak host RAM. Cross-check each arm's REPORT.md claims against your measurements.
4. Verdict: score both arms out of 100 with a clear category breakdown, declare a winner, and identify concrete strengths, flaws, and subtle bugs in each arm.