Choose an MLflow backend
[mlflow] mode in config/fleet.toml sets the default backend: "local" (the default) or "databricks". A command can override it. You never select the backend in .env.
Each backend has separate experiments for runtime Turns, evaluation, and GEPA optimization.
Override any value with the matching
FLEET_MLFLOW_LOCAL_* or FLEET_MLFLOW_DATABRICKS_* variable. See the configuration reference.
Local MLflow
fleet cli starts a local MLflow server on port 5001 if none is running, and stores its data in .fleet/mlflow. If a server already answers on that port, fleet cli reuses it.
fleet serve and the standalone fleet eval, fleet trace, and fleet optimize commands don’t start MLflow. They fail with Local MLflow is not reachable at http://127.0.0.1:5001 until you start it with fleet cli or run an MLflow server yourself.
Databricks MLflow
DATABRICKS_HOST and DATABRICKS_TOKEN. Fleet uses these for tracking only, not for model inference. Databricks mode requires the Unity Catalog catalog, trace schemas, trace table prefixes, and SQL warehouse ID in [mlflow.databricks]. Experiment names must be absolute workspace paths.
Fleet rejects the retired
FLEET_MLFLOW_MODE, MLFLOW_TRACKING_URI, and MLFLOW_EXPERIMENT_NAME settings in .env with Retired MLflow settings. Select the backend with [mlflow] mode or --mlflow local|databricks instead.Find a Turn’s trace
The Turn ID is the trace’sclient_request_id, so you can join a stream event, a stored Turn, and its trace. MLflow also groups traces by Session through the mlflow.trace.session metadata.
In the terminal, /trace prints the most recent persisted trace ID for the Session. /history shows the trace ID next to each saved Turn.
GET /health reports the MLflow destination the server initialized, including mode, tracking_uri, the experiment names, and ready.
Trace tags
Fleet tags every Turn trace so you can filter and compare runs.Spans
A
sandbox.exec span that bridges host calls contains the host work it waits on. To total Sandbox compute, sum root sandbox.exec spans only, so you don’t count nested work twice.
Workspace transfer spans
Workspace transfer spans show whether time goes to path checks or to the transfer itself. Fleet records them only inside an active trace. They carry these attributes:
Each span’s output records
completed, which is false when the operation failed. Span durations include retries and backoff. Transfer spans nest inside the sandbox.input_* spans, so don’t add nested durations together.
Fleet never records file names, file contents, or credentials on these spans. When a transfer fails, Fleet sets the span status to ERROR without paths or exception details, and the caller still receives the original error.
Verify trace delivery
fleet trace verify flushes pending exports and reads one stored trace back from the configured destination.
Trace export verified with the span count and destination. For Unity Catalog, pass the fully qualified trace:/ reference. The command fails if the trace is missing, has no spans, or is stored outside the configured Unity Catalog location.