Supported resources
The tool migrates the following resources between a source instance and a destination data plane:
Each resource type has its own command, flags, and caveats. For the command reference, see the tool README.
Migrate with the tool
1
Install the tool
Install the latest release with
uv, uvx, or pip. For the current install commands, see Installation.Verify the install:2
Create the destination workspaces
Workspace IDs differ between instances, so create the target workspaces in the data plane first. Select the data plane when you create each workspace. A workspace cannot be moved to another data plane after creation. See Organizations, data planes, and workspaces.Migration commands run per workspace pair. Repeat them for each pair.
3
Create the destination agent environments
Create the agent environments you need in the destination workspace before you migrate automation rules, charts, or Engine issues. LangSmith assigns each environment’s tracer session name, so the tool cannot match a source project to an environment by name. Map them explicitly in a later step.
4
Configure the connection details
Set the source and destination credentials and endpoints:
OLD refers to your current LangSmith deployment, and NEW refers to the destination BYOC data plane:LANGSMITH_OLD_API_KEY: An API key from your current deployment with permission to read all resources you want to migrate. For LangSmith Cloud at smith.langchain.com, create it under Settings > API Keys. For another Cloud region or a self-hosted instance, use that deployment’s UI.LANGSMITH_NEW_API_KEY: An API key created under Settings > API Keys in the LangSmith UI that hosts your BYOC organization. See Regions and cloud providers for the URL on each cloud. Scope it to a workspace in your destination BYOC data plane. See Create an API key.LANGSMITH_OLD_BASE_URL: Your current deployment’s API URL. For LangSmith Cloud in GCP US, usehttps://api.smith.langchain.com. For another Cloud region, use its regional API URL. For self-hosted LangSmith, use your instance’s API URL.LANGSMITH_NEW_BASE_URL: Your destination BYOC data plane’s API URL, includinghttps://. Find it under Settings > Data Planes. See Find your data plane endpoint.
5
Test both connections
6
Map source projects to agent environments
Automation rules, charts, and Engine issues reference projects by ID, and IDs differ between instances. Without a mapping, the tool matches projects by name and creates a new destination project for any source project it cannot match, instead of using your agent environment.To map projects to environments:
-
List the source project IDs:
-
For each destination agent environment, resolve the agent environment and copy the returned
session_id. This value is the environment’stracer_session_id. -
Save the mapping in a JSON file, with each source project ID as a key and the destination environment’s
tracer_session_idas its value:
--project-mapping when you run the migration. The migrate-all, rules, charts, and issues commands accept it. To map projects interactively instead, use --map-projects.7
Run the migration
Use the interactive wizard to walk through every resource type:To migrate one resource type at a time, run its command instead, such as
datasets, prompts, or fleet. Add --dry-run to preview a step without writing, and -v for verbose output. Use langsmith-migrator resume to retry pending or failed items from a previous session.For per-command flags, workspace mapping, and project mapping, see the tool README.Complete the Fleet manual steps
Fleet resources migrate with thefleet command, but some values cannot cross instances. Complete the following in the destination workspace after migration:
- Re-enter secret values: The Fleet API does not return secret values. The tool creates workspace secrets and auth provider client secrets as empty placeholders.
- Re-authenticate OAuth connections: Per-user agent connections, such as Gmail, Slack, and GitHub, are tied to individual user tokens. Each user must reconnect.
- Re-share agents: Per-user access lists keep only user IDs that exist on the destination. The tool reports which users it removed.
- Check agent models: The tool substitutes a model when the destination catalog does not offer the source model. It logs every substitution.
- Configure infrastructure-level settings: OAuth providers, the GitHub App, and the Slack app can be recreated in the
Settings > Oauth ProvidersandFleet > IntegrationsUI.
fleet is safe.
Complete the Engine manual steps
Engine issues migrate with theissues command. The command uses your project mapping when you pass --project-mapping. Otherwise it creates a destination project for each source project with Engine data that it cannot match by name. Issues migrate as metadata only, and the command skips issues and project configurations that already exist on the destination.
To run Engine in the data plane, complete these steps in order:
- Enable Engine for the data plane: A LangChain operator enables Engine for your data plane. Contact your LangChain account team to request it.
- Turn on Engine: An Organization Admin goes to Settings > Engine, selects the data plane, and turns on Engine.
- Add model provider credentials: An Organization Admin adds credentials for your own model providers. Credentials are not migrated. See Engine on BYOC.
- Reconnect GitHub: Configure your GitHub App in the destination, then reconnect repositories in each agent environment that uses Engine. Repository settings migrate, but they work only after the destination has a GitHub connection. See Configure GitHub for Engine on BYOC.
- Recreate notification destinations: Connect your Slack app and add Slack, Jira, or webhook destinations again. See Engine notifications.
- Let Engine re-detect traces: Migrated issues have no linked traces, pull requests, or suggested actions. Engine links new traces to the issues as it analyzes traces in the data plane.
Move data the tool does not migrate
Traces
Trace migration is available only on AWS. On AWS, contact the LangChain team to arrange trace migration to your BYOC data plane. The data migration tool does not migrate traces. To keep a separate copy of historical traces, bulk export them to an S3-compatible bucket. To move traced agents, create API keys scoped to a workspace in the data plane, then repoint each agent:- Cut over: Set
LANGSMITH_ENDPOINTto the data plane endpoint andLANGSMITH_API_KEYto the new key. See Trace to a data plane. - Dual trace: Write to the old instance and the data plane during the transition. See Trace to multiple endpoints.
Deployed agents
Redeploy agents that run on your existing instance into a workspace in the data plane. Use the LangSmith UI or the API. You may also need to recreate service accounts, image pull secrets, and other resources in the data plane cluster. For agent databases and caches, choose one of the following:- Create new instances in the data plane and point the redeployed agents at them. Start empty, or restore from a backup of the old instance.
- Point the redeployed agents at your existing database instances, and reach them from the data plane cluster over private connectivity, such as network peering or your cloud’s private endpoint service (AWS PrivateLink, GCP Private Service Connect, or Azure Private Link).
Insights reports
Insights reports are not migrated across instances. To keep a report, open its details in the LangSmith UI and select Download.See also
Connect these docs to your agent of choice via MCP for real-time answers.

