Skip to content

Add a Gemini engine that talks to Vertex AI - #145

Merged
charlesgreen merged 3 commits into
mainfrom
feat/vertex-gemini-engine
Sep 19, 2026
Merged

charlesgreen merged 3 commits into
mainfrom
feat/vertex-gemini-engine

Conversation

@charlesgreen

@charlesgreen charlesgreen commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds engine: gemini so the loop can run against Vertex AI instead of Azure OpenAI. The loop, roles, and gate are unchanged. The adapter shells out to the Gemini CLI.

Azure endpoint and API key are no longer required inputs on the reusable workflow. Codex adopters who already pass them keep working. A Gemini adopter omits Azure and passes vertex-project, vertex-location, and vertex-api-key.

This repository dogfoods Gemini: .github/aixgo.yml sets engine: gemini, and .github/workflows/aixgo-caller.yml passes Vertex vars/secrets only (no AIXGO_AZURE_*).

README gains a Contents TOC and an Engines table pointing at configuration.

Test plan

  • make check green locally
  • After merge: set repo vars AIXGO_VERTEX_PROJECT, AIXGO_VERTEX_LOCATION and secret AIXGO_VERTEX_API_KEY; confirm an ax:go run uses Gemini
  • Codex path still documented for adopters who want Azure

engine: gemini shells out to the Gemini CLI instead of Codex, so an
adopter can leave Azure. The reusable workflow takes optional Vertex
project, location, and API key, and only requires Azure for Codex.
AIXGO_VERTEX_API_KEY may be a plain API key or the contents of a
service-account JSON. JSON is written to a temp file and exported as
GOOGLE_APPLICATION_CREDENTIALS so Gemini CLI authenticates with IAM
instead of an API token.
Point aixgo-dev/code's own Actions caller at Vertex Gemini instead of
AIXGO_AZURE_*. Set engine: gemini in .github/aixgo.yml. Add README TOC
and Engines table so configuration is discoverable.

Adopter templates still document Codex/Azure as an option; this repo no
longer wires those env vars.
@charlesgreen
charlesgreen force-pushed the feat/vertex-gemini-engine branch from dfb57d1 to 8b3b24f Compare September 19, 2026 08:51
@charlesgreen
charlesgreen merged commit de5a03d into main Sep 19, 2026
2 checks passed
@charlesgreen
charlesgreen deleted the feat/vertex-gemini-engine branch September 19, 2026 09:29
@charlesgreen charlesgreen mentioned this pull request Sep 19, 2026
2 of 4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant