Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

dlt (data load tool)

$ dlt Official Med Risk
dltHub · Database & Data · Apache-2.0 · macos / linux / windows

dlt 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.

FCRS-1.0 Score
83 /100
Good
Medium Confidence
Zero-Friction Install
pip install dlt
CLI vs MCP Decision CLI Preferred vs MCP

Scaffolds typed ELT sources, inspects normalized schemas (dlt pipeline <name> schema), and manages .dlt/ project configs directly in the workspace.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

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 --help and pipeline inspection commands
  • Lacks universal --json flag on CLI commands
Trust & Safety 19 / 25

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; drop and remote warehouse loads require caution
Setup & Portability 12 / 15

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
Utility & Efficiency 14 / 15

Eliminates boilerplate ELT schema inference, state checkpointing, and verified-source scaffolding across dozens of SaaS/API sources.

  • Verified source templates and automatic schema evolution
Maintenance & Lineage 10 / 10

Official dltHub repository (dlt-hub/dlt) under Apache-2.0 with rapid, active releases.

  • Official dlt-hub/dlt repository
Docs & Verifiability 9 / 10

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

Auth Modes
Env API Key Config File Service Account OAuth Browser
Credential Storage

Reads source/destination secrets from .dlt/secrets.toml, .dlt/config.toml, or uppercase environment variables; local pipeline state lives in ~/.dlt/pipelines/.

Side Effects
Read-Only Local Write Remote Write Billing Impact
Cost & Quotas

Apache-2.0 open-source CLI; loading into cloud warehouses incurs destination compute/storage charges.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Inspect local pipeline state and pending packages
dlt pipeline my_pipeline info

Displays destination settings, active schema name, and pending load packages for my_pipeline.

Print the normalized schema of a pipeline
dlt pipeline my_pipeline schema

Outputs the inferred tables, columns, and merge/write dispositions without querying remote warehouses.

Controlled Writes & Previews

Scaffold a verified source-to-DuckDB pipeline
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> info and schema surface 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 --json flag.
  • ! dlt init fetches verified source templates from GitHub unless offline/cached.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI