Skip to content
    ↑↓ select↵ openesc close
    English中文
    yynag

    Agy Auth

    v1.1.5Auth & Credentials
    @oyng/opencode-agy-auth

    Reverse-engineered Antigravity CLI (Code Assist) OAuth + model provider plugin for opencode, with web search, quota and image tools.

    GitHub stars

    1

    Monthly installs

    713

    666 in 7 days

    Composite scoreSCORE

    40.0

    Multi-signal model

    Last commit

    1 day ago

    2026-08-18

    Install and configure

    opencode.json

    Writes to this project's opencode.json — applies to this repository only.

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["@oyng/opencode-agy-auth@1.1.5"]
    }

    opencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.

    npm version License: MIT

    A reverse-engineered client for the Google Antigravity CLI (Agy / Code Assist), bundled as an opencode plugin. It adds OAuth authentication and a google-agy model provider so opencode can call Gemini, Claude, and GPT models through the Code Assist backend, plus web search, quota, and image tools.

    Features

    • Google OAuth 2.0 (PKCE) — browser authorization with automatic token refresh.
    • Model support — Gemini 3.7 / 3.6 / 3.5 / 3.1 Flash & Pro series, claude-sonnet-4-6, claude-opus-4-6-thinking, gpt-oss-120b-medium.
    • Tools:
      • agy_usage — inspect Code Assist quota and limits
      • websearch_cited — grounded web search with inlined citations and a Sources: list
      • read_url_content — fetch and clean page content
      • generate_image — image generation and editing
    • Native context compaction — protocol-aligned summarization and tool-call flattening.
    • Thinking-chain fidelity — streaming deduplication, signature self-healing, system-reminder stripping.

    Installation

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": [
        "@oyng/opencode-agy-auth"
      ]
    }
    

    Debugging

    AGY_DEBUG=1 opencode
    

    Logs are written to ./agy_chat_log/ in the working directory.

    License

    MIT © 2026 oyng · Source