Enterprise Search
Logo
Test Agent

Test Agent

Logo

2 mins read READ

Test Agent checks the agent behind your company Enterprise Search — what it can access, and the answers it gives. It's a live chat panel you talk to directly before rolling changes out to everyone.

es-test.png
es-test.png

How do I test my Enterprise Search agent?

Open Test agent, under Agent preview at the bottom of the Enterprise Search admin side-nav, to chat with your unpublished changes. Use it to sanity-check answers, tone, citations, and tool use before you consider your configuration done. Test conversations are real runs — they create a session and traces like any user search — so you can open the trace immediately afterwards in Observability › Traces. Test runs are made under your own user account and are real model calls, so they count toward the agent's usage and spending limits like any other conversation (see Spending (Observability)).

This is different from Preview app in the header, which opens the live Enterprise Chat (Ask Unify) app in a new tab.

How do I run a test?

  1. Open Test agent in the side-nav.

  2. Ask a question the way a user would.

  3. Read the answer and its trace: the tools invoked, the knowledge retrieved, and where the answer came from.

  4. Adjust the instructions, connectors, or indexed knowledge, and ask again.

  5. When the answers look right, Publish from the admin header so users get the changes. See Overview (Enterprise Search) for what publishing does.

What can I see while testing?

Alongside the agent's reply, the test view shows its trace — the reasoning and tool calls used to produce the answer, including the tools invoked, the knowledge retrieved, and where the answer came from, so you can adjust the instructions, connectors, or indexed knowledge accordingly.

For how to read a trace step by step, see Traces (Observability).

FAQs

Which configuration does Test Agent run — draft or published?

Test agent always runs your current working configuration, including edits you haven't published — which is what makes the test-and-refine loop work. To check what users get after you publish, open the Enterprise Chat (Ask Unify) app with Preview app in the header.

Can I test a published version?

No. In Enterprise Search, the Test agent panel always runs the current working configuration, including unpublished edits, and there's no version picker. To see the published experience, open the Enterprise Chat (Ask Unify) app with Preview app in the header.

What is the difference between Test and the AI Agent Playground?

Use Test to validate the agent you are preparing to deploy, including its instructions, knowledge, and tools. Use the AI Agent Playground to experiment with a tool or action in isolation against a demo agent.