/arize-skills:arize-migrate-braintrustfrom arize-skills
Migrates LLM observability data from Braintrust to Arize AX, including historical traces via OTLP, datasets, and prompts. Use when switching observability platforms or importing Braintrust logs.
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 Braintrust data into Arize AX. Historical traces are in scope — export project logs via BTQL 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 braintrust. Do not fake migration with live-only AX traffic.output.value = final text/JSON string from Braintrust output — not a synthetic message timeline.chat.request) and group turns with attributes.session.id.BRAINTRUST_API_KEY; use ax profiles / env for Arize. Do not read .env from disk.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)BRAINTRUST_API_KEY (and BRAINTRUST_API_URL if not US cloud).env files or search the filesystem for credentials| Data | Move? | Path |
|---|---|---|
| Historical project logs / spans | Yes | scripts/migrate_vendor_traces.py --vendor braintrust |
| Datasets | Yes | BTQL / API → ax datasets create |
| Prompts | Yes | GET /v1/prompt → 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) |
| Scorers / experiments | Recreate / re-run for now | Do not import old scores as AX experiment truth |
| Braintrust | Arize |
|---|---|
output | output.value (string via JSON dump if needed) |
input | input.value |
name + heuristics | openinference.span.kind |
span_parents | OTLP parentSpanId |
chat.request (turn) | one AX trace — do not keep Braintrust's one-trace-per-conversation |
metadata.session_id (conversation / chat.session) | session.id |
metadata.user_id | user.id |
chat.session wrapper | skip as a span; grouping is via session.id |
| — | migration.source=braintrust |
Migration progress:
- [ ] 0. Confirm scope (space, AX project, resource types)
- [ ] 1. Preflight (ax + Braintrust auth)
- [ ] 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 Braintrust source project name.
ax projects list --space SPACE (or create destination project)BRAINTRUST_API_KEY and that project logs existLocate 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 (Braintrust uses the public REST API, so extra packages are optional).
export ARIZE_API_KEY=... ARIZE_SPACE_ID=... BRAINTRUST_API_KEY=...
python scripts/migrate_vendor_traces.py \
--vendor braintrust \
--source-project SOURCE_PROJECT \
--arize-project DEST_PROJECT \
--limit 200
Optional: --dry-run to preview mapping without ingest.
Verify:
ax spans export DEST_PROJECT --space SPACE -l 50 --days 7 --stdout
Confirm string output.value, parent links via parent_id, multiple traces per conversation when turns exist, and session.id grouping those turns.
See Braintrust export recipes → flatten → ax datasets create.
Ask latest only vs versions / environments. Then:
GET /v1/prompt (filter by project_name / slug as needed)version / environment query params when importing historyprompt_data.prompt messages → AX roles; flatten text blocks to content stringsF_STRING vs MUSTACHE from template syntax; ask if unclearax prompts create then ax prompts create-version oldest→newest (required flags: --help of each); map Braintrust environments to AX labels with ax prompts set-version-labels VERSION_ID --label NAME when the user wants them (version ID from the create or create-version output; repeat --label, since it replaces existing labels)Skip non-prompt functions (tools/scorers) unless the user explicitly wants those recreated separately.
Recreate or re-run in AX for now.
Summarize spans imported, trace/session counts, sample output.value, prompts/versions/labels, and gaps.
.arize-tmp-migrate/braintrust/ for raw exports. Add .arize-tmp-migrate/ to the user project's .gitignore before writing exports.
arize-instrumentation, arize-dataset, arize-trace, arize-migrate-langsmith, arize-migrate-langfuse
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
llm-observability, data-migration, braintrust, arize-ax, otlp
npx claudepluginhub arize-ai/arize-skills --plugin arize-skills18 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./arize-compliance-auditINVOKE THIS SKILL when auditing an AI agent or LLM app for regulatory compliance. Covers EU AI Act, GPAI Code of Practice, GDPR, NIST AI RMF, Colorado AI Act, HIPAA, and ISO 42001. Scans the codebase for compliance gaps, cross-references Arize instrumentation for audit trail coverage, and produces an actionable remediation checklist tailored to the selected frameworks./arize-datasetCreates, manages, and queries Arize datasets and examples. Covers dataset CRUD, appending examples, exporting data, and file-based dataset creation using the ax CLI. Use when the user needs test data, evaluation examples, or mentions create dataset, list datasets, export dataset, append examples, dataset version, golden dataset, or test set./arize-evaluatorHandles LLM-as-judge and code evaluator workflows on Arize including creating/updating evaluators, running evaluations on spans or experiments, managing tasks, trigger-run operations, column mapping, and continuous monitoring. Use when the user mentions create evaluator, LLM judge, code evaluator, hallucination, faithfulness, correctness, relevance, run eval, score spans, score experiment, trigger-run, column mapping, continuous monitoring, or improve evaluator prompt.Other plugins' skills for the same job