Skip to main content

Examples Gallery

A gallery of what you can build with the DataSQRL data engineering harness, from a data product suite for a retail bank to small, self-contained pipelines across a range of use cases. Every example is open source. You can read the SQL, run it locally, and run its tests.

Data Products for a Retail Bankโ€‹

This example shows how DataSQRL works in an organizational setting. A fictional retail bank keeps a semantic data catalog of its source and enriched datasets. A coding agent with the DataSQRL harness uses that catalog to build data products: pipelines and APIs that serve specific business needs.

  • Data Catalog: the bank's datasets, schemas, connectors, relationships, and data quality rules
  • Data Products: two AI-generated data products built from that catalog

Explore the respective Github repositories to learn more.

Self-Contained Examplesโ€‹

The DataSQRL Examples repository contains smaller, self-contained pipelines across a range of use cases. Each one is a standalone project with sample data and a README that explains how to run it. Pick the one closest to what you want to build:

ExampleWhat it buildsLook here for
Getting Started ExamplesSeven minimal pipelines: Kafka to console, Kafka to Kafka, stream joins, files and Kafka to Iceberg (local or AWS Glue), and Avro with Schema RegistryConnector patterns and your first pipeline
Finance Credit Card ChatbotEnriched transaction analytics for a GenAI chatbot, a credit card rewards program, and a batch variant that writes spending views to Iceberg for DuckDB and SnowflakeEnrichment, APIs for AI agents, batch to Iceberg
Clickstream AI RecommendationPersonalized content recommendations from clickstream data and LLM-generated vector embeddingsVector embeddings and real-time recommendations
Healthcare StudyThree use cases over one shared catalog: a real-time API, analytics in Iceberg, and an enriched stream published to KafkaOne catalog feeding API, analytics, and streaming
Oil & Gas Agent AutomationA monitoring API for an AI agent plus an operations backend with an ingest mutation and a low-flow-rate alert subscriptionEvent-triggered agents and subscriptions
IoT Sensor MetricsAn event-driven microservice that ingests sensor readings and serves metrics and alertsIngest APIs and time-windowed metrics
Logistics ShippingReal-time shipment tracking with locations, in about 30 lines of SQLA compact streaming pipeline
Law EnforcementAn integrated view of drivers, vehicles, warrants, and BOLOs, with analytics and alerts for traffic stopsCombining databases and streams
Iceberg Data DeduplicationCompaction and deletion jobs for Iceberg tablesMaintaining data lake tables
User-Defined FunctionsA custom function shipped with JBang or a Maven projectExtending SQL with your own logic

The repository also includes a data generator for producing larger datasets for experiments and benchmarks.

Build Your Ownโ€‹

Start from your own catalog or data sources and describe the data product you need. The Getting Started guide shows how to set up the DataSQRL agent.