> ## Documentation Index
> Fetch the complete documentation index at: https://docs.winningvariant.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage Experiments with AI

> Use Snowflake Intelligence to create and manage experiments.

Use Snowflake Intelligence and Cortex to manage experiments.

Winning Variant ships with a "Winning Variant Experiment Assistant" Cortex agent (in the `ai` schema) that allows you to create and manage experiments via Snowflake Intelligence. Simply describe what you would like to do to have the assets created or updated for you.

## Creating Experiments

Describe the experiment you would like to create. Include as many details as possible. The agent will prompt you for more information if needed. Experiment properties include:

* Name
* Subject Type
* Description (optional)
* Hypothesis (optional)
* Lab (optional)
* Variants in the experiment, with names, descriptions, and which is control
* Initial cohort: the split for each variant

<Frame>
  <img src="https://mintcdn.com/winningvariant/pp0FFWqIIa6aIBZz/CreateExperiment.gif?s=eb2ce6bed3791b7a3ff485b9fbf035e1" alt="Create Experiment" width="812" height="713" data-path="CreateExperiment.gif" />
</Frame>

## Listing / Detailing Experiments

List experiments of a particular status or get details for an experiment. Sample prompts include:

* *List all active experiments*
* *List experiments with a winner declared*
* *Give me the details of XYZ experiment*
* *Show the current cohort for XYZ experiment*

<Frame>
  <img src="https://mintcdn.com/winningvariant/pp0FFWqIIa6aIBZz/ListExperiment.gif?s=c046a1b4f5adfe80a2cce4e6ead638f0" alt="List Experiment" width="812" height="713" data-path="ListExperiment.gif" />
</Frame>

## Adding Variants & Cohorts

Variants and cohorts may be added over the life of an experiment. Sample prompts:

* *Add a new variant "Treatment B" to experiment XYZ with the description "Slight modification to experiment"*
* *Add a new cohort for XYZ test: control 20%, treatment A 40%, treatment B 40%*
* *Ramp up XYZ to 50/50*

<Frame>
  <img src="https://mintcdn.com/winningvariant/pp0FFWqIIa6aIBZz/NewCohort.gif?s=be7c0414350aaa113d2987bebd1ae221" alt="New Cohort" width="812" height="713" data-path="NewCohort.gif" />
</Frame>

## Changing Experiment Status

The [experiment lifecycle](/resources/experiments) can be managed, as well. Simply describe what status you want to move the experiment to with associated information. Sample prompts:

* *Set the treatment as the winner for XYZ experiment*
* *Activate XYZ experiment*
* *Mark XYZ experiment as ended*

<Frame>
  <img src="https://mintcdn.com/winningvariant/pp0FFWqIIa6aIBZz/WinnerDeclared.gif?s=a329baa953e7f2f0c481e80c9ad5450b" alt="Winner Declared" width="812" height="713" data-path="WinnerDeclared.gif" />
</Frame>

<Info>
  All recordings above have been sped up through the Cortex thinking stage. Actual speed of responses may vary.
</Info>
