You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+50-5Lines changed: 50 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,11 @@
1
1
# EvalBench
2
2
3
-
EvalBench is a flexible framework designed to measure the quality of generative AI (GenAI) workflows around database specific tasks. As of now, it provides a comprehensive set of tools, and modules to evaluate models on NL2SQL tasks, including capability of running and scoring DQL, DML, and DDL queries across multiple supported databases. Its modular, plug-and-play architecture allows you to seamlessly integrate custom components while leveraging a robust evaluation pipeline, result storage, scoring strategies, and dashboarding capabilities.
3
+
EvalBench is a flexible framework designed to measure the quality of generative AI (GenAI) workflows. It supports two broad classes of evaluation:
4
+
5
+
-**NL2SQL / database tasks** — running and scoring DQL, DML, and DDL queries across multiple supported databases (AlloyDB, BigQuery, Spanner, PostgreSQL, MySQL, SQLite, and more).
6
+
-**Agentic evaluations** — driving real coding agents and CLIs (Gemini CLI, Claude Code, Codex CLI, Antigravity CLI) through multi-turn scenarios with an LLM-based simulated user, then scoring their tool-call trajectories, goal completion, and behavior.
7
+
8
+
Its modular, plug-and-play architecture allows you to seamlessly integrate custom components while leveraging a robust evaluation pipeline, result storage, scoring strategies, and dashboarding capabilities.
4
9
5
10
---
6
11
@@ -76,11 +81,40 @@ Start the evaluation process using the provided shell script:
76
81
77
82
---
78
83
84
+
## Agentic Evaluations
85
+
86
+
Beyond single-turn NL2SQL, EvalBench evaluates **agents** — coding CLIs and data agents that reason across multiple turns, call tools, and act on their environment.
87
+
88
+
Each scenario starts from a prompt and is driven forward by an **LLM-based simulated user** that follows a `conversation_plan` until the goal is met, a terminal state is detected, or `max_turns` is reached. Every turn is captured — text, tool calls, parameters, latency, and tokens — and then scored. Runs are **sandboxed**, so agents never touch your local CLI settings and scenarios can run concurrently.
| Conversational data agents |`dataagent`|`dataagent` / `interact`|[Data agent spec](/docs/dataagent_spec.md)|
97
+
98
+
Agents can be evaluated against tools wired up as **MCP servers**, **plugins**, **extensions**, or **skills** — or against a **fake MCP** stub for fast, offline, zero-cost testing. Plugins are installed from a git repo or local directory through each CLI's marketplace and may bundle skills, MCP servers, or both. Trajectories are scored for tool-call accuracy, goal completion, hallucination and clarification behavior, latency, and token cost; see the [scorer reference](/docs/scorers.md#agentic-scorers) for all of them.
Read [Agentic evaluations](/docs/agentic-evals.md) for the execution model, sandboxing, and tool paradigms, and the [agentic dataset format](/docs/configs/agentic-dataset-config.md) for how to write scenarios.
108
+
109
+
---
110
+
79
111
## Overview
80
112
81
113
EvalBench's architecture is built around a modular design that supports diverse evaluation needs:
82
114
-**Modular and Plug-and-Play:** Easily integrate custom scoring modules, data processors, and dashboard components.
83
115
-**Flexible Evaluation Pipeline:** Seamlessly run DQL, DML, and DDL tasks while using a consistent base pipeline.
116
+
-**Single-Turn and Agentic:** Use the same pipeline, scorers, and reporting for one-shot NL2SQL generation and for multi-turn agent journeys driven by a simulated user.
117
+
-**Sandboxed Agent Execution:** Run real CLIs and MCP servers in isolated environments, in parallel, without touching your local configuration.
84
118
-**Result Storage and Reporting:** Store results in various formats (e.g., CSV, BigQuery) and visualize performance with built-in dashboards.
85
119
-**Customizability:** Configure and extend EvalBench to measure the performance of GenAI workflows tailored to your specific requirements.
86
120
@@ -97,10 +131,21 @@ And allowing digging deeper into the exact details of the improvements and regre
97
131
<imgwidth="911"alt="Evalbench Reporting by Databaes / Dialects"src="https://github.com/user-attachments/assets/861696b5-42f1-44c7-a7d0-710f7a32918f" />
98
132
<br><br>
99
133
100
-
A complete guide of Evalbench's available functionality can be found in [run-config documentation](/docs/configs/run-config.md)
134
+
---
135
+
136
+
## Documentation
101
137
102
-
Please explore the repository to learn more about customizing your evaluation workflows, integrating new metrics, and leveraging the full potential of EvalBench.
138
+
Full reference documentation lives in [docs/](/docs/README.md).
103
139
140
+
| Doc | Contents |
141
+
|---|---|
142
+
|[Run config](/docs/configs/run-config.md)| The top-level YAML that drives an evaluation run |
143
+
|[Scorers](/docs/scorers.md)| Every available scorer and its configuration options |
144
+
|[Agentic evaluations](/docs/agentic-evals.md)| Execution model, sandboxing, and tool paradigms |
145
+
|[NL2SQL dataset format](/docs/configs/dataset-config.md)| Prompts, golden SQL, and eval queries |
146
+
|[Agentic dataset format](/docs/configs/agentic-dataset-config.md)| Scenarios, conversation plans, and expected trajectories |
147
+
|[Database config](/docs/configs/db-config.md)| Connection details and supported dialects |
148
+
|[Model config](/docs/configs/model-config.md)| Model selection and generation settings |
149
+
|[Examples](/docs/examples/)| Runnable notebooks for SQLite, Cloud SQL, and BigQuery |
104
150
105
-
---
106
-
For additional documentation, examples, and support, please refer to the [EvalBench documentation](https://github.com/GoogleCloudPlatform/evalbench). Enjoy evaluating your GenAI models!
151
+
Contributions are welcome — see [contributing](/docs/contributing.md). Enjoy evaluating your GenAI models!
|[Database config](/docs/configs/db-config.md)| Connection details per database and the list of supported dialects. |
15
+
|[Model config](/docs/configs/model-config.md)| Model selection and generation settings. |
16
+
17
+
## Scoring
18
+
19
+
| Doc | Contents |
20
+
|---|---|
21
+
|[Scorers](/docs/scorers.md)| Full catalog of every scorer — SQL, agentic, skills, transform tooling, and custom Python scorers — with config options. |
0 commit comments