Agents unit tests

Build powerful unit tests for agents. Make sure your agents are working as expected and receive alerts when they are not.

There are two type of tests:

  • Custom tests (written in JS)
  • AI tests (written in English)

Custom tests

Examples of assertions:

  • Responds in valid JSON
  • Responds in less than 100 characters
  • Takes less than 1 second to respond

Custom tests use Deno under the hood and run in serverless environment.

AI tests

AI tests examples:

The response is positive and doesn't contain any negative words.
The response contains no more than 3 action items.

Questions? We're here to help.