Full research reportMethods note

A black-box protocol for evaluating LLM agents

Evaluate a superintelligence (SI) agent through its inputs and outputs alone: pinned versions, frozen snapshots, complete logs, repeated trials, pre-registered hypotheses and re-baselining whenever a version changes.

Published by
Rillor (Rillor Corporation)
Published
Series
Agent evaluation
Pillar
SI

SI evaluationrillor.com/insights/black-box-agent-evaluationrillor.com

Summary

  • A black-box protocol evaluates an SI agent only through what it receives and what it returns. It works for third-party models whose internals are not available [3], and anyone with the same access can rerun it.
  • Black-box access has limits. It cannot attribute behavior to weights or training data, and audit results are interpretable only when the access and methods used are disclosed [4].
  • Hosted model names are not versions. One widely used model's accuracy on a simple math task fell from 84.0 to 51.1 percent between two releases three months apart [7]. Pinned model IDs fix the weights, while serving infrastructure can still shift behavior slightly [5].
  • Outputs vary at fixed settings. In one experiment, 1,000 runs of one prompt at temperature 0 produced 80 distinct completions [8]. Every condition needs repeated trials and error bars [9].
  • Prompt wording and format are part of the system under test. Formatting changes that preserved meaning moved one model's accuracy by up to 76 points [11].
  • Models can recall historical data from before their training cutoff, so tests that depend on not knowing an outcome need post-cutoff data or re-rendered environments [13, 14].
  • Pre-registered hypotheses separate prediction from postdiction [12], and re-baselining on every version change keeps comparisons across versions valid.
  • The protocol's manifest, snapshots, logs and reference runs produce the documentation the NIST AI Risk Management Framework asks for under its MEASURE function [1, 2].

Background

Evaluating what you cannot open

Many organizations that use an SI agent did not train its model. They call it through an API, or run open weights they did not build, and wrap it in their own prompts, tools and procedures. The parts they can observe directly are the inputs they send and the outputs they get back.

Software engineering has a name for testing at that boundary. Behavioral testing, also known as black-box testing, validates a system's input-output behavior without knowledge of its internal structure [3]. Marco Tulio Ribeiro and colleagues applied it to natural language processing in 2020 with CheckList, which pairs capabilities with test types such as minimum functionality tests, invariance tests that apply label-preserving perturbations, and directional expectation tests in which the output should change in a known way [3]. Treating the model as a black box, they note, allows different models to be compared, including third-party models whose training data or structure is not available [3]. In a user study, practitioners using CheckList wrote twice as many tests and found almost three times as many bugs as those without it [3].

Economists studying LLM pricing agents make the same choice for a related reason. Sara Fish and coauthors describe LLMs as randomized black boxes whose intentions are opaque even to their developers, and quote earlier work arguing that because SI code and training are complex and often proprietary, it makes sense to evaluate SI by its behavior [19]. They also note an advantage people do not offer: a computerized subject can be reset to any point in an experiment and perturbed from there [19].

What black-box evaluation cannot do

Stephen Casper and 20 coauthors argued at FAccT 2024 that black-box access is insufficient for rigorous audits [4]. Auditors with black-box access can only query a system and observe its outputs. White-box access to weights, activations and gradients supports stronger attacks, deeper interpretation and fine-tuning, and outside-the-box access to methodology, code, documentation, data and internal evaluations supports scrutiny of how the system was developed [4]. Their central conclusion for practice is that audit results can be interpreted properly only when auditors disclose the access they had and the methods they used [4]. A black-box protocol accepts the first point as a limit and builds the second into every report.

Why agent evaluations are fragile

Several findings from 2023 to 2025 show how easily a black-box result can mislead:

  • Drift. Lingjiao Chen, Matei Zaharia and James Zou measured March and June 2023 versions of two widely used hosted models on the same tasks. One model's accuracy at telling prime from composite numbers fell from 84.0 to 51.1 percent, while the other's rose from 49.6 to 76.2 percent. They concluded that the "same" service can change substantially in a short time, and called for continuous monitoring [7].
  • Nondeterminism. Horace He and colleagues ran one prompt 1,000 times at temperature 0 on an open-weights model and got 80 distinct completions. All matched for the first 102 tokens before diverging [8].
  • Format sensitivity. Melanie Sclar and colleagues found that formatting changes that keep meaning intact moved accuracy in few-shot tasks by up to 76 points for one open model, that the sensitivity persisted with larger models, more examples and instruction tuning, and that format performance correlated only weakly between models [11].
  • Memorization. Alejandro Lopez-Lira, Yuehua Tang and Mingyin Zhu found that LLMs recalled exact economic and financial values from before their training cutoff, that instructions to respect historical boundaries and masking of names and dates did not prevent it, and that recall disappeared after the cutoff [13].
  • Benchmark practice. Sayash Kapoor and colleagues found agent benchmarks scored narrowly on accuracy, with weak or missing holdout sets and a widespread lack of reproducibility [18]. The maintainers of a widely used language model evaluation library report that most language modeling papers do not perform statistical significance testing [10].

Guidance that applies

The NIST AI Risk Management Framework, released in January 2023 as NIST AI 100-1, organizes AI risk work into four functions: govern, map, measure and manage [1]. Its discussion of risk measurement names several challenges that a black-box evaluator meets directly: risks from third-party software, hardware and data; differences between risks measured in a laboratory and risks in operational settings; inscrutability from opaque systems and limited documentation; and the difficulty of human baselines when AI systems perform tasks differently from people [1]. Its appendix on how AI risks differ from traditional software lists increased opacity and concerns about reproducibility, and notes that AI systems may need more frequent maintenance because of data, model or concept drift [1].

NIST's Generative AI Profile, NIST AI 600-1, published in July 2024, adds suggested actions for generative systems [2]. The European Union's AI Act, Regulation (EU) 2024/1689 of 13 June 2024, requires high-risk AI systems to allow the automatic recording of events over the system's lifetime, with logging that supports identifying risk situations, post-market monitoring and monitoring of operation [16, 17]. Open-source tooling has grown up around the same needs. Inspect, built by the UK AI Security Institute with Meridian Labs, packages evaluations as datasets, solvers and scorers and includes a log viewer for inspecting individual transcripts [15].

Method

How this note was built

This note specifies Rillor's protocol for agent evaluation and sets out the evidence behind each element. The evidence comes from the published studies, standards and guidance listed in Sources, each read in full or at the level of its abstract. For each element, the note identifies the failure it guards against, the evidence that the failure occurs, and the guidance it supports. The protocol is the same one described for auctions in Rillor's note on measuring LLM agents in simulated auctions, stated here for agents in general.

The system under test

The unit of evaluation is the deployed configuration: the model together with everything around it. It includes:

Component Recorded as
Model Provider, model ID, pinned version, access mode (API or local weights)
Sampling Temperature and other sampling settings, seeds where supported, reasoning or effort settings
Instructions System prompt and prompt templates, stored verbatim with a content hash
Tools Tool names, versions and schemas; for retrieval, the index and its snapshot
Procedures Any wrapper logic, parsers, guardrails and approval steps between the model and the outside world

Changing any component creates a new configuration with its own label. Prompt templates are versioned like code, because wording and format alone can move results [11, 19].

Run manifest

Every run starts from a manifest written before the run:

Field Content
Configuration The labeled system under test
Environment Snapshot identifier for every document, data file, market state and tool response the agent can see
Conditions The treatments under test, including prompt variants
Trials Number of trials per condition, seeds, matching scheme for multi-agent runs
Hypotheses Pre-registered predictions, primary and secondary measures, analysis plan
Reference set The reference conditions to run before and after
Access level Black-box, with any additional access stated

Frozen snapshots

Every input the agent can reach during a run is captured before the run and served from the snapshot: documents, data files, tool and API responses, and any simulated counterparties' scripts. A rerun therefore presents identical inputs. Each snapshot records the dates its contents describe. Tests that depend on the agent not knowing an outcome use data dated after the model's training cutoff, or environments re-rendered to keep the rules and change surface features such as labels, values and ordering, following the approach of benchmarks that pair each environment with rule-preserving re-renderings and payoff variants [13, 14].

Logs

Logged What it holds
Inputs Every prompt, message and tool response the agent received, in order, verbatim
Outputs Every raw response, unedited, including tool calls and their arguments
Actions What the wrapper did with each output: parsed values, executed calls, refusals and parse failures
Timing When each input was sent and each output returned
Configuration The labeled configuration and manifest in force
Environment state The state of the environment at each step, so that any step can be replayed

Logs are kept with outputs, prompts and code, which the maintainers of the Language Model Evaluation Harness recommend sharing because outputs allow others to recompute scores and test significance, and allow results on API models to be partly reproduced even after the models are deprecated [10].

Repeated trials and statistics

Each condition runs over repeated trials. The analysis follows the recommendations Evan Miller set out in 2024 for language model evaluations: standard errors of the mean from the central limit theorem; clustered standard errors when test items come in related groups; resampling answers to reduce variance; inference on item-level paired differences when two configurations are compared; and power analysis to decide whether an evaluation can test the hypothesis of interest at all [9]. Where agents interact repeatedly in one session, their observations are not independent. Experimental economists treat this as an empirical question and use panel methods that account for dependence within subjects and sessions [22]. Where several model families run the same conditions, agreement across them is reported separately from any single model's result, as Shah and colleagues recommend for LLM bidders [21].

Pre-registration

Before any run, the manifest fixes the hypotheses, the measures that decide them, the sample size, the stopping rule and the analysis. Results that answer pre-registered hypotheses are reported as confirmatory. Patterns found while looking at the data are reported as exploratory and tested in a fresh run before they are relied on. This follows the distinction Brian Nosek and colleagues draw between postdiction and prediction, and their observation that preregistration makes the distinction visible [12].

Re-baselining

The reference set is a fixed group of conditions, with frozen snapshots and seeds, whose results are known for each configuration. It runs:

  1. Before any comparison involving a new configuration, including a new model version, prompt version or tool version.
  2. On a schedule for unchanged configurations, because serving infrastructure can change behavior without a change in model ID [5].
  3. After any unexplained shift in production behavior.

Results keep the configuration label they were produced under. A comparison between two configurations is reported only when both have current reference runs, and a shift in a reference result is investigated before new results are published. When a pinned model reaches its retirement date, the last reference run on that version is archived with its results [6].

Reporting

Each report states the configuration, the access level, the pre-registered hypotheses and their outcomes, exploratory findings labeled as such, the number of trials, error bars and the method used to compute them, the range across prompt variants, parse failures, and the reference-set results for every version involved.

Findings

The findings below summarize the evidence for each element and its relation to published guidance.

Names are not versions

Evidence Source
Prime-versus-composite accuracy of one hosted model: 84.0 percent in March 2023, 51.1 percent in June 2023; a second model moved from 49.6 to 76.2 percent Chen, Zaharia, Zou [7]
Model ID maps to a fixed snapshot; updated versions ship under new IDs Provider documentation [5]
Infrastructure updates can produce minor differences in behavior when the model ID and weights have not changed Provider documentation [5]
Each model ID has its own deprecation and retirement schedule Provider documentation [5, 6]

Pinning is the first control and the reference set is the second. Neither replaces the other.

Outputs vary at fixed settings

He and colleagues traced temperature-0 nondeterminism in hosted inference to a lack of batch invariance: the numerics of a single request depend on the batch it is processed in, and batch size depends on server load that users cannot see or control [8]. In their test, 992 of 1,000 completions continued one way at the first point of divergence and 8 another [8]. Batch-invariant kernels removed the variation, at a cost in speed that the authors did not consider disastrous [8]. Evaluators of hosted models cannot change the provider's kernels, so repeated trials remain the practical control.

Single numbers mislead

Miller's analysis showed cluster-adjusted standard errors on two popular evaluations up to three times larger than naive ones, which means a difference that looks significant under a naive calculation may not be [9]. The maintainers of a widely used evaluation library list concrete practices: share exact prompts and evaluation code, avoid copying results from other implementations, provide model outputs, review outputs qualitatively before scaling up, and perform significance testing, ideally over more than one seed [10]. Kapoor and colleagues add that accuracy-only scoring hides cost differences and that weak holdout sets let agents overfit benchmarks [18].

Wording and format are treatments

Evidence Source
Meaning-preserving format changes moved one open model's few-shot accuracy by up to 76 points; format performance correlated weakly across models Sclar et al. [11]
Two pricing-agent prompts that differed in the last few lines of the opening paragraph produced substantially different prices Fish et al. [19]
A system prompt that strongly discouraged illegal trading and forbade acting on insider information did not eliminate the behavior in a simulated trading agent Scheurer et al. [20]

Sclar and colleagues recommend reporting a range of performance across plausible formats in place of a single-format score [11]. The protocol pre-registers the prompt variants and reports the range. The third row adds a caution for deployers: an instruction can cut a behavior to near zero without ruling it out, so a protocol tests directly for the behavior an instruction is meant to prevent [20].

Training data can contain the answer

Lopez-Lira and colleagues showed exact recall of economic and financial data before the cutoff and none after, and found that telling the model to respect historical boundaries did not prevent recall [13]. A 2026 benchmark for LLM agent societies found that reversing the order of two listed actions cost one model 58 points of cooperation, and it pairs every environment with rule-preserving re-renderings and payoff variants that steer away from the memorized result [14]. Snapshots with dated contents and re-rendered variants address both problems.

Postdiction can pass for prediction

Nosek and colleagues argue that ordinary biases such as hindsight make it hard to keep hypothesis generation separate from hypothesis testing, and that defining research questions and analysis plans before observing outcomes is an effective solution [12]. Kapoor and colleagues' finding that weak holdouts produce agents that overfit their benchmarks is the same problem at the level of a field [18]. Pre-registration in the manifest, and a fresh run for anything found by exploration, apply the remedy to agent evaluation.

Mapping to the NIST AI RMF

Guidance Text Where the protocol meets it
AI RMF MEASURE 1.1 Risks or trustworthiness characteristics that will not or cannot be measured are documented [1] Access level and limits stated in every report
AI RMF MEASURE 2.1 Test sets, metrics and details about the tools used during testing, evaluation, verification and validation are documented [1] Run manifest, snapshots, configuration labels
AI RMF MEASURE 2.3 Performance or assurance criteria are measured for conditions similar to deployment, and measures are documented [1] System under test is the deployed configuration
AI RMF MEASURE 2.5 The system is demonstrated to be valid and reliable; limits of generalizability are documented [1] Repeated trials, error bars, prompt-variant ranges, limits section
AI RMF MEASURE 3.1 Approaches are in place to identify and track existing, unanticipated and emergent risks over time [1] Scheduled reference runs and re-baselining
AI 600-1 MS-2.3-002 Evaluate claims of model capabilities using empirically validated methods [2] Pre-registered hypotheses and statistical plan
AI 600-1 MS-2.5-001 Avoid extrapolating performance or capabilities from narrow, non-systematic and anecdotal assessments [2] Repeated trials across conditions and variants
AI 600-1 MS-2.8-003 Robust version control systems can track changes across the AI lifecycle [2] Versioned configurations, prompts and snapshots
AI 600-1 GV-1.6-003 Inventory entries can include underlying foundation models, their versions and access modes [2] Configuration record
EU AI Act Article 12(1) High-risk AI systems technically allow automatic recording of events over their lifetime [16] Logs of every input, output and action

Implications

For organizations buying or deploying agents

A vendor's evaluation is easier to trust when it answers a short list of questions. Which configuration was tested, including model version, prompts and tools? What access did the evaluator have? How many trials ran per condition, and what are the error bars? Were the hypotheses written before the runs? What happened to the reference results when the model version last changed? Can the logs be inspected? An evaluation that cannot answer these describes a moment, and the agent in production may already differ from it [5, 7].

For teams building agents

Treat prompts, tools and wrappers as versioned parts of the system, because each can change behavior [11, 19]. Keep hard limits outside the model where an instruction alone has been shown not to hold [20]. Run the reference set on a schedule as well as on releases, since provider infrastructure can change behavior without a change in the model ID [5].

For researchers

Report the configuration, access level and version dates with every result, publish prompts and outputs, report error bars computed for the actual sampling design, and label exploratory findings [9, 10, 12]. Where human comparison matters, use benchmarks with stated uncertainty and report agreement across model families [21].

For risk and compliance teams

The protocol's records map onto the NIST MEASURE function and the generative AI profile's suggested actions, and its logs are the kind of automatic event record that Article 12 of the EU AI Act describes for high-risk systems [1, 2, 16]. The access-level statement and limits section give reviewers what Casper and colleagues identify as necessary to interpret any audit [4].

Limits of this analysis

  • A black-box protocol cannot attribute behavior to training data, weights or internal mechanisms, and cannot rule out behaviors that the tested inputs did not elicit [4].
  • Repeated trials estimate variation under the conditions tested. They do not bound behavior under conditions outside the test set, which NIST notes may differ from operational settings [1].
  • Pinning and reference runs detect changes in hosted models after the fact; they cannot prevent them [5].
  • Snapshots and re-renderings reduce the risk that a model recalls the answer. They cannot prove that it did not [13].
  • Pre-registration constrains analysis choices; it does not make a poorly chosen measure valid.
  • Several sources cited are preprints or vendor documentation, which can change without notice.
  • The NIST and EU texts are cited for what they say about measurement and logging. Nothing here is legal advice, and nothing here states that any system complies with either.

Sources

  1. National Institute of Standards and Technology, "Artificial Intelligence Risk Management Framework (AI RMF 1.0)," NIST AI 100-1, January 2023. https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.100-1.pdf
  2. National Institute of Standards and Technology, "Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile," NIST AI 600-1, July 2024. https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.600-1.pdf
  3. Marco Tulio Ribeiro, Tongshuang Wu, Carlos Guestrin and Sameer Singh, "Beyond Accuracy: Behavioral Testing of NLP Models with CheckList," Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, 4902-4912, July 2020. https://aclanthology.org/2020.acl-main.442/
  4. Stephen Casper, Carson Ezell, Charlotte Siegmann, Noam Kolt and others, "Black-Box Access is Insufficient for Rigorous AI Audits," Proceedings of the 2024 ACM Conference on Fairness, Accountability, and Transparency (FAccT 2024); arXiv:2401.14446, version 3, 29 May 2024. https://arxiv.org/abs/2401.14446
  5. Anthropic, "Model IDs and versioning," Claude Platform documentation, undated web page. https://platform.claude.com/docs/en/about-claude/models/model-ids-and-versions
  6. Anthropic, "Models overview," Claude Platform documentation, undated web page. https://platform.claude.com/docs/en/models/overview
  7. Lingjiao Chen, Matei Zaharia and James Zou, "How Is ChatGPT's Behavior Changing over Time?," arXiv:2307.09009, version 3, 31 October 2023. https://arxiv.org/abs/2307.09009
  8. Horace He and Thinking Machines Lab, "Defeating Nondeterminism in LLM Inference," Connectionism, Thinking Machines Lab, 10 September 2025. https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/
  9. Evan Miller, "Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluations," arXiv:2411.00640, 1 November 2024. https://arxiv.org/abs/2411.00640
  10. Stella Biderman, Hailey Schoelkopf, Lintang Sutawika and others, "Lessons from the Trenches on Reproducible Evaluation of Language Models," arXiv:2405.14782, first version 23 May 2024, version 3 31 May 2026. https://arxiv.org/abs/2405.14782
  11. Melanie Sclar, Yejin Choi, Yulia Tsvetkov and Alane Suhr, "Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I Learned to Start Worrying about Prompt Formatting," International Conference on Learning Representations (ICLR) 2024; arXiv:2310.11324, version 2, 1 July 2024. https://arxiv.org/abs/2310.11324
  12. Brian A. Nosek, Charles R. Ebersole, Alexander C. DeHaven and David T. Mellor, "The Preregistration Revolution," Proceedings of the National Academy of Sciences 115(11), 2600-2606, 13 March 2018. PubMed record. https://pubmed.ncbi.nlm.nih.gov/29531091/
  13. Alejandro Lopez-Lira, Yuehua Tang and Mingyin Zhu, "The Memorization Problem: Can We Trust LLMs' Economic Forecasts?," arXiv:2504.14765, version 2, 15 December 2025. https://arxiv.org/abs/2504.14765
  14. Raad Bin Tareaf, "Benchmarking Large Language Model Agent Societies against Human Behavioural Distributions," arXiv:2608.28182, 28 August 2026. https://arxiv.org/abs/2608.28182
  15. UK AI Security Institute, "Inspect," project documentation, undated web page. https://inspect.aisi.org.uk/
  16. "Article 12: Record-Keeping," Regulation (EU) 2024/1689 (Artificial Intelligence Act), text as published at artificialintelligenceact.eu, undated web page. https://artificialintelligenceact.eu/article/12/
  17. European Parliament and Council of the European Union, "Regulation (EU) 2024/1689 laying down harmonised rules on artificial intelligence (Artificial Intelligence Act)," 13 June 2024, Official Journal of the European Union, 12 July 2024. EUR-Lex. https://eur-lex.europa.eu/eli/reg/2024/1689/oj/eng
  18. Sayash Kapoor, Benedikt Stroebl, Zachary S. Siegel, Nitya Nadgir and Arvind Narayanan, "AI Agents That Matter," arXiv:2407.01502, 1 July 2024. https://arxiv.org/abs/2407.01502
  19. Sara Fish, Yannai A. Gonczarowski and Ran I. Shorrer, "Algorithmic Collusion by Large Language Models," arXiv:2404.00806, version 6, 31 August 2026 (first version 31 March 2024). https://arxiv.org/abs/2404.00806
  20. Jérémy Scheurer, Mikita Balesni and Marius Hobbhahn, Apollo Research, "Large Language Models Can Strategically Deceive Their Users When Put Under Pressure," LLM Agents workshop at ICLR 2024; arXiv:2311.07590, version 4, 15 July 2024. https://arxiv.org/abs/2311.07590
  21. Anand Shah, Kehang Zhu, Yanchen Jiang, Jeffrey G. Wang, Arif K. Dayi, John J. Horton and David C. Parkes, "LLM Bidders Preserve the Mechanism-Level Orderings of Human Bidders," arXiv:2507.09083, version 2, 28 September 2026. https://arxiv.org/abs/2507.09083
  22. John H. Kagel and Dan Levin, "Auctions: A Survey of Experimental Research," working paper prepared for The Handbook of Experimental Economics, Volume 2, The Ohio State University, dated 15 November 2014. https://www.asc.ohio-state.edu/kagel.4/HEE-Vol2/Auction%20survey_all_1_31_15.pdf
Contents

About this report

Published by Rillor on 1 December 2026. Superintelligence (SI) tools assist research and drafting, and every figure cites its source. Rillor builds and secures SI systems, supplies the data they learn from and delivers the infrastructure they run on. We apply SI to financial and compute markets.

Cite as: Rillor. A black-box protocol for evaluating LLM agents. 1 December 2026. https://rillor.com/insights/black-box-agent-evaluation

Work with Rillor

Send us the tasks your agent handles, the model versions it runs on and the decisions it is trusted with. Contact us at rillor.com/contact?type=evaluation or contact@rillor.com. More on SI evaluation: rillor.com/si/evaluation

Notices

Superintelligence (SI) outputs can be wrong. Important decisions should include human review.