- Add automatic tracing for Claude Code, Codex, Qwen Code, and Gemini CLI as standalone TypeScript-based plugins installable as CLI binaries
- Add OpenClaw tracing plugin as a TypeScript-based plugin installable via npm with automatic tracing of OpenClaw sessions
- Add Guardrail base class and JudgeGuardrail implementation for AI Gateway guardrails with pre-LLM and post-LLM safety checks
- Add multimodal trace attachments support for images, audio, and files with click-to-expand image modals, inline rendering, audio playback, and size guards
- Add mlflow.diffusers flavor for saving and serving diffusion models and LoRA adapters
We're excited to announce MLflow 3.12.0rc0, which brings powerful new capabilities for agent developers:
Major New Features:
-
Automatic Tracing for more AI Coding Assistants: First-class tracing for Claude Code, Codex, Qwen Code, and Gemini CLI, now distributed as standalone TypeScript-based plugins installable as CLI binaries. Drop one into your CLI of choice and capture every prompt, tool call, and turn out-of-the-box. (#22338, #22410, #22411, #22409, #22853, @B-Step62, @kriscon-db)
-
OpenClaw Tracing Plugin: New TypeScript-based tracing plugin for OpenClaw. Install via npm and get full automatic tracing of OpenClaw sessions, no SDK changes required. Captures every prompt, tool call, and response across the session, allowing you to inspect agent behavior directly in the MLflow UI. (#22717)
-
AI Gateway Guardrails: Add safety checks to any agent endpoint with the new
Guardrailbase class andJudgeGuardrailimplementation. Configure pre-LLM and post-LLM guardrails directly from the Gateway endpoint editor, with full DB persistence, REST API, and gateway-level execution. Protect production agents from unsafe inputs and outputs without writing wrapper code. Tracing spans for guardrail execution are included. (#21964, #21960, #21962, #22306, #22360, #22577, #22581, #22767, @TomeHirata) -
Multimodal Trace Attachments: Trace agents that handle images, audio, and files, and view them directly in the MLflow UI. Click-to-expand image modals, inline rendering in span Details and Timeline views, audio playback, multi-part chat normalization for Gemini and OpenAI Responses API, and size guards for large media so the UI stays responsive. (#22465, #22461, #22451, #22462, #22466, #22460, #22449, #22450, #22574, #22575, #21783, @kriscon-db)
-
mlflow.diffusersFlavor: New first-class flavor for diffusion models. Save and serve LoRA adapters for image-generation pipelines with the samemlflow.<flavor>.log_modelergonomics as PyTorch or Transformers. (#22253, @Rasaboun)
Stay tuned for the full release, which will include even more features and bug fixes.
To try out this release candidate, please run:
`pip install mlflow==3.12.0rc0`