Legacy migration
Use this sub-skill when you need to move legacy Argilla v1/Rubrix users, workspaces, and task-specific datasets into Argilla 2.x, or when you need to explain why a legacy dataset should not be migrated as-is.
Read these bundled references:
references/migration-workflow.md when you are planning the migration order, choosing a v1-to-v2 mapping, or deciding whether the source is already a FeedbackDataset.
references/legacy-api-reference.md when you need the exact legacy compatibility calls, the current v2 counterparts, or the dependency traps to avoid.
references/troubleshooting.md when imports, credentials, IDs/passwords, record shapes, or search-index refresh questions fail.
Run this bundled script:
scripts/legacy_migration_skeleton.py when you want a safe argparse starting point or a TODO-based migration plan template. It only prints a plan/template and does not talk to a server unless you later edit the placeholder hooks.
Use this sub-skill for:
import argilla.v1 as rg_v1 compatibility workflows.
- Retrieving legacy users and workspaces from a v1/Rubrix server.
- Recreating users and workspaces on a current Argilla 2.x server.
- Rebuilding
DatasetForTextClassification, DatasetForTokenClassification, and DatasetForText2Text as v2 rg.Settings + rg.Dataset objects.
- Mapping legacy records into
dataset.records.log(...) with fields, metadata, vectors, suggestions, and responses.
Do not use this sub-skill for:
- Fresh current-only dataset workflows -> use
python-sdk.
- Deployment, proxying, or search-index reindex mechanics -> use
server-ops.
- Deep legacy training, monitoring, or listener frameworks -> out of scope here.
Before you start, confirm:
- Legacy server URL and API key.
- Current Argilla 2.x server URL and API key.
- Backups and export-first handling.
- Passwords cannot be recovered from the legacy server.
- If IDs and passwords must stay stable, a same-server upgrade or temporary v2 copy path is safer than a fresh re-creation.
- If you need the old package for deeper inspection, keep it in a separate legacy inspection environment; do not add broad legacy extras to the current Argilla 2.x server env.
Migration in one line:
- Extract from
rg_v1.
- Recreate
rg.User and rg.Workspace.
- Define v2
rg.Settings and rg.Dataset.
- Convert legacy records to
rg.Record.
- Upload with
dataset.records.log(...).
- Hand off search-index refresh questions to
server-ops when the problem is operational rather than schema-level.
Note: FeedbackDataset already uses the v2 format. Do not run the legacy schema migration for it; only search-index refresh/reindex may be needed after a 2.x server change.
Provenance: distilled from the current Argilla 2.8.0dev0 SDK/server inspection, the legacy-dataset migration guide, the Rubrix migration note, the argilla.v1 shim, and argilla-v1 package metadata/source names.
1---2name: legacy-migration3description: "Migrate Argilla v1/Rubrix users, workspaces, and legacy task4 datasets into Argilla 2.x safely."5disable-model-invocation: true6metadata:7 source: https://skillmd.com/skills/vectorspacelab/legacy-migration8 disco-role: operating9license: Apache 2.010---1112# Legacy migration1314Use this sub-skill when you need to move legacy Argilla v1/Rubrix users, workspaces, and task-specific datasets into Argilla 2.x, or when you need to explain why a legacy dataset should not be migrated as-is.1516Read these bundled references:1718- `references/migration-workflow.md` when you are planning the migration order, choosing a v1-to-v2 mapping, or deciding whether the source is already a `FeedbackDataset`.19- `references/legacy-api-reference.md` when you need the exact legacy compatibility calls, the current v2 counterparts, or the dependency traps to avoid.20- `references/troubleshooting.md` when imports, credentials, IDs/passwords, record shapes, or search-index refresh questions fail.2122Run this bundled script:2324- `scripts/legacy_migration_skeleton.py` when you want a safe argparse starting point or a TODO-based migration plan template. It only prints a plan/template and does not talk to a server unless you later edit the placeholder hooks.2526Use this sub-skill for:2728- `import argilla.v1 as rg_v1` compatibility workflows.29- Retrieving legacy users and workspaces from a v1/Rubrix server.30- Recreating users and workspaces on a current Argilla 2.x server.31- Rebuilding `DatasetForTextClassification`, `DatasetForTokenClassification`, and `DatasetForText2Text` as v2 `rg.Settings` + `rg.Dataset` objects.32- Mapping legacy records into `dataset.records.log(...)` with fields, metadata, vectors, suggestions, and responses.3334Do not use this sub-skill for:3536- Fresh current-only dataset workflows -> use `python-sdk`.37- Deployment, proxying, or search-index reindex mechanics -> use `server-ops`.38- Deep legacy training, monitoring, or listener frameworks -> out of scope here.3940Before you start, confirm:4142- Legacy server URL and API key.43- Current Argilla 2.x server URL and API key.44- Backups and export-first handling.45- Passwords cannot be recovered from the legacy server.46- If IDs and passwords must stay stable, a same-server upgrade or temporary v2 copy path is safer than a fresh re-creation.47- If you need the old package for deeper inspection, keep it in a separate legacy inspection environment; do not add broad legacy extras to the current Argilla 2.x server env.4849Migration in one line:50511. Extract from `rg_v1`.522. Recreate `rg.User` and `rg.Workspace`.533. Define v2 `rg.Settings` and `rg.Dataset`.544. Convert legacy records to `rg.Record`.555. Upload with `dataset.records.log(...)`.566. Hand off search-index refresh questions to `server-ops` when the problem is operational rather than schema-level.5758Note: `FeedbackDataset` already uses the v2 format. Do not run the legacy schema migration for it; only search-index refresh/reindex may be needed after a 2.x server change.5960Provenance: distilled from the current Argilla 2.8.0dev0 SDK/server inspection, the legacy-dataset migration guide, the Rubrix migration note, the `argilla.v1` shim, and `argilla-v1` package metadata/source names.