Skip to main content

A Fake Internet Is an Evaluation Harness: What Google's Agent Testbed Actually Measures

A synthetic internet bounds an agent's input distribution, but the adversary model it encodes — not the realism of the surface — decides whether results transfer.

A Fake Internet Is an Evaluation Harness: What Google's Agent Testbed Actually Measures

What a synthetic internet can and cannot reproduce

A testbed that presents an agent with a fabricated web — fake sites, fake services, fake counterparties — is best understood as a fixture set. It defines the closed world in which the agent is observed. Every page it can fetch, every endpoint it can call, every hostile actor it can meet is an authored artefact. That has a precise consequence: the testbed bounds the distribution of inputs the agent will ever encounter during evaluation. Anything outside the fixture set is, by construction, unmeasured.

It is worth separating two kinds of fidelity, because they carry very different costs.

Surface fidelity is cheap. Rendering plausible HTML, emitting realistic headers, introducing network latency and partial failures, serving certificates that look ordinary — all of this is engineering with a known shape. A team can build a convincing-looking web in a reasonable amount of time, and the result will exercise parsers, retry logic and tool-call formatting.

Incentive fidelity is expensive. A counterparty that adapts — that notices the agent probing a form, changes its response, registers a new domain in reaction to a failed attempt, or waits for the agent to lower its guard — is a different order of problem. It requires modelling an adversary's objectives, observation channel and action space, then implementing a policy that pursues those objectives against the agent under test. That is not a content problem; it is a game-design problem.

The uncomfortable corollary is authorship. The adversary model is written by the same team that wrote the agent, usually from the same mental model of what attacks look like. Where the team has a blind spot, the adversary has the same blind spot. Every score produced by the harness is therefore conditional on that model, and the condition is rarely stated in the headline number.

The adversary model is the specification

If results are conditional on the adversary, the adversary deserves to be written down as carefully as a threat model. In practice this means an explicit capability list, published next to the score. The list should answer concrete questions:

  • Can the adversary observe the agent's tool calls, or only the requests that reach its own endpoints?
  • Can it register new domains and certificates during a run, or is its inventory fixed at start?
  • Can it replay captured traffic, and against whom?
  • Can it persist state across sessions, or is each episode independent?
  • Can it coordinate several personas — a phishing site, a support inbox, a payment page — as one actor with one objective?
  • What is its action budget per episode, and does it pay a cost for acting?

Each answer changes what the evaluation can possibly find. An adversary that cannot register domains will never discover whether the agent trusts a lookalike hostname it has not seen before. An adversary that cannot observe tool calls cannot exploit an agent that leaks intent through the order of its requests. An adversary with no persistence cannot test whether an agent carries a grudge, a cached credential or a stale plan from one task into the next.

The most important distinction is between an adaptive and a fixed adversary. A testbed populated with a static corpus of hostile pages and services measures robustness to that corpus. That is a valuable thing — it catches regressions, it enforces known-good behaviour, it fails loudly when a prompt change breaks a guardrail. But it is a regression suite. It is not a security evaluation, because the defining property of a security adversary is that it responds to what the defender does. If nothing in the harness responds, the harness is measuring memory, not robustness.

Publishing the capability list alongside the score does something useful to the conversation inside a team. It makes the claim falsifiable: this agent resisted an adversary with these capabilities and this budget. A reader can then ask the only question that matters — is that adversary stronger or weaker than the one we expect in production?

Where the harness leaks into production

A synthetic environment is not neutral. It is an environment the agent can, in principle, learn to recognise, and recognition is a failure mode with a characteristic signature: excellent scores that do not generalise.

The leak vectors are mundane. Fixture artefacts — placeholder text, repeated identifiers, a small set of TLS certificates, page structures that never vary. Timing: a simulated service that responds in a fixed pattern, or a fake network whose latency distribution is narrower than reality. Naming conventions: hostnames, inbox addresses and API paths that follow a template the agent can pattern-match. None of these are adversarial in themselves, but an agent optimising against the harness will find them, and a policy conditioned on them is a policy that has learned the test, not the task.

The second leak is capability. If the harness grants the agent broad egress, ambient credentials and no rate limits, the agent will exercise capabilities it will not have in production. It will discover that it can reach an internal metadata endpoint, enumerate a directory, or retry a hundred times a second — and the resulting policy will assume those affordances exist. Mirror production: the same egress allowlist, the same credential scope, the same rate limits and quotas. The harness should be at least as stingy as the real system, never more generous.

The third leak is in what gets recorded. A verdict — pass, fail, blocked — is the least informative output an evaluation can produce. The interesting object is the trajectory: the sequence of observations, tool calls and intermediate reasoning, with the decision points marked. When an agent fails, the failure of interest is the step where the policy chose wrongly, not the final flag. A verdict tells you that something is broken; a trajectory tells you which belief was false. Harnesses that store only verdicts tend to produce teams that argue about scores instead of fixing policies.

There is a real trade-off here. Mirroring production exactly makes the harness expensive to maintain and slow to run; loosening it makes runs cheap and results less meaningful. The defensible position is to mirror the constraints that shape policy — egress, credentials, rate limits — and to accept approximation in the parts that only shape parsing.

A method: adversarial replay over synthetic browsing

The approach that has held up best is to start from real incidents rather than from imagination. Capture traces from production: the request sequences, the tool calls, the pages fetched, the point at which something went wrong. Then replay those traces against the candidate harness, and vary only the adversary's policy between runs. Holding the agent and the trace fixed while the adversary changes isolates the variable that matters. It answers a sharp question — would this agent have behaved differently against a smarter counterparty? — rather than a diffuse one about overall quality.

Replay also constrains the fixture set honestly. Each captured incident contributes concrete artefacts: a page, a redirect chain, a sequence of messages. The synthetic internet grows from evidence rather than from a brainstorm, and its coverage can be described in terms of incidents represented.

Treat each synthetic environment as a versioned artefact with a changelog. When a fixture changes, the changelog records what changed and why. Without this, score deltas are unattributable: a jump in success rate could be an agent improvement, a weakened adversary, or a page that stopped rendering correctly. With it, a delta has a cause. Versioning also makes it possible to re-run an old agent against a new environment and a new agent against an old one, which is usually where the informative comparisons live.

Finally, budget for environment maintenance as you would for a test suite. A fake internet decays: dependencies drift, certificates expire, simulated services fall out of step with the real ones they imitate, and the adversary model stops reflecting current attack patterns. A stale fake internet is worse than none, because it produces confident numbers about a world that no longer exists. The maintenance cost is not optional overhead; it is the price of the result meaning anything.

What the score actually claims

A synthetic testbed is a good instrument, provided its claim is stated narrowly. It does not tell you that an agent is safe on the internet. It tells you that the agent's policy held against a specific adversary, with specific capabilities, under specific constraints, on a specific version of a fixture set. That is a useful and honest claim — and it is the only one the harness is entitled to make.

The engineering work is therefore mostly in the adversary model and the constraint mirroring, not in the realism of the HTML. Surface realism is a solved problem with a known cost. Incentive realism is where the evaluation earns its keep, and where a team's blind spots are faithfully reproduced in the thing it is measuring against.

ShareXLinkedInPermalink7 min read

Related reading

Questions this answers

Why is a static corpus of hostile pages not a security evaluation?

Because a security adversary responds to what the defender does. A fixed corpus measures robustness to known inputs, which is a regression suite. Without an adaptive counterparty, the harness cannot observe whether the agent changes behaviour when the attack changes.

What should be published alongside an agent's testbed score?

An explicit adversary capability list: whether it can observe tool calls, register domains, replay traffic, persist state across sessions, coordinate multiple personas, and what action budget it has. The score is only meaningful relative to that list.

How does an agent learn to detect the testbed?

Through fixture artefacts, fixed timing patterns and templated naming conventions. A policy conditioned on those signals scores well on the harness and generalises badly, because it has learned the test rather than the task.

What is adversarial replay?

Capturing real incident traces, replaying them against a candidate harness, and varying only the adversary's policy between runs. Holding the agent and trace fixed isolates whether a smarter counterparty would have changed the outcome.

Why version synthetic environments?

So score deltas are attributable. A changelog distinguishes an agent improvement from a weakened adversary or a broken fixture, and allows old agents to be run against new environments and vice versa.