How to test your agent in the sandbox
Use the sandbox to chat with your AI agent and validate replies, actions and tone before publishing it.
Watch this step in the video · The tester: chat, channel and contact
The sandbox is a safe environment where you can chat with your AI agent without any real customer seeing those conversations. It's the required step before pushing changes to production.
What the sandbox is for
- Check the tone and quality of replies.
- Confirm the AI uses the knowledge base correctly.
- Verify it runs actions (booking, tagging, handoff) properly.
- Catch invented or out-of-bounds answers.
How to start a test
- Open your AI agent and go to the sandbox tab.
- Type a message the way a real customer would.
- Read the reply and check whether it used correct data.
- Continue the conversation to simulate a full case.
Which cases to test
- Frequent questions: prices, hours, location.
- Edge cases: something the AI should not answer.
- Actions: explicitly ask to book an appointment and verify it gets created.
- Handoff: ask to talk to a human and confirm it escalates.
How to read what you see
- If the AI invents data, information is missing from the instructions or knowledge base.
- If the tone is off, adjust the instructions.
- If an action fails, check that the tool is enabled and properly configured.
Iterate and test again
- Spot a concrete problem.
- Make a single change to instructions or knowledge base.
- Go back to the sandbox and repeat the same case.
- Once it's solid, then publish.
Final tip: keep a list of "test cases" you re-run on every important change. That way you make sure you don't break something that already worked while fixing something else.
Related articles
-
Create your first AI agent
Learn what an AI agent does in Omnifox, how to give it instructions, connect it to a channel and test it in the sandbox before it talks to real customers.
-
How to write good instructions for your AI agent
Learn how to write clear instructions so your AI agent replies with the right tone, limits and actions.
-
AI Agents complete guide
AI Agents in depth, in 65 chapters: creating, instructions, tools, knowledge, behavior, tester, inbox, workflows, analytics and usage, with every setting explained.
-
Connect your AI agent to WhatsApp, Instagram, Messenger and web chat
An agent with no channels serves nobody. Connect it to your WhatsApp, Instagram, Messenger or website chat from the Connections section, then switch it on so it starts replying.
-
Start here: AI Agents in 8 minutes
AI Agents essentials in a short video: creating an agent, its instructions, tools, knowledge, channels, the tester, hours and handing over to a person.