Skip to main content

Test and troubleshoot agentic virtual agents

Test, fine-tune, and troubleshoot your agentic virtual agents to ensure the quality and consistency of the customer interaction experience.

Preview agents in AI Studio

The inbuilt preview widget in AI Studio allows you to test the agent’s role and guidelines, connected data actions, knowledge configuration, start and exit behavior, and guardrails. For more information, see .

Test agents in Architect

Troubleshoot agents in Architect

Use Architect’s flow execution history and replay mode to investigate how an agentic virtual agent behaved during a conversation.

These tools provide visibility into the agent’s execution, including tool calls, knowledge lookups, guardrail events, and interaction outcomes. They help you determine why an interaction succeeded, failed, or was handed off.

Agent execution details

The flow execution history and replay mode features provide the following agent execution information:

Tool execution

Review tool execution details:

  • View the sequence of tool calls made during an interaction
  • Inspect both data action and knowledge tool calls
  • View the latency and execution status of each tool call
  • Inspect tool inputs and outputs, if available

The following tool execution statuses are available:

  • Success
  • Timeout
  • Error
  • Blocked (guardrail)

Interaction outcome

View how the agent completed the interaction, including:

  • Contained
  • Handed off
  • Escalated

You can also view the recorded exit reason to understand why the interaction ended in a particular way.

For example:

  • Tool timeout
  • Customer requested an agent
  • Guardrail limit exceeded

Interaction behaviour

Use the available execution details to determine whether unexpected behaviour originated from:

  • Tool execution
  • Knowledge retrieval
  • Guardrails
  • Agent configuration