evalbench AGENTS.md

A repository guide for EvalBench, a framework that tests and scores generative-AI workflows, including database tasks and multi-step conversations.

In plain words
What is it for?
Use it when developing or debugging EvalBench generators, simulated user journeys, database-specific tasks, or deterministic and AI-based scoring components.
Why use it?
It explains the project layout, configuration, tools, evaluation modes, and local workflows so contributors can understand where changes belong.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/googlecloudplatform/evalbench/agents-md
Clone the repo
git clone --depth 1 https://github.com/GoogleCloudPlatform/evalbench

Made for: Codex, OpenCode.

Per session 2,556 This file is loaded in full into every session.
When invoked 2,556 The same file — it is already loaded in full.
Security scan C 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.02556 $0.02556
Opus 5 $0.01278 $0.01278
Sonnet 5 $0.00511 $0.00511
Haiku 4.5 $0.00256 $0.00256

Measured yesterday against content hash eedfa31e48cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

evalbench AGENTS.md scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf .venv/fake_home
AGENTS.md · 288 lines

How it starts

The opening of the file, as written. The whole thing — 288 lines — stays where its author put it; the contents beside it link to each section on GitHub.

EvalBench: Agentic Onboarding & Development Guide

Welcome to EvalBench! This guide is specifically designed for AI coding assistants and new developers to help you understand the repository's architecture, evaluation modes, codebase structure, and contribution flows.


Table of Contents


Overview & Objectives

EvalBench is a highly flexible testing and evaluation framework designed to measure the quality of Generative AI (GenAI) workflows, specifically focusing on:

  • Database specific tasks: Generating valid DDL, DML, and DQL across multiple database types (AlloyDB, BigQuery, Spanner, Postgres, SQLite, etc.).
  • Agent Multi-turn journeys: Simulating complex user interactions where an LLM-based simulated user responds to the agent's questions or drives the conversation via a predetermined plan.
  • Extensible Scoring: Evaluating outputs with a plug-and-play suite of deterministic and LLM-based scorers.

[!NOTE] The core design principle of EvalBench is isolation. Each multi-turn execution runs in a sandboxed home directory (.venv/fake_home/ or .venv/fake_home_claude/) to prevent local machine environment contamination.


Project Architecture

EvalBench separates evaluation into distinct orchestrators, evaluators, generators, and scorers.

graph TD
    Config[Run Config YAML] -->|Loads| Orch[Orchestrator]
    Dataset[Dataset JSON] -->|Parsed| Orch
    Orch -->|Splits scenarios by Dialect/DB| Eval[Evaluator]
    
    subgraph Per Scenario Evaluation Loop
        Eval -->|Turn 1 Prompt| Gen[Agent / Model Generator]
        Gen -->|Tool Calls / Text| StepLogic{Is Multi-turn?}
        StepLogic -->|Yes| VUser[Simulated User LLM]
        VUser -->|Turn N Next Response| Gen
        StepLogic -->|Done / Final output| Exec[SQL Execution / Scorer Work]
    end
    
    Exec -->|Store Results| Report[Reporting: CSV / BigQuery]

Read the full file on GitHub · 288 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 288 lines · 2,556 tokens per session scan C eedfa31e48cb

Subscribe to this mod's changes

evalbench AGENTS.md is an instructions file published in the GitHub repository GoogleCloudPlatform/evalbench (55 stars, last pushed 3d ago), licensed Apache-2.0. It adds 2,556 tokens to every session, about $0.0128 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.