DVC
$ dvc Official Med RiskData Version Control (dvc) versions large ML datasets, models, and reproducible dvc.yaml pipelines alongside Git. Inspection commands like dvc status --json, dvc diff --json, and dvc metrics diff --json provide crisp machine-readable outputs for agents.
brew install dvc Git-companion CLI (dvc status --json, dvc metrics diff --json) built directly for repo/CI automation without MCP.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
First-class --json and --md on status, diff, metrics diff, and params diff, plus dvc repro --dry dry-run mode.
- Supports
--jsononstatus/diff/metrics diffandrepro --dry
Read/diff commands are safe; repro executes shell commands defined in dvc.yaml and push/pull transfer large datasets to remote storage.
dvc reproexecutes stages fromdvc.yaml;push/pulltouch remote buckets
Installable via brew, pip, uvx, and standalone packages; optional remote extras (dvc[s3], dvc[gs]) needed for cloud backends via pip.
- Cross-platform via Homebrew and PyPI (
dvc[s3]etc.)
Great for reproducible ML pipelines and metric/dataset diffs alongside Git, though startup takes ~0.5–1s.
- Git-integrated data versioning and DAG pipeline caching
Official iterative/dvc project under Apache-2.0.
- Official
iterative/dvcrepository
Thorough command reference at dvc.org/doc/command-reference.
- Official command reference at dvc.org
Security, Auth & Guardrails
Remote storage credentials (S3/GCS/Azure) are stored in .dvc/config.local (gitignored) or standard cloud env vars.
Free, Apache-2.0 open-source CLI; remote object storage (S3/GCS/R2) billed by your cloud provider.
# DVC Agent Rules - Always run `dvc status --json` or `dvc repro --dry` before running `dvc repro` or `dvc pull` on huge datasets. - Store remote credentials in `.dvc/config.local` (never committed `.dvc/config`).
Agent-Ready Command Recipes
Safe Read-Only Queries
dvc status --json
Reports modified, added, or missing tracked data files in JSON without mutating state.
dvc metrics diff --json HEAD~1 HEAD
Outputs structured metric deltas (--json) between two commits.
Controlled Writes & Previews
dvc repro --dry
Prints which dvc.yaml pipeline stages are out of date (--dry) without executing them.
Strengths for Agents
- +
dvc status --json,dvc diff --json, anddvc metrics diff --jsonmake ML repo state easily parsable. - +
dvc repro --drypreviews pipeline execution cleanly.
Caveats & Pitfalls
- ! Python startup latency (~500–1000 ms) per invocation.
- ! Cloud storage backends installed via
piprequire extras likedvc[s3]ordvc[gs].