More Podcasts by InfoQ episodes

Simulation Can Tell You What Your Agents are Actually Doing: A Conversation with Zhou Yu thumbnail

Simulation Can Tell You What Your Agents are Actually Doing: A Conversation with Zhou Yu

Published 23 Nov 2026

Duration: 00:52:36

Simulating diverse user behaviors and goals is critical for evaluating non-deterministic AI agents, ensuring reliability and compliance through dynamic, goal-oriented testing in CI/CD pipelines.

Episode Description

In this podcast, Michael Stiefel spoke to Zhou Yu about using dynamic simulations to evaluate AI agents. One particular focus was conversational agent...

Overview

The podcast explores how simulation-based testing addresses the fundamental challenge of evaluating AI agents, which are non-deterministic, multi-turn, multi-tool systems unlike traditional software. Dr. Jo Yu, a computer science professor at Columbia University and co-founder of R-CLEX AI, explains that because agents generate different plans in real time and user inputs are exponential in complexity, static benchmarks and reference-based evaluation cannot work. Instead, the approach centers on simulated users with defined personas, goals, and behavioral attributes tested against goal-completion verifiers.

The discussion covers how these simulated scenarios integrate into CI/CD pipelines, which must evolve continuously as user distributions shift, new products launch, or new territories open. Testing spans design-phase prototyping, pre-deployment unit and integration tests, and daily regression checks on critical paths. Evaluation is never a single binary metric; task completion, cost, efficiency, compliance, and safety are all tracked with configurable thresholds.

Dr. Yu emphasizes that evaluation has shifted from a minor QA concern to a first-class engineering concern, noting that many teams still rely on manual human verification. She frames the future as self-evolving agents that use simulation reports to propose and validate their own fixes, closing the loop between testing and improvement.

What If

  • What if you plug your existing agent into an open-source user simulator this week?

    • Move: Download the ArcSim open-source Python package, expose your agent's API endpoint, and run a batch of auto-generated scenarios against it. Manually write two or three personas with distinct goals first, then hit the automatic scenario-generation button to expand coverage.
    • Why Now?: The source states this is "the easiest way you can get started for individual developers" and requires only that your agent is an API. No infrastructure rebuild is needed.
    • Expected Upside: You obtain a baseline goal-completion score and a set of failing traces to triage, replacing ad-hoc manual spot-checks with repeatable, parallelizable runs.
  • What if you add a daily regression batch for your agent's top critical paths?

    • Move: Identify the "important 90% branches" of your agent's workflows, encode them as goal-completion scenarios with verifiers, and schedule a small simulated-user batch to run every day against the production endpoint.
    • Why Now?: Dr. Yu notes that third-party tools and APIs "may or may not be working at a given time," and drift can go unnoticed between deploys. A daily batch catches regressions before users do.
    • Expected Upside: You surface silent breakage in tool calls or third-party dependencies early, reducing the proposal that a failed interaction reaches a real customer.
  • What if you mine your existing production logs to seed your first scenario library?

    • Move: Extract real user utterances, failed sessions, and common intents from your current logs. Feed them into the simulator's scenario generator to produce persona-and-goal pairs, then have a domain expert review and edit the output for coverage gaps such as code-switching or background noise.
    • Why Now?: The source emphasizes that "if you look at production data, you don't know the real intent behind the user," but you can still extract scenario diversity from it, and this closes the gap between synthetic and real behavior.
    • Expected Upside: Your test suite reflects actual user distribution rather than guessed edge cases, making the simulated-user fidelity problem smaller and your CI/CD pipeline more representative from day one.

Takeaway

  • Download the open-source simulator package, expose your agent as an API, and run auto-generated scenarios against it to get a first goal-completion baseline without building any test infrastructure yourself.
  • For every task your agent handles, write a task verifier (rule-based or LLM-judge) that checks whether the user's original goal was completed, rather than scoring individual turns.
  • Mine your existing production logs and product design docs to seed scenario personas and goals, then have a subject-matter expert edit the generated scenarios for coverage before wiring them into your CI/CD pipeline.
  • Configure per-metric thresholds (task completion, cost, compliance, safety) in your pipeline so that a deploy is gated on all metrics clearing their bar, not just a single pass/fail.
  • Schedule a small daily simulated-user batch against your critical-path scenarios to catch third-party tool breakage and behavioral drift between releases.

Recent Episodes of Podcasts by InfoQ

More Podcasts by InfoQ episodes

Simulation Can Tell You What Your Agents | Podcast Summarizer · 6wbc