Skip to main content
Version: devel View Markdown

Introduction

The dltHub AI Harness is a set of skills, rules, and MCP servers that teach a general-purpose coding agent (Claude Code, Cursor, or Codex) how to build production-grade pipelines, deploy and run them on dltHub managed infrastructure. It draws from dltHub Context, a hub of deeply researched context on APIs across different SaaS sources, so your agent pulls exactly what it needs to code any dlt pipeline.

You describe what you want, the agent picks the right toolkit and writes the pipeline code, and dltHub runs it end to end: ingestion, validation, transformation, deployment, and observation. Agents propose, humans validate, deterministic tooling enforces the boundaries.

Agentic workflows

The AI Harness kicks in whenever you describe a data-engineering goal to your agent. A few examples:

  • "I want to ingest pull requests and issues from the GitHub REST API."
  • "Load CSVs from an S3 bucket into DuckDB."
  • "Explore data from the pipeline I just ran and build a marimo dashboard."
  • "Deploy this pipeline and schedule it to run every day at 6 AM."

Each prompt maps to a toolkit, whose skills guide the agent through the workflow end to end.

Toolkit components

The AI Harness bundles four kinds of artifacts into installable units called toolkits:

ArtifactWhat it isExample
SkillStep-by-step procedure the agent follows for a specific taskfind-source, debug-pipeline, prepare-deployment
RuleAlways-on context the agent loads every sessionCoding conventions, security constraints
WorkflowOrdered sequence of skills with a fixed entry point, loaded as a rule so it's always activeREST API pipeline workflow, Deploy workflow
MCP serverTools the agent can call from inside a sessiondlt-workspace-mcp exposes pipeline, schema, and secrets tools

Every dltHub workspace starts with one toolkit, init, which ships an MCP server (dlt-workspace-mcp) and a router skill called dlthub-router. From there, feature toolkits are added as you need them.

dlthub-router is what makes the flow feel natural: it reads your intent, automatically installs the right feature toolkit, and hands off to that toolkit's entry skill.

Iterative data engineering development

Data pipelines evolve in loops. You build locally, refine on real data, deploy, watch the results in production, and feed those observations back into the next iteration. The AI Harness is designed around this loop and makes each turn faster.

Faster build cycles. The agent scaffolds a pipeline from your prompt, runs it, and iterates. Skills like /validate-data, /view-data, and the data-quality toolkit's checks let it inspect what actually landed at the destination after each change, so the next fix is based on the real data via dlt-workspace-mcp rather than assumptions about it.

One workspace across phases. Ingestion, transformation, exploration, and deployment toolkits all layer onto the same workspace. When a dashboard surfaces a bad number in production, the same harness that built the ingestion pipeline can adjust the upstream source or add a data-quality check to prevent it from recurring.

Progressive complexity. You start with rest-api-pipeline for a first ingestion, add data-quality when you need checks, transformations when the raw shape isn't enough, and dlthub-platform when you're ready for production. The router installs each toolkit on demand as the work calls for it.

Build toolkits iterate locally on ingestion and transformation, Run toolkits deploy pipelines and serve insights, with feedback from production looping back into the build phase.

What's next

  • Installation: set up a workspace, in one command or step-by-step.
  • Toolkits: catalog of toolkits and where each fits in the development cycle.
  • Deploy with AI Harness: take a pipeline to production with the dlthub-platform toolkit.

This demo works on codespaces. Codespaces is a development environment available for free to anyone with a Github account. You'll be asked to fork the demo repository and from there the README guides you with further steps.
The demo uses the Continue VSCode extension.

Off to codespaces!

DHelp

Ask a question

Welcome to "Codex Central", your next-gen help center, driven by OpenAI's GPT-4 model. It's more than just a forum or a FAQ hub – it's a dynamic knowledge base where coders can find AI-assisted solutions to their pressing problems. With GPT-4's powerful comprehension and predictive abilities, Codex Central provides instantaneous issue resolution, insightful debugging, and personalized guidance. Get your code running smoothly with the unparalleled support at Codex Central - coding help reimagined with AI prowess.