agent-platform-eval-flywheel

Evaluate and improve GenAI models and agents on Google Cloud.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/wangx7/skills-collection --skill agent-platform-eval-flywheel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-platform-eval-flywheel
Source: https://github.com/wangx7/skills-collection/tree/main/google-skills/skills/cloud/agent-platform-eval-flywheel
Command: npx skills add https://github.com/wangx7/skills-collection --skill agent-platform-eval-flywheel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires agentplatform, pandas, requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the challenge of systematically measuring and improving the quality of GenAI models and agents on Google Cloud. Without a structured evaluation workflow, teams struggle to identify failure patterns, track quality improvements, and avoid regressions when iterating on prompts or model configurations.

Core Features & Use Cases

  • Quality Flywheel Workflow: Guides users through a five-stage iterative process—prepare data, run inference, grade with metrics, analyze failures, and optimize—to continuously improve AI system quality.
  • Multi-Format Evaluation: Supports single-turn model evaluation, multi-turn agent evaluation with tool calls, synthetic data generation for cold starts, and custom metric creation using LLM-as-judge or code-based approaches.
  • Production-Grade Tooling: Includes safety tiers for confirmation, failure clustering for large-scale analysis, HTML report generation, and regression detection when comparing evaluation results across iterations.

Quick Start

Use the agent-platform-eval-flywheel skill to evaluate your GenAI agent or model by preparing an evaluation dataset, running inference with the Agent Platform SDK, and grading the results with predefined or custom metrics.

Frequently Asked Questions about agent-platform-eval-flywheel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I evaluate GenAI agent quality on Google Cloud?

Evaluating GenAI agent quality on Google Cloud involves a structured flywheel: prepare data, run inference with the Agent Platform SDK, grade with metrics, analyze failures, and optimize. It supports multi-turn agent evaluation including tool calls.

What is an evaluation flywheel for AI models?

An evaluation flywheel for AI models is a five-stage iterative process—prepare data, run inference, grade with metrics, analyze failures, and optimize—designed to continuously measure and improve GenAI system quality while avoiding regressions during prompt or configuration iterations.

Can I use custom metrics and LLM-as-judge for agent evaluation?

Yes, you can use custom LLM-as-judge or code-based metrics for agent evaluation. The evaluation workflow supports grading inference results with predefined metrics or creating custom metrics tailored to your specific GenAI quality requirements.

How do I create an evaluation dataset from session traces?

You can create an evaluation dataset from session traces, pandas DataFrames, or synthetic data generation. This data preparation is the initial stage of the flywheel, enabling subsequent inference and metric grading for GenAI agents.

Does the agent evaluation workflow support multi-turn tool calls?

Yes, the agent evaluation workflow supports multi-turn agent evaluation with tool calls. It handles multi-format evaluation scenarios, including single-turn model evaluation and complex multi-turn agent interactions deployed on Google Cloud.

How do I detect regressions when iterating on GenAI prompts?

To detect regressions when iterating on GenAI prompts, you compare evaluation results across iterations using the evaluation flywheel. The workflow includes regression detection, failure clustering for large-scale analysis, and HTML report generation to track quality improvements.