Case study

A consumer finance and tax software company is working with Veris to test and improve the agents behind its expert services

Its expert services complete a customer's task through a mix of AI execution and human expertise in one workflow: an agent prepares, a human expert reviews with the customer, the agent files. The company built its own simulation harness to test that workflow. Veris is replacing it: simulated customers and simulated experts on separate channels, stateful mock services seeded fresh for every run, timed events, and checks on both the final state and the path that reached it.

Updated 31 October 2026

The workflow under test

A service is defined as a bundle: its goal, the procedure to follow, the tasks it can delegate, and who may execute each one. The company's own illustration is preparing and filing a customer's tax return. Four tasks, two executors:

TaskExecutorResult
Document preparationHuman expert, working with the customerThe customer's situation and verified documents
Tax preparationThe agent, using its skills and toolsA draft return
Review and signatureHuman expert, working with the customerA reviewed and signed return, or requested corrections
FilingThe agent, using filing toolsSubmission and acceptance confirmation

The procedure is explicit about order and about stopping: request document preparation from an expert; once the documents are complete, prepare; send the draft to an expert for review and the customer's signature; if corrections are requested, go back and repeat the review; file only once the reviewed return is signed; and do not proceed past a missing document, an unresolved review issue or a missing signature.

An orchestration layer creates the tasks, assigns each one to the agent or to a human expert, and lets the agent resume when an expert's work completes. The agent's tools are reached over the Model Context Protocol. None of this is simple to test with a scripted conversation, because the agent is talking to an expert who is talking to a customer, work pauses while a human acts, and the thing that matters is whether the right steps happened in the right order.

What a scenario describes

The bundle says how to deliver a service. A scenario describes one situation in which the service is tested.

PartExample
Opening taskPrepare and file a customer's return.
ParticipantsThe real agent, a simulated taxpayer, and a simulated tax expert.
ChannelsExpert and customer; agent and expert. Who can perform work and who can converse are separate mechanisms.
Starting data and mocksSome documents are available; one required document is missing.
EventsThe missing document arrives after it is requested.
ChecksReview and signature precede filing; the final result includes a filing acknowledgment.

Each simulated person has a role, goals, facts and a way of behaving. When a task is assigned to a human, the simulation matches it to the simulated expert, who can message someone on their channel or complete the task directly, and the result is written back through the product's own task interface, with the task's identity and parent relationship intact. Nothing is inserted into the agent's memory; the agent is notified the way it would be in production.

How a run goes: a missing document, a review, then filing

  1. Start. The simulator submits the opening request and keeps the task and context identifiers.
  2. The agent asks for document preparation. The orchestration layer assigns it to an expert; the simulator finds the human work and matches it to the simulated expert.
  3. The expert talks to the customer. The customer reveals that a required document has not been uploaded.
  4. The document arrives. A scheduled event fires: the document's state changes first, then the corresponding notification is delivered. Logical time jumps to the next scheduled event when the conversation is quiet, and events land at turn boundaries rather than mid-turn.
  5. Document preparation completes. The expert's result is written back; the waiting agent is notified and continues.
  6. Prepare and review. The agent drafts the return and requests review. The simulated expert may request corrections instead of approving, and the run observes whether the agent handles that properly.
  7. File after approval. Once review and signature are present, the agent calls the filing tool: a stateful stand-in that records the submission and returns a controlled acknowledgment without filing anything real.
  8. Finish and evaluate. The run does not end because an HTTP request returned or the agent went quiet; it waits for the workflow to settle, then collects evidence and runs the checks.

How a run is graded

CheckQuestionExample
StateWhat became true?Was the return submitted, and was an acknowledgment stored?
TrajectoryWhat happened along the way?Did review and the customer's signature occur before submission?

Mechanical checks inspect task state, the state of the mocked services and the recorded events. Model-based rubrics handle the questions that need interpretation, such as whether the agent responded appropriately when the expert rejected the draft. Every check must pass for the scenario to pass. The result carries the check outcomes, the task and conversation trace, every recorded tool call, and the changes to the simulated services' state, with runtime, latency and token metrics aggregated so the team that owns a bundle can iterate on it.

Where Veris takes over

The company had built this harness itself: a runner that starts the real services in containers, a shim that finds human work and plays it, mocks, events and scorers. It runs on pull-request validation and on recurring regression. Veris is a drop-in replacement for the harness, with the product keeping what is the product's: task creation, assignment, execution and notification.

Veris providesThe company provides
Scenarios for the agent, each with a task, participants and success criteriaThe agent, unmodified, reachable at an endpoint Veris can call; or a container Veris runs
Synthetic personas that hold the conversation: the customer and the expertAn OpenTelemetry trace export: messages, tool calls, state changes and task state
The runtime that runs every scenario in isolation and decides when it endsAccess to any live services the agent should use for real
Mock MCP services seeded with realistic state, fresh for every run
Traces of every turn and every call to a mock service
Scoring and a result for each scenario
  1. Veris starts each session and sends the simulated people's messages to the agent, which answers as it would in production.
  2. When the agent calls a mocked resource, it reaches an MCP endpoint Veris provides for that run. Veris records every call and its effect on the mock's state.
  3. The agent exports its trace to Veris for each run, and the scorers read it alongside the conversation and the mocks' records.
  4. Results and traces come back for every scenario, through the API or the console, on every pull request and on the recurring regression schedule.

Status

The engagement is in scoping. The open questions are the practical ones: how a mock or a simulated person knows which of many concurrent runs it belongs to, which service the agent under test is reached through, and how the trace is exported. No results are published here until there are some; this page will be updated when the first scenarios run on Veris.

Questions

Why does the scenario need two simulated people?
Because the workflow has two humans in it. The agent talks to the expert, and the expert talks to the customer. Testing the agent alone against a scripted customer would skip the hand-offs the procedure is built around.
Are the mocked services static?
No. A mock can be a fixed response, but the ones that matter hold state, are seeded fresh for every run, and change when an event fires, such as a document arriving after it was requested. The filing stand-in records the submission and returns an acknowledgment without filing anything.
Does the agent have to change to run on Veris?
No. It is reached at an endpoint, or shipped as a container Veris runs, and it exports the trace it already emits. The product keeps task creation, assignment, execution and notification; Veris owns the participants, the test conditions and the evaluation around it.

Testing an agent that works alongside humans?

If your workflow hands tasks between an agent and people, bring the procedure. We will show you how the people, the pauses and the checks become a scenario.

Book a demo