> ## Documentation Index
> Fetch the complete documentation index at: https://langchain-5e9cc07a-preview-agentb-1767908653-d240b9c.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Compare traces

To compare traces, click on the **Compare** button in the upper right hand side of any trace view.

<img src="https://mintcdn.com/langchain-5e9cc07a-preview-agentb-1767908653-d240b9c/-XBnPn6g1yb6uYRD/langsmith/images/compare-button.png?fit=max&auto=format&n=-XBnPn6g1yb6uYRD&q=85&s=45986fc298e9bec031338f9ecbf04fdb" alt="Compare button" width="2936" height="1860" data-path="langsmith/images/compare-button.png" />

This will show the trace run table. Select the trace you want to compare against the original trace.

<img src="https://mintcdn.com/langchain-5e9cc07a-preview-agentb-1767908653-d240b9c/laQSQnn1aiI9_D3l/langsmith/images/select-trace.png?fit=max&auto=format&n=laQSQnn1aiI9_D3l&q=85&s=ca63100abf0eabdc42e0e38aeeb29f3e" alt="Select trace" width="2388" height="1856" data-path="langsmith/images/select-trace.png" />

The pane will open with both traces selected in a side by side comparison view.

<img src="https://mintcdn.com/langchain-5e9cc07a-preview-agentb-1767908653-d240b9c/-XBnPn6g1yb6uYRD/langsmith/images/compare-trace.png?fit=max&auto=format&n=-XBnPn6g1yb6uYRD&q=85&s=c4c834ff97b21591938475bda726c2df" alt="Compare trace" width="2930" height="1868" data-path="langsmith/images/compare-trace.png" />

To stop comparing, close the pane or click on **Stop comparing** in the upper right hand side of the pane.

***

<Callout icon="pen-to-square" iconType="regular">
  [Edit this page on GitHub](https://github.com/langchain-ai/docs/edit/main/src/langsmith/compare-traces.mdx) or [file an issue](https://github.com/langchain-ai/docs/issues/new/choose).
</Callout>

<Tip icon="terminal" iconType="regular">
  [Connect these docs](/use-these-docs) to Claude, VSCode, and more via MCP for real-time answers.
</Tip>
