MPredict anythingMIROFISH 米罗鱼
Validation field noteReproducibility

Reproducibility in LLM Agent Simulations

Aug 5, 202610 min readMiroFish Editorial
Quick answer

Quick answer

Reproducibility in an LLM agent simulation means another reviewer can reconstruct the configuration, rerun the scenario, and understand why results differ. Preserve source versions, prompts, agent definitions, model identifiers, tools, sampling settings, seeds where supported, timestamps, and output coding rules. Because generative systems are stochastic, reproducibility means characterizing a result distribution—not demanding identical transcripts.

Decision artifact

Minimum run manifest

Store this manifest with every decision-relevant result set.

Manifest blockRequired fieldsWhy it matters
EvidencePacket ID, source hashes or versions, retrieval dateSeparates world changes from model changes
SystemModel ID, prompt ID, agent schema, toolsMakes the execution environment inspectable
RunTimestamp, configuration, seed, errorsSupports reconstruction and exception review
AnalysisOutcome codebook, reviewer, excluded runsPrevents results from being reclassified after review
Q01

What does reproducibility mean for LLM agents?

It means reproducing the conditions and evaluating whether the same decision-relevant patterns recur, even when generated wording and individual trajectories differ.

Exact transcript matching is usually the wrong target for a stochastic system. A stronger target is procedural reproducibility: another reviewer can identify the evidence, prompts, agents, models, tools, and analysis rules used. Statistical reproducibility then asks whether repeated runs produce a comparable distribution of coded outcomes.

Document the intended decision and time horizon as part of the run. Without that context, later reviewers cannot tell whether a difference is meaningful. A changed phrase may be irrelevant; a changed recommendation or newly dominant failure mode is not.

Q02

Which inputs and versions must be recorded?

Record every input capable of changing agent knowledge, behavior, interaction, or outcome classification.

At minimum, preserve source packet identifiers, extraction settings, prompt templates, agent profiles, relationship graph, model and provider identifiers, sampling parameters, tool definitions, interaction order, termination rules, and timestamps. Capture random seeds where the platform exposes them, but do not assume a seed guarantees identical output across provider updates.

Use immutable identifiers for decision-relevant runs. A human-readable label such as “launch test final” is not enough. Hashes, version-control references, exported configuration, and source snapshots make it possible to distinguish accidental edits from intentional variants.

  • Evidence version and retrieval date.
  • Prompt, agent, graph, and tool versions.
  • Model provider, model identifier, and sampling settings.
  • Outcome codebook, reviewer, and exclusion rules.
Q03

How many repeated simulation runs are enough?

There is no universal run count. Use enough repetitions to characterize decision-relevant variability at the precision and risk level the decision requires.

Start with a pilot batch and code the outcomes. If the distribution is still changing materially or rare failures matter, add runs. A low-impact brainstorming exercise may need only a small set of diverse trajectories. A consequential decision with a close result needs more repetitions, stronger review, and possibly an independent method.

Report the count and uncertainty rather than presenting a generated frequency as a population probability. The run distribution describes the configured simulated system. Calibration against real observations is required before it can support claims about real-world rates.

Q04

How should outcomes be coded across runs?

Define a decision-focused codebook before selecting examples, apply it consistently, and preserve both aggregate counts and representative traces.

Codes should represent mechanisms and outcomes the team can act on: objection type, coalition, adoption signal, escalation timing, misinformation path, intervention effect, or no-event result. Include an unknown category rather than forcing ambiguous runs into the preferred narrative.

Where judgment is required, have a second reviewer code a sample and resolve disagreements. Keep excluded runs visible with reasons such as tool failure, incomplete execution, or configuration error. Silent exclusions can make unstable systems look consistent.

Q05

What happens when the underlying model changes?

Treat a model update as a new experimental condition, rerun a stable benchmark set, and compare decision-level drift before combining results.

Hosted models can change behavior even when a familiar product name remains. Preserve the most specific model identifier available and the run date. Maintain a small benchmark suite containing common, adversarial, and edge-case scenarios so updates can be evaluated consistently.

Do not merge runs from materially different models into one distribution unless the comparison is intentional. Report whether drift affects wording, mechanism, frequency, or the recommended action. The last category deserves the strongest review.

Q06

What should a reproducibility record contain?

Publish or retain the configuration manifest, run count, outcome distribution, exclusions, known limitations, and instructions for reconstructing the analysis.

Sensitive source material may prevent public release, but an internal reviewer still needs access under appropriate controls. Separate the public methodology from restricted evidence and state what cannot be independently inspected.

A concise record is better than an undocumented archive. Link the manifest to the decision memo, preserve artifacts for the required retention period, and name an owner who can explain the run after the original team has moved on.

Source ledger

Evidence used

  1. S-01
    Artificial Intelligence Risk Management Framework (AI RMF 1.0)

    National Institute of Standards and Technology

    A risk-management framework organized around governing, mapping, measuring, and managing AI risks.

  2. S-02
    Artificial Intelligence Risk Management Framework: Generative AI Profile

    National Institute of Standards and Technology

    A companion profile covering risks and evaluation considerations specific to generative AI systems.

  3. S-04
    Generative Agents: Interactive Simulacra of Human Behavior

    Stanford University and Google Research

    The foundational generative-agents paper describing memory, reflection, planning, and observed emergent behavior.

  4. S-06
    A standard protocol for describing individual-based and agent-based models

    Ecological Modelling

    The ODD protocol for documenting a model's overview, design concepts, and implementation details.

Continue the review
Apply the method

Run a scenario you can inspect, challenge, and rerun.

Start with your own source material, then use this validation path to review the scenario before it informs a decision.

Run a documented scenario