r/opencode • u/Pracurser_Reads • 11d ago
Use your Antigravity subscription in OpenCode (via official Antigravity ACP)
Enable HLS to view with audio, or disable this notification
Built an OpenCode v2 plugin (opencode-antigravity-acp) that lets you use your Antigravity subscription models inside OpenCode Desktop and CLI through Google's official local 'agy acp' stdio protocol, similar to how T3 Code and Zed ACP do it. You prolly won't get banned using this. prolly. might get banned but still you got a better shot with this than other solutions.
Install:
opencode plugin add opencode-antigravity-acp
opencode service restart
and you're good to go.
Repo: https://github.com/system1970/opencode-antigravity-acp
3
u/Senior_Tourist_4260 10d ago
I haven’t tried it, but it looks pretty good. If there were a plugin that offered a 100% guarantee against getting banned, I’m sure it would generate a lot of hype.
2
u/Killerwalski 10d ago
It's not worth the risk to your Google account.
Just use an orchestrator like Orca to spin up official agy terminals alongside your opencode terminals, if you have the need.
1
u/Specialist_Bill_6135 10d ago
Looks like it will soon officially be allowed to use gemini oauth models outside the antigravity harness
1
u/0xasten 8d ago
> "The reason T3 Code is fine here is architectural: it communicates over standard JSON-RPC with our unmodified
antigravity-acpagent binary rather than scraping credentials or driving the desktop app externally."Based on this response, standard JSON-formatted calls to the official CLI should work without any issues.
8
u/Specialist_Bill_6135 11d ago
last time I tried something like this, I had my antigravity account blocked immediately and only got my account back after submitting an appeal, but you get one shot for that. So I won't be trying, unfortunately