Skip to content

v0.1.0 — Antigravity on any LLM

Latest

Choose a tag to compare

@codewith-aditya codewith-aditya released this 14 Nov 11:56
· 6 commits to main since this release

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 v1beta for the Antigravity CLI, Cloud Code
    v1internal for the IDE and its hub.
  • Streaming with reasoning deltas.
  • Tool calling — Gemini functionDeclarations map 1:1 onto OpenAI tools, and tool results
    flow back as role: tool messages with synthesised ids.
  • Mixed routing (NATIVE_MODELS) — keep chosen models on Google and send the rest to your
    upstream, exact IDs or prefix*.
  • 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 think filtering — 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_effort triggers 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-amd64
GOOGLE_GEMINI_BASE_URL=http://127.0.0.1:8198 GEMINI_API_KEY=anything agy

For 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.