Description
I'm trying to configure Clawdbot to use Google Vertex AI instead of the Google API key method, but running into authentication issues. Additionally, I noticed Anthropic models on Vertex AI don't appear in the model list.
Environment
- Clawdbot Version: 2026.1.11-4
- OS: Ubuntu 24.04 (Lima VM on macOS)
- Google Cloud Project: Configured with ADC via
gcloud auth application-default login
Issue 1: Google Vertex Authentication Not Working
Steps to reproduce:
- Set up gcloud ADC credentials:
gcloud auth application-default login
gcloud config set project my-project-id
- Configure
clawdbot.json:
{
"auth": {
"profiles": {
"google-vertex:default": {
"provider": "google-vertex",
"mode": "oauth"
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "google-vertex/gemini-3-flash-preview"
}
}
}
}
- Set environment variables:
export GOOGLE_APPLICATION_CREDENTIALS="$HOME/.config/gcloud/application_default_credentials.json"
export GOOGLE_CLOUD_PROJECT="my-project-id"
- Run
clawdbot gateway
Expected behavior: Gateway starts and uses Vertex AI for Gemini models.
Actual behavior:
- With
mode: "oauth" → Error: Invalid config: auth.profiles.google-vertex:default.mode: Invalid input
- Without
mode field → Error: No credentials found for profile "google-vertex:default"
- Tried
google-antigravity provider as well with same result
Additional context:
clawdbot models list shows Local Auth: no for google-vertex models
- ADC credentials file exists at
~/.config/gcloud/application_default_credentials.json
gcloud auth application-default print-access-token works correctly
Issue 2: Anthropic Models on Vertex AI Not Available
When running clawdbot models list, only Google/Gemini models are shown for Vertex providers. Is there any plan to support Anthropic models (Claude) via Google Vertex AI?
Anthropic models are available on Vertex AI and would be useful for users who want to use their GCP billing/quotas for Claude access.
Current output:
Model Input Ctx Local Auth Tags
google-vertex/gemini-3-flash-preview text+image 1024k no no default,configured
google-vertex/gemini-3-pro-preview text+image 977k no no configured
Expected: Would love to see something like:
google-vertex/claude-opus-4-5 text+image 195k no yes configured
google-vertex/claude-sonnet-4-5 text+image 195k no yes configured
Questions
- What is the correct
clawdbot.json configuration for Google Vertex AI?
- What environment variables are required for google-vertex authentication?
- Is Anthropic-on-Vertex support planned?
Workaround
Currently using google provider with api_key mode which works, but would prefer Vertex for centralized GCP billing.
Description
I'm trying to configure Clawdbot to use Google Vertex AI instead of the Google API key method, but running into authentication issues. Additionally, I noticed Anthropic models on Vertex AI don't appear in the model list.
Environment
gcloud auth application-default loginIssue 1: Google Vertex Authentication Not Working
Steps to reproduce:
gcloud auth application-default login gcloud config set project my-project-idclawdbot.json:{ "auth": { "profiles": { "google-vertex:default": { "provider": "google-vertex", "mode": "oauth" } } }, "agents": { "defaults": { "model": { "primary": "google-vertex/gemini-3-flash-preview" } } } }clawdbot gatewayExpected behavior: Gateway starts and uses Vertex AI for Gemini models.
Actual behavior:
mode: "oauth"→ Error:Invalid config: auth.profiles.google-vertex:default.mode: Invalid inputmodefield → Error:No credentials found for profile "google-vertex:default"google-antigravityprovider as well with same resultAdditional context:
clawdbot models listshowsLocal Auth: nofor google-vertex models~/.config/gcloud/application_default_credentials.jsongcloud auth application-default print-access-tokenworks correctlyIssue 2: Anthropic Models on Vertex AI Not Available
When running
clawdbot models list, only Google/Gemini models are shown for Vertex providers. Is there any plan to support Anthropic models (Claude) via Google Vertex AI?Anthropic models are available on Vertex AI and would be useful for users who want to use their GCP billing/quotas for Claude access.
Current output:
Expected: Would love to see something like:
Questions
clawdbot.jsonconfiguration for Google Vertex AI?Workaround
Currently using
googleprovider withapi_keymode which works, but would prefer Vertex for centralized GCP billing.