TAREL
Help your agents understand your data estate.
pip install tarel
# or
uv tool install tarel
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.
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.
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.
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.
- CLI reference
- Architecture, contracts, and self-modification
- Demo warehouse
- Three-day enterprise workshop
- Python SDK
- Documentation index
Moving scripts from an earlier TAREL: workspace commands now take the workspace by name, so
tarel search enterprise "revenue" --workspace becomes
tarel search "revenue" --workspace enterprise. The package version alone does not tell the two
apart. 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.
Metadata
Release files for tarel 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tarel-0.0.4.tar.gz | 6.0 MB | With provenance | Details for tarel-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tarel-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for tarel-0.0.4-py3-none-any.whl |
Total release size: 6.9 MB
Release files / tarel-0.0.4.tar.gz
| Download URL | tarel-0.0.4.tar.gz |
|---|---|
| Size | 6.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f03ae97a43e5e1d5b258942054100e0b807a8688d89bc5a46a55bd5ffee0fbdc
|
|
BLAKE2b-256 checksum How to use checksums |
f1de6d81335e305ff48c7f8c2170f45da96f641fc3ebc9277d3c816a2ad975c5
|
| 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 21, 2026.
Transparency logRelease files / tarel-0.0.4-py3-none-any.whl
| Download URL | tarel-0.0.4-py3-none-any.whl |
|---|---|
| Size | 959.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
63329652c99738dcb2e834ddde3bbf7ebb018a3542ea8d13aa2f48a6e5ca7364
|
|
BLAKE2b-256 checksum How to use checksums |
4e3d39b97f5c1a8d89a7493f765fd3b9b600c699e05609ba05fc417b37657278
|
| 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 21, 2026.
Transparency logSecurity for tarel 0.0.4
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.
Attestation for tarel-0.0.4.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 21, 2026.
Transparency logA 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.