argilla
Use Argilla 2.x for human-feedback dataset annotation, Python SDK dataset workflows, server deployment/operations, webhooks, and legacy v1/Rubrix migration.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- argilla
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use Argilla 2.x for human-feedback dataset annotation, Python SDK dataset workflows, server deployment/operations, webhooks, and legacy v1/Rubrix migration.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/package-overview.md3.7 KB
- 参考文档references/repo-provenance.md2.6 KB
- 参考文档references/repo-routing-metadata.json306 B
- 参考文档references/troubleshooting.md3.9 KB
- 脚本scripts/check_argilla_env.py3.6 KB
03 SKILL.md 正文
Argilla repo skill
Argilla is a self-hosted/open-source collaboration platform for building high-quality datasets for AI projects. Use this skill when a task involves Argilla 2.x SDK code, annotation dataset schemas, record logging, search/filter/export, Argilla server deployment, webhooks, or migration from Argilla v1/Rubrix.
The source project is mature/stable; prefer current documented Argilla 2.x workflows for new work and route legacy APIs only through the migration sub-skill.
Fast route map
| User request signal | Read this first | Why |
|---|---|---|
| Create/configure an Argilla dataset, fields/questions/metadata/vectors, log records, map columns, query/filter/export, use users/workspaces, or build a webhook listener | sub-skills/python-sdk/SKILL.md |
Current Argilla 2.x SDK API and dataset-feedback workflows |
Deploy or operate the server with Hugging Face Spaces, Docker Compose, Kubernetes/Helm, python -m argilla_server, database/search/Redis, OAuth/SSO, telemetry, proxy/base URL, or reindexing |
sub-skills/server-ops/SKILL.md |
Server package, CLI, service stack, config, and operational troubleshooting |
| Migrate old Argilla v1/Rubrix users, workspaces, or task-specific legacy datasets into Argilla 2.x | sub-skills/legacy-migration/SKILL.md |
Safe v1 compatibility and dataset schema migration guidance |
| Check whether this skill matches a checkout/version | references/repo-provenance.md |
Source commit, package versions, evidence paths, and refresh baseline |
| Need a high-level capability/dependency overview before choosing a route | references/package-overview.md |
Monorepo layout, package split, selected/excluded scope, and dependencies |
| Cross-cutting install/import/API-url/service troubleshooting | references/troubleshooting.md |
Quick triage and route-to-sub-skill guidance |
Minimal install and import checks
For current SDK-only workflows:
python -m pip install argilla
python - <<'PY'
import argilla as rg
print(rg.__version__)
print(rg.Argilla)
PY
For server operations, the server package is separate in source and deployments often use Docker/Spaces. If installed as a Python package, check it without starting services:
python - <<'PY'
import argilla_server
print(hasattr(argilla_server, "app"))
PY
python -m argilla_server --help
Run scripts/check_argilla_env.py for a safe local import/version check. Add --check-server only when the user intentionally wants a live API check and provides a reachable API URL/key.
Operating rules
- Treat Argilla as a service-backed package. Dataset creation, record logging, user/workspace changes, Hub import/export, webhook registration, server starts, migrations, reindexing, and deployment commands can mutate data or contact external services.
- For SDK work, create an explicit
rg.Argilla(api_url=..., api_key=...)client before constructing resources unless environment defaults are guaranteed. - For private Hugging Face Spaces, keep the Argilla API key separate from the Hugging Face bearer token header.
- For deployment work, validate configs and render CLI help before starting Docker/Kubernetes/server processes or running migrations.
- For legacy migration, export/back up first; do not install broad old
argilla-v1extras into a current Argilla 2.x server environment. - Do not route frontend implementation changes, repository CI, docs-generation, or heavy old notebooks through this runtime skill.
Bundled safe helpers
scripts/check_argilla_env.pychecks package importability and versions and optionally performs a liveclient.mecheck.sub-skills/python-sdk/scripts/build_dataset_template.pygenerates a dry-run-safe SDK dataset template.sub-skills/python-sdk/scripts/webhook_listener_template.pyprovides a webhook listener skeleton that is dry-run by default.sub-skills/server-ops/scripts/check_server_cli.pyrenders safeargilla_serverCLI help without starting services.sub-skills/server-ops/scripts/docker-compose.argilla.local.yamlis an adapted local Compose template; replace sample credentials and validate before running.sub-skills/legacy-migration/scripts/legacy_migration_skeleton.pyprints a safe TODO-based migration plan/template.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).