{"id":50558137,"url":"https://github.com/jamubc/agy-for-grok-build","last_synced_at":"2026-06-04T09:01:49.418Z","repository":{"id":361835796,"uuid":"1256048851","full_name":"jamubc/agy-for-grok-build","owner":"jamubc","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-01T13:07:18.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-01T14:13:05.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamubc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-01T12:15:18.000Z","updated_at":"2026-06-01T13:08:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jamubc/agy-for-grok-build","commit_stats":null,"previous_names":["jamubc/agy-for-grok-build"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/jamubc/agy-for-grok-build","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamubc%2Fagy-for-grok-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamubc%2Fagy-for-grok-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamubc%2Fagy-for-grok-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamubc%2Fagy-for-grok-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamubc","download_url":"https://codeload.github.com/jamubc/agy-for-grok-build/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamubc%2Fagy-for-grok-build/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33897568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-04T09:01:48.364Z","updated_at":"2026-06-04T09:01:49.405Z","avatar_url":"https://github.com/jamubc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# agy-for-grok-build\n\n![Status](https://img.shields.io/badge/status-active-green)\n![Platform](https://img.shields.io/badge/platform-macOS-lightgrey?logo=apple)\n![Runtime](https://img.shields.io/badge/runtime-Node.js-339933?logo=node.js\u0026logoColor=white)\n![License](https://img.shields.io/github/license/jamubc/agy-for-grok-build)\n![API](https://img.shields.io/badge/API-OpenAI%20Compatible-412991?logo=openai\u0026logoColor=white)\n\nGive Grok Build access to Antigravity CLI OAuth models.\n\nIt installs a `grok-agy` command:\n\n```bash\ngrok-agy -p \"Say ok\"\n```\n\n`grok-agy` starts Grok Build with `-m agy`. The `grok-agy` wrapper spins up a Node-native, inline, zero-dependency OpenAI-compatible proxy server on port `8318` while Grok is running, and shuts it down on exit.\n\nDefault model:\n\n```toml\nmodel = \"gemini-3.5-flash\"\n```\n\n## What It Does\n\n- Spins up an inline local proxy server on `127.0.0.1:8318` when `grok-agy` is launched.\n- Routes `/v1/chat/completions` requests from Grok directly to the local `agy` CLI command.\n- Adds Grok model configuration for `agy` targeting the inline server.\n- Adds command `grok-agy`.\n\n## Prerequisites\n\n- macOS.\n- Node.js ≥ 18.\n- Grok Build installed at `~/.grok/bin/grok` or available as `grok`.\n- Antigravity CLI (`agy`) installed and authenticated.\n\n## Install\n\n```bash\nnode lib/install.js\n```\n\nOr via npm script:\n\n```bash\nnpm run install-proxy\n```\n\nVerify:\n\n```bash\ngrok-agy -p \"Say ok\"\n```\n\nCheck the model:\n\n```bash\ngrep -A7 '^\\[model.agy\\]' ~/.grok/config.toml\n```\n\n## Models\n\nExposed Antigravity models:\n\n- `gemini-3.5-flash`\n- `gemini-3-pro`\n- `gemini-3-pro-thinking`\n- `gemini-2.5-pro`\n- `gemini-2.5-flash`\n\n`agy` is pinned to `gemini-3.5-flash` by default.\n\n## Security\n\nGenerated local proxy key:\n\n```text\n~/.cli-proxy-api/grok-agy.env\n```\n\nDo not commit this file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamubc%2Fagy-for-grok-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamubc%2Fagy-for-grok-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamubc%2Fagy-for-grok-build/lists"}