The playground is an interactive chat interface for testing agents in real-time — your safe space to experiment and validate before deploying.Documentation Index
Fetch the complete documentation index at: https://docs.duckie.ai/llms.txt
Use this file to discover all available pages before exploring further.
Using the Playground
Viewing Execution Details
The execution panel shows everything that happened:Steps Executed
See the sequence of actions:- Message received
- Guardrails checked
- Knowledge searched
- Runbook/workflow executed
- Response generated
Knowledge Retrieved
See what the agent found:- Which articles matched
- Relevance scores
- Content used in response
Tool Calls
See what actions were taken:- Tool name
- Input parameters
- Output/result
- Success or failure
Reasoning
Understand why the agent made decisions:- How it interpreted the question
- Why it chose certain knowledge
- How it formulated the response
Testing Scenarios
Happy Path Testing
Test common questions with clear answers:Edge Case Testing
Test unusual or difficult scenarios:Guardrail Testing
Test messages that should trigger escalation:Knowledge Testing
Test for knowledge gaps:Turning Playground Scenarios Into Batch Tests
Use successful playground conversations as source material for manual batch tickets:Add a custom ticket
Open Manage tickets, click Add custom ticket, and recreate the customer and agent messages from the playground scenario.
Replay Real Conversations
Use Replay Testing when you want to start from existing support conversations instead of manually recreating a scenario. Replay testing fetches historical conversations from connected sources, splits them into turns, and lets you generate a new Duckie response for a selected turn.Rating Responses
Provide feedback on response quality:- 👍 Good response
- 👎 Needs improvement
- Add comments for context
Starting a New Conversation
To start fresh:- Click New Conversation or the refresh icon
- Previous conversation is cleared
- Context is reset
Tips for Effective Testing
Test Like a Customer
Write messages the way customers actually write:- Incomplete sentences
- Typos and informal language
- Multiple questions at once
- Vague descriptions
Test Conversation Flow
Don’t just test single messages — test multi-turn conversations:- Customer asks question
- Agent responds
- Customer asks follow-up
- Agent maintains context
Document Issues
When you find problems:- Note what you asked
- Note what the agent did wrong
- Check execution details for root cause
- Update configuration to fix
Test After Changes
After updating agent configuration:- Re-test affected scenarios
- Verify the fix works
- Check for regressions
Playground vs Production
| Aspect | Playground | Production |
|---|---|---|
| Messages | You send manually | Real customers |
| Context | Fresh each conversation | Full history |
| Actions | May be simulated | Real execution |
| Visibility | Only you | Customers see |
Playground is for validation. Always follow up with testing mode on real traffic before going live.
Next Steps
Replay Testing
Test against real conversations
Batch Testing
Automate your tests