/arize-skills:arize-migrate-langfusefrom arize-skills
Migrates LLM observability data from Langfuse to Arize AX, including historical traces via OTLP, datasets, and prompts. Use when switching observability platforms or importing Langfuse observations into AX.
Ships in arize-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Move Langfuse data into Arize AX. Historical traces are in scope — export observations and ingest into AX via OTLP with explicit attribute mapping.
SPACE— Prefer user-provided space name/ID; do not paginateax spaces listfirst just to look it up.
scripts/migrate_vendor_traces.py --vendor langfuse. Do not fake migration with live-only AX traffic.output.value = observation output as text — unwrap simple wrappers; do not place message/parts timelines in output.value.sessionId → attributes.session.id; userId → user.id.ax profiles / env for Arize. Do not read .env from disk.LANGFUSE_BASE_URL to the region that issued the keys (EU vs US).Proceed with the task. If something fails, troubleshoot from the error:
ax missing / version error → ax setup401 Unauthorized / missing Arize key → ax profiles (or ask for ARIZE_API_KEY + ARIZE_SPACE_ID for OTLP)LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY, and LANGFUSE_BASE_URL.env files or search the filesystem for credentials| Data | Move? | Path |
|---|---|---|
| Historical observations / traces | Yes | scripts/migrate_vendor_traces.py --vendor langfuse |
| Datasets | Yes | Public API → ax datasets create |
| Prompts | Yes | GET /api/public/v2/prompts → ax prompts create / ax prompts create-version / ax prompts set-version-labels |
| Live traffic going forward | Separate | Point new traffic at AX after import (not part of this skill) |
| Evaluators / experiments | Recreate / re-run for now | Do not import old scores as AX experiment truth |
| Langfuse | Arize |
|---|---|
Observation output | output.value (string) |
Observation input | input.value |
Trace sessionId | session.id |
Trace userId | user.id |
type (GENERATION/SPAN/TOOL/AGENT/…) | openinference.span.kind |
parentObservationId / traceId | OTLP parent / trace id |
Optional --tag | Restrict import to tagged traces |
| — | migration.source=langfuse |
Migration progress:
- [ ] 0. Confirm scope (space, AX project, resource types)
- [ ] 1. Preflight (Langfuse auth + AX project)
- [ ] 2. Import historical traces (required when migrating traces)
- [ ] 3. Datasets
- [ ] 4. Prompts / evaluators (optional)
- [ ] 5. Live cutover (optional)
- [ ] 6. Verify
Target AX space + destination project name. Confirm Langfuse host/region.
ax projects list --space SPACE (or create destination project)Locate this installed skill's root and run its bundled commands by absolute path, so they work from any workspace. Check the chosen interpreter is Python 3.10 or later. Create an isolated environment if needed; see helper dependencies (Langfuse uses the public REST API, so extra packages are optional).
export ARIZE_API_KEY=... ARIZE_SPACE_ID=...
export LANGFUSE_PUBLIC_KEY=... LANGFUSE_SECRET_KEY=... LANGFUSE_BASE_URL=...
python scripts/migrate_vendor_traces.py \
--vendor langfuse \
--arize-project DEST_PROJECT \
--limit 200
Optional filters:
--tag TAG — only observations belonging to traces with that Langfuse tag (useful when the project also has unrelated experiment traffic)--dry-run — preview mapping without ingestVerify:
ax spans export DEST_PROJECT --space SPACE -l 50 --days 7 --stdout
Confirm string output.value, parent_id links, and session.id when Langfuse traces had sessionId.
See Langfuse export recipes → flatten → ax datasets create. Run ax datasets create --help for the required flags.
Ask production/latest only vs all versions. Then:
GET /api/public/v2/prompts to list names, versions, and labelsGET /api/public/v2/prompts/{name}?version=N (or label=) for each version to importtext prompts → a single AX message; map chat prompts → role/content arrays (SYSTEM / USER / ASSISTANT)F_STRING vs MUSTACHE; ask if mixedax prompts create, then ax prompts create-version in version order; apply Langfuse labels (production, staging, …) with ax prompts set-version-labels VERSION_ID --label NAME (version ID from the create or create-version output; repeat --label, since it replaces existing labels)Recreate or re-run in AX for now.
Summarize spans imported, sample output.value, session coverage, prompts/versions/labels, and gaps.
.arize-tmp-migrate/langfuse/ for raw exports. Add .arize-tmp-migrate/ to the user project's .gitignore before writing exports, so raw exports stay out of version control.
arize-instrumentation, arize-dataset, arize-trace, arize-migrate-langsmith, arize-migrate-braintrust
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 skills in this plugin
/arize-adminManages Arize users, organizations, spaces, projects, roles, role bindings, resource restrictions, and API keys via the ax CLI. Use for enterprise admin workflows: inviting and offboarding users, onboarding new teams, creating custom roles for SAML/SSO mappings, assigning roles to users, restricting project-level access, and managing service keys for multi-tenant architectures. Covers ax users, ax organizations, ax spaces, ax projects, ax roles, ax role-bindings, and ax api-keys./arize-ai-provider-integrationCreates, reads, updates, and deletes Arize AI integrations that store LLM provider credentials used by evaluators and other Arize features. Supports the LLM providers in the `--provider` enum (e.g. OpenAI, Anthropic, Azure OpenAI, AWS Bedrock, Vertex AI, Gemini, NVIDIA NIM, Fireworks AI, Together AI, DeepSeek). Use when the user mentions AI integration, LLM provider credentials, create integration, list integrations, update credentials, delete integration, or connecting an LLM provider to Arize./arize-annotationCreates and manages annotation configs (categorical, continuous, freeform label schemas) and annotation queues (human review workflows) on Arize. Applies human annotations to project spans via the Python SDK. Use when the user mentions annotation config, annotation queue, label schema, human feedback, bulk annotate spans, update_annotations, labeling queue, annotate record, or human review.npx claudepluginhub arize-ai/arize-skills --plugin arize-skillsOther plugins' skills for the same job