Open deployed threads
- Open the LangSmith trace, selecting the root run.
- Click “Run in Studio”.
Testing local agents with remote traces
This section explains how to test a local agent against remote traces from LangSmith. This enables you to use production traces as input for local testing, allowing you to debug and verify agent modifications in your development environment.Requirements
- A LangSmith traced thread
- A locally running agent. See here for setup instructions.
Local agent requirements
- langgraph>=0.3.18
- langgraph-api>=0.0.32
- Contains the same set of nodes present in the remote trace
Cloning Thread
- Open the LangSmith trace, selecting the root run.
- Click the dropdown next to “Run in Studio”.
- Enter your local agent’s URL.
- Select “Clone thread locally”.
- If multiple graphs exist, select the target graph.