Repository navigation
Releases
Releases · codewith-aditya/agy-bridge
v0.1.0 — Antigravity on any LLM
First public release.
agy-bridge lets Google Antigravity run on any third-party LLM — modelrouter.in, OpenRouter,
vLLM, Ollama, or anything else that speaks OpenAI /chat/completions — while keeping the native
agent loop, tool schema and streaming intact.
What works
- Two protocols, one binary. Public Gemini
v1betafor the Antigravity CLI, Cloud Code
v1internalfor the IDE and its hub. - Streaming with reasoning deltas.
- Tool calling — Gemini
functionDeclarationsmap 1:1 onto OpenAItools, and tool results
flow back asrole: toolmessages with synthesised ids. - Mixed routing (
NATIVE_MODELS) — keep chosen models on Google and send the rest to your
upstream, exact IDs orprefix*. - Selective passthrough — sign-in, model catalog and quota RPCs are forwarded to Google with
the caller's own token; only generation is translated. - Picker labels (
CATALOG_LABELS,CATALOG_LABEL_TEMPLATE) that show which upstream serves
each model, resolved at runtime from the deployment's own config. - Inline
thinkfiltering — chain-of-thought that chat templates embed in the content stream is
moved into the client's thinking panel instead of leaking into the answer text. - Fallback safety — a provider that rejects
reasoning_efforttriggers one automatic retry
without it, and unsupported values are never sent.
Downloads
| Platform | File |
|---|---|
| Linux x86-64 | agy-bridge-linux-amd64 |
| Linux ARM64 | agy-bridge-linux-arm64 |
| Windows x86-64 | agy-bridge-windows-amd64.exe |
| macOS Apple Silicon | agy-bridge-darwin-arm64 |
| macOS Intel | agy-bridge-darwin-amd64 |
Verify with sha256sum -c SHA256SUMS (or shasum -a 256 -c on macOS).
Quick start
UPSTREAM_BASE=https://api.openai.com/v1 UPSTREAM_KEY=sk-... DEFAULT_MODEL=gpt-4o-mini ./agy-bridge-linux-amd64GOOGLE_GEMINI_BASE_URL=http://127.0.0.1:8198 GEMINI_API_KEY=anything agyFor the IDE, add "jetski.cloudCodeUrl": "http://127.0.0.1:8198" to its user settings.
Windows build and service instructions: see the README and docs/getting-started.md.
Notes
- Antigravity is a Google product; this project is unaffiliated and ships no Google code.
- The IDE route needs a server-side key (
CLOUD_SERVER_KEY) because its callers present a Google
OAuth bearer, not an API key. Keep that route behind an unguessable path or a private network.