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:
| Task | Executor | Result |
|---|---|---|
| Document preparation | Human expert, working with the customer | The customer's situation and verified documents |
| Tax preparation | The agent, using its skills and tools | A draft return |
| Review and signature | Human expert, working with the customer | A reviewed and signed return, or requested corrections |
| Filing | The agent, using filing tools | Submission 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.
| Part | Example |
|---|---|
| Opening task | Prepare and file a customer's return. |
| Participants | The real agent, a simulated taxpayer, and a simulated tax expert. |
| Channels | Expert and customer; agent and expert. Who can perform work and who can converse are separate mechanisms. |
| Starting data and mocks | Some documents are available; one required document is missing. |
| Events | The missing document arrives after it is requested. |
| Checks | Review 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
- Start. The simulator submits the opening request and keeps the task and context identifiers.
- 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.
- The expert talks to the customer. The customer reveals that a required document has not been uploaded.
- 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.
- Document preparation completes. The expert's result is written back; the waiting agent is notified and continues.
- 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.
- 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.
- 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
| Check | Question | Example |
|---|---|---|
| State | What became true? | Was the return submitted, and was an acknowledgment stored? |
| Trajectory | What 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 provides | The company provides |
|---|---|
| Scenarios for the agent, each with a task, participants and success criteria | The agent, unmodified, reachable at an endpoint Veris can call; or a container Veris runs |
| Synthetic personas that hold the conversation: the customer and the expert | An OpenTelemetry trace export: messages, tool calls, state changes and task state |
| The runtime that runs every scenario in isolation and decides when it ends | Access 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 |
- Veris starts each session and sends the simulated people's messages to the agent, which answers as it would in production.
- 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.
- The agent exports its trace to Veris for each run, and the scorers read it alongside the conversation and the mocks' records.
- 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.
