@oyng/opencode-agy-authReverse-engineered Antigravity CLI (Code Assist) OAuth + model provider plugin for opencode, with web search, quota and image tools.
1
713
666 in 7 days
40.0
Multi-signal model
1 day ago
2026-08-18
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@oyng/opencode-agy-auth@1.1.5"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@oyng/opencode-agy-auth@1.1.5"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D @oyng/opencode-agy-authopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
A reverse-engineered client for the Google Antigravity CLI (Agy / Code Assist), bundled as an opencode plugin. It adds OAuth authentication and a google-agy model provider so opencode can call Gemini, Claude, and GPT models through the Code Assist backend, plus web search, quota, and image tools.
Features
- Google OAuth 2.0 (PKCE) — browser authorization with automatic token refresh.
- Model support — Gemini 3.7 / 3.6 / 3.5 / 3.1 Flash & Pro series,
claude-sonnet-4-6,claude-opus-4-6-thinking,gpt-oss-120b-medium. - Tools:
agy_usage— inspect Code Assist quota and limitswebsearch_cited— grounded web search with inlined citations and aSources:listread_url_content— fetch and clean page contentgenerate_image— image generation and editing
- Native context compaction — protocol-aligned summarization and tool-call flattening.
- Thinking-chain fidelity — streaming deduplication, signature self-healing, system-reminder stripping.
Installation
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
"@oyng/opencode-agy-auth"
]
}
Debugging
AGY_DEBUG=1 opencode
Logs are written to ./agy_chat_log/ in the working directory.