AskMavis
HelpChangelogRoadmapFeedback
  • Getting started
  • Your AI agent
    • Add training content
    • Try your agent in the Playground
    • Write instructions and pick a model
    • Drafts, publishing and versions
    • Customise the messenger
    • Proactive messages
    • Guardrails
    • Test your agent with simulated customers
    • Review chats in Activity
    • Leads
    • Agent analytics
    • Agent settings, duplicating and deleting
  • Actions and procedures
  • Install your agent
  • Helpdesk
  • Contacts
  • Help center and boards
  • Workspace and account
  • FAQ
Your AI agent

Test your agent with simulated customers

Save the conversations that matter most and check them automatically after every change.

AT
Written by AskMavis Team
Published 41m ago

Tests play out customer conversations with your agent for you. A simulated customer chats with the agent, then an AI judge checks the outcome against your success criteria. Run them after every change to catch problems before customers do.

The Tests tab of an AI agent, with the Add test button and how many free test credits are left this month.

Add a test

  1. Open your agent and go to Tests.
  2. Click Add test and fill in:
    • Name: for example "Refund for an opened bag".
    • Scenario: who the customer is and what they want. The simulated customer plays this part. Optional.
    • First message: what the customer says first, for example "Can I return coffee I've opened?"
    • Success criteria: what a good outcome looks like. The judge checks the meaning, not exact words.
    • Max turns: agent replies before the chat stops, from 1 to 20. The default is 4.
    • Conversations per run: play the test several times to see how steady the agent is, from 1 to 20.
    • Expected Actions: what the agent should do, for example Offers to connect a person, Suggests a help article, shows a reply button, runs an action, or starts or finishes a procedure.
    • Strict: also fail when the agent takes an action you didn't pick.
  3. Click Save test.

Run tests

Click Run on one test or Run all tests. Runs play in the background. Each conversation ends with passed, failed or no verdict, and the Pass rate counts passed out of conversations with a verdict.

Open Run history to see earlier runs, and Export CSV to share results. If you change the agent after a run, you'll see a note to run the tests again.

Credits

Each plan includes free test credits every month: 50 on Free, 200 on Starter, 1,000 on Growth and 3,000 on Business. One credit is one agent reply. When they run out, test replies use message credits.

Before a run starts, you see the most credits it can use.

Limits

Up to 100 tests per agent and 200 conversations per run.

Tips

  • Write tests for your most common questions and your riskiest ones, like refunds or complaints.
  • Make the success criteria specific: "Explains that only unopened bags can be returned within 30 days and offers a swap."
  • Run all tests before you publish a big change.

Related

  • Try your agent in the Playground
  • Drafts, publishing and versions

Was this article helpful?

Contact support

Related articles

  • Add training contentTeach your agent with Q&A, text snippets, files, help articles and canned responses.
  • Try your agent in the PlaygroundChat with your agent privately, test unpublished changes and compare models side by side.
  • Write instructions and pick a modelSet your agent's tone, focus and hard rules, and choose the AI model it answers with.
  • Drafts, publishing and versionsChange your agent safely in a draft, publish when ready and restore an older version if needed.
← Back to Help Center

On this page

  • Add a test
  • Run tests
  • Credits
  • Limits
  • Tips
  • Related
Powered by AskMavis