Skip to main content

Analytics engineering for Claude Code and any agent: data warehouse exploration, dbt transformation and semantic modeling, and schema-drift maintenance on dbt.

Project description

exmergo-dex-core

The portable, Apache-2.0 analytics-engineering engine behind dex. All non-trivial logic lives here; the Claude Code skills and the cross-agent AGENTS.md are thin wrappers that drive it through one stable command contract.

dex is the agent-native analytics engineering toolkit: explore an unfamiliar warehouse, transform raw data into clean dbt models and a semantic layer on top, and maintain all of it as the data underneath changes. Read-only against your data; every change is a reviewable diff.

Install

pip install "exmergo-dex-core[duckdb]"

Connector client libraries live behind extras, so the zero-credential DuckDB on-ramp installs only duckdb and sqlglot:

exmergo-dex-core[duckdb]       # the on-ramp and the eval/benchmark engine
exmergo-dex-core[snowflake]
exmergo-dex-core[bigquery]
exmergo-dex-core[databricks]
exmergo-dex-core[postgres]
exmergo-dex-core[all]          # every connector at once

The command contract

Every subcommand prints exactly one sanitized JSON envelope to stdout and nothing else; nothing reaches agent context except through that envelope. Credentials never cross it, and data values cross only from profiled, PII-cleared columns, bounded and capped by the query firewall. State persists in .dex/, so subcommands are stateless and the agent orchestrates multi-step flows.

dex connect test --path data.duckdb

See references/command-contract.md for the full surface and the envelope spec.

Status

Early and under active development; expect pre-release versions. Today the engine runs Explore and Transform on DuckDB end to end.

Explore: ranks what matters in an unfamiliar warehouse, profiles columns selectively, flags PII, surfaces grain and data-quality warnings, infers joins and verifies them with overlap probes (--verify), and executes agent-authored ad-hoc SELECTs behind a PII-aware query firewall (explore query), all read-only.

Transform: bootstraps a dbt project where none exists (transform init, with an explicit connector, never a default), turns agent-authored edits and deterministic staging scaffolds into reviewable, conflict-checked diffs (transform plan / apply, with human edits authoritative on conflict), runs gated dev-target-only builds with cost surfaced before any spend (transform build), and authors the semantic layer as MetricFlow-validated dbt semantic models (semantic define|update, emit dbt).

Maintain (drift detection and reconcile), the cloud connectors (BigQuery, Snowflake, Databricks, PostgreSQL), the OSI exporter, and the Viz preview report not_implemented until they land. The foundations are in place: the command contract, the canonical model and .dex/ layout, the OSI validator against a pinned schema, and the eval and safety spine.

License

Apache-2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exmergo_dex_core-0.1.0a6.tar.gz (209.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exmergo_dex_core-0.1.0a6-py3-none-any.whl (84.3 kB view details)

Uploaded Python 3

File details

Details for the file exmergo_dex_core-0.1.0a6.tar.gz.

File metadata

  • Download URL: exmergo_dex_core-0.1.0a6.tar.gz
  • Upload date:
  • Size: 209.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for exmergo_dex_core-0.1.0a6.tar.gz
Algorithm Hash digest
SHA256 493fe5c39f7947eacbdbb2c03a91ced868a20e5a39d3354004ad3fe0301f7c77
MD5 623f3adfa381bacaa6c5b7fa52329d96
BLAKE2b-256 6ee43e96a2bcfb8d474653336a06c08882e1fdeb51143627d0e0b7c745b119d0

See more details on using hashes here.

File details

Details for the file exmergo_dex_core-0.1.0a6-py3-none-any.whl.

File metadata

  • Download URL: exmergo_dex_core-0.1.0a6-py3-none-any.whl
  • Upload date:
  • Size: 84.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for exmergo_dex_core-0.1.0a6-py3-none-any.whl
Algorithm Hash digest
SHA256 feebb4eab39592f57274ff8c71c5ddb921392fdd0e27e7206309c82870181efe
MD5 2c2688673b1cf1d094567c05e0e7c26d
BLAKE2b-256 e465a4a019a5b37fc5ba05b29fe1b36d2cf0a35451b8c044bfe85f888fa0d959

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page