Choose your region

    Lists show the case studies of your region first. Browse and search still hold every case study.

    Europe
    North America

    Synthetic customers cut AI agent update cycles at Nubank

    Nubank tests each change to its card-support chat agent against LLM-simulated customers and mocked account tools, and only the changes that beat the current agent go on to a live A/B test.

    NubankBrazilBankingIn production
    Scale
    Card Management, Nubank's highest-volume chat-support agent in Brazil
    Scenario
    Simulation-based testing of customer service AI agents
    Business function
    Software engineering
    Who built it
    Built with a partner (Guardrails AI)
    Human oversight
    Assists people
    Organization
    Enterprise, part of Nu Holdings
    AI types
    Generative AI, Agentic AI
    People served
    135 million
    Team size
    Seven

    Sources and their publishers

    This case study draws on reporting by the following publishers. Enterprise AI Case Studies combined these accounts and added its own explanation. The reporting, and every passage quoted from it, belongs to whoever published or supplied it.

    1. Nubank

    2. Let's Money

    3. Paraíba Business

    4. AI Engineer

    5. ZenML

    6. InfoQ

    tl;drNubank shipped card-support agent versions in 4.4 days each, down from 21.2.See the results

    View the solutionBuild this solution yourself

    Nubank, the Brazilian digital bank, tests changes to its card-support chat agent on synthetic customers before real customers see them1, 2. Its AI researchers and two co-authors from Guardrails AI, maker of the Snowglobe simulator, described the method in the preprint “Screen Before You Serve”1, 3.

    The synthetic customers are language-model personas that hold whole conversations with the agent. A mock layer answers the agent’s calls to account tools with made-up but consistent data1. A change that beats the current agent in simulation moves on to a live A/B test, and one that doesn’t goes back to the engineers1. The researchers posted the preprint on arXiv on September 24, 2026, revised it on November 5, and Brazilian fintech press covered it in November 20261, 2, 3.

    The headline figure is calendar time. Card Management, the agent built with the simulation layer, took 4.4 days a version, where its predecessor, Card Delivery, had taken 21.2 days1. In live A/B tests, Card Management scored 36.69 points higher on transactional Net Promoter Score (tNPS) than Card Delivery. A later swap to an open-weight model picked in simulation raised the self-service rate by 8.82 percentage points, the highest level Nubank had seen1.

    Before the deployment

    Nubank serves about 135 million customers across Brazil, Mexico and Colombia. Its AI agents handle routine support requests end to end, and human experts take the difficult and long-tail cases4. By June 2026, the bank had published an evaluation framework from five production agent deployments5. Its LLM judges had measured agreement with human raters, and its central finding was that the quality of the evaluation pipeline sets how fast a team can iterate5.

    The framework didn’t solve where the test data came from. Testing an agent change had the following problems:

    • Test cases are trajectories: A test case holds the customer’s messages, the agent’s replies, its tool calls, and the account state those calls read or change4.
    • Hand-written tests cover little: Writing one by hand means keeping every step coherent, and it covers only the situations someone thought to write down1.
    • Live tests expose customers: Live experiments expose customers to the failures the test is meant to catch. In a regulated industry, the agent must detect intent, follow complex operational policies, and use tools reliably1.
    • The cycle was slow: A harness change took hours to implement at best, then days of offline evaluation on hand-curated data. The A/B test’s sparse, noisy feedback could take much longer to reach statistical significance4.
    • Card Delivery shipped slowly: Without simulation, the agent that tracks card deliveries and issues replacements went through ten versions in 212 calendar days1, 2.

    Aman Gupta, a principal machine learning engineer at Nubank, described that cycle at AI Engineer World’s Fair 20264.

    What was built

    The simulation layer sits between an engineer’s idea and the live experiment, and decides whether a candidate change is worth showing to customers. Its job is to expose differences between the candidate and the current agent, good or harmful, that are large enough to change a deployment decision. Exact replication of production metrics is therefore unnecessary1. The work is divided as follows:

    • Synthetic customers: Snowglobe’s language-model personas hold multi-turn conversations with the agent. Each synthetic turn reacts to the agent’s last reply1.
    • Mock tool layer: Answers the agent’s stateful tool calls with scenario-conditioned synthetic results, so no production backend is called1.
    • LLM judges: Score each finished conversation pass or fail on behavioral criteria1.
    • Engineers: Write a falsifiable hypothesis and a screening criterion fixed in advance, and revise a candidate that fails it1.
    • Live A/B test: Remains the step that decides what customers get1, 4.
    Figure 1One hypothesis-driven screening round
    One hypothesis-driven screening roundEngineers state a hypothesis and a screening criterion. Snowglobe simulates conversations with the incumbent agent and with the candidate under the same configuration. LLM judges score both sets of conversations. If the candidate meets the criterion, it goes to a live A/B test, and a winner becomes the new incumbent; if not, engineers revise it and simulate again. Who approves the move to the live test is inferred. (trigger or control) · Documented in source [1]same configuration (trigger or control) · Documented in source [1]trajectories (data) · Documented in source [1]pass/fail scores (data) · Documented in source [1]no (handoff to people) · Documented in source [1] (feedback) · Documented in source [1]yes (handoff to people) · Inferred, not documented in the sources (trigger or control) · Inferred, not documented in the sourceswinner (trigger or control) · Documented in source [1]SIMULATION AND EVALUATIONNUBANK ENGINEERSPRODUCTIONHypothesis and criterion · Step · Documented in source [1]Hypothesisand criterionSimulate incumbent · Step · Documented in source [1]SimulateincumbentSimulate candidate · Step · Documented in source [1]SimulatecandidateLLM judges score both · Step · Documented in source [1]LLM judgesscore bothMeets criterion? · Decision · Documented in source [1]DECISIONMeetscriterion?Revise the change · Step · Documented in source [1]Revise thechangeApprove live test · Step · Inferred, not documented in the sourcesINFERREDApprovelive testLive A/B test · Step · Documented in sources [1] [4]Live A/B testNew incumbent · Step · Documented in source [1]Newincumbentsameconfigurationtrajectoriespass/fail scoresnoyeswinnerOne hypothesis-driven screening roundEngineers state a hypothesis and a screening criterion. Snowglobe simulates conversations with the incumbent agent and with the candidate under the same configuration. LLM judges score both sets of conversations. If the candidate meets the criterion, it goes to a live A/B test, and a winner becomes the new incumbent; if not, engineers revise it and simulate again. Who approves the move to the live test is inferred. (trigger or control) · Documented in source [1]same configuration (trigger or control) · Documented in source [1]trajectories (data) · Documented in source [1]pass/fail scores (data) · Documented in source [1]no (handoff to people) · Documented in source [1] (feedback) · Documented in source [1]yes (handoff to people) · Inferred, not documented in the sources (trigger or control) · Inferred, not documented in the sourceswinner (trigger or control) · Documented in source [1]SIMULATION AND EVALUATIONNUBANK ENGINEERSPRODUCTIONHypothesis and criterion · Step · Documented in source [1]Hypothesisand criterionSimulate incumbent · Step · Documented in source [1]Simulate incumbentSimulate candidate · Step · Documented in source [1]Simulate candidateLLM judges score both · Step · Documented in source [1]LLM judges score bothMeets criterion? · Decision · Documented in source [1]DECISIONMeets criterion?Revise the change · Step · Documented in source [1]Revise the changeApprove live test · Step · Inferred, not documented in the sourcesINFERREDApprove live testLive A/B test · Step · Documented in sources [1] [4]Live A/B testNew incumbent · Step · Documented in source [1]New incumbentsame configurationtrajectoriespass/fail scoresnoyeswinner
    • AI component
    • Data
    • Trigger or control
    • Handoff to people
    • Feedback
    • Inferred, not documented
    Sources [1][4]
    Simulation only makes a candidate eligible for a live A/B test; the live test still decides what customers get.

    The same evaluation suite scores the incumbent’s and the candidate’s conversations, and a judge added for a round must also score the baseline1. The baseline changes only when a candidate becomes the incumbent. Small or ambiguous differences are left for the live experiment to resolve1.

    The team now tries its ideas in Snowglobe and waits until it’s satisfied with the simulated results before it launches a candidate4. Because each change starts from a hypothesis with a success target set beforehand, there is a record of why it was approved. The bank considers that useful in a regulated sector2.

    Rohan Ramanath, Nubank’s general manager of AI, called each agent change a bet on the customer’s experience. Simulation lets the bank place that bet with synthetic customers first, so that only changes with clearly better results reach people2.

    Simulation speeds up the evaluation, not the engineering. A harness change still takes hours to write. What goes away is the wait for curated examples or for enough customer feedback4.

    Rollout

    Nubank characterized the simulator on one agent, applied the workflow to its successor, and then used it to choose a model. The work went through the following phases:

    1. Characterization on Card Delivery: The team checked the simulator against production conversations of four deployed versions1.
    2. Card Management: The successor replaced Card Delivery and handles more card requests, such as changing the registered address and ordering a new card1, 2. Only its changes were guided by simulation2.
    3. Model screen: A simulated arm costs no customer exposure, so the team could sweep settings it would otherwise have argued about from intuition. It tested 29 configurations in more than 16,000 simulated conversations, varying model family, reasoning effort, and numerical format1.

    Card Management’s first version reused Card Delivery’s prompts and tools on GPT-5.2. The fifth used a prompt revised with simulated examples1. Each version was judged on whether the agent handed a customer to a human without need, against the first version’s failure rate1. After the live A/B test, Card Management became available to Nubank’s customers in Brazil1.

    The model screen picked Qwen3.5-122B-A10B with reasoning enabled as the starting point for prompt optimization1, 2. The team chose it for its low failure rate on gathering inputs and competitive results on card reissue and completeness1.

    The chosen model failed the information retrieval status check 35.2% of the time against 2.4% for the incumbent. Further prompt optimization reduced those failures before the model went to a live test1. When Gupta and Shreya Rajpal of Guardrails AI presented the workflow at AI Engineer World’s Fair 2026, that live test was still running1, 4.

    Technology and architecture

    Figure 2Simulation screening for Nubank's card-support agent, at a glance
    Simulation screening for Nubank's card-support agent, at a glanceNubank's agent engineers make a candidate change to the staging copy of the Card Management agent. In Snowglobe, from Guardrails AI, an orchestrator seeds synthetic customer personas, which talk to the staging agent turn by turn, while a mock tool layer answers the agent's stateful tool calls. The finished conversations go to LLM judges, whose pass/fail scores go back to the engineers. A candidate that meets the screening criterion goes to a live A/B test with real customers, and a winner becomes the production agent. Every part is documented; none is inferred.candidate change (trigger or control) · Documented in source [1]persona seeds (trigger or control) · Documented in source [1]customer turns (data) · Documented in source [1]stateful tool calls (data) · Documented in source [1]trajectories (data) · Documented in source [1]pass/fail scores (feedback) · Documented in source [1]eligible candidate (handoff to people) · Documented in source [1]winner (trigger or control) · Documented in source [1]NUBANK PRODUCTIONSNOWGLOBE (GUARDRAILS AI)NUBANK STAGINGAgent engineers · Team · Documented in source [1]TEAMAgentengineersOrchestrator · AI model · Documented in source [1]AI MODELOrchestratorSynthetic customers · AI model · Documented in sources [1] [4]AI MODELSyntheticcustomersMock tool layer · System · Documented in source [1]SYSTEMMocktool layerCard Management agent · AI model · Documented in source [1]AI MODELCardManagementagentLLM judges (GPT-4.1-Mini) · AI model · Documented in source [1]AI MODELLLM judges(GPT-4.1-Mini)Live A/B test · Step · Documented in sources [1] [4]Live A/B testProduction agent · Application · Documented in source [1]APPLICATIONProductionagentcandidatechangepersona seedscustomer turnsstatefultool callstrajectoriespass/fail scoreseligiblecandidatewinnerSimulation screening for Nubank's card-support agent, at a glanceNubank's agent engineers make a candidate change to the staging copy of the Card Management agent. In Snowglobe, from Guardrails AI, an orchestrator seeds synthetic customer personas, which talk to the staging agent turn by turn, while a mock tool layer answers the agent's stateful tool calls. The finished conversations go to LLM judges, whose pass/fail scores go back to the engineers. A candidate that meets the screening criterion goes to a live A/B test with real customers, and a winner becomes the production agent. Every part is documented; none is inferred.candidate change (trigger or control) · Documented in source [1]persona seeds (trigger or control) · Documented in source [1]customer turns (data) · Documented in source [1]stateful tool calls (data) · Documented in source [1]trajectories (data) · Documented in source [1]pass/fail scores (feedback) · Documented in source [1]eligible candidate (handoff to people) · Documented in source [1]winner (trigger or control) · Documented in source [1]NUBANK PRODUCTIONSNOWGLOBE (GUARDRAILS AI)NUBANK STAGINGAgent engineers · Team · Documented in source [1]TEAMAgent engineersOrchestrator · AI model · Documented in source [1]AI MODELOrchestratorSynthetic customers · AI model · Documented in sources [1] [4]AI MODELSynthetic customersMock tool layer · System · Documented in source [1]SYSTEMMock tool layerCard Management agent · AI model · Documented in source [1]AI MODELCard ManagementagentLLM judges (GPT-4.1-Mini) · AI model · Documented in source [1]AI MODELLLM judges(GPT-4.1-Mini)Live A/B test · Step · Documented in sources [1] [4]Live A/B testProduction agent · Application · Documented in source [1]APPLICATIONProduction agentcandidate changepersona seedscustomer turnsstateful tool callstrajectoriespass/fail scoreseligible candidatewinner
    • AI component
    • Data
    • Trigger or control
    • Handoff to people
    • Feedback
    Sources [1][4]
    Synthetic customers and mocked tools exercise the real agent offline, and judges' scores decide which candidates reach a live A/B test.

    The following table lists the components of the screening layer.

    Layer What they used Role Source
    Simulation testing Snowglobe (Guardrails AI) Infers use cases and personas, plans coverage, runs multi-turn conversations with the agent 1
    Tools and actions Mock tool layer Answers stateful tool calls from the persona’s state in the tool’s output shape 1
    APIs and connectors MCP tool schemas Live schemas reused in staging; stateful tools return synthetic responses 1
    Checker model GPT-4.1-Mini Pass/fail scoring of simulated and production conversations 1
    Prompt and context management GEPA Tunes each judge’s system prompt 1

    Snowglobe starts from a description of the agent and the definitions of its tools. Its agents infer the use cases, the synthetic customers and their data, how the tools relate, and the trajectories that use them1. Some of these properties are resolved once, when the agent is onboarded, and others at the start of each run1. An orchestration agent then spreads conversations across use-case and interaction-style conditions1.

    A conversation ends when the persona’s goal is met, is judged unreachable, or hits a turn or tool-specification limit1. Nubank adopted Snowglobe for its structured orchestration, controllable scenario coverage, and support for consistent tool state across calls1.

    Snowglobe calls its approach tool-boundary mocking. The simulation must not reach production data through stateful tools. The agent still needs answers that agree with what came before1. During onboarding, Snowglobe builds an agent profile, a model of how the tools relate and how their data is shaped. The orchestrator uses it to produce persona seeds: partial account states paired with a plan for how that data evolves1.

    When the agent calls a tool, the call goes to the persona agent for that conversation instead of the real implementation. The persona answers in the tool’s output shape from its seeded state1. No shared database of state exists, and each conversation runs in its own sandbox. Only the individual calls at the boundary are answered, never an entire backend. Testing the tools themselves is left to other methods1.

    The judges differ by agent. For Card Delivery, GPT-4.1-Mini graded five categories, each with a system prompt tuned by the GEPA prompt optimizer. That suite was calibrated against human annotations1, 4. For Card Management, one judge checked whether each transfer to a human was unnecessary. The model screen used four criteria: gathering inputs, validity of card reissue, information retrieval status, and completeness1. The agent itself ran on OpenAI models, with GPT-5.2 behind Card Management until the open-weight swap1.

    Data inputs

    The screening layer uses the following data:

    • Agent and tool definitions: The starting input, optionally with a simulation prompt that narrows a run to chosen use cases1.
    • Historical conversations: Processed offline to extract use cases and linguistic styles with their distributions, which condition later runs1.
    • Persona seeds: Partial account states for each synthetic customer, which the mock tool layer answers from1.
    • Card Delivery conversations: 8,000 real conversations, split evenly into a set to configure the simulators and a set to test them1.
    • Comparison sets: 1,000 held-out production conversations and 250 simulated ones for each of four Card Delivery versions1.

    Integrations

    The screening layer connects to Nubank’s systems in the following ways:

    • Agent under test: Snowglobe’s SDK wraps the agent with minimal code changes, through wrappers, tool declarations, and decorators4, 6.
    • MCP tool schemas: The staging agent reuses the live schemas, so it keeps control of which tools it calls and in what order1.
    • Read-only dependencies: Lookups such as knowledge-base retrieval can stay live1.
    • Evaluation pipeline: Judged conversations feed the pipeline that Nubank already ran on production chats4, 6.

    How one simulated conversation flows through the system

    Gupta’s talk walked through one synthetic customer, Maria Souza4.

    Figure 3One synthetic customer through a simulated conversation
    One synthetic customer through a simulated conversationSnowglobe's orchestrator seeds a persona, Maria Souza, who wants to order a card and writes curt one-line messages. She messages the Card Management agent. The agent calls a tool to identify her and check her address, and the mock tool layer answers with records drawn from her seeded state. The agent replies, and the exchange repeats until her goal is met or a limit is hit. The finished conversation goes to the LLM judges, whose pass/fail scores go to the engineers. What the judge checked in this example is inferred.LOOPuntil goal met or limit hit1. persona seed and goal · Documented in sources [1] [4]1Snowglobe orchestratorPersona: Maria Souzapersona seed and goal2. curt one-line message · Documented in source [4]2Persona: Maria SouzaAgent under testcurt one-line message3. identify customer, check address · Documented in sources [1] [4]3Agent under testMock tool layeridentify customer, check address4. Maria's mocked records · Documented in sources [1] [4]4Mock tool layerAgent under testMaria's mocked records5. reply · Documented in source [1]5Agent under testPersona: Maria Souzareply6. finished trajectory · Documented in source [1]6Agent under testLLM judgefinished trajectory7. check verification and transfers · Inferred, not documented in the sources7LLM judgecheck verification and transfers8. pass/fail scores · Documented in source [1]8LLM judgeAgent engineerspass/fail scoresOne synthetic customer through a simulated conversationSnowglobe's orchestrator seeds a persona, Maria Souza, who wants to order a card and writes curt one-line messages. She messages the Card Management agent. The agent calls a tool to identify her and check her address, and the mock tool layer answers with records drawn from her seeded state. The agent replies, and the exchange repeats until her goal is met or a limit is hit. The finished conversation goes to the LLM judges, whose pass/fail scores go to the engineers. What the judge checked in this example is inferred.LOOPuntil goal met or limit hit1. persona seed and goal · Documented in sources [1] [4]1persona seedand goal2. curt one-line message · Documented in source [4]2curt one-linemessage3. identify customer, check address · Documented in sources [1] [4]3identifycustomer,check address4. Maria's mocked records · Documented in sources [1] [4]4Maria's mockedrecords5. reply · Documented in source [1]5reply6. finished trajectory · Documented in source [1]6finished trajectory7. check verification and transfers · Inferred, not documented in the sources7checkverificationand transfers8. pass/fail scores · Documented in source [1]8pass/fail scoresSnowglobe orchestrator · AI model · Documented in source [1]SnowglobeorchestratorPersona: Maria Souza · AI model · Documented in source [4]Persona:Maria SouzaAgent under test · AI model · Documented in source [1]Agentunder testMock tool layer · System · Documented in source [1]Mocktool layerLLM judge · AI model · Documented in source [1]LLM judgeAgent engineers · Team · Documented in source [1]AgentengineersOne synthetic customer through a simulated conversationSnowglobe's orchestrator seeds a persona, Maria Souza, who wants to order a card and writes curt one-line messages. She messages the Card Management agent. The agent calls a tool to identify her and check her address, and the mock tool layer answers with records drawn from her seeded state. The agent replies, and the exchange repeats until her goal is met or a limit is hit. The finished conversation goes to the LLM judges, whose pass/fail scores go to the engineers. What the judge checked in this example is inferred.LOOPuntil goal met or limit hit1. persona seed and goal · Documented in sources [1] [4]1persona seedand goal2. curt one-line message · Documented in source [4]2curt one-linemessage3. identify customer, check address · Documented in sources [1] [4]3identify customer,check address4. Maria's mocked records · Documented in sources [1] [4]4Maria's mockedrecords5. reply · Documented in source [1]5reply6. finished trajectory · Documented in source [1]6finished trajectory7. check verification and transfers · Inferred, not documented in the sources7check verificationand transfers8. pass/fail scores · Documented in source [1]8pass/fail scoresSnowglobe orchestrator · AI model · Documented in source [1]SnowglobeorchestratorPersona: Maria Souza · AI model · Documented in source [4]Persona:Maria SouzaAgent under test · AI model · Documented in source [1]Agent under testMock tool layer · System · Documented in source [1]Mock tool layerLLM judge · AI model · Documented in source [1]LLM judgeAgent engineers · Team · Documented in source [1]Agent engineersOne synthetic customer through a simulated conversationSnowglobe's orchestrator seeds a persona, Maria Souza, who wants to order a card and writes curt one-line messages. She messages the Card Management agent. The agent calls a tool to identify her and check her address, and the mock tool layer answers with records drawn from her seeded state. The agent replies, and the exchange repeats until her goal is met or a limit is hit. The finished conversation goes to the LLM judges, whose pass/fail scores go to the engineers. What the judge checked in this example is inferred.LOOPuntil goal met or limit hit1. persona seed and goal · Documented in sources [1] [4]1persona seed and goal2. curt one-line message · Documented in source [4]2curt one-line message3. identify customer, check address · Documented in sources [1] [4]3identify customer,check address4. Maria's mocked records · Documented in sources [1] [4]4Maria's mocked records5. reply · Documented in source [1]5reply6. finished trajectory · Documented in source [1]6finished trajectory7. check verification and transfers · Inferred, not documented in the sources7check verificationand transfers8. pass/fail scores · Documented in source [1]8pass/fail scoresSnowglobe orchestrator · AI model · Documented in source [1]SnowglobeorchestratorPersona: Maria Souza · AI model · Documented in source [4]Persona:Maria SouzaAgent under test · AI model · Documented in source [1]Agent under testMock tool layer · System · Documented in source [1]Mock tool layerLLM judge · AI model · Documented in source [1]LLM judgeAgent engineers · Team · Documented in source [1]Agent engineers
    • AI component
    • Data
    • Trigger or control
    • Inferred, not documented
    Sources [1][4]
    The real agent talks to a synthetic customer, and only its stateful tool calls are answered by the simulator.
    1. The simulator creates Maria, a designer and first-time credit card customer who wants to order a card4.
    2. The simulator generates a fake address and card data that stay consistent for the whole run4.
    3. Maria writes short, curt, one-line messages, which follow her persona instead of the cooperative dialogue a generic simulated user writes4.
    4. The agent calls a tool to identify her and confirm her address. The simulator returns valid mocked records that describe the same Maria every time4.
    5. The finished conversation goes to the judges, as a production chat would4.

    Results

    The live tests and the simulation produced the following results1.

    Metric Before After Scope and timeframe Reported by
    Development time per agent version 21.2 days (Card Delivery) 4.4 days (Card Management) Ten versions over 212 days against five over 22 days Nubank and Guardrails AI researchers, measured1, 2
    Transactional NPS Card Delivery 36.69 points higher Live A/B test, Card Management against Card Delivery Nubank and Guardrails AI researchers, measured1, 2
    Self-service rate Card Delivery 4.90 percentage points higher Same live A/B test Nubank and Guardrails AI researchers, measured1
    Self-service rate Incumbent GPT-5.2 model 8.82 percentage points higher Live A/B test of Qwen3.5-122B-A10B Nubank and Guardrails AI researchers, measured1, 3
    Unnecessary transfers to a human 22.4% 16.0% Simulated conversations, best Card Management version against the first Nubank and Guardrails AI researchers, simulation1, 2

    The metrics need the following explanations:

    • Development time per agent version: Calendar days divided by versions shipped, from the preprint as revised in November 2026. The ratio of 4.8 is what the preprint calls 4.8 times faster iteration than a workflow without a simulation layer1.
    • Simulation runtime: A batch of 100 simulated conversations finished in under 10 minutes on average, which measures generation, not a whole iteration1. Gupta’s talk described a weeks-long cycle cut to less than a day and a 20× faster shipping cycle4.
    • Self-service rate and tNPS: Self-service rate is the share of sessions that customers completed with the agent without asking for a human. tNPS is promoters minus detractors in a post-interaction survey, and each A/B figure has a 95% confidence interval1.
    • Model swap: The test changed only the model. Self-service reached the highest level observed at Nubank, tNPS was statistically unchanged at −1.21 points, and p95 latency, a point estimate, fell by 25%1.
    • Simulator fidelity: Simulated and production scores for four Card Delivery versions had a Pearson r of 0.74 and a Kendall tau of 0.67. Snowglobe preserved the production ordering better than a naive prompted simulator1. Gupta said 80% of domain-expert labels confirmed the simulated data was usable4.
    • Other talk figures: Gupta cited a 4% self-service improvement in one agent. He also cited six weeks of online experiments saved by screening 12 open-source model variants in simulation4.

    Lessons learned

    The two live A/B tests are the strongest evidence for the method. Each compared a screened change with its own control on real customers, and both went the way the simulation had pointed1. The model swap is the cleaner test, because only the model changed. The configuration chosen offline from 29 matched the incumbent on satisfaction and beat it on self-service and latency1.

    The screen caught failures before customers saw them. It found tool-call failures and a serving configuration without a tool-call parser1. Gupta described a regression and an issue in another agent that could have reduced the self-service rate4. The authors conclude that imperfect simulation can still point improvements in the right direction, provided live A/B tests confirm them1.

    The simulated customers didn’t talk like real ones. Real Card Delivery customers wrote a median of 19 words a conversation, and Snowglobe’s personas a median of 1111. In a blinded test, seven domain experts picked out 35 of 50 simulated conversations as synthetic, with a confidence of about the middle of the scale1. ZenML notes that the 80% usability figure leaves a fifth of simulated scenarios that might not be representative, which could hide edge cases6.

    The screen stops at the tool boundary by design, so backend behavior, latency, persistent state, and side effects go untested. Nubank names bringing the backend into simulation as its next step1, 2. Integration took most of the engineering effort, and schemas, examples, authentication, and simulator profiles needed ongoing alignment. If simulation traces don’t match production schemas and telemetry, reconciliation can erase the time saved1.

    The headline speed figure is the weakest of the results, because it sets two different agents’ development histories side by side. Card Management’s first version started from Card Delivery’s prompts and tools1. Some of the drop from 21.2 to 4.4 days probably reflects a team that already knew the problem. The AI Engineer write-up notes that the 20× figure has no defined baseline and that the 4% figure isn’t defined as relative or absolute4.

    Nubank cautions that the tNPS gain over Card Delivery mixes the new agent and the method, because Card Management covers more tasks. It also notes that a session closed without a human doesn’t prove the problem was solved2.

    Every figure comes from Nubank’s own researchers, writing with two Guardrails AI co-authors whose company sells the simulator, in a preprint that hasn’t been peer reviewed1. Let’s Money labels the numbers self-reported2. Paraíba Business notes that the work covers two agents at one bank, in one market and one channel, with no third-party evaluation yet3. ZenML notes that the talk was a joint presentation with the vendor6.

    Case study scorecard

    Build this solution yourself

    Analysis

    What you need

    To build this solution, you need the following in place:

    • Judges that agree with your experts: Nubank’s judges were calibrated against human labels before it built the simulator1, 5. A conversation scored by a judge you don’t trust adds only noise.
    • Tool schemas that staging shares with production: The staging copy reused the live tool schemas, so the agent kept its own tool control under simulation1. Check whether your agent’s risk sits in the conversation or in what its tools do to an account.
    • Live traffic for the confirming test: A screened change still went to an A/B test of thousands of sessions on real customers1.

    Others who built it

    • DoorDash: An LLM plays the customer against the production support chatbot, with mocked backend services, and changes are validated across hundreds of conversations before deployment7.
    • Lyft: Its support agent talks to a simulated user LLM, which Lyft fine-tuned on real Lyft user language after an off-the-shelf model proved too cooperative8.

    Cite this case study

    Enterprise AI Case Studies. "Synthetic customers cut AI agent update cycles at Nubank." Updated Nov 19, 2026. https://case-studies.ai/case-studies/engineering-and-research/ER-017-simulated-customer-agent-testing-nubank/

    @misc{csai-er-017,
      author = {{Enterprise AI Case Studies}},
      title = {{Synthetic customers cut AI agent update cycles at Nubank}},
      year = {2026},
      note = {Updated 2026-11-19},
      url = {https://case-studies.ai/case-studies/engineering-and-research/ER-017-simulated-customer-agent-testing-nubank/}
    }

    Sources

    The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership

    1. Source 1:

      Screen Before You Serve: Simulation for Production Customer Experience AI Agents at 140M Scale

      AcademicNubank, Nov 5, 20265 Nov 2026By Edesio Alcobaça, Kevin Rossell, Aman Gupta, Shao Tang, Jiwoo Hong, Pabel Carrillo-Mendoza, Wanderson Conceição Ferreira, Alvaro Tedeschi, Zayd Simjee, Shreya Rajpal, Bruno Finardi Hime, Christian Sousa, Luis Moneda, Herbert Fei, Daniel Silva, and Rohan RamanathAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (106)
      • Improving these agents, especially in regulated industries, is difficult: they must detect intent, follow complex operational policies and use tools reliably.
      • Manual end-to-end testing offers limited coverage, while live experiments expose customers to failures that can erode trust.
      • Synthetic customers react to agent responses and simulated tool outputs enable multi-step agentic workflows without invoking production backends.
      • highest-volume chat-support agent in Brazil
      • Across 4 deployed versions, simulated and production version-level binary evaluator scores show high correlation.
      • We also screened open-weight configurations in over 16,000 simulated conversations.
      • the selected model increased self-service rate (SSR) by 8.82 percentage points to the highest level observed at Nubank, with no statistically significant change in tNPS.
      • The user simulation layer allows 4.8 times faster iteration of the development, screening, and deployment cycle compared with a workflow without a user simulation layer.
      • 4.9 percentage points and transactional net promoter score (tNPS) by 36.69 points relative to Card Delivery
      • We use the proposed simulation recipe to select Qwen3.5-122B-A10B as a replacement for the incumbent Card Management model. In a subsequent live A/B test, the replacement improved SSR by 8.82 percentage points and reduced p95 latency by 25%, with no statistically significant change in tNPS.
      • We study Nubank’s Card Delivery (CD) agent and its expanded successor, Card Management (CM), which replaced CD and supports a broader range of card-lifecycle requests.
      • Snowglobe instantiates the persona-driven simulation pattern of Park et al. (2023) and takes an agent description and tool definitions, optionally augmented with a simulation prompt and historical conversations.
      • An orchestration agent allocates conversations across use-case and interaction-style conditions, after which the generated personas interact with the target agent over multiple turns.
      • Each synthetic user turn is conditioned on the agent’s preceding response, while tool calls are intercepted and answered with scenario-conditioned synthetic results rather than invoking production backends.
      • A conversation ends when the persona’s objective is achieved, judged unreachable, or subject to a turn or tool-specification limit.
      • 8,000 real-world conversations between the users and the CD agent were evenly split into two sets
      • We generated 250 synthetic trajectories via the simulator for each version.
      • They are evaluated via LLM-as-a-Judge, using GPT-4.1-Mini
      • We evaluate each category with separate system prompts optimized via GEPA (Agrawal et al., 2026), which return binary pass/fail scores.
      • the CM agent, which uses GPT-5.2 as its backbone model.
      • GPT-4.1; tools for customer-specific logistics queries.
      • GPT-5.1; prompt rules for routing, personalization, and concise responses.
      • GPT-5.2; Return to ReAct; prompt revised using simulated examples.
      • LLM-as-a-Judge provides binary feedback on whether a transfer to human support was unnecessary.
      • Self-service rate (SSR) is the proportion of sessions in which users completed the case with the agent without asking for human support.
      • tNPS is the percentage of promoters minus the percentage of detractors in a post-interaction recommendation survey
      • Therefore, exact replication of production metrics is unnecessary.
      • Each screening round is guided by a falsifiable hypothesis
      • The same suite is applied to incumbent and candidate trajectories; any newly introduced evaluator must also score the baseline trajectories.
      • Candidates meeting CC become eligible for live A/B testing; others are reassessed or revised against the same incumbent.
      • The baseline is updated only after a candidate becomes the incumbent.
      • smaller or ambiguous differences are left for live experiments to resolve.
      • We embed each conversation using text-embedding-3-large
      • Seven domain experts contributed labels.
      • and 35 of 50 simulated conversations
      • We test 29 configurations of the card management agent with over 16,000 simulated conversations, across model family, reasoning effort, and numerical format
      • had the lowest unnecessary-transfer
      • failure rate (16.0%\boldsymbol{16.0\%}), compared with 22.4%\boldsymbol{22.4\%} for
      • SSR 4.90\boldsymbol{4.90} percentage points above CD (95% CI
      • Following the test, the agent became available to Nubank’s customer base in Brazil.
      • A batch of 100 simulated trajectories completed in under 10 minutes on average; this measures generation runtime rather than end-to-end iteration time.
      • The ten-version CD development cycle, including the four versions studied here, spanned 212 calendar days. The five CM versions spanned 22 days.
      • 21.2\boldsymbol{21.2} and 4.4\boldsymbol{4.4} days per version, respectively, a ratio of 4.8\boldsymbol{4.8}.
      • The incumbent retains a substantial advantage on Status (2.4%).
      • The higher Status failure rate (35.2% versus 2.4%) identified a weakness for further refinement. Subsequent prompt optimization reduced failures on this criterion.
      • and the screen caught tool-call failures and a serving configuration without a tool-call parser.
      • Most engineering effort went into integration: the staging agent reused live MCP schemas while stateful tools returned schema-compatible synthetic responses.
      • but schemas, examples, authentication, and simulator profiles required ongoing alignment.
      • Stateful or side-effecting tools are mocked, while read-only dependencies such as knowledge-base retrieval may remain live; backend behavior, latency, persistent state, and side effects thus remain untested.
      • Simulation traces must also match production schemas, identifiers, and telemetry, or export and reconciliation work can erase the iteration gains.
      • Most importantly, our results demonstrate that imperfect simulation can still guide directionally correct improvements to production agents, with benefits confirmed with live A/B evaluation.
      • Its value lies in supporting development decisions, not in perfectly reproducing production.
      • Real historical conversations, when supplied, are processed offline to extract use cases, linguistic styles, and their distributions, which are stored and used to condition later runs.
      • Snowglobe meets these constraints without ever maintaining a database of state
      • the persona agent returns a response that fits the tool’s output shape, and that response is passed back to the agent under test.
      • Because no shared world state is instantiated, each conversation runs in its own sandbox.
      • Production user text is short (median 19 words; mean 25.8).
      • not (median 111; mean 119).
      • Snowglobe simulated conversations are substantially longer than production and off-topic conversations in both user-message words and user turns.
      • Affiliation: Guardrails AI
      • We characterize the simulation pipeline using CD traces and apply the resulting workflow to CM.
      • GPT-5.2; CD prompts and tools with ReAct-style tool
      • prompt and tool-use policy
      • prompt and tools with a different architecture
      • The test set contains 1,000 conversations from each agent version.
      • a development set to configure the simulators (i.e., simulation characterization) and a test set to validate the agent with the characterized simulation profiles
      • We adopt Snowglobe for its structured orchestration, controllable scenario coverage, and cross-call tool-state consistency support for on-policy, hypothesis-driven agent screening.
      • From these, a set of agents infers the properties a simulation depends on
      • the use cases the agent serves, profiles of synthetic users along with the data those users would carry, how the tools relate to one another and to the surrounding system, and the user trajectories that would call on each tool.
      • Some of these properties are resolved once during agent onboarding and others are resolved when a simulation begins.
      • A simulation prompt narrows a run to a chosen set of use cases or behaviors while leaving the rest of the inferred picture intact.
      • This model is called an agent profile. Using an agent profile, an orchestrator produces persona seeds.
      • These are partial seed states paired with a trajectory for how that data should evolve over a conversation.
      • At simulation time, a call to one of the agent’s tools is routed to the persona agent handling that conversation rather than to the real implementation.
      • only the individual tool calls at the boundary are answered, never an entire backend or database.
      • The simulated environment must not access production data through stateful tools
      • Testing the tools themselves is a separate concern, better served by other methods, and is not an aim here.
      • The agent retained tool control and sequencing
      • The standing CD suite was calibrated against human annotations
      • (E1) Card reissue failure; (E2) Customer input verification; (E3) Card delivery data check; (E4) Response conciseness; (E5) Resolution conciseness
      • (1) gathering proper inputs, (2) validity of card reissue, (3) information retrieval status, and (4) completeness of conversation
      • We compare each candidate’s failure rate with that of
      • Its purpose is to expose beneficial or harmful candidate–incumbent differences large enough to affect a deployment decision.
      • and a prespecified screening criterion
      • We selected Qwen3.5-122B-A10B with reasoning enabled as a starting point for prompt optimization based on its low Input failure rate and competitive Reissue and Complete results.
      • including GPT-OSS-120B (OpenAI and others, 2025), Nemotron-3-Super-120B-A12B (NVIDIA and others, 2026), Qwen3.5-122B-A10B (Qwen Team, 2026a), and Qwen3.6-35B-A3B
      • Because a simulated arm costs no customer exposure, the screen can afford to sweep configuration settings that would otherwise be argued from intuition.
      • run on Nemotron-3-Super-120B-A12B across three quantizations and three reasoning settings
      • At this sample size the three quantizations are indistinguishable
      • Snowglobe preserves the production extremes
      • {r=0.74} and Kendall
      • =0.67}; their largest absolute difference
      • Annotators correctly identified 42 of 50 production conversations
      • tNPS was statistically unchanged (−1.21
      • This represents a 6.4-percentage-point reduction
      • The p95 latency change is a point estimate from the serving stack.
      • evaluators surfaced behavioral regressions
      • To assess what can be achieved through direct prompting without Snowglobe’s structured orchestration, we implement a naive LLM-based simulator.
      • Snowglobe better preserves the production ordering than the baseline.
      • Simulation has become an essential part of our CX agent development lifecycle
      • comprising 50 production and 50 Snowglobe trajectories
      • GPT-5.2; tools to retrieve and update the registered delivery address.
      • Reported confidence was approximately 3 on the 1–5 scale
      • calibration of each new hypothesis-specific judge must be reported separately.
      • \boldsymbol{8.4\mathrm{K}}
      • \boldsymbol{2.3\mathrm{K}}
    2. Source 2:

      Nubank corta de 21,2 para 4,4 dias o ciclo de agente de IA

      IndependentLet's Money, Nov 8, 20268 Nov 2026By Gabriel PereiraIn PortugueseAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (13)
      • No estudo da equipe de AI Research do banco, cada versão nova ficou pronta, em média, em 4,4 dias, contra 21,2 dias no fluxo anterior, sem simulação.
      • Cada mudança em um agente de IA é uma aposta na experiência do cliente. A simulação nos permite testar essas apostas primeiro com clientes sintéticos, para que apenas as mudanças com resultados claramente melhores cheguem às pessoas
      • afirmou Rohan Ramanath, gerente-geral de IA do Nubank.
      • Na rodada offline, uma das versões avaliadas do Card Management levou a 16,0% a fatia de casos em que o robô passava o cliente a um atendente sem necessidade; na versão anterior, eram 22,4%.
      • teve tNPS 36,7 pontos acima do dele
      • O próprio Nubank pondera que esse ganho mistura duas coisas: o Card Management cobre mais tarefas que o agente de comparação, então o resultado mede o robô novo e o método juntos.
      • O banco também lembra que sessão encerrada sem pedido de atendente, sozinha, não prova que o problema foi resolvido.
      • e ficou com o Qwen, com raciocínio ligado.
      • Como cada ajuste parte de uma hipótese com meta de sucesso definida de antemão, fica registrado por que ele foi aprovado, algo que o banco considera útil em setor regulado.
      • A simulação ainda para nos sistemas que o agente aciona; levar o backend para dentro dela é o passo seguinte apontado pela própria empresa.
      • Números autodeclarados pela empresa.
      • O Card Delivery informa onde está a entrega do plástico e emite segunda via; o Card Management troca o endereço cadastrado e pede nova via.
      • Só o segundo teve as mudanças guiadas pela simulação.
    3. Source 3:

      Nubank usa clientes simulados para testar IA e eleva autoatendimento em 8,82 pontos

      IndependentParaíba Business, Nov 9, 20269 Nov 2026By Alexandre RodriguesIn PortugueseAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (4)
      • a taxa de sessões resolvidas sem atendente humano subiu 8,82 pontos percentuais em um teste com clientes reais, segundo artigo publicado em 24 de setembro de 2026 na plataforma científica arXiv
      • O trabalho cobre dois agentes de um único banco, em um mercado (Brasil) e em um canal (chat), segundo a análise do resumo.
      • Os resultados vêm de dois agentes de um único banco, o autor da simulação não cobre a infraestrutura real, e ainda não há avaliação de terceiros.
      • O texto é preliminar, e a simulação não cobre a infraestrutura real do banco, segundo a mesma newsletter.
    4. Source 4:

      Simulation-Maxxing: How Nubank ships agents 20× faster with simulations

      IndependentAI Engineer, 2026Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (30)
      • AI Engineer World's Fair 2026
      • Aman Gupta reports 135 million customers across Brazil, Mexico and Colombia
      • AI agents handle routine requests end to end, while human experts concentrate on difficult and long-tail cases.
      • Gupta attributes a 20× faster agent shipping cycle to generating evaluation data in simulation instead of waiting for production data. That is a reported operational result, without a defined timing baseline or aggregation method in the talk.
      • Production results: +26 pp average tNPS gain across five deployments.
      • A multi-turn agent example is a trajectory: user messages, agent responses, internal tool calls and the state those calls read or modify.
      • Gupta describes implementation taking hours in the best case, followed by days of offline evaluation on hand-curated data.
      • customer feedback forms produce sparse, noisy observations, and establishing a statistically significant improvement can take much longer.
      • Gupta reports shortening a weeks-long cycle to less than a day, sometimes hours or minutes.
      • The current tutorial makes the integration work explicit through wrappers, tool declarations and decorators
      • The concrete example is Maria Souza, an explicitly synthetic customer. She is a designer, a first-time credit-card customer, and wants to order a card.
      • it generates a fake address and credit-card data that remain consistent throughout
      • Her short, curt, one-line messages follow that persona rather than the verbose, cooperative dialogue a generic simulated user might produce.
      • When the agent calls a tool, the simulator returns valid mocked information identifying Maria and supplying her address for verification.
      • Gupta describes investing in automated prompt optimization, including GEPA, to improve those evaluations.
      • Gupta reports high correlation between the two, without giving a numerical coefficient.
      • Gupta reports that 80% of domain-expert labels confirmed that simulation data was usable. The talk does not provide the review sample size or detailed labeling rubric.
      • Gupta describes one regression detected before production and, in a separate agent, an issue that could have reduced the self-service rate.
      • The team now tries ideas in Snowglobe and waits until it is satisfied with simulation output before launching a candidate.
      • Higher TNPS can come at the cost of lower self-service if the agent hands more work to humans.
      • Gupta reports a 4% self-service-rate improvement in one case. The talk does not specify whether that means a relative percentage increase or percentage points.
      • Benchmarking 12 OSS model variants in simulation, with six weeks reported saved in online experiments.
      • At the time of the talk, production A/B tests were still running to establish whether the selected open-source models matched frontier models.
      • Principal Machine Learning Engineer, Nubank
      • Judge the trajectories. Apply evaluation judges to obtain per-turn information about agent behavior, then feed it into the existing evaluation pipeline.
      • Production A/B testing remains the next validation step.
      • But faster generation pays off only when the team closes the sim-to-real gap: compare simulation with observed production behavior through offline metrics, online metrics and human review.
      • Simulation accelerates the evaluation signal, not the implementation work.
      • Identify tools to mock. Determine which external dependencies the simulator must answer for the agent.
      • The demonstrated outcome is a faster shortlist, not established production parity.
    5. Source 5:

      Building Customer Support AI Agents at 100M-User Scale: An Evaluation-Driven Framework

      AcademicNubank, Jun 13, 202613 Jun 2026Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (6)
      • A central insight is that evaluation-pipeline quality directly determines iteration velocity.
      • We present results from five production deployments spanning distinct domains: card delivery, debt management, credit-limit support, card management, and product explanation.
      • In our card-delivery deployment, large-scale A/B testing yields a 37 percentage-point improvement in AI transactional Net Promoter Score and a 29 percentage-point gain in self-service rate over prior agent variants
      • Accepted to KDD '26 (32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining)
      • Submitted on 7 Jun 2026
      • rigorous LLM judge evaluation with measured inter-rater agreement and GEPA optimization for consistency
    6. Source 6:

      Accelerating AI Agent Development Through Simulation-Based Evaluation

      IndependentZenML, 2026Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (5)
      • The system begins by wrapping the agent being tested using the Snow Globe SDK, which requires minimal to no code changes.
      • This data pipes directly into Nubank’s evaluation pipeline, enabling data generation on demand rather than waiting for production traffic.
      • the case study comes from a joint presentation between Nubank and Snow Globe, with Snow Globe being a vendor providing the simulation platform.
      • The 80% human-verified usability rate for simulation data suggests that 20% of simulated scenarios may not be representative or useful, which could mask edge cases or distribution shift issues.
      • Implementing a sophisticated simulation infrastructure, creating robust evaluation metrics, and running continuous improvement loops requires significant engineering investment.
    7. Source 7:

      DoorDash Builds LLM Conversation Simulator to Test Customer Support Chatbots at Scale

      IndependentInfoQ, Mar 13, 202613 Mar 2026By Leela KumiliAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (4)
      • In the simulation environment, an LLM plays the customer while the production chatbot responds as it would in a real interaction.
      • Backend dependencies, such as order lookups or refund workflows, are reproduced with mocked service APIs, enabling realistic operational scenarios.
      • They then create an LLM-as-judge evaluation to detect the failure mode, calibrating it against human judgment to ensure accuracy.
      • Prompt adjustments, retrieval strategies, or context improvements are validated across hundreds of conversations before deployment.
    8. Source 8:

      Build Evals That Actually Matter - Nick Ung & Akshay Sharma, Lyft

      IndependentAI Engineer, 2026Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (4)
      • In Lyft’s simulator, a LangGraph agent interacts with a user LLM whose instructions define several distinct parts of the scenario
      • When asked to play Lyft users, they patiently described their problems in complete, polite messages.
      • Lyft fine-tuned its user LLM on actual Lyft user language so that the simulated conversations more closely resembled those interactions.
      • Nick reports a pass or accuracy rate above 90% in Lyft’s first offline evaluation with this overly accommodating user simulator.

    More in Engineering & Research

    View all