Learn how Basalt Experiments help you optimize and improve your AI workflows.
Experiments are a powerful feature of Basalt that allow you to systematically test, compare, and optimize your AI workflows. Whether you’re fine-tuning prompts, evaluating different model parameters, or implementing A/B tests, experiments provide the structure and tools you need to make data-driven decisions.
In Basalt, an experiment is a collection of traces that are grouped together for comparison and analysis. When you attach a trace to an experiment, the trace data goes to the experiment instead of the regular monitoring system. This separation allows you to:
Think of experiments as scientific trials for your AI workflows. Just as scientists run controlled experiments to test hypotheses, you can use Basalt experiments to test ideas and measure their impact.
Complex AI workflows often combine multiple AI components with business logic code. When iterating on these workflows, it can be difficult to know whether changes improve the overall result. Experiments provide a structured way to compare different versions of your workflow:
Experiments are ideal for A/B testing different versions of complex workflows. For example, you can test whether:
By running the same set of inputs through different workflow variations within an experiment, you can see which version produces better results and make data-driven decisions about which approach to implement in production.
When you create an experiment in Basalt:
Importantly, experiments don’t change your regular monitoring - they provide a separate space for testing and comparison and be safely plugged in to your real monitoring.
After running an experiment, you can view and analyze the results in the Basalt application:
The dashboard provides powerful visualization tools that help you identify patterns, spot outliers, and draw conclusions from your experimental data.
View experiment resultsThe experiment interface is designed to help you answer the question: “Which version of my workflow performs better on the metrics I care about?”
To start using experiments, learn how to create experiments in your code.
By integrating experiments into your AI development process, you’ll gain deeper insights, make better decisions, and continuously improve your AI applications based on evidence rather than assumptions.