Skip to main content

Ariadne

Governed metrics for AI agents. Ariadne gives agents a reviewed source of truth for business metrics: definitions are compiled and queried by Ariadne, while business policies and caveats travel with the answer.

Raw text-to-SQL asks an agent to guess tables, joins, filters, and definitions. Ariadne separates those responsibilities into two layers:

  • Semantic Layer (OSI): reviewed metric definitions, compiled to SQL and executed read-only by Ariadne.
  • Context Layer (OKF): business policies, source caveats, and terminology that explain how to interpret a result.

Ariadne is a Python package with embedded DuckDB. Use it locally through the CLI, connect an agent through optional MCP, or add the separately distributed Ariadne Agent. A human remains responsible for source approval and for admitting the exact reviewed Git revision. Ariadne is not a BI dashboard or a high-concurrency metrics API.

Start locally

Follow Lumio + Ariadne locally for a complete worked example with three synthetic orders: 150 EUR recognized revenue and two completed orders, returned with the governing policy and citations. It uses the historically tested published Core 0.6.0 / Lumio 0.4.0 pair (the current published pair is Core 0.7.0 / Lumio 0.5.0; the tutorial's section 8 covers it separately), ordinary Git and local files; no Docker, S3 or model key is needed. The standalone tutorial remains available when you want Ariadne without Lumio.

Documentation

The documentation follows Diátaxis:

  • Tutorial: create a project and reach a first governed query.
  • How-to guides: complete specific tasks such as Git-backed authoring, private Docker MCP setup, or reading multiple S3 storages.
  • Reference: look up CLI commands, data-source configuration, and migration mappings.
  • Explanation: understand Ariadne's layers, governance gates, and authority boundaries.

The documentation index lists all guides and references for Ariadne 0.7.0.

Data Contracts: the reference describes Core’s limited, pinned ODCS v3.2.0 consumer profile, separate Git bindings and as-of evidence. Source-free ariadne search includes a contracts group; list-datasets remains an approved live-catalog operation. This is not full ODCS compliance or a live health guarantee. Integrated releases bind these local contract identities alongside their knowledge identity; the contract itself does not become a portable cross-system identifier.

Lumio integration: Lumio is an independent product developed alongside Ariadne in this shared repository; neither package requires the other. Lumio bound releases describe the optional integrated context binding: one shared Content Commit, an operator-confirmed overall admission activating a local immutable Bound Release, strict metric/policy/reference profiles at revision 1 with revision-scoped explicit opt-ins — revision 2 for the dataset/table/computation technical profiles and revision 3 for the integrated query-detail/query-records/ define-metric operations with complete input Context — full required Policy context on governed answers, and source-free navigation over the pinned published pages. An optional S3 Knowledge transport (--context-destination s3://… plus a declared --context-storage-profile) ships with Core 0.7.0, and its private native admission records stay local to the admitting host. Git is the standard transport and sync never activates a release — ariadne status reports the local Git HEAD separately from the admitted release (see the local Git how-to); the SDK stays an optional dependency, unsupported integrated operations refuse, and exact build pairing is recorded per release rather than assumed from package versions.

Source development

Work on Ariadne itself happens from the member checkout, not inside a data project. Run these from products/ariadne/packages/ariadne-data inside the repository clone — the repository root is a non-distributable uv workspace and must never be editable-installed (-e . targets this member directory only):

cd products/ariadne/packages/ariadne-data
uv venv --python 3.14 .venv
uv pip install --python .venv/bin/python -e .
source .venv/bin/activate
# Optional MCP example (after creating and admitting a project; requires .[mcp]):
uv pip install --python .venv/bin/python -e '.[mcp]'
../../examples/retail-demo/mcp_client.py --project /path/to/admitted/retail-project

The examples/ tree stays in the Ariadne product area (the path above is member-relative). For a candidate-wheel check, run uv build in this member directory, install dist/ariadne_data-*.whl into a fresh virtual environment, and follow the getting-started tutorial with the installed console scripts rather than the editable install.

Metadata

Release files for ariadne-data 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ariadne-data 0.7.0
File Size Uploaded Provenance Actions
ariadne_data-0.7.0.tar.gz 806.2 kB Without provenance Details for ariadne_data-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ariadne-data 0.7.0
File Interpreter ABI Platform Actions
ariadne_data-0.7.0-py3-none-any.whl Python 3 none any Details for ariadne_data-0.7.0-py3-none-any.whl

Total release size: 1.3 MB

Release files / ariadne_data-0.7.0.tar.gz

Download URL ariadne_data-0.7.0.tar.gz
Size 806.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fb78b77000a492996cd26eb2c5a564327fc26662fc2cfc38f668e28a3b5237e8
BLAKE2b-256 checksum
How to use checksums
30a8bcff754344098f0dfcffbe0c7471ba4109572d55892aad8277f7ad1bbcdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","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}

Release files / ariadne_data-0.7.0-py3-none-any.whl

Download URL ariadne_data-0.7.0-py3-none-any.whl
Size 474.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4bfbd3c77757e18de4e773415e91cfbb958adb0eb6a48bb56c4188f449dbe09
BLAKE2b-256 checksum
How to use checksums
73001f34eff0757c3ab3ef31d602257891475999ecaf4541559e4d01b6a4d2a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","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}

Security for ariadne-data 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page