← Back to Leaderboard
Aminhdevtry

minhdevtry/agy-byom

Local Go gateway and plugin for bringing custom models into Antigravity

View on GitHub ↗
Engineering Health (Methodology)
A · 77/100
Maintenance Activity
● Updated today
Latest Release
v1.4.0
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption16/25
Release Cadence20/20
License Clarity6/20
Local AISelf-HostedCLI1 README badge views (30d)
Total Stars
★ 122
24h Growth
+10
7d Growth
+122
Forks
29

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

minhdevtry/agy-byom Star History (2026-11-29 - 2026-12-04) DAILY STAR HISTORY (6-DAY D1 TELEMETRY) +121 in 5d · avg +24/day 129 65 0 2026-11-29: ★ 12026-11-30: ★ 172026-12-01: ★ 552026-12-02: ★ 1122026-12-03: ★ 1122026-12-04: ★ 122 ★ 122 11-29 12-01 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & 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.

Protocol bridge: Translates Gemini wire requests into Anthropic Messages, OpenAI Chat Completions, or OpenAI Responses.
Role integration: Exposes BYOM models in Antigravity’s picker, Orchestrator and Executor slots, and /swarm; the optional Orchestrator fallback is off by default.
Replay isolation: A bounded gateway-side ReplayCache keeps provider replay data out of Gemini’s thoughtSignature field.
Provider validation: Detects local Ollama, LM Studio, vLLM, and llama.cpp endpoints; test-tools --json exercises a real tool call.
Account routing: ChatGPT subscription pools support Fill-First and Round-Robin rotation, sticky routing, and cooldown on HTTP 429.
Observability: BYOM Studio surfaces usage and quota data; read-only stdio MCP exposes byom_status, byom_stats, and byom_routes.
Best For

Antigravity users who want local or hosted models in the same picker, with tested tool calling and control over Orchestrator and Executor selection.

Skip If

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.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releases · Newer release v1.4.0 (2026-12-03) shipped after this reviewMethodology

Quick Start & Installation

Local AISelf-HostedCLI
curl -fsSL https://raw.githubusercontent.com/minhdevtry/agy-byom/main/get.sh | bash

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
agy-byom ★122+122Go—Local Go gateway and plugin for bringing custom models into Antigravity
rtk88.7k+684RustApache-2.0A local Rust CLI wrapper that trims command output before coding agents read it.
Head-to-head comparisons:agy-byom vs rtk →

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/minhdevtry/agy-byom.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

minhdevtry/agy-byom Star History on RepoForAI

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?

The integration updates Antigravity’s model catalog and role settings without patching its binaries. Antigravity sends custom-model requests in Gemini wire format to the Go gateway on 127.0.0.1:24180; the gateway translates them for the configured backend. Native requests retain the normal Antigravity session path, and the gateway does not read Google OAuth tokens.

Do I need a GPU, and what should I size for?

The Go gateway routes and translates requests; it does not load model weights. If you use hosted APIs, no local inference GPU is needed. For local inference, size RAM and VRAM for the model server, model, context length, and concurrency. No measured resource baseline is available for the gateway.

Can I self-host it or redistribute it commercially?

The project identifies its license as MIT and requires retaining the copyright and license notices when redistributing. That license covers the gateway, not your rights to use Antigravity, ChatGPT subscription access, upstream APIs, or model weights. Review the applicable terms and data-handling requirements before rolling it out.

When is this better than connecting directly to Ollama or a hosted API?

Use agy-byom when custom models need to appear in Antigravity’s picker and participate in its role-based workflows. If your coding client already accepts the endpoint and supports the tools you need, connect directly. Likewise, if you only need local inference, Ollama or another model server is the component that runs the model.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining minhdevtry/agy-byom? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature minhdevtry/agy-byom on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

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

Saved in your browser · Export Markdown RFC tables or jump into /vs compare