Toolkits
The dltHub AI Harness is a set of toolkits, each a versioned bundle of skills, rules, an MCP server, and, in some toolkits, agent definitions for background agents. In each toolkit, a workflow ties them together and tells the agent which skill to run at each step and how to leverage the MCP. Each toolkit covers one job: build a REST API pipeline, add data-quality checks, deploy a workspace, and so on. Toolkits also act as guardrails, keeping the agent from diverging from proven dlt patterns and data-engineering best practices. Head to Installation to install them.
The development cycle
Toolkits map onto a five-stage pipeline lifecycle. Each toolkit owns one stage and guides the agent through it end to end, starting from an entry skill and running the rest in sequence.
| Stage | Purpose | Step-by-step guide |
|---|---|---|
| Ingest | Load data from sources (REST APIs, SQL databases, files) into a destination. | REST API source with dltHub AI Harness |
| Validate | Define column-level checks and load metrics to catch bad data early. | — |
| Transform | Reshape raw pipeline data into a curated model for downstream use. | Explore and transform your data |
| Deploy | Ship pipelines and notebooks to the dltHub platform on a schedule. | Deploy with the dltHub AI Harness |
| Observe | Explore loaded data and diagnose performance issues. | Explore and transform your data |
Ingest
rest-api-pipeline
Build REST API pipelines with dlt. Scope, debug, and validate data. See the worked example.
Skills (entry: /find-source)
/find-source: Find a dlt source for a given API or data provider./create-rest-api-pipeline: Scaffold a REST API pipeline from the discovered source./debug-pipeline: Inspect traces, load packages, and schema after a run./validate-data: Validate schema and data after a successful load./view-data: Query and explore loaded data via dataset API, ibis, and ReadableRelation./adjust-endpoint: Remove dev limits, add incremental loading, and handle rate-limits./new-endpoint: Add a new endpoint to an existing pipeline./optimize-rest-api-performance: Parallelize resources, tune page size and concurrency.
sql-database-pipeline
Connect to any SQL source, load tables to a destination, and tune performance with backends.
Skills (entry: /find-sql-database-source)
/find-sql-database-source: Find and explore a SQL database source (Postgres, MySQL, MS SQL, Oracle, SQLite, any SQLAlchemy)./create-sql-database-pipeline: Scaffold a pipeline from a SQL source./debug-sql-database-pipeline: Diagnose connection failures, driver issues, and failed jobs./validate-sql-database-data: Validate schema and column mappings after a load./view-sql-database-data: Query and explore loaded data./add-table: Add a new table or view to an existing pipeline./adjust-table: Remove dev limits, configure incremental loading and merge keys./optimize-sql-performance: Pick a faster backend, tune chunk size, parallelize tables.
filesystem-pipeline
Load files (CSV, Parquet, JSONL, or custom) from local disk, S3, GCS, Azure, or SFTP into a destination.
Skills (entry: /create-filesystem-pipeline)
/create-filesystem-pipeline: Load files (CSV, Parquet, JSONL, or custom) from local disk, S3, GCS, Azure, or SFTP./add-incremental-loading: Filter files by modification date, switch to merge with a primary key./optimize-filesystem-performance: Faster reader, parallel reads, narrower globs, chunked streaming.
Validate
data-quality
Inspect schema for candidates, define column-level validations and load metrics, run them on every pipeline load, and diagnose failures.
Skills (entry: /setup-data-quality)
/setup-data-quality: Set up data-quality workflows for a pipeline./define-data-quality-checks: Translate business rules and schema hints into checks and metrics./run-data-quality: Execute defined checks against a loaded pipeline./review-data-quality: Inspect check and metric outcomes and diagnose failures.
Transform
transformations
Transform raw dlt pipeline data into a Canonical Data Model using Kimball dimensional modeling and @dlt.hub.transformation functions. See the worked example.
Skills (entry: /annotate-sources)
/annotate-sources: Annotate dlt pipeline sources for transformation./create-ontology: Build a business entity graph (ontology) from annotated sources./generate-cdm: Generate a Canonical Data Model in DBML using Kimball dimensional modeling./create-transformation: Emit@dlt.hub.transformationfunctions that map source tables to CDM entities./debug-transformation: Diagnose transformation failures, SQL dialect errors, silently dropped columns./create-incremental-transformation: Make a transformation incremental, with the scheduler interval or a cursor that continues from the last run./run-transformations-in-jobs: Run ingestion and transformations as a chain of jobs with freshness checks, refresh and backfill.
Deploy
dlthub-platform
Deploy dltHub workspaces to the dltHub platform, run their jobs on schedules, serve notebooks and data apps, and keep the deployed jobs healthy. See the worked example.
Skills (entry: /prepare-deployment)
/prepare-deployment: Check that the workspace is ready for a deployment, set up a production destination and theprodprofile. It comes with thelocal-workspacetoolkit, which this toolkit installs./setup-remote-workspace: Check that the workspace can deploy, that the dltHub client and the MCP tools are there, log in and connect the default environment./deploy-workspace: Preview a deployment, deploy new jobs without a running schedule, run each of them once and switch its schedule on./maintain-dlthub-jobs: List jobs and job runs, pause, resume, start and cancel jobs, run a refresh, set variables and secrets./schedule-batch-jobs: Follow-up jobs, intervals, freshness checks, refresh and backfill of a chain of jobs./serve-data-apps: Serve notebooks, Streamlit apps and MCP servers, share them with a public link./add-environment-to-dlthub: Add a staging or ci environment with a workspace deployment of its own./debug-workspace-deployment: Find the cause of a failed, hanging or skipped job run./daily-workspace-health: Check what ran since yesterday, what failed, what is late and whether the data is fresh./new-pipeline-health: Check a new pipeline in depth: traces, row metrics, the incremental filter./size-job-instance: Decide on a bigger instance or a longer timeout for a job, with its budget math./create-background-agent: Write an agent definition for work that runs on its own after an event.
The toolkit also ships the job-inspector agent definition. Declare it as a job with run.agent("dlthub-platform:job-inspector", ...) and it diagnoses failed job runs unattended. See Background agents.
Observe
data-exploration
Connect to a pipeline, profile tables, plan charts, and assemble marimo dashboards. See the worked example.
Skills (entry: /explore-data)
/explore-data: Connect to a pipeline, profile tables, plan charts, write an analysis plan./build-notebook: Assemble a marimo notebook from the analysis plan and launch it.
performance
Diagnose the bottleneck stage (extract, normalize, load) and apply parallelism, workers, memory buffers, file rotation, and batching.
Skills (entry: /optimize-performance)
/optimize-performance: Source-agnostic tuning: parallelism, workers, memory buffers, file rotation, batching. For source-specific tuning, see the pipeline toolkit's own optimize skill.
What's next
- Deploy with the dltHub AI Harness walks through the
dlthub-platformtoolkit end-to-end.