dltHub AI Harness is a collection of AI coding assistant toolkits released by dlt-hub, used to let AI assistants build dlt-based data pipelines following a step-by-step workflow. dlt (data load tool) is an open-source Python library used to load data from APIs and databases into a warehouse or lakehouse; dltHub is a paid platform built on top of dlt that adds capabilities such as transformations, data quality checks, managed runtime, managed data apps, and AI workspace for coding agents. The toolkit can be used as-is, or forked and customized for your own tech stack.
Main capabilities and workflow:
- Supports an iterative data engineering process. The first phase is ingestion, and the second phase is transformation. Each phase repeats the loop of "build (local development) — explore and validate the loaded data — repeat until the pipeline works"; then it moves to "run (production)": deploy the ingestion or transformation pipeline to production, and provide insights through data apps based on the loaded data. There is also a loop between the two phases: insights from the transformation and serving layers feed back into the ingestion phase.
- The toolkit is divided by purpose into build toolkits and run toolkits. Build toolkits cover ingestion (REST API, SQL), transformation, and data quality; run toolkits cover deployment and exploration. The REST API toolkit is supported by dltHub context and contains more than 9,700 source definitions, which agents can query to find verified connectors before writing code. New users can start with the quick start toolkit to get a guided end-to-end run from data to dashboard.
- Each toolkit contains skills, commands, rules, agents, and MCP servers, and is connected by a workflow that tells the assistant which skill to run at each step and how to use the MCP server. All toolkits depend on init to provide shared rules, secret handling, and the MCP server; when using the dlthub ai CLI, init is installed automatically as a dependency, while when using the Claude marketplace, the init plugin must be installed separately.
MCP servers:
- dlt-workspace-mcp (local, installed by dlthub ai init) exposes data inspection tools (list_tables, preview_table, execute_sql_query, get_row_counts, get_table_schema,export_schema, get_local_pipeline_state), secrets tools (secrets_view_redacted, secrets_update_fragment), and toolkit discovery (list_toolkits, toolkit_info).
- The dltHub context (remote) provides search_dlthub_sources, which the find-source skill uses to search 9,700+ REST API source definitions and return verified connectors and reference links before writing code. With the MCP server, the assistant can answer questions such as "which tables are loaded?" or "show the schema" without manually pasting output.
How to use:
- New project (recommended): run dlthub-init, which is non-interactive and can be run by the coding assistant on your behalf; it pins the dlt[hub] version and runs uv sync.
- Existing project: run dlthub-init in the same location; it merges pyproject.toml, preserves secrets.toml, and adds missing lines to .gitignore, then pins dlt[hub] and runs uv sync.
- Manual steps (fallback): if dlthub-init is unavailable, or if you prefer to perform each step yourself.
- All dlthub ai commands use the uv run dlthub ... syntax; if installed globally or in an activated virtual environment, you can omit uv run and call dlthub directly, but uv is recommended.
- dlthub ai init detects the coding assistant from environment variables and configuration files, and installs skills, rules, and the MCP server in the correct location for that tool.
- There are caveats for different assistants: Claude Code requires adding secure credential handling content to CLAUDE.md; Cursor requires manually enabling the dlt-workspace-mcp server in Cursor Settings > MCP, and adding security rules to .cursor/rules/security.mdc; Codex converts commands and rules into skills and AGENTS.md, and runs in a strict sandbox, so consider enabling network access and adding security rules to AGENTS.md.
- First-time onboarding (want to try or learn dltHub): Run dlthub-start yourself; it creates a playground workspace and is not suitable for production or real projects; this command must be run in a real terminal, will require authentication, and cannot be used in ! mode. Agent-driven setup should use the preceding dlthub-init.
- Browse and install toolkits: if dlthub is not installed, first follow the new project or existing project steps; if unsure which toolkits are needed, you can install all of them.
- Start the harness: use the example prompts provided by each toolkit to start a workflow. Claude Code starts a new session via the terminal command claude, and requires a restart after installation; Cursor opens the project and uses the chat panel (Cmd+L), automatically recognizing installed skills and rules; Codex starts the CLI via codex or uses the Codex chat in the UI, and requires a restart after setup for the MCP server to take effect.
- Claude Code marketplace plugin (early access): the plugin's linking of toolkits is not as good as dlthub ai toolkit install; for a first attempt, it is recommended to use the first-time onboarding path; the plugin path is suitable for projects set up from within Claude Code using the bootstrap toolkit. The plugin is only activated in a new session, and requires a restart with claude.
- dlthub ai CLI: initializes project rules, secret skills, and ignore files, and configures the dlt MCP server for the agent; its toolkit install command copies skills, rules, commands, and MCP configuration into the project's agent configuration directories (.claude/, .cursor/, .agents/, etc.); the secret management command allows the assistant to inspect and update credentials stored by dlt in TOML files without reading the raw secret values; the MCP server command starts a local server that exposes the dltHub workspace (pipelines, schema, tables, secrets) as tools callable by the assistant.
Use cases: Suitable for developers using AI coding assistants such as Claude Code, Cursor, and Codex who want to build data ingestion and transformation pipelines with a structured workflow, especially those who need REST API or SQL data loading, data quality checks, deployment, and data application presentation, and who want the agent to find and validate connectors before writing code. New users can get a guided end-to-end experience through the quickstart toolkit.
Limitations: dltHub AI Harness has been tested for Claude Code, Cursor, and Codex, and other AI coding assistants can also be used. Codex does not support commands and rules; the installer converts them into skills and AGENTS.md, and it runs in a strict sandbox, which may require enabling network access. The Claude Code plugin is early access, and its linking of toolkits is not as good as the CLI installation method. The playground workspace created by dlthub-start is only for trial or learning, and must not be used for production or real projects. dltHub is a paid platform, and this project uses the dltHub AI Harness License.