r/opencodeCLI • u/External_Ad1549 • 2d ago
Gemini/Antigravity subscription in OpenCode with full tool use: what's the best setup?
Trying to get Gemini (AI Pro/Ultra plan) working in OpenCode as well as Claude does: real tool calls, MCP (browser automation) and per-tool stats.
Tried so far:
- ACP bridge to the official
agyCLI. Chat works and MCP servers get passed through. But agy runs its own tool loop, so OpenCode only sees one opaque step per turn and slow MCP calls get interrupted.disableBuiltInToolsdidn't turn off agy's built-in tools. opencode-antigravity-auth. It works, but there are reports of accounts getting flagged, so I'm skipping it.- Gemini CLI OAuth is dead for Pro/Ultra.
Questions:
- Has anyone made agy/ACP hand tool calls back to OpenCode, like the Claude Code plugin does?
- Is there any way to turn off agy's built-in tools?
- Or is a plain API key the only clean route?
Thanks!
(An AI helped format this post.)
8
Upvotes
4
u/ramonzitos 2d ago
waiting is the best option, it seems that they'll allow oauth login early december
2
u/songokussm 2d ago
Slightly off topic, but you can use t3 to control both opencode and agy. One window. One step. Full reporting. I started using it about two weeks ago and went from 5 apps open to just one. Google and cursor approve
1
u/jesus_was_rasta 2d ago
I built a subagent @agy that invokes the agy CLI and gets the response; I basically teached OC ho to use agy CLI. Seems to work.
1
u/Pracurser_Reads 2d ago
You can use this, its a thin client on top of the official agy acp. I emptied my weekly limits twice on the google pro plan twice on it.
https://github.com/system1970/opencode-antigravity-acp
1
u/hieuphung97 2d ago
The Antigravity ACP wrapper is fundamentally designed around its own internal event loop. It will always fight external tool orchestrators on timeouts. If you want granular tool stats in OpenCode, routing directly through Google's OpenAI-compatible endpoint with an API key is infinitely more stable.