[Run backtests on a new version of an agent | 🦜️🛠️ LangSmith](https://docs.smith.langchain.com/evaluation/tutorials/backtesting): LLM should read this page when testing new versions of AI agents, setting up backtesting workflows, or comparing model performance against historical data. This page explains how to run backtests on new agent versions using LangSmith, covering the process of converting production traces to datasets, defining evaluators, benchmarking systems, and analyzing comparative results to identify improvement opportunities before deployment.

