Insights/Engineering & AI

Making Offline Evals Robust to Real-World Context

·Nicolas Roland·25 min read

An agent is built from more than a model: around the model sits the harness, the software that gives it instructions, connects it to data and tools, keeps the conversation in memory, and runs it step by step until the task is done. SPARK gained one earlier this year, and it is what lets the agent plan its own work, deciding what to look up, which tools to use and when it knows enough to answer. Beyond the Agent Harness covers harnesses in more depth.

All of this puts a lot of weight on the harness. Models keep getting better, and the labs now train them to work inside a loop like this one, but even a better model has to work with what the harness hands it: if two instructions contradict each other, or an earlier mistake is still in the conversation, the model may not notice.

Testing the model alone is therefore not enough, and the model and the harness have to be tested together. Every change to SPARK already goes through such tests before it ships, as described in Building Agents We Can Measure, but those tests only cover the situations someone thought to write down, and real usage is messier. Each client sets the agent up with their own instructions, skills and data, and conversations run long, so a client's skill might say the opposite of what the user asked, a thread might carry a wrong answer from an hour earlier or data that has since gone out of date, and a question might not say which fund it means. These are rarely the cases anyone thinks to put in a test.

When one of these situations makes an answer go wrong for a client, the natural step would be to add it to the evals, but that would mean copying the client's whole environment into the test setup. That is not possible, since the data is confidential and some of it sits behind the client's own connectors, out of reach. It would not work well anyway: copies would make the tests heavy and slow, and each one would teach something about a single case rather than about the factor behind it. What is needed instead is a way to rebuild just the situation that caused the failure.

That brings us to two questions. How do we build a harness that stays reliable as the environment around it grows? And how do we keep measuring it, before release and in production, without relying on client data?

This post describes a study designed to answer them, on six common tasks run on simulated data, with one thing changed at a time around the agent and every failed run read step by step.

The method has turned out to be as useful as the results, and it is now how a client's bad answer gets handled: describe what surrounded the agent, rebuild it on simulated data, and find the part that made it fail. The sections below walk through the setup, the findings and what we take from them. None of these problems is specific to SPARK, and we hope the approach is general enough to help other teams building agents that face the same ones.


Why agents fail in ways you can't list

Offline and online evals

Every team that ships an agent ends up with the same problem: how to know that it gives good answers, and gets there efficiently, once real users rely on it. The usual answer is two kinds of evals, offline evals that run before a release on scenarios and data the team controls, and online evals that follow the agent in production on real requests. Anthropic's Demystifying evals for AI agents is a good guide to building both, and to the traps along the way.

The two work as a loop. A change to the harness starts offline, where it runs against the eval suite on simulated data with scenarios and judges, and it is released only when it holds. Online, monitoring follows how it behaves in real client setups, and when something goes wrong there, it comes back offline as a new scenario, so that every later change is tested against it.

DEVLIVEMONITORINGEVAL SUITEreleasefeedbackOFFLINEONLINESimulated data, scenarios and judgesClient setups, real requests

Offline evals have a limit here, though: they test the agent in a setup we control, while in production much of what the agent sees is decided by the client. In a SPARK workspace, the client writes instructions, adds their own skills, builds data objects, uploads files and plugs in connectors, such as their Notion workspace through MCP, and all of it ends up in front of the agent. Each workspace becomes its own bespoke setting, shaped by many choices made outside our evals, which cannot reproduce them all.

Today, deployment covers much of this, since our AI solution engineers help each client set up their workspace and catch problems early. But more and more users are setting up agents on their own, in environments that keep growing, with millions of records across dozens or hundreds of tables, and a first agent has to work the first time, because that first impression is where trust is won or lost.

How contexts fail

Before describing the study, it helps to name what can go wrong. An agent like ours runs a ReAct loop: it reasons about the task, acts by calling a tool, and gets feedback from its environment (the workspace data, files and MCP connectors the tool reaches), then reasons again with that feedback in hand, and repeats until it can answer. Everything it receives goes into its context, which grows with every step, so that a request starting with one sentence can end with tens of thousands of tokens of instructions, skill text, tool results and earlier turns. The model sees all of it at once, and the context is where things break.

Drew Breunig gave names to four ways this happens in How Contexts Fail:

  • Poisoning: a mistake or a hallucination gets into the context and is reused as if it were true.
  • Distraction: the context grows so long that the agent loses track of the task.
  • Confusion: content that has nothing to do with the task gets in, and the agent uses it anyway.
  • Clash: two parts of the context disagree, such as an instruction and a skill, or two tool results.

None of these comes from a weak model as such; they come from what the harness lets into the context, and in what order. That is also why they are hard to catch: the same agent can answer a question perfectly in a clean workspace and get it wrong in a busy one, with nothing in the answer to show which part of the context led it astray.

Each of them is easy to trigger in a workspace that combines instructions, skills, memory and client data: a skill can clash with an instruction, a long thread can poison the next answer, a hundred tables can distract the agent from the three it needs, and a dozen skills it doesn't need can confuse it. These four names come back throughout this post, since every factor in the study is a way to push the agent toward one of them.

One factor at a time

The representation space

Studying failures that can't be listed in advance first requires a framework: an abstraction that describes any run of the agent in the same generic way, whatever the client's setup. Ours rests on four things that shape every run:

  • The request R: what the user asks, and how they ask it.
  • The config C: the agent's instructions, skills, tools and call budget.
  • The environment E: the data it reads, how much of it there is, and how clean it is.
  • The history H: what is already in the conversation when the question arrives.

For each of them, we identified the axes that influence how the agent behaves, which we call factors, and gave each factor a few levels. Ambiguity, for example, goes from a shortened fund name to a question that names no fund at all, and a long history goes from 50,000 to 200,000 tokens of earlier turns.

Together, these factors form a representation space of the situations the agent can meet. When a client reports a bad answer, there is no need to copy their workspace: the failing run is placed in this space instead (a vague question, a custom skill that disagrees with it, a long thread), then rebuilt as a point on simulated data and run there. The bet is that the agent behaves about the same in both:

Run(Pprod) ≈ Run(R, C, E, H)

Run is what the agent does given what surrounds it. On the left, Pprod is production, the full context of the run as it happened for the client, with everything in their workspace and the conversation; on the right are only its four coordinates, R, C, E and H, from the list above. If the rebuilt run fails the same way, the cause is found without touching the client's data. And because each coordinate has levels, it can be moved one step at a time to find the whole region where the agent fails, a failure surface rather than a single failure.

PRODUCTIONREPRESENTATION SPACEfailed rundata, instructions, skills, files, threads…R, CE, Hfailure surfaceφ

The idea is not new: CheckList tests language models by changing one property at a time, τ-bench puts agents in a simulated environment with simulated users, and Anthropic showed in Quantifying infrastructure noise that the environment is a variable to control and report, not a fixed backdrop. This study applies the same thinking to our own harness.

Judging a run

There is more than one way for a run to go wrong. The answer itself can be wrong, but it can also be right and reached by an odd route, such as reading a stale copy of the data that happens to match, or right and twice as much work. So every run gets three measures:

  • Correctness: did the answer meet what the request needed? An LLM judge scores it against the expected answer and the expected actions and explains its score; it is the same judge used across our evals, calibrated on human labels and user feedback, and a run passes when it scores at least 0.7.
  • Tool selection: did the agent use the tools expected for the task? This shows whether it took the intended route, even when the answer is right.
  • Model calls: how many steps the agent took to get there. More calls mean more cost and a longer wait for the user, so a factor that doubles the calls matters even when the answer holds.

Scores can show that something went wrong, but rarely why. So every failed run was also read step by step, down to the first wrong move: the tool it shouldn't have called, the record it misread, the instruction it followed when it shouldn't have. That reading is what turns a score into something that can be fixed.

The rules for what counts as a failure were set before the first run and kept throughout. Each factor is tested three times on each task, and it breaks a task when at least two of the three runs fail; a single miss can happen by chance, so it is reported but not counted. A factor breaks the agent in general when it breaks at least three of the six tasks.

Where a single score per factor is given, it is pass^3, from τ-bench: the share of cases where all three runs pass. The measure is strict on purpose, because a client who asks for the same thing in three different ways should get the right answer every time.

The baselines

The study runs in simulated workspaces, with fictional funds, holdings, fees and documents built to look like the data our clients work with. The agent runs on NGT Auto, our model layer, which picks an LLM for each request, and there are six baseline requests, one for each kind of task we see in production:

Kind of taskThe requestWhat a correct answer holds
RetrievalWhat does a sub-fund hold, and what is it worth in total?Its five holdings and their total value
AnalysisDoes a sub-fund break our UCITS 5/10/40 restriction? Show the holdings above 5% in a chartThe two holdings above 10%, the five above 5% and their total, with a chart
Cross-source verificationCheck our fee terms against a prospectus in our filesThe two fees configured above what the prospectus allows
InvestigationExplain a NAV breach exception on a sub-fundThe cause: a fee accrual booked at 250% and reversed at the next NAV
ActionCreate a data object and add six investors with their commitmentsThe object, its two columns and the six records
OrchestrationPrepare a sub-fund for the board: check holdings and fees, one summary with a chartThree holdings over the 10% cap, the 40% limit broken, one fee above the prospectus, a chart

Each request is asked in three wordings that mean the same thing. Before changing anything, each baseline ran up to ten times in each wording, both to check that the agent answers it correctly and to see how much a run varies on its own. A stable baseline matters here, since the less the agent varies on its own, the smaller the effect of a factor that can be seen, and the more precisely it can be measured.

Kind of taskRuns passedCorrectnessTool selectionModel calls
Retrieval100%1.000.954 -> 5
Analysis100%1.000.974 -> 7
Cross-source verification100%1.000.704
Investigation100%1.000.483 -> 6
Action100%1.001.004
Orchestration100%1.000.714 -> 9

Every scored run passed, and the judge gave each baseline a full correctness score of 1.00 on average. The range of model calls is each task's noise floor, which a factor has to push the agent outside of to count as a change in work.

The variants

A variant copies a baseline and moves one factor to one level, while everything else stays the same, including the expected answer, so that any change in the score comes from what was moved. When a factor does change what the right answer is, such as a question that names no fund, the variant's expected behavior says so: ask which fund is meant, or say what was assumed.

Each variant uses three wordings rather than three repeats of one sentence, so that a result holds for the factor and not for one phrasing. Each level is also read on its own: levels go from mild to severe, but each one takes away something different, so that at 0.5 of ambiguity the fund is described rather than named, while at 0.75 it is named but the rule is left to infer. A few factors were also run together, in pairs seen in production, to get a first look at failures with more than one cause.

In all, the study covers about 900 variants:

GroupFactorLevelsExample
RequestAmbiguity4From a shortened fund name to "are we ok on concentration?"
Lexical gap4The user's words drift from the names in the data
Scope4Extra asks the same reads can answer
Form3Typos, French, a request pasted inside an email
ConfigTool load3All 61 tools against only 30, 15 or 5
Skill mismatch5Up to 16 irrelevant skills, or the task's own skills missing
Instruction conflict3A rule against the request, a long handbook, a custom skill that caps an issuer at 20% where the request says 10%
Budget4A ceiling on model calls, down to below what the task needs
EnvironmentVolume3320 to 10,000 portfolio lines
Width310 to 100 data objects in the workspace
Distractors3A stale copy of the data, look-alike objects and sub-funds
Data state3Missing values, a report that contradicts the data
Untrusted content1An instruction planted in a record
HistoryLength350,000 to 200,000 tokens of earlier turns
Reliance2"yes", or a question that refers to an earlier turn
Attached items4Relevant, irrelevant or mixed files attached
Poison7A wrong earlier answer, or last month's results, in the thread

The environment factors ran on the analysis task, where the data matters most, and all the others ran on every baseline where they apply.

To show what a level looks like, here is the analysis task's request at each level of ambiguity, from the baseline (0) to the farthest level (1). The fund is one of our simulated ones:

  • 0: "does northwind global equity core break our UCITS 5/10/40 restriction? show me the holdings above 5% in a chart and the margins" (the baseline)
  • 0.25: "does northwind equity core break our UCITS 5/10/40 restriction? …" (the name shortened)
  • 0.5: "does our biggest equity sub-fund break our UCITS 5/10/40 restriction? …" (the fund described, not named)
  • 0.75: "are we ok on concentration in northwind global equity core? chart it" (the rule and the details left to infer)
  • 1: "are we ok on concentration? chart the big ones" (nothing named)

What we found

The chart below puts every factor side by side. Each row is a factor at its farthest level, and each cell is the change from that task's own baseline runs, averaged over the tasks it was tested on, with grey meaning no real change.

CORRECTNESSTOOL SELECTIONMODEL CALLSREQUESTAmbiguity−0.16−0.37+0.3Form0.00+0.17+0.5Lexical gap−0.02+0.15+0.5Scope0.00+0.07+0.8CONFIGBudget0.00−0.17−0.3Instruction conflict−0.35−0.18−0.3Skill mismatch0.00−0.09+0.8Tool load−0.06+0.03+0.8ENVIRONMENTData state0.00+0.01+1.0Distractors0.00−0.010.0Untrusted content0.00−0.010.0Volume0.00−0.010.0Width0.00−0.01+1.0HISTORYAttached items0.00+0.120.0Length0.00−0.010.0Poison−0.01−0.06−0.3Reliance0.00+0.09+0.2no clear changeworsebetter

As the chart shows, most cells are grey. Correctness drops on two rows only, ambiguity and instruction conflict, both discussed below. A third factor, a wrong earlier answer in the thread, does not show here because it breaks the agent at a lower level than the one this chart uses, and it is discussed below too. Tool selection moves more often, but it measures whether the agent took the expected route, not whether it answered well: it drops when a factor rightly leads to fewer tool calls, such as asking which fund is meant instead of reading the data, and it can rise on a task whose baseline often takes another route than the one listed.

What the agent handles

Most of what we expected to hurt the agent turned out not to: long histories, dozens of tools, messy data, loose wording and tight budgets barely moved it. Not long ago, several of these were known weak spots for agents, which says a lot about how fast models are improving. It also means that results like these age quickly, and what held a few months ago has to be tested again with every new model and every change to the harness.

A bigger context. The agent was given up to 200,000 tokens of earlier conversation, all 61 tools instead of the handful the task needs, up to 16 skills it had no use for, or none of the skills the task relies on; files were attached, relevant and not, and some questions depended on earlier turns. Across all of it, 295 of 297 runs passed.

0.40.50.60.70.80.91.0pass markLengthTool loadSkill mismatchAttached itemsReliancecorrectness score, averaged over the six tasks

Each row is a factor and each dot one of its levels, placed at the average correctness score over the six tasks, with the farthest level highlighted. The dashed green line is the pass mark of 0.7, and every dot sits at or near the top score of 1, far from that line. The two slightly lower dots, on tool load and skill mismatch, each come from a single failed run on the analysis task. In practice, the agent found what it needed in a long history, picked the right tools out of 61, and set aside the skills that had nothing to do with the task.

Messy data. On the analysis task, the data itself was changed: more lines, more objects in the workspace, a stale copy and look-alikes of the records the agent needs, missing values, a report that contradicts the data, and an instruction planted in a record. Every run passed, and the agent did the same amount of work.

FactorWhat changesRuns passedCorrectnessTool selectionModel calls
Baselinenothing100%1.000.974 -> 7
Volume320, 1,000 or 10,000 lines in the sub-fund100%1.000.975 -> 6
Width10, 22 or 100 data objects in the workspace100%1.000.975 -> 7
Distractorsa stale copy, look-alike objects and sub-funds100%1.000.985 -> 6
Data statemissing values, a report that contradicts the data100%1.000.985 -> 6
Untrusted contentan instruction planted in a record100%1.000.975 -> 7

Correctness stayed at 1.00 in every workspace, tool selection stayed within a point of the baseline's, and model calls stayed inside the range the baseline already showed, so none of these changes affected the answer.

How the user asks. Extra asks in the same request, words that drift from the names in the data, typos, French, and a request pasted inside an email led to 3 failed runs out of 198, each a single run in three, and the only cost was a little more work when the request carried more asks.

SCOPE0.50.7 pass1.000.250.50.751CORRECTNESS0.5x1x2x00.250.50.751CALLSLEXICAL GAP0.50.7 pass1.000.250.50.7510.5x1x2x00.250.50.751FORM0.50.7 pass1.0as istyposFrenchemail0.5x1x2xas istyposFrenchemailaverage over the six tasksrange across tasks

Each column is one factor, with correctness on the top row and calls below. The line is the average over the six tasks, the band runs from the lowest task to the highest, and the dashed green line is the pass mark. Correctness stays at the top at every level; the small dip on lexical gap comes from the three failed runs, all single runs in three, at levels 0.25 and 0.5, and by level 1 the agent is back at the top. Calls are relative to each task's baseline, so 1x means the same number of calls: they rise with scope, since a request with more asks takes a few more steps to answer, and stay close to 1x for the rest.

A tight budget. The number of model calls was capped, down to the fewest the task had ever needed, and 65 of 66 runs passed, with the agent simply fitting the work into fewer calls. Below that ceiling no run can finish, and the agent stops with an honest partial answer and offers to continue.

CORRECTNESS0.50.7 pass1.000.51CALLS0.5x1x2x00.51average over the six tasksrange across tasks

Level 0 is no cap, or a cap above anything the task needs, level 1 is a cap at the fewest calls the task ever took, and 0.5 sits in between. Correctness, on the left, stays at the top at every level, while calls, on the right, drop slightly as the cap tightens, because the agent skips the optional steps and goes straight to the reads the answer needs. The small dip in correctness at level 0 is a single failed run on the analysis task, under a cap it never reached.

None of this means that context size or messy data never matters, only that for this agent, on these tasks, they are not where it breaks.

What breaks the agent

Three factors did break the agent, and unlike the ones above, they don't give it more to read: they mislead it or leave something out. They are a custom skill that disagrees with the user, a question that doesn't say which fund it means, and a wrong answer earlier in the thread. Only the conflicting skill breaks the agent across several kinds of task, while the other two each break one or two.

RETRIEVALANALYSISVERIFICATIONINVESTIGATIONACTIONORCHESTRATIONREQUESTAmbiguity1/32/30/30/30/31/3Form0/30/30/30/30/30/3Lexical gap1/31/30/30/30/30/3Scope0/30/30/30/30/30/3CONFIGBudget0/31/30/30/30/30/3Instruction conflict3/31/30/33/33/32/3Skill mismatch0/31/30/30/30/30/3Tool load0/31/30/30/30/30/3ENVIRONMENTData state0/3Distractors0/3Untrusted content0/3Volume0/3Width0/3HISTORYAttached items0/30/30/30/30/30/3Length0/30/30/30/30/30/3Poison1/30/32/32/30/30/3Reliance0/30/30/30/30/30/32 or 3 of 3 failed

Each cell is the factor's worst level on that task, as runs failed out of three, and red marks a cell where at least two runs failed. The chart is best read by row, since a factor that breaks one task may be a quirk of that task, while a factor that breaks several is a property of the agent. Only one row has red cells across most tasks: instruction conflict, which holds the conflicting skill, with four. Poison has two, ambiguity one, and every other cell is 0 or 1 of 3.

A custom skill that silently overrides the user. In this variant, the agent has a custom skill that disagrees with what the user asks. Following the skill is not the failure, since a client may well want a house rule to win; what matters is that the override stays visible. The agent may apply the skill, but it has to say so, and also give the answer on the user's own terms. On four kinds of task, it applied the skill and left the user's version out:

  • On retrieval, it listed the top three holdings instead of the five the user asked for (3 of 3 runs failed).
  • On investigation, it closed the exception as a market move, while quoting the fee over-accrual that caused it (3 of 3).
  • On action, the skill said commitments are stored in thousands of euros, and told the agent not to mention it. The agent divided the six commitments by a thousand before writing them, and two runs then reported the original amounts back to the user (3 of 3).
  • On orchestration, it applied a house 20% cap instead of the UCITS 10% the request names (2 of 3).

The agent usually named the skill it followed, but it never showed the answer the user would have had without it. On analysis and verification, it handled the conflict. A rule written in the system prompt is held to the same standard, and it fared better: the agent kept the rule and told the user what it left out, on every task but orchestration.

FAILEDPASSEDRetrievalAnalysisVerificationInvestigationActionOrchestration00.71correctness score of each run, one dot per wording

Each dot is one run, placed at its correctness score, and anything left of the dashed line is a fail. On retrieval, investigation, action and orchestration, almost every run falls left, eleven of twelve. With three runs per task the counts are small, but the pattern is the same each time, and since the agent handled the same kind of conflict on analysis and verification, it is a pattern across four kinds of task, not all of them. In each failing run, the agent treated the skill as the rule to apply, and the user's request as something to fit around it.

No target named. When the question spans several sub-funds and names none, the agent mostly does the right thing, asking which one is meant or saying what it assumed. The analysis task was the exception: asked "are we ok on concentration?", it pooled every sub-fund's holdings into one check instead of checking each, and missed the 40% limit that applies per sub-fund. A rerun of this cell with five more runs per wording confirmed it, with 16 of 18 runs failing.

0.250.50.751RetrievalAnalysisVerificationInvestigationActionOrchestrationpassedfailed2 or 3 of 3 failedfaded: the question doesn't span sub-funds

The two rows in front, retrieval and analysis, are the tasks where a vague question can cover several sub-funds, and each of their dots is the average of six runs. Most pass, because the agent asks which fund is meant or says what it assumed. Analysis fails at level 1, where nothing is named, because it pools the sub-funds. At 0.25, a search on the shortened fund name sometimes finds nothing and the agent gives up instead of trying again, and one retrieval wording also fails at 0.75.

A wrong earlier answer. Here, a wrong answer sits earlier in the conversation, presented as if it had been read from the data, and the question is asked again. On verification and investigation, the agent often took that answer at face value and repeated it instead of going back to the data, with 10 and 6 of 15 runs failing in a rerun with five runs per wording. It did not happen in every run, since in the others the agent read the data again and gave the right answer, but it shows that a single wrong turn in a long thread can carry into the next answer, with nothing in that answer to show it.

It is worth being clear about what these results cover. They hold for one agent and one version of its harness, as it was in November 2026. The tasks are short, three to nine model calls, so a factor that leaves them untouched may still hurt a longer one, and the data factors ran on one task only. With three runs in most cells, the study can show what breaks the agent, but not what makes it slightly worse.

What we take from it

Some of what we learned is about how to run a study like this one, and how to measure an agent so that a result means something. The rest is about how to build the harness, and where to spend the effort now that models handle so much on their own. The section closes with how the study fits into the way we work.

Lessons on the method

Change one thing at a time, against a baseline you know. Running each baseline up to ten times in each wording, before moving anything, shows how much a run varies on its own, and that spread is the floor every result has to clear. Without it, a single unlucky run looks like a finding, and a chart can look convincing while showing nothing but noise. Changing one factor at a time then makes the cause unambiguous, because if the score moves, it moved because of what changed.

Vary the wording, not just the run. Running the same sentence three times mostly measures the model's sampling, while asking for the same thing in three different ways measures the factor. This mattered more than expected: on one vague request, a single wording failed four runs out of five while the other two rarely did, so any one wording alone would have told a different story, depending on which one was picked.

Read the failing traces before trusting a score. A score shows that a run went wrong, but not where or why. Reading the trace down to the first wrong step is what turned the scores into causes that could be acted on: a search on a shortened name that came back empty, a skill followed over the user's request, sub-funds pooled into one check.

Look across kinds of task. A failure on one task may be a quirk of that task, of its data, its wording or its tools, whereas a failure on several kinds of task is a property of the agent, and that is where a fix pays off most. The same logic applies the other way: a factor that changes nothing across all six tasks is a result too, and a useful one, since it shows where not to spend effort.

Lessons on the harness

The model can carry the load, so don't confuse it. The agent shrugged off long histories, 61 tools, irrelevant skills and messy data, and today's models are good enough to handle that kind of load. What broke it was content that pulled against the user, such as a custom skill that overrode the request without showing it. The risk to manage is therefore not how much clients add, but whether what they add confuses the agent about what the user wants. Skills and instructions need a clear order of precedence, and whichever wins, the override has to stay visible: when a skill changes the answer, the agent should say so and show what the answer would have been without it.

Ask rather than guess. When a request didn't name what it was about, the agent mostly did the right thing, asking or saying what it assumed, but where it guessed, it guessed wide and pooled every sub-fund into one check. A short turn that asks "which sub-fund do you mean?" costs far less than a full answer to the wrong question, and it is worth designing for, especially on well-scripted tasks where the target matters.

Keep the graceful limits. Some of the best behavior in the study was the agent knowing its limits: it told the user when a rule stopped it from doing something, and when it ran out of call budget, it stopped with an honest partial answer and offered to continue. These behaviors are easy to lose when the harness changes, so they are worth testing for like any other feature.

Log what the harness decides. Which model answered, which skills were loaded, which rules applied: each of these can change an answer, and none of them is visible in the answer itself. Logging them with every run is what makes it possible to trace a result back to its cause, whether in a study like this one or in a client's thumbs down.

How we do it at NGT

This study is not meant as a one-off: it is now part of how we improve the agent, in a loop that runs alongside every release.

In production, online evals watch the agent at work, with a monitoring agent scoring runs as they happen and users able to give a thumbs down on any answer. When a run fails, the client's workspace is not copied; the run is described by its coordinates instead: what the request looked like, how the agent was configured, what the environment held, and what was already in the thread.

Those coordinates become an offline scenario on simulated data, added to the evals that run before every release. The study then explores the area around it, to find the whole surface where the agent fails rather than just the one run a client saw, and each fix to the harness is checked against that surface before it is released.

Throughout, client data never leaves production, and only the coordinates travel. The loop also never really closes. Not every rebuilt run fails the way it did in production, so how well the approximation holds keeps being checked, and each new model handles part of what the harness used to do, so the study is rerun with every model change and the harness trimmed where the model no longer needs it.

For us, that is the point of measuring this way: not to prove once that the agent works, but to keep knowing where it stands as the models, the harness and our clients' workspaces change around it.

References