The AI advisor
Ask the advisor to review a dataset, suggest a pipeline or explain a run; you approve every change.
The AI advisor is an optional helper. It reads a summary of your data or your results and gives advice in plain language: what to try, what to watch out for and why. It is there to save you time, not to make decisions for you.
The advisor is off until a workspace administrator connects an AI provider. If you do not see the advisor in your workspace, that is the reason. Everything else in mlflow works the same without it.
What the advisor can do
| Where | What you ask | What you get |
|---|---|---|
| Data, the AI button on a data source (Analyze with AI) | Review this dataset | A Suggested action, the Reasoning, Risk flags (for example a suspected leak, a small sample or high cardinality) and a Suggested config |
| Pipelines, the Pipeline assistant (Suggest a pipeline) | Propose steps and algorithms for this dataset | A list of steps and algorithms to add or remove, with risk flags |
| Quick train wizard, Ask AI | Design an experiment from a goal you write | A suggested configuration to copy into the wizard |
| Run, the AI explanation card (Explain) | What happened in this run? | What happened, Ideas to try, Next step and Flags |
| Run, the AI diagnosis card (Diagnose), for a failed run | Why did this fail? | A Diagnosis, a Suggested fix and Caveats |
| Deployments and Monitor | Review a deployment's risk, or explain drift | A written review with risk flags |
The advice is written for a person. Read the reasoning and the flags before you act on the suggestion.
Advisory only
The advisor never changes anything by itself. This is a design rule of mlflow, not a setting:
- Its output is a suggestion, always shown to you first. For a pipeline suggestion you see what would be Added, Removed or Unchanged, and nothing changes until you select Accept. Reject leaves everything as it was.
- Suggestions are checked against the real catalog of steps and algorithms. Anything the advisor invents that does not exist is dropped. If nothing usable remains, you see No usable suggestion.
- Training, deploying, deleting and promoting are done by mlflow's fixed engine, and only when you start them.
- The advisor can be wrong. Treat it like a colleague's quick opinion: useful, and worth checking.
The notes that appear on suggestions (Advisory only) are there to remind you of this. For example, a suggested configuration for a dataset is a starting point you can recreate in the pipeline editor.
Where it appears
You will meet the advisor in these places, always as a clearly labelled card or button:
- On the Data page, the AI button next to Explore and Versions.
- In Pipeline Studio, in the Columns part, the Pipeline assistant card.
- On a run, the AI explanation card on the Leaderboard tab and the AI diagnosis card on the Log tab of a failed run.
The pipeline assistant is not shown for time series pipelines, and it does not appear at all when no provider is set up.
Set it up (admins)
A workspace admin sets up the advisor once per workspace.
Open the settings
Open Settings, then Integrations, and find LLM provider settings.
Choose a provider
Pick the Provider: Anthropic (Claude) or OpenAI (GPT). Other providers are listed as coming later. Enter the Model name you want to use.
Enter the key
Enter the provider's API key. mlflow stores it encrypted and never shows it again; the page only says API key on file. To change it, select Rotate key.
For a provider with its own address, such as a model that runs inside your network, set a Base URL (optional). By default, only public https addresses are allowed. On a self-hosted server, the operator can allow private addresses, for example for a local model.
Test and save
Select Test connection. A message shows the provider and the response time. Make sure Enabled is on, then select Save changes.
To turn the advisor off, switch Enabled off, or select Clear to delete the stored key and settings. Until a key is saved, advisor features report an error instead of an answer.
You pay your provider directly for the requests. mlflow limits how often one person can call the advisor (30 requests per 5 minutes by default; your operator can change this), so a mistake cannot run up a large bill.
Privacy and limits
The advisor sends summaries, not your data.
- Dataset review and experiment design send the column names (long names are shortened), the type of each column, the number of distinct values and the share of missing values in a sample of up to 200 rows, plus the total number of rows. They send no rows and no cell values.
- Pipeline suggestions send the profile of the dataset: names, types, missing values, cardinality, and the average and spread of numeric columns that have many distinct values. They never send rows, individual values, minimums or maximums.
- Run explanations and diagnoses send the leaderboard and the engine events. Error text is cleaned first: quoted values, email addresses and long numbers are replaced.
- Text from your data is treated as untrusted. A column name that looks like an instruction is handled as a label and is not followed. Links in the answer are removed.
Each request is saved as a record in the workspace, with the question that was sent, the answer, the model and the time it took, so you can see what was shared.
Limits to remember:
- Read-only members (Viewers) cannot use the advisor, because each request costs money.
- The advisor works from summaries, so it cannot see problems that only show up in individual rows.
- It is not a replacement for reading the data profile and checking the results yourself.
The advisor is a good way to get unstuck and a poor way to skip understanding. Use it to learn why a step is suggested, then decide. Explaining a suggestion to your stakeholders is part of the job; see the lesson on working with stakeholders.
Next steps
Learn the theory
Lessons on learning.mlflow.es that explain the ideas behind this page.
Updated 2026-11-22