agent-platform-eval-flywheel
Fungsinya
Skill ini memakai SDK evaluasi Agent Platform untuk menilai agent atau model, menemukan pola dalam kegagalan, dan menyarankan perbaikan yang bisa diuji ulang. Ditujukan untuk pengembang yang ingin mengukur kualitas sebelum dan sesudah suatu perubahan.
Kapan dipakai
- βSaat Anda ingin mengevaluasi agent atau model AI dengan kumpulan uji yang bisa diulang.
- βKetika Anda perlu membangun dataset evaluasi dari jejak (trace) atau tabel.
- βSaat Anda ingin membandingkan hasil sebelum dan sesudah sebuah perbaikan.
Link skill
https://github.com/google/skills/blob/main/skills/cloud/agent-platform-eval-flywheel/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βEvaluasi agent saya dengan kumpulan uji yang bisa saya pakai ulang, lalu beri tahu saya pola kegagalannya dan apa yang perlu diperbaiki.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill membangun atau memeriksa dataset, menjalankan evaluasi, membaca vonis dan pola kegagalan, lalu menyarankan perubahan kode atau prompt untuk diuji berikutnya. Langkah yang memakai sumber daya komputasi dikonfirmasi terlebih dahulu.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Agent Platform Eval Flywheel Skill
Help users evaluate and iteratively improve GenAI models and agents using the
Agent Platform GenAI Evaluation SDK (google.genai / agentplatform).
When to use this skill
- Evaluating GenAI agents or models with the Agent Platform GenAI Evaluation
SDK (
client.evals.evaluate()). - Creating evaluation datasets from session traces, pandas DataFrames, or synthetic generation.
- Selecting, configuring, or writing custom evaluation metrics.
- Analyzing rubric verdicts, loss patterns, and clustering failures.
- Suggesting concrete code/prompt improvements based on eval results.
- Evaluating a model served on an Agent Platform endpoint (BYOM) or a
Model-as-a-Service (MaaS) model by ID β including deploying the model
first if needed. For this case, follow
references/deployment.md and use the
endpoint_evaluation.py/maas_evaluation.pyscripts.
Safety & Confirmation Tiers (CRITICAL)
Before executing any commands or scripts on behalf of the user, you MUST adhere to the following safety tiers based on the action requested:
- Tier R: Read-only (
inspect_results.py,compare_results.py,validate_dataset.py,parse_adk_traces.py,render_html_report.py)- Rule: No confirmation needed. You may execute these helper scripts immediately to inspect data, validate schemas, parse traces, or compare evaluation results.
- Tier M: Read-only with Compute Costs (
client.evals.run_inference,client.evals.evaluate,client.evals.generate_conversation_scenarios,client.evals.generate_loss_clusters)- Rule: These operations invoke LLMs or remote evaluation services that consume compute resources and incur costs. This requires interactive confirmation with 'Yes'/'No' options.
- Confirmation for EVERY evaluation run: Every evaluation, re-evaluation, metric update, parameter change, or synthetic scenario generation requires its own dry-run preview and interactive confirmation. Never execute a second evaluation, comparison pass, or modified evaluation without presenting a new confirmation preview and obtaining user approval.
- Same-turn restriction: Do not run the evaluation in the same turn as presenting the confirmation prompt. End your turn after asking and wait for the user's reply; only execute after explicit 'Yes' / approval. Printing a preview and then calling the tool before the user can answer does not count as obtaining confirmation.
- No Pre-Execution of Remote Evaluation: NEVER execute
client.evals.evaluate(),client.evals.run_inference(),client.evals.generate_conversation_scenarios(), or run any script invoking these remote operations before user confirmation. In the initial turn, you may prepare local data structures and compose the script, but you MUST present the dry-run preview card and obtain explicit user confirmation before running any remote evaluation or scenario generation call. - Immediate Execution Upon Approval: Once the user explicitly approves
(e.g., 'Yes', 'Approved', 'Go ahead', 'Proceed'), proceed directly to
executing the previewed evaluation script via
run_commandand report the results. Do not conclude the turn without executing the approved action.
Setup
The scripts need vertexai (from google-cloud-aiplatform[evaluation]),
google-genai, pandas, and requests. Do not create a virtual
environment β it starts empty and hides packages the environment already
provides, forcing a redundant install. Probe, and install only what is missing:
python3 -c "import vertexai, google.genai, pandas, requests" \
|| pip install 'google-cloud-aiplatform[evaluation]>=1.163.0' 'google-genai>=1.0.0'
The version specifiers must stay quoted: unquoted, bash reads >=1.154.0 as a
redirect and silently writes an empty file instead of constraining the install.
Need GOOGLE_CLOUD_PROJECT and GOOGLE_CLOUD_LOCATION.
- Preserve User Project and Location: Always prioritize the user's
explicitly provided project and location (e.g.
project='<PROJECT_NUMBER>',location='us-central1'). Never change or override the user's requested location to 'global' unless the user expl
Pertanyaan umum
Apakah ia menjalankan evaluasi sendiri?
Langkah pembantu yang hanya membaca berjalan bebas, tetapi langkah yang memakai sumber daya komputasi dikonfirmasi terlebih dahulu.
Bisakah ia mengevaluasi model di endpoint?
Bisa. Ia dapat mengevaluasi model yang disajikan, dan men-deploy-nya terlebih dahulu jika perlu.
SDK apa yang dipakai?
Agent Platform GenAI Evaluation SDK.
Detail
Deskripsi asli dari pembuat
Measures and improves the quality of AI models and agents on Google Cloud using the Eval Quality Flywheel methodology. Use when generating synthetic user scenarios, evaluating an agent or model, building an eval dataset, picking or writing evaluation metrics, analyzing failures, comparing results before and after a fix, or when guidance is needed on Agent Platform eval methodology β including dataset schema, LLM-as-judge scoring, and common failure causes. For fine-tuning, use agent-platform-tuning. For general production deployment, use agent-platform-deploy.
repo: google/skills
Popularitas
- Bintang GitHub
- 22k
- Peringkat
- #10202
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
finding-google-skills
22kMembantu agent Anda menemukan panduan Google yang tepat untuk tugas pengaturan, seperti hosting, database, penyimpanan, login, atau penyajian model AI.
gcloud
22kMembantu agent Anda menulis dan memeriksa perintah gcloud Google Cloud, dengan mencari sintaks yang tepat sebelum menjalankan apa pun agar tidak menebak flag.
google-cloud-recipe-auth
22kMemandu agent Anda melalui identitas dan akses Google Cloud, termasuk cara orang dan layanan masuk serta izin apa yang mereka dapatkan.
google-cloud-recipe-onboarding
22kMemandu pengembang baru melalui langkah pertama di Google Cloud, termasuk memilih proyek, menautkan penagihan, dan men-deploy sumber daya pertama.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.