# Chapter 7 ยท Agent Evaluation > Turns Agent performance into comparable signals. Covers evaluation environments, dataset design, metric systems, statistical significance, observability, evaluation-driven selection, and production-grade internal evaluation and simulation environments. โ† [Back to main README](../docs/en/README.md) ยท ๐Ÿ“– [Read chapter text](../book-en/chapter7.md) ## How to Read the Experiments The prose uses short mechanism skeletons to explain control flow; the experiment directory contains complete SDK adapters, logs, tests, and acceptance evidence. You do not need to read every file line by line. - **Starter:** Start with the goal, minimum command, and acceptance conditions; begin with [tau2-bench-eval](tau2-bench-eval/); - **Builder:** Follow the entry point, core loop, state/message schema, tools, and verifier. - **Maintainer:** Then read tests, evidence manifests, failure handling, rollback paths, and provider adapters. On a first pass, skip credential loading, presentation code, and provider-compatibility layers; return when reproducing a number. ## Companion Projects | Exp. | Project | Type | Description | | :--: | --- | :--: | --- | | 6-1 | [tau2-bench-eval](tau2-bench-eval/) | โœ… | Retains a pinned five-task telecom campaign (4/5 passed), raw trajectories, costs, hashes, and analysis of the wrong-line failure that skipped data refueling. | | 6-2 | `tau2-bench/` | ๐Ÿ“– | Manually completes graded ฯ„ยฒ-bench tasks and records their trajectories. | | 6-3 | [user-memory-evaluation](../chapter3/user-memory-evaluation/) | โœ… | Runs the four-level rubric over 180 structured judgments with evidence and a hallucination veto. | | 6-4 | [user-memory-system-evaluation](user-memory-system-evaluation/) | โœ… | Runs 60 cases across three systems with complete cost accounting. | | 6-5 | [user-memory-policy-eval](user-memory-policy-eval/) | โœ… | Runs 11 trajectory-prefix bad cases across JSON, Markdown, and Python-like memory encodings with real OpenRouter calls and deterministic policy checks. | | 6-6 | [tts-quality-eval](tts-quality-eval/) | โœ… | Synthesizes the same set of challenging texts using various TTS configurations (different model/voice/speed), then uses a multimodal LLM-as-a-Judge to score each dimension (clarity, naturalness, etc.) according to a Rubric, aggregating the results into a reproducible configuration comparison table. | | 6-7 | [elo-leaderboard](elo-leaderboard/) | โœ… | Implements an agent performance leaderboard based on the ELO rating system, evaluating the relative abilities of different agents through pairwise comparisons. | | 6-8 | [model-action-threshold](model-action-threshold/) | โœ… | Compares GPT-5.6-sol and Claude Sonnet 5 at the transition from exploration to the first edit under the same neutral Coding Harness; all 18/18 cells completed without API errors, and the [manifest](model-action-threshold/results/exp6-7-action-threshold-20260731-v1/manifest.json) binds the trajectories and summaries with verifiable hashes. | | 6-9 | [agent-cost-analysis](agent-cost-analysis/) | โœ… | Performs a full-chain cost breakdown for a typical multi-turn agent task (customer service refund): uses a custom lightweight tracing system to record input/output/cache tokens, latency, and cost for each LLM call, aggregates to identify "which step is the most expensive," and then uses A/B testing to quantify the real savings from KV-cache-friendly design and context compression. | | 6-10 | [model-benchmark](model-benchmark/) | ๐Ÿšง | Implements the multi-provider benchmark and strict analyzer, but retained evidence contains only smoke/readiness observations; the standard N=100 cells, rate ramp, Agent-cost phase, and 168-hour availability campaign remain incomplete. | | 6-11 | [user-memory-system-evaluation](user-memory-system-evaluation/) | โœ… | The full 4ร—3ร—2ร—60 matrix retained 1,440/1,440 real trajectories with zero errors or unpriced usage, complete retrieval/task metrics and interaction analysis, and an independently passing verifier. | | 6-12 | [android-world](android-world/) | ๐Ÿ“– | In-repo T3A evaluation report and failure analysis notes on AndroidWorld (starting point for Experiment 6-12; not the benchmark source). | | 6-13 | [openvla-robotwin2-eval](openvla-robotwin2-eval/) | โœ… | The retained single-GPU campaign completed 256 episodes per action-chunk arm; chunk 1 scored 0/256 and chunk 25 scored 26/256, with all 512 rollout identities hashed. | | 6-2 | `terminal-bench/` | ๐Ÿ“– | Terminal-Bench is a benchmark for testing AI Agent performance in real terminal environments. From compiling code to training models and setting up servers, it evaluates how Agents handle real end-to-end tasks. Includes a dataset of ~100 tasks and an execution framework, supporting various Agent implementations. | | 6-2 | `SWE-bench/` | ๐Ÿ“– | SWE-bench is a benchmark for evaluating the ability of large language models to solve real GitHub issues. Given a codebase and an issue description, the model must generate a patch that resolves the problem. Includes multiple versions: SWE-bench, SWE-bench Lite, SWE-bench Verified, and SWE-bench Multimodal. | | 6-2 | `GAIA/` | ๐Ÿ“– | GAIA aims to evaluate next-generation LLMs (those with tool augmentation, efficient prompting, search access, etc.). It contains 450+ non-trivial questions requiring varying degrees of tool use and autonomy, with unambiguous answers. Divided into 3 difficulty levels. | | 6-2 | `OSWorld/` | ๐Ÿ“– | Evaluates the ability of agents to perform complex tasks within a complete operating system environment, including file management, application operation, and system configuration. | | 6-2, 6-12 | `android_world/` | ๐Ÿ“– | Evaluates agent performance in an Android mobile environment, including app navigation, UI interaction, and task completion capabilities (external benchmark repo). | | โ€” | [public-health-reporting-eval](public-health-reporting-eval/) | โœ… | Uses synthetic DHIS2-style aggregate data to objectively evaluate a public-health reporting agent's tool calls, calculation accuracy, evidence citations, and unsupported claims. | > Backtick-named external benchmarks must be cloned separately. [`android-world/`](android-world/) (hyphenated) is this repo's **T3A evaluation analysis notes** (see its [README](android-world/README.md)), not the same path as the external `android_world/` benchmark source. ## Project Types | Icon | Type | Meaning | | :--: | --- | --- | | โœ… | **Standalone** | Full code in this repo, runs after configuring API Key | | ๐Ÿ“– | **Reproduction Guide** | Detailed doc depending on **external repos** to `git clone` | | ๐Ÿšง | **Design Doc** | Architecture/implementation plan only, runnable code still WIP |