minhdevtry/agy-byom
Local Go gateway and plugin for bringing custom models into Antigravity
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
agy-byom pairs a Go loopback gateway at 127.0.0.1:24180 with the BYOM Studio sidecar plugin. Antigravity App 2.0, IDE, and CLI send Gemini wire requests to the gateway for custom models. A separate catalog and role-settings integration exposes those models in the host UI. Native requests retain their normal session path: the integration does not patch Antigravity binaries, and the gateway does not read Google OAuth tokens.
For BYOM traffic, routing and guardrails precede translation to Anthropic Messages, OpenAI Chat Completions, or OpenAI Responses. Upstream routing includes an SSRF guard. A bounded gateway-side ReplayCache keeps provider replay data out of Gemini’s thoughtSignature field, avoiding a specific cross-model signature error. The root separates cmd/, internal/, and plugin/; go.mod declares Go 1.26 with no explicit module requirements, and agy-byom mcp is a read-only stdio telemetry endpoint.
Key Capabilities & Differentiators
The gateway connects to hosted APIs such as OpenRouter and DeepSeek and detects running Ollama, LM Studio, vLLM, and llama.cpp servers on localhost. It supports Anthropic prompt-cache breakpoints and adaptive thinking, but a compatible endpoint does not guarantee working tool calls: the test-tools command probes that behavior directly. BYOM models can run alongside native models in Orchestrator and Executor roles and in /swarm. The optional Orchestrator fallback is off by default; enabling it can change the role defaults to BYOM models.
ChatGPT subscription accounts can be added through Codex PKCE OAuth or imported from ~/.codex/auth.json. The account pool offers Fill-First and Round-Robin allocation, a sticky window intended to preserve prompt-cache locality, and cooldown on HTTP 429. BYOM Studio’s Models, Usage, Connect, and More tabs cover configuration and operations; Usage shows requests, latency, tokens, cache hit rate, and live account quotas with reset countdowns.
Trade-offs & Limitations
Compared with pointing a coding client directly at Ollama or a hosted API, agy-byom’s main benefit is integration with Antigravity’s picker and role system. A client with native custom-endpoint support avoids the extra service and protocol translation. Antigravity updates remain a compatibility risk for the catalog and settings integration even though the client binaries are untouched. Test tool calls against the exact provider and model before assigning it to an agent role.
Loopback limits exposure of the inbound gateway, but hosted providers still receive inference payloads. Credentials are stored in a local file with documented 0600 permissions, and prompt contents are not logged to disk. Treat imported subscription credentials as sensitive and review both platform and provider terms independently. The project identifies its license as MIT; that does not establish provider approval or grant rights to upstream services. There are no measured figures here for translation overhead or local inference performance.
Hardware & Deployment Guide
Prebuilt Linux, macOS, and Windows binaries are published with SHA256SUMS.txt. Prefer a pinned release and inspect the installer before running it: installation registers a user-level background launcher (systemd --user, LaunchAgent, or Windows Startup), installs BYOM Studio, and syncs Antigravity settings. Source installation uses Go 1.26+ with install.sh or install.ps1. Uninstall uses .agy-byom.bak backups to restore settings.
Bring a supported Antigravity client and either upstream credentials or a running local inference server. Only the latter can keep BYOM inference on the machine; loopback describes the client-to-gateway hop, not the entire request path, and does not establish offline support for Antigravity itself. Use doctor --json to check gateway health, sync state, and provider probes. v1.2.0 calls out subscription access, the Responses API, and CLI improvements; the supplied v1.3.0 release entry is a changelog link and does not identify specific changes.
Antigravity users who want local or hosted models in the same picker, with tested tool calling and control over Orchestrator and Executor selection.
Your client already connects directly to the model you need, you cannot run a per-user background service, or policy does not permit the chosen upstream or credential path.
Quick Start & Installation
curl -fsSL https://raw.githubusercontent.com/minhdevtry/agy-byom/main/get.sh | bash
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| agy-byom ★ | 122 | +122 | Go | — | Local Go gateway and plugin for bringing custom models into Antigravity |
| rtk | 88.7k | +684 | Rust | Apache-2.0 | A local Rust CLI wrapper that trims command output before coding agents read it. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/minhdevtry/agy-byom.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about agy-byom
How do custom models appear in Antigravity without patching the client?
Do I need a GPU, and what should I size for?
Can I self-host it or redistribute it commercially?
When is this better than connecting directly to Ollama or a hosted API?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy