Add Google Vertex AI (Gemini 1.5 Pro, Flash, etc.) support to OpenClaw.
Created by ROOH โ rooh.red
One-Line Install: Run this command in your terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/roohcode/openclaw-vertex-module/main/install.sh)"Or Manual Install:
-
Clone this repository:
git clone https://github.com/roohcode/openclaw-vertex-module.git cd openclaw-vertex-module -
Run the installer:
./install.sh
Follow the interactive prompts to:
- Authenticate with Google Cloud.
- Set up the local LiteLLM bridge (Port
18790). - Configure OpenClaw to use the bridge.
- OpenClaw installed (
~/.openclaw/openclaw.jsonmust exist). - Google Cloud SDK (
gcloud) installed and authorized. - Python 3.11+ (3.13 recommended).
- A Google Cloud Project with Vertex AI API enabled.
"Connection Refused" / Proxy not starting:
- Check logs:
tail -f ~/.openclaw/vertex-proxy/proxy.err - If you see
uvlooperrors (Python 3.14), the installer automatically applies a fix. Try running./uninstall.shand reinstalling.
"Invalid Input" errors:
- The installer automatically sanitizes the configuration for OpenClaw. Ensure you are using the latest version of this module.
To remove the bridge, stop the service, and clean up config:
./uninstall.sh