Skip to main content

How to test workflows on Maxim?

Test AI agents using workflows that are configured and stored on the Maxim platform. This approach leverages the With Workflow ID function to execute pre-configured workflows without needing to handle HTTP calls manually.
Before using this approach, ensure your workflow is configured on the Maxim platform with “output” and “context” fields configured properly.This is needed to know how to parse the response from the endpoint to get output and context.

Basic Workflow Testing

Use the With Workflow ID function to test agents configured as workflows on the Maxim platform:

Using Presets

If you have saved test configuration presets on the Maxim platform, you can use them to automatically load datasets, evaluators, and other settings without specifying them manually:
Python
Any values you set explicitly via other builder methods will take priority over the preset defaults:
Python
If the preset includes human evaluators, you must also call with_human_evaluation_config to provide the reviewer emails.

Next Steps