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 - Autologging is known to be compatible with the following package versions: - 0.80.0<=- crewai<=- 0.150.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 asynchronous APIs and Tool calling are not recorded now. - Parameters
- log_traces – If - True, traces are logged for CrewAI agents. If- False, no traces are collected during inference. Default to- True.
- disable – If - True, disables the CrewAI autologging. Default to- False.
- silent – If - True, suppress all event logs and warnings from MLflow during CrewAI autologging. If- False, show all events and warnings.