Skip to content
AgentAgent framework

aegis-dq

Open-source agentic data quality framework that generates, runs and diagnoses warehouse

aegis-dq is an open-source agent framework for developer tools. It is available on CLI, API, Self-hosted, Linux, macOS and Windows.

Pricing
Open source
Platforms
CLI, API, Self-hosted
GitHub stars
7
Last commit
Language
Python
Built with
LangGraph

Similar agents

About aegis-dq

Aegis DQ takes a set of business policy documents and a warehouse connection, then drafts validation rules from them. It runs those rules against the data, uses an LLM to explain each failure and suggests SQL fixes for the ones it finds. The pipeline is organised as a sequence of planning, parallel per-table checks, reconciliation, remediation and reporting steps, so a run produces a structured JSON report rather than a single pass or fail flag.

Rules can be written by hand in YAML or generated from table schemas plus plain-text or markdown business notes, and generated rules are saved as drafts for review before they are promoted. The tool supports 31 rule types spanning completeness, uniqueness, referential integrity, statistics and ML-based anomaly detection, and connects to DuckDB, Postgres, Redshift, BigQuery, Databricks, Athena and Snowflake. An offline mode skips the LLM entirely for free pass/fail validation.

It suits data engineers and analytics teams who want quality gates in CI, Airflow or conversational workflows through an MCP server, and who prefer an Apache 2.0 tool over a commercial observability platform.

What it does

Policy-driven rule generation
Drafts validation rules from table schemas and business policy documents, marked as drafts until reviewed.
LLM failure diagnosis
Explains likely root causes for failing rows and proposes SQL remediation for each diagnosed failure.
31 rule types
Covers completeness, uniqueness, validity, referential checks, statistical tests and ML anomaly detection.
Multi-warehouse adapters
Runs checks against DuckDB, Postgres, Redshift, BigQuery, Databricks, Athena and Snowflake.
CI and pipeline integration
Provides a GitHub Action that fails the job on rule failures, plus an Airflow operator and REST server.
Offline validation mode
Runs rules without any LLM call, giving pass and fail results at no model cost.

Good for

  • Blocking bad data from reaching production by failing CI builds on rule violations
  • Turning compliance or AML policy documents into executable data checks
  • Diagnosing duplicate keys, orphaned foreign keys and invalid statuses in warehouse tables
  • Scheduling recurring data quality runs in Airflow with Slack alerts on failures
  • Asking an assistant in chat to load a pipeline and summarise its quality report

Pricing

Open source

Open source, free to self-host; LLM usage is billed by your chosen provider.

aegis-dq FAQ

Which warehouses are supported?

DuckDB, Postgres and Redshift, BigQuery, Databricks, AWS Athena and Snowflake, with the cloud adapters installed as optional extras.

Can aegis-dq run without an LLM API key?

Yes. Passing the no-llm flag runs pass and fail validation without any model calls, though diagnosis and SQL fixes are skipped.

Which LLM providers can be used?

Anthropic Claude, OpenAI, Ollama for local models and AWS Bedrock, selectable with a command-line flag.

Are generated rules applied automatically?

No. Generated rules are stamped as draft and need to be reviewed and promoted to active before they are used.

What license is aegis-dq under?

The project describes itself as Apache 2.0 licensed in its comparison table and links to a LICENSE file.

Is aegis-dq free?

Yes. aegis-dq is open source, so you can use and self-host it for free.

What are the best alternatives to aegis-dq?

The closest alternatives to aegis-dq are dex, agent-qa, Datadog Agent Observability, pydantic-ai and agentic-os.

Where this comes from

  • Description: written from the project's README.