Repository navigation
Add a Gemini engine that talks to Vertex AI - #145
Merged
Merged
Conversation
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
force-pushed
the
feat/vertex-gemini-engine
branch
from
September 19, 2026 08:51
dfb57d1 to
8b3b24f
Compare
Merged
2 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
engine: geminiso 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, andvertex-api-key.This repository dogfoods Gemini:
.github/aixgo.ymlsetsengine: gemini, and.github/workflows/aixgo-caller.ymlpasses Vertex vars/secrets only (noAIXGO_AZURE_*).README gains a Contents TOC and an Engines table pointing at configuration.
Test plan
make checkgreen locallyAIXGO_VERTEX_PROJECT,AIXGO_VERTEX_LOCATIONand secretAIXGO_VERTEX_API_KEY; confirm anax:gorun uses Gemini