1.9 Interactive Agent Playground
How to chat with agents live, inspect reasoning tokens (
An Exploratory Sandbox Before Anything Gets Locked Into a Test
Section titled “An Exploratory Sandbox Before Anything Gets Locked Into a Test”Writing an automated Case means committing to specifics up front: an exact user message, a rubric describing what a correct answer looks like, maybe a latency ceiling. Before you’re ready to commit to any of that, you usually need to just talk to the agent – try a few phrasings, see how it handles a follow-up question, notice what tools it reaches for on a case you hadn’t thought of yet. The Playground is that step: a live chat surface with no assertions and no pass/fail, so exploring doesn’t require authoring a single step first. (Each message you send costs 1 credit, and it is given back if your agent fails to answer.)
What the Playground Shows You That a Finished Run Report Doesn’t
Section titled “What the Playground Shows You That a Finished Run Report Doesn’t”Each reply arrives whole, with the time the agent took shown beside it, which surfaces a slow agent immediately, well before it would show up as a failed latency ceiling in an automated Case. (The Playground does not stream token by token.) Every tool call the agent makes is inspectable inline – the exact arguments it sent, not a summary of them – so you can catch an agent calling the wrong tool, or the right tool with a malformed argument, while you’re still in exploration mode rather than after wiring up an EXPECT_TOOL_CALL assertion that then mysteriously fails.
When the underlying model exposes them, reasoning tokens are shown inline too, wrapped in
Turning a Conversation Into a Permanent Test
Section titled “Turning a Conversation Into a Permanent Test”Once a chat session actually demonstrates something worth protecting against regression – a tricky edge case, a bug you just found, a conversation a customer might plausibly have – exporting it converts the full turn sequence, including every tool call that happened along the way, into a draft AI Agent test case on the Step Canvas. The user turns arrive pre-populated as SEND_USER_MESSAGE steps; you then add the assertions (an LLM judge rubric, an EXPECT_TOOL_CALL, a budget ceiling) that turn “this happened once” into “this must keep happening,” which is faster than re-typing the conversation from scratch on the canvas.