{"slug": "building-data-products-with-ai", "title": "Building Data Products with AI", "summary": "A demo published by Entropy Data shows a coding agent building a complete dbt data product from three inputs — a data contract, skills from the dataproduct-builder-demo library, and the Entropy Data marketplace — producing 41 brands in Snowflake with 3/3 dbt tests and 11/11 contract tests passing. The agent searched the marketplace for data products, read their contracts, requested access, and built on the articles-latest and shelf-warmers products to answer a category manager's question about slow-selling brands. The pipeline was validated with dbt parse, dbt-ol run, dbt test and datacontract test before publishing.", "body_md": "[2:38](https://www.youtube.com/watch?v=np_U1lowwoc&list=PLGYsBO9R57z4)Episode 2\n\n### Data Contracts and Data Products\n\nAnswers “What is a data product, and how does it relate to data contracts?”\n\nA coding agent builds it. You give it three inputs: a **data contract** (what), [**skills**](https://www.dataproduct.com/skill-hub/) (how), and a **data marketplace** (the data to build on).\n\nBuilding Data Products with AI: a coding agent builds the data product contract-first, from three inputs. A data contract as the what, defined together in a workshop, skills with your conventions as the how, and a data marketplace as the data to build on. One prompt, and the agent builds and tests the data product.\n\nThen scroll on, and follow every step yourself.\n\nMaxi (category manager) needs to know which brands barely sell. John owns the sales data. Each answer becomes part of the contract.\n\n```\napiVersion: v3.1.0\nkind: DataContract\nid: slow-selling-brands\nname: Slow Selling Brands\nversion: 1.0.0\nstatus: draft\ndescription:\n  purpose: Find brands that barely sell\n  usage: Brand talks, campaigns, assortment decisions\n  limitations: Not for rating individual buyers\nschema:\n  - name: slow_selling_brands\n    physicalType: table\n    properties:\n      - name: brand\n        logicalType: string\n        required: true\n        authoritativeDefinitions:\n          - type: semantics\n            url: ontology/brand#brand-name\n      - name: slow_selling_products\n        logicalType: integer\n        required: true\n        description: No sale in the last 6 months, returns are not sales\n      - name: latest_sold_date\n        logicalType: date\n        description: When a product of the brand last sold\n    quality:\n      - type: sql\n        description: One row per brand\n        query: SELECT COUNT(*) - COUNT(DISTINCT brand) FROM slow_selling_brands\n        mustBe: 0\nslaProperties:\n  - property: freshness\n    value: 1\n    unit: d\nteam:\n  name: sales\nservers:\n  - server: production\n    type: snowflake\n    account: acme-eu1\n    database: SALES_PROD\n    schema: slow_selling_brands_v1\n```\n\nOpen skill libraries with skills, templates, and hooks that any coding agent reads. Pick one from the [skill hub](https://www.dataproduct.com/skill-hub/), then adapt it to your conventions.\n\nTurns a data product from Entropy Data into a working dbt pipeline, and proves it works.\n\n`entropy-data`` dbt``dbt-ol`` datacontract``entropy-data connection test` succeeds.`entropy-data dataproducts get`: name, owner, output ports.` entropy-data datacontracts get`, saved under `models/output_ports/v1/`.` dbt parse``dbt-ol run`` dbt test``datacontract test`\nThe agent searches the [data marketplace](https://www.entropy-data.com) for data products to build on, reads their contracts, and requests access. Search like the agent does.\n\nCurrent articles with brand, category, and list price.\n\n| sku | string | → SKU | \n| brand_name | string | → Brand name | \n| category | string |  | \n| list_price | decimal |  | \n\nArticles without a sale in the last six months.\n\n| sku | string | → SKU | \n| last_sold_date | date |  | \n| stock | integer |  | \n\nAll orders and line items, updated hourly.\n\nCustomer master data. Contains personal data.\n\nDaily stock per article and warehouse.\n\nReturned items with reason codes.\n\nSessions and page views from the web shop.\n\nList price changes per article.\n\nIllustrative marketplace. The two highlighted data products are the ones the agent builds on below. Hover them to preview their data contracts.\n\nOne prompt. The agent uses the contract, the skills from [`dataproduct-builder-demo`](https://github.com/entropy-data/dataproduct-builder-demo) (one of the libraries in the [skill hub](https://www.dataproduct.com/skill-hub/)), and the marketplace, then runs the pipeline and publishes the result.\n\nThe agent produced a complete dbt project, built on **articles-latest** and **shelf-warmers**: 41 brands in Snowflake, 3/3 dbt tests and 11/11 contract tests green.\n\n```\nwith shelf_warmers as (select * from {{ ref('shelf_warmers') }}),\n     articles      as (select * from {{ ref('articles_latest') }})\n\nselect\n  a.brand_name::varchar         as brand,\n  count(*)::integer            as slow_selling_products,\n  max(sw.last_sold_date)::date as latest_sold_date\nfrom shelf_warmers sw\njoin articles a on sw.sku = a.sku   -- same concept in the semantics\ngroup by a.brand_name\n```\n\n`datacontract test --publish`, results published to Entropy Data\n| Result | Check | Field | Type | \n|---|---|---|---|\n| ✓ passed | Table exists | slow_selling_brands | schema | \n| ✓ passed | Field is present | brand | schema | \n| ✓ passed | Field is present | slow_selling_products | schema | \n| ✓ passed | Field is present | latest_sold_date | schema | \n| ✓ passed | Type is string | brand | schema | \n| ✓ passed | Type is integer | slow_selling_products | schema | \n| ✓ passed | Type is date | latest_sold_date | schema | \n| ✓ passed | Required: no null values | brand | schema | \n| ✓ passed | Required: no null values | slow_selling_products | schema | \n| ✓ passed | One row per brand | slow_selling_brands | quality | \n| ✓ passed | Freshness: within 1 day | latest_sold_date | SLA | \n\n`sku` in articles-latest and shelf-warmers links to the same SKU concept, so the agent joins on it. `brand` in the new contract links to the same Brand name as `brand_name` upstream.\nThree steps, all open source or free. Then every new data product starts the same way: with a data contract.\n\nThe free Community Edition runs anywhere Docker runs. Register your existing data products, so the agent can find them, read their contracts, and request access.\n\n```\ndocker compose up --detach\n```\n\nFork a skill library from the hub as a base. Point Claude Code at one of your exemplary data products and let it adapt the skills to your platform, conventions, and policies.\n\n```\n> Adapt these skills to how we build data products. Use <our best data product repo> as the reference.\n```\n\nWrite down what the data product must deliver, together with business, producers, and consumers, in the Data Contract Editor. Then tell your agent to implement it.\n\n```\nImplement.\n```\n\nAnimated explainer videos by Entropy Data. Each episode answers one question about data products, data contracts, and semantics.\n\nAnswers “What is a data contract, and why do you need one?”\n\nAnswers “How do you put an existing table under a data contract?”\n\nAnswers “How do you use data contracts in a dbt project?”\n\nAnswers “How do AI agents know what your data means?”\n\nA data product is a unit of data, code, and metadata, owned by one team, that offers its data to others through output ports. Each output port is described by a data contract. Data products are defined in the [Open Data Product Standard (ODPS)](https://www.entropy-data.com/learn/open-data-product-standard).\n\nA data contract is a YAML document in the [Open Data Contract Standard (ODCS)](https://bitol-io.github.io/open-data-contract-standard/) that states everything guaranteed about a dataset: schema, semantics, data quality rules, SLAs, owner, terms of use, and where the data lives. The open-source [Data Contract CLI](https://cli.datacontract.com) tests real data against it.\n\nGive a coding agent such as Claude Code three inputs: a data contract that says what to build, a skill library that says how to build it (pick one from the [skill hub](https://www.dataproduct.com/skill-hub/)), and a data marketplace with the data to build on. Then prompt it to implement the data product. The agent requests access to input data products, generates a dbt project, runs the pipeline, tests the data against the contract, and publishes the data product with test results and lineage.\n\nContract-first means agreeing on the data contract with the business and the consumers before any data is extracted or any pipeline is written. The contract becomes the specification the coding agent implements and the test the result must pass.\n\nThe [Open Data Contract Standard (ODCS)](https://bitol-io.github.io/open-data-contract-standard/) and the [Open Data Product Standard (ODPS)](https://www.entropy-data.com/learn/open-data-product-standard) from the Linux Foundation, [Apache Ossie](https://www.entropy-data.com/learn/what-is-apache-ossie) for semantics, [dbt](https://www.getdbt.com) and [Snowflake](https://www.snowflake.com) for the pipeline, the [Data Contract CLI](https://cli.datacontract.com) and [Data Product CLI](https://github.com/datacontract/dataproduct-cli) for testing and publishing, and [Entropy Data](https://www.entropy-data.com) as the data marketplace.", "url": "https://wpnews.pro/news/building-data-products-with-ai", "canonical_source": "https://www.dataproduct.com/", "published_at": "2026-11-23 07:35:16+00:00", "updated_at": "2026-11-23 07:42:43.069027+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "structured-data"], "entities": ["Entropy Data", "dbt", "Snowflake", "dataproduct-builder-demo", "skill hub", "data marketplace"], "also_reported_by": [], "takeaway": "Driving a coding agent from a versioned data contract (v3.1.0, with schema, quality and SLA fields) plus reusable skills and a marketplace search produced a working dbt project that passed 3/3 dbt tests and 11/11 contract tests.", "recommendation": {"advice": "Define the data contract first — schema, quality checks and SLA — then give the coding agent that contract plus convention skills and marketplace access so it can build and test the pipeline end to end.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/building-data-products-with-ai", "markdown": "https://wpnews.pro/news/building-data-products-with-ai.md", "text": "https://wpnews.pro/news/building-data-products-with-ai.txt", "jsonld": "https://wpnews.pro/news/building-data-products-with-ai.jsonld"}}