mlflow.crewai
The mlflow.crewai
module provides an API for tracing CrewAI AI agents.
-
mlflow.crewai.
autolog
(log_traces: bool = True, disable: bool = False, silent: bool = False)[source] Note
Experimental: This function may change or be removed in a future release without warning.
Note
Autologging is known to be compatible with the following package versions:
0.80.0
<=crewai
<=0.86.0
. Autologging may not succeed when used with package versions outside of this range.Enables (or disables) and configures autologging from CrewAI to MLflow. Note that asynchnorous APIs and Tool calling are not recorded now.
- Parameters
log_traces – If
True
, traces are logged for CrewAI agents. IfFalse
, no traces are collected during inference. Default toTrue
.disable – If
True
, disables the CrewAI autologging. Default toFalse
.silent – If
True
, suppress all event logs and warnings from MLflow during CrewAI autologging. IfFalse
, show all events and warnings.