OpenParable
Skip to content
← Back to skills

GCP Agent Eval Engine Runner

Agent Building
gcp-agent-eval-engine-runner

GCP Agent Eval Engine Runner is an Agent Skill for agent building published in the GoogleCloudPlatform/devrel-demos repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Boilerplate for a production evaluation runner that performs parallel inference, captures reasoning traces via SSE, and integrates with the Vertex AI Gen AI Evaluation service.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/GoogleCloudPlatform/devrel-demos/blob/HEAD/ai-ml/dev-signal/.agent/skills/gcp-agent-eval-engine-runner/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/gcp-agent-eval-engine-runner, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

gcp-agent-eval-engine-runner

This skill provides the "engine" for your automated evaluation pipeline. Grounded in evaluation_blog.md, it handles the complexity of running hundreds of parallel requests against a shadow revision while capturing the full "Thinking Process" (Reasoning Trace).

Usage

Ask Antigravity to:

  • "Create an evaluation runner script for my agent"
  • "Implement parallel inference for my golden dataset"
  • "Capture SSE traces for tool trajectory evaluation"

Engine Pattern

  1. Parallel Inference: Uses asyncio.Semaphore to throttle requests (preventing DDOS of the shadow service).
  2. SSE Capture: Connects to the ADK POST /run_sse endpoint to stream intermediate events.
  3. Dataset Enrichment: Appends response and intermediate_events to the input dataset.
  4. Vertex AI Integration: Submits the enriched dataset to the create_evaluation_run API.

Python Boilerplate

Refer to scripts/evaluate_agent_boilerplate.py for the core implementation.