Skip to main content

TAREL

Help your agents understand your data estate.

pip install tarel
# or
uv tool install tarel

PyPI Python CI License: MIT

A coding agent can read a stored procedure. Understanding an entire warehouse takes a map.

The TAREL Graph is a simple data structure designed for navigating huge information systems. It connects technical objects, business meaning, and data dependencies into reusable knowledge for engineers and agents.

Create, annotate, and refresh graphs through the CLI or Python SDK.

Runs locally. No mandatory third-party runtime dependencies.

Let agents build knowledge you can review

TAREL helps your harness explore schemas, objects, and tables, progressively gathering metadata and annotations into a persistent TAREL Graph.

Self-annotation turns available evidence into usable descriptions, synonyms, tags, and relationship proposals. Drafts can immediately help an agent; optional review and governance stay available when a project needs them. Rerunning the default batch fills missing table or field annotations without replacing existing work.

TAREL treats semantics as metadata over the source—not as a second calculation engine. SQL views, warehouse transformations, measures, calendars, and currency logic remain authoritative where they already live. TAREL describes and connects those assets; it does not duplicate their expressions, cache query results, or require a governed semantic model before an agent can start.

Graph refresh is incremental: TAREL fingerprints connector-observed schema metadata, performs no write for an unchanged observation, and can optionally annotate only newly added objects or fields. It does not scan data rows or rerun annotation across the existing graph.

TAREL field annotation inspector with semantic descriptions, evidence, and review state

Descriptions stay prominent; evidence, provenance, and optional review unfold only when needed.

Explore through Space and Lineage

Space shows what exists and what it means: tables, fields, relationships, and annotations.

Lineage traces reports and measures through transformations to their sources, with evidence behind each connection.

SQL definitions can be analyzed by a configured provider or, after installing the optional tarel[sql-lineage] extra, locally with SQLGlot first and provider fallback only for unresolved definitions. The base installation does not include or import SQLGlot. See static lineage analysis.

Import declared dbt manifest dependencies without a provider or SQL parsing using tarel lineage import-dbt NAME --manifest target/manifest.json. The matching SDK method uses the same build/refresh path. See dbt lineage import for supported resources, ephemeral models, evidence states, and explicit catalog mappings.

TAREL switching from schema structure to data and process lineage

The same information system, organized by schema or traced through data flow. Real GUI, synthetic demo, original animation speed.

View the static Space screenshot

Follow a report back to its sources

Start with what the business knows: a report, visual, or measure. Trace its dependencies through semantic models, ETL steps, and stored procedures to source tables and fields.

Each connection retains its evidence and review state. Workflow order and actual data flow remain distinct, so a scheduled dependency never silently becomes table lineage.

TAREL lineage trace from a Power BI report measure to DWH source tables

A Power BI measure traced through a semantic column, physical mart, dbt models, and an extract to five DWH origin tables. Draft state and changes in lineage granularity remain visible.

Retrieve what matters

Search the graph by technical name or business meaning using built-in BM25 or optional local embeddings. Expand along relevant relationships within explicit context budgets.

Local vector indexes reuse unchanged embeddings when graph metadata changes. Inspect and update a bounded group of workspace graphs through the CLI, SDK, or browser. The optional tarel[vector] extra runs vector ranking inside the existing SQLite index; see local retrieval and index maintenance.

Select embedding and reranker models independently through tarel retrieval, sdk.retrieval, or the browser's Search models panel. Local CPU retrieval remains the default, with reranking off. Optional HTTP profiles support cloud embeddings and relevance reranking, including OpenRouter embeddings and Jev Decisions. Each selected embedding model keeps a separate local SQLite index; see retrieval model selection.

In the CLI, SDK, and browser you can set a hard working scope, filter physical candidates before ranking, inspect why each result matched, turn exact results into a stable context packet, and load bounded metadata deltas later without replacing the cacheable base.

Every packet also has a compact brief for agent conversations: current area, loaded size, semantic coverage, evidence-backed gaps, and stable continuity IDs. Comparing packets explains what was added, kept, removed, or resolved instead of forcing a person or agent to interpret raw JSON.

Your agent receives a focused slice with source identity, SQL dialect, evidence, and visible gaps. The same graph supports many questions without sending the entire estate into every conversation.

Extend TAREL to fit your systems

Every data selection, documentation source, and ETL orchestration can contribute knowledge to the graph.

Self-modification through reviewed extensions: When an interface is missing, a coding agent can implement a connector or importer against TAREL's contracts. You review, test, and activate it.

This lets the graph grow into your actual environment—including custom scripts, legacy systems, and internal frameworks.

Get started and go deeper

Try the synthetic Retail DWH walkthrough without credentials.

Moving scripts from 0.0.3 to 0.0.4: JSON output is unchanged, but some flags and defaults are not.

  • search, context build, context prefix and grounding take the workspace by name: tarel search enterprise "revenue" --workspace becomes tarel search "revenue" --workspace enterprise.
  • graph header, graph objects, graph slice and graph rebuild-index print text by default; pass --format json for the previous output.
  • semantic import, list, show and edit select their output with --format instead of --output; the input format of semantic import moved from --format to --source-format.

Existing retrieval indexes keep working; see their embedding input state.

TAREL is pre-alpha. SQLite and SQL Server connectors are included. TAREL does not execute analytical answer queries; your harness does.

Contributing · Security · MIT License

Metadata

Release files for tarel 0.0.5

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

Source distribution (sdist)

Source distribution for tarel 0.0.5
File Size Uploaded Provenance Actions
tarel-0.0.5.tar.gz 6.0 MB With provenance Details for tarel-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tarel 0.0.5
File Interpreter ABI Platform Actions
tarel-0.0.5-py3-none-any.whl Python 3 none any Details for tarel-0.0.5-py3-none-any.whl

Total release size: 7.0 MB

Release files / tarel-0.0.5.tar.gz

Download URL tarel-0.0.5.tar.gz
Size 6.0 MB
Tags Source
SHA-256 checksum
How to use checksums
35c6cfc639b5cc0a0c8d18234a6a83a185579adb6b83b98193b997e32e12a028
BLAKE2b-256 checksum
How to use checksums
7a1e208f64c5174a3a5e209c20d01c9a45ee0b003bf039918748bc9263439755
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / tarel-0.0.5-py3-none-any.whl

Download URL tarel-0.0.5-py3-none-any.whl
Size 984.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a80183045816402359ff9d22d482e433a0337a71dbbd7edab97052e1ca958125
BLAKE2b-256 checksum
How to use checksums
1b003a1994b8235b31e3d6a95cfb77d8c5a1da5ef96da700b86e79edc44e0743
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for tarel 0.0.5

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tarel-0.0.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

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