A Framework for Running Experiments Using AI