dlt (data load tool)
$ dlt Official Med Riskdlt is the official CLI for dltHub's Python ELT library. Agents use dlt init to scaffold verified source-to-destination pipelines (REST API, Postgres, DuckDB, Snowflake, BigQuery), dlt pipeline <name> info|schema|trace to inspect local state, and dlt deploy for CI/orchestrator workflows.
pip install dlt Scaffolds typed ELT sources, inspects normalized schemas (dlt pipeline <name> schema), and manages .dlt/ project configs directly in the workspace.
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
Structured subcommands (init, pipeline <name> info|schema|trace, deploy) with non-interactive flags, though output is predominantly human-formatted text rather than --json.
- Clear Click-based
--helpandpipelineinspection commands - Lacks universal
--jsonflag on CLI commands
info/schema/trace are read-only, while pipeline drop, sync, and running generated pipelines against cloud warehouses can mutate or incur billing.
- Read-only
info/schema;dropand remote warehouse loads require caution
Cross-platform Python package via pip or uvx; destination extras (e.g. dlt[duckdb], dlt[bigquery]) require extra dependencies.
- PyPI package (
pip install dlt) with optional destination extras
Eliminates boilerplate ELT schema inference, state checkpointing, and verified-source scaffolding across dozens of SaaS/API sources.
- Verified source templates and automatic schema evolution
Official dltHub repository (dlt-hub/dlt) under Apache-2.0 with rapid, active releases.
- Official
dlt-hub/dltrepository
Detailed CLI reference and source/destination guides at dlthub.com/docs.
- Official CLI reference at dlthub.com/docs/reference/command-line-interface
Security, Auth & Guardrails
Reads source/destination secrets from .dlt/secrets.toml, .dlt/config.toml, or uppercase environment variables; local pipeline state lives in ~/.dlt/pipelines/.
Apache-2.0 open-source CLI; loading into cloud warehouses incurs destination compute/storage charges.
# dlt CLI Agent Rules - Inspect state first with `dlt pipeline <name> info` and `dlt pipeline <name> schema` before running `drop` or `sync`. - Never commit `.dlt/secrets.toml` to git; test against `duckdb` before targeting billable cloud warehouses (`bigquery`, `snowflake`).
Agent-Ready Command Recipes
Safe Read-Only Queries
dlt pipeline my_pipeline info
Displays destination settings, active schema name, and pending load packages for my_pipeline.
dlt pipeline my_pipeline schema
Outputs the inferred tables, columns, and merge/write dispositions without querying remote warehouses.
Controlled Writes & Previews
dlt init rest_api duckdb
Downloads the verified rest_api source template configured for a local duckdb destination.
Strengths for Agents
- +
dlt init <source> <dest>scaffolds production-ready Python ELT pipelines in seconds. - +
dlt pipeline <name> infoandschemasurface local state and inferred tables cleanly. - + Seamless local DuckDB testing before deploying to cloud warehouses.
Caveats & Pitfalls
- ! Most CLI inspection commands emit formatted text/YAML rather than a universal
--jsonflag. - !
dlt initfetches verified source templates from GitHub unless offline/cached.