How to evaluate multi-turn conversations
A multi-turn conversation is an exchange where an agent answers several user messages in a row. To evaluate it, group the turns into one session and score the whole session against what the user was trying to do, not each reply on its own.
By Arun Prasad · Published · Last updated
On this page
Why multi-turn evaluation matters
A reply can look fine on its own while the conversation fails. Single-turn checks and status codes only see one message at a time.
AI agents don't fail like normal software. A tool can return a 200 and the task can still fail. Standard monitoring shows the request went through, not whether the answer was right.
In a conversation, the failure often appears across turns. The agent forgets a detail the user gave three messages ago. It drifts away from the original request. Or it ends the exchange without ever resolving what the user asked for. Each reply may read well in isolation.
Scoring one reply at a time misses problems that only show across the conversation.
Step 1: Group every turn into one session
Send the same session ID with every turn, so the turns are stored as one conversation. Without it, you have a pile of unrelated single replies.
In PRISM by Block Convey, traces that share a session_id form one conversation. Two limits matter here:
- PRISM does not infer sessions. If you send traces over OpenTelemetry, turns are grouped only from attributes you declare: gen_ai.conversation.id, session.id or prismtrace.session_id.
- Sessions can't be backfilled. Declare the ID from the first turn. Traces already sent without one stay separate.
If you use LangGraph or Google ADK (Beta in the SDK), PRISM can read the framework's own conversation ID (LangGraph thread_id, ADK session_id). That needs SDK version 0.5.0 or later.
See the PRISM integration docs for setup details on each path.
Step 2: Score the whole conversation, not just each reply
Use both turn-level and session-level scores: a turn can pass on its own while the session fails, and vice versa. PRISM supports both via deterministic and LLM-as-judge evaluators.
PRISM runs evaluators on real runs. There are two kinds of rule:
- Deterministic rules give the same verdict for the same input. They use no model and run on 100% of sessions.
- LLM-as-judge rules use a model that reads the exchange. The judge scores every incoming trace until the daily limit is reached (Free: 100 a day). After that, only the deterministic rules run for the rest of the day.
Each verdict links to the rule, the span, the source checked and the reason. Core scores are on the Free plan. Custom evaluators and the Evaluators Hub need Builder or above. See how PRISM evaluators work.
Step 3: Look for drift and unresolved goals
Look for three things in PRISM Sessions: where the conversation started, where it went, and whether the user got their outcome. Drift means the agent moving away from the original goal.
Three parts of PRISM help with this:
- Sessions show the multi-turn journey and drift. This is one of the four connected views in Agent Observability, alongside Traces, Agent Runs, and Scores & Alerts. PRISM tracks the outcome against the user's goal, not just whether each span succeeded (a span is one step inside a trace, such as a single tool call). Agent Observability also groups repeated failures into patterns, with a count of how many sessions share each one.
- Agent Intelligence finds patterns across runs: user intent, how conversations feel, repeated failures and missing knowledge.
- End User Intelligence (Growth plan and above) shows user-level patterns, repeated friction and unresolved goals, with the sessions behind each signal.
Start with the patterns that touch the most sessions. One recurring failure is a better first fix than many one-off ones.
Step 4: Turn failing conversations into repeatable tests
Turn failing conversations into repeatable tests by writing simulated users that mirror the failure. Good simulated users change their intent, leave out details and ask things the agent doesn't know.
Synthetic Scenarios takes a structured approach: it writes simulated users from your app description and Knowledge Base.
- You describe your app. PRISM writes simulated users from that description and your Knowledge Base: 7 app-specific types, plus 3 that try to break it.
- The scenarios cover changing intent, missing details, tool problems, out-of-knowledge questions and edge cases. PRISM then judges whether the simulated user got what they came for.
- A failing scenario becomes a regression test.
How this looks in production
In production, PRISM keeps a multi-turn conversation together as one session, and the Sessions view shows the journey and drift across its turns. Whether this works depends on the session ID you send.
If you send traces over OpenTelemetry, point the exporter at the /api/otlp endpoint using http/protobuf or http/json (gRPC is not served). Then declare the conversation ID on each turn's traces. The exporter setup, including the key header, is in the PRISM docs.
Example:
# Attribute declared on each turn's traces in one conversation
# (one of the three declared attribute names is enough)
gen_ai.conversation.id = "<your conversation ID>"All turns that carry the same value are grouped into one session. Without a declared attribute, PRISM does not guess.
What you see depends on what your integration sends. Agent steps (tool calls, retries, handoffs, state) appear in Agent Runs when your integration sends them. Scores and patterns follow from the evaluators and Agent Intelligence described above, and automatic tasks run about hourly.
Common mistakes
Most of these mistakes come from judging single replies or single steps instead of the whole conversation.
- Scoring only the final reply. The last message can be polite and correct while the conversation never solved the user's problem. Fix: score each turn in context and score the whole session too, as in Step 2.
- Not sending a session ID. Without one, the turns are separate traces and you lose the conversation. Sessions can't be backfilled. Fix: declare the session ID from the first turn.
- Trusting status codes or span success. A tool can return a 200 and the task can still fail. Fix: check the outcome against what the user wanted, not just whether each step ran.
- Testing only scripted, happy-path chats. Simulated users that change intent or leave out details catch failures that scripted tests miss. Fix: add simulated users that change intent or leave out details, as in Step 4. In PRISM, Synthetic Scenarios covers these cases.
How do I know if a conversation drifted?
A conversation has drifted when the agent's replies move away from the goal the user stated at the start. In PRISM, the Sessions view shows the multi-turn journey alongside the user's original intent, so you can see the point where the agent started heading elsewhere. Agent Intelligence surfaces repeated drift patterns across many sessions, so you can tell whether a drift is a one-off or a consistent failure.
See whole conversations, not just single replies
Send your traces with a session ID and PRISM groups them into sessions you can review for drift. Core observability and automatic scoring are free; custom evaluators and the Evaluators Hub are on paid plans.
Free to start, 100 credits each month.