What you can migrate
The skill maps LangSmith’s final run
outputs to a plain-text output.value (not a raw tool/message timeline), copies session_id / thread_id to session.id, and preserves the run tree with parent links.
Migrate existing LangSmith data
1
Install the migration skill
2
Ask your coding agent to start
Use the Arize LangSmith migration skill. I want to import historical LangSmith traces into AX.Tell the agent your LangSmith project name and the AX space and destination project you want. Prefer a new AX project name so imported history stays separate from live traffic until you review it.
3
Provide connection details privately
Give the agent credentials through a local env file path you control, or let it generate a secure command you run in a separate terminal. Do not paste API keys into agent chat.
- LangSmith:
LANGSMITH_API_KEY(and workspace ID if your org requires it) - Create or find an AX API key and space ID for OTLP ingest
4
Review the plan and import
The agent confirms the source LangSmith project, destination AX project, and what it will import. Approve before it writes to AX.It exports runs through the LangSmith API and ingests them into AX over OTLP. A small project often finishes in a few minutes; larger histories take longer while AX indexes spans.
5
Verify in Arize AX
In the destination project, open a few traces and check:
- Output — the turn or root span shows the same final text you see in LangSmith Output (not a JSON message/parts dump)
- Tree — child spans nest under parents
- Sessions — turns that shared a LangSmith
session_id/thread_idgroup under the same AX session
6
Migrate prompts (optional)
Ask the agent to import LangSmith Prompt Hub prompts into the AX Prompt Hub. You can choose latest only or full version history.The agent lists prompts (
list_prompts / commits API), maps chat messages into AX message roles, creates each prompt with ax prompts create or the Python prompts client, then adds older commits with create_version and applies labels such as production when LangSmith tags exist.Confirm variable style ({var} vs {{var}}) if a template is ambiguous — AX supports F_STRING and MUSTACHE.What good imported traces look like
After you migrate
Historical import does not change where your running app sends new spans. When you are ready for new traffic in AX, follow Set up tracing and Configure your tracer.Keep LangSmith available until you have verified the import, because the skill reads from the LangSmith API. See the arize-migrate-langsmith skill source for current behavior and limits.