Production GenAI systems are difficult to debug because agents are non-deterministic and hide their intermediate decisions.
2
MLflow adds tracing, retrieval evaluation, experiment tracking, and integrations for agent frameworks so teams can inspect and compare iterations.
3
MLflow aims to provide a unified workflow for developing, evaluating, deploying, and monitoring GenAI applications while remaining open to other evaluation tools.
Summary
Ben Wilson explains why moving an agent from a quick demo to production requires more than connecting an application to an LLM API. Agents can retrieve documents, call tools, and pass work between multiple roles, but their behavior is difficult to inspect. Teams must test retrieval relevance, document chunking, prompts, vector index settings, and model configurations while keeping track of rapidly changing experiments. MLflow addresses these problems with tracing, evaluation, tracking, and integrations for agent frameworks. Traces expose inputs, outputs, model settings, and intermediate steps. Evaluation can compare responses and retrieved documents against a static test set. Tracking records the state of each iteration so teams can return to an earlier version or select a candidate for deployment. Wilson also describes automatic tracing for AutoGen, LlamaIndex, and LangGraph, plus planned work for DSP and image-generation models. He presents MLflow as a unified system that can work alongside other evaluation tools rather than requiring an exclusive workflow.
Agents give ordinary users access to answers from company data
Wilson says analytics systems often leave company data available only to people who can write code, queries, and visualizations. Agents can combine large language models with tools that query or execute against company data. Multiple agents can take different roles and exchange turns, which can produce answers that fit the question and the available context. Retrieval supplies relevant data to a general model, allowing users to ask more complex questions than they could ask of a model without access to the company's indexed information.
A production agent has many moving parts that must be tested
A demo agent can be built in an afternoon, but a production system must handle debugging, retrieval, prompting, and deployment. Wilson describes agents as non-deterministic systems whose decisions are hard to explain when only the API interaction is visible. Teams must choose document chunk sizes, control context length and cost, decide how many documents to retrieve, tune prompts, and test the index itself. The number of available agent libraries adds another source of uncertainty, since each library takes a different approach.
MLflow tracing exposes what happens inside an agent
Wilson describes MLflow tracing as a way to inspect the black box around an agent request. A trace shows the inputs and outputs passed to each state or function, along with the top-level user input and system output. In the AutoGen example, the trace includes the assistants involved, their language-model calls, metadata, parameters, and configuration. This gives developers information they can use when changing a model or configuration and testing the next iteration.
Evaluation covers retrieval as well as the final answer
MLflow Evaluate and tracing show which document chunks were retrieved and what those chunks contain. Developers can check whether the returned information is relevant and decide whether to change the source data or its indexing. Wilson also describes evaluating a question against a gold-standard answer on a static data set. Each experiment can record the hypothesis, configuration, evaluation result, and trace, making it easier to compare versions and select a candidate for deployment.
Automatic integrations reduce the work needed to trace agent frameworks
MLflow's automatic tracing feature instruments supported frameworks without requiring tracing calls throughout the application code. Wilson names AutoGen, LlamaIndex, and LangGraph as supported integrations, with DSP support in progress. The goal is to make these integrations available through MLflow's top-level namespace. This lets developers load a logged agent, call it, and inspect the operations behind its response without manually adding instrumentation to every framework call.
A complex agent can combine retrieval, tools, and generated outputs
Wilson demonstrates an agent whose vector index contains the full Wikipedia corpus. To answer a question about how many Blu-ray discs could store a quantity of data, the agent retrieves facts about Blu-ray capacity and dimensions, then calls a tool to perform calculations. After the agent finishes, another endpoint generates an image. MLflow can log the agent and the generated image, allowing the team to inspect the state of this multi-step application over time.
MLflow is adding support for image models and open evaluation workflows
In the discussion, Wilson says the team is designing more native support for image and image-generation models. He points to an example using AutoGen with DALL-E 3 that logs generated images and prompt-to-image mappings. He also says MLflow is working to make evaluation prompts callable, so evaluation functions from other tools can be used within MLflow. He describes this as an effort to keep the evaluation ecosystem open rather than requiring every team to use only MLflow's built-in functions.
Tracing features will converge, while unified tracking remains MLflow's distinction
Wilson says MLflow tracing and LangSmith traces are broadly similar, and he expects tracing capabilities across GenAI frameworks to become widely comparable. He calls tracing a basic requirement for production systems. The difference he emphasizes is that MLflow combines tracing with its broader tracking ecosystem. The intended experience is one place for recording experiments, configurations, evaluation results, and traces while still allowing other evaluation tools to participate.
"There's a massive leap between building something that is a really fun demo that might take an afternoon to build and then moving over towards a production grade agentic system."05:30
Who should watch
You are building an agent prototype and need a practical path toward debugging, evaluation, and deployment.
Your application uses retrieval or multiple agent steps, and you need to see which documents, prompts, model settings, and tool calls produced an answer.
You are comparing MLflow with other GenAI tracing or evaluation tools and want to understand where its unified tracking workflow fits.