Skip to content

Replace deprecated Gemini CLI provider runtime with AGY #271

Description

@gcp007-ops

Problem

The current google-gemini-cli provider slot still represents the old Gemini CLI workflow, but the gemini binary is deprecated/unsupported in practice. Keeping a fallback to gemini does not help because that path no longer works at runtime.

Expected direction

Route the existing Gemini CLI provider slot through Google Antigravity CLI (agy) instead of the deprecated gemini binary, while preserving compatibility for existing Nexus settings.

Proposed behavior

  • Keep the provider id google-gemini-cli so existing settings and saved provider selections continue to load.
  • Relabel user-facing surfaces to Antigravity CLI / Google (Antigravity), rather than Gemini CLI.
  • Use AGY for runtime execution and local auth checks.
  • Manage the AGY MCP entry through ~/.gemini/config/mcp_config.json.
  • Reject malformed or blank AGY MCP config files instead of silently overwriting them.
  • Normalize legacy Gemini CLI model selections to the current AGY-backed model labels.
  • Do not keep a runtime fallback to the old gemini CLI, since that path is no longer functional.

Downstream status

I have a local patch on top of Nexus 5.12.1 that implements this direction, with focused tests and a successful build. I can open a PR if this approach matches the maintainer direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions