X-TALKPlaybook Edition 2.0 · 2026
Try X-TALK
Glossary3 min read

Q&A tests: how to check an AI agent before a change reaches customers

An agent is a product that changes every week. Q&A tests run after every change to instructions, knowledge or tools, and the change reaches customers only once they pass.

How a Q&A test works

A test scenario describes a situation and the expected behaviour, e.g. “A customer wants leasing as a private individual: the agent explains the offer and doesn't promise a credit decision”. During the test, AI plays the customer, the agent talks just as it would in production, and an AI judge scores the result. Tools that write data are simulated in tests, so a test doesn't create real tickets or bookings.

Q&A test results (demo agent, Polish interface): the last run, chat or voice channel, 1 or 3 runs per scenario, run history and a “Fix with Copilot” button.

Which scenarios to write

🎯

From the intent map

One or two scenarios per intent, plus edge cases: no consent to contact, a customer without data, a request for a person, an attempt to extract the instructions.

🤖

Suggested by AI

Copilot proposes a test set based on the agent's instructions, knowledge and tools. You choose and refine.

🔁

From real conversations

Every fix after a bad conversation gets a scenario that reproduces the problem, so it doesn't come back.

Scenarios of a demo “offer advisor” agent (Polish interface), e.g. “Save a complete lead with consent” and “Don't save a lead without consent”. Each has a priority and can be run on its own.

Why one run isn't enough

A model doesn't answer identically every time. Run key scenarios three times. If a scenario passes one time in three, it isn't “green”. A chat test costs about one grosz (a fraction of a cent) per conversation, so there's no reason not to test. Scenarios that matter on the phone are worth running in the voice channel too.

From a bad conversation to a fix

  1. 01

    A bad conversation

    From a hotspot, a customer rating or a listen-back.

  2. 02

    Diagnosis

    Copilot sees the transcript, the tool calls and the knowledge used, and points to the cause.

  3. 03

    A fix in the draft

    Instructions, knowledge or a tool. The live agent keeps working unchanged.

  4. 04

    A new scenario

    A test that reproduces the problem.

  5. 05

    Tests pass

    Only then “Apply”. The change stays in the history and can be rolled back.

Frequently asked questions

Do Q&A tests replace test calls with people?

Not entirely. Q&A tests make sure changes don't break known scenarios. Calls with people, especially voice calls in real surroundings, show things nobody predicted.

Will a test create a real ticket or booking?

No. Tools that write data are simulated in tests.

How much does running tests cost?

A chat test costs about one grosz per conversation, so the full scenario set can be run after every change.

Can I compare two versions of an agent?

Yes. The conversation lab runs the same scenarios on two variants, e.g. two versions of the instructions or two models.

More: chapter: Testing and improvement. Product: X-TALK agent testing.

Ready for the next step?

Describe your company in the free Copilot on x-talk.me. In a few minutes you will see your own agent in chat and on the phone. Or let's talk about what an AI communication centre could look like in your company.

+48 732 106 896 · x-talk.me