Docs Navigation

Google Vertex AI adapter

Route ABS evaluations through Google Vertex AI Gen AI Evaluation service.

Routes ABS LLM-based evaluations through the Vertex AI Gen AI Evaluation service (bring-your-own-response mode). The adapter never re-runs your agent.

Availability. Ships with the Python CLI and the npm CLI. On npm, install @google-cloud/vertexai; the adapter renders the official pointwise prompt templates against a Gemini model.

Install

pip install "abslang[google]"

Configure

export GOOGLE_CLOUD_PROJECT="your-project"
export GOOGLE_CLOUD_LOCATION="us-central1"
gcloud auth application-default login

The judge is Gemini internally. GCP's free trial gives $300 for 90 days.

Run

abslang run session.abs.yaml --agent $AGENT_URL --adapter google

Supported evaluators

ABSVertex metric
Groundednessgroundedness
Relevancequestion_answering_quality
Coherencecoherence
Fluencyfluency
HateUnfairness / Violence / Sexual / SelfHarmsafety
llm_judgecustom pointwise metric
custom id google.*custom pointwise metric

The four safety dimensions map to Vertex's single safety metric (0 = unsafe, 1 = safe). Rubric-based scores are normalized to 0–1 before threshold is applied.