Skip to main content

MLflow Tutorial for AI Agents in Python

Trace, evaluate and monitor an AI agent built on Claude with MLflow: every call's prompt, answer, tokens and cost, then feedback, evaluation datasets and LLM judges. Beginner-friendly parts follow one customer support agent, all on your own computer.

1 part · 31 min read

Start with Part 1
  1. Trace Your First Claude Call with MLflow

    · 31 min read

    Start your own MLflow 3.18 tracking server, build a small Claude-powered customer support agent in Python, and trace every call it makes with mlflow.anthropic.autolog(): the prompt, the answer, thinking, prompt caching, token usage and the cost of each reply, in the MLflow UI.