Apache-2.0 PyPI v0.27.0 Local-First | Python 3.12+ | SQLite / PostgreSQL Human-Approved Writes

The local-first workbench for auditable AI datasets, traceable metrics, and human-approved agents.

Review multimodal training samples and freeze SHA-256 dataset releases, trace business metric answers to registered SQL and lineage, and connect AI agents or MCP servers behind digest-bound human sign-off.

Quick start · No database server or API keys required (local SQLite + offline demo)
uvx datakeel demo
# Web UI: http://127.0.0.1:8765  |  API Docs: http://127.0.0.1:8765/api/docs
# Or from source: git clone https://github.com/chaw1/datakeel.git && cd datakeel && uv sync --locked
Fig. 1 — Dataset delivery review comparing a duplicate image found across training and test splits before signing a corrected SHA-256 release.
Fig. 1 — Dataset delivery review comparing a duplicate image found across training and test splits before signing a corrected SHA-256 release.
Three Core Workflows

One auditable workbench for datasets, metrics, and controlled agents

Every assertion, metric answer, and write action traces back to source evidence, append-only events, and explicit human approvals.

[1]AI Datasets & Visual QA

Proofread samples and deliver verifiable versions

Inspect images, captions, annotations, and split leakage side by side before freezing an immutable SHA-256 dataset release.

  • Three-state evidence (present, absent, unknown) prevents missing labels from passing.
  • Detect exact, perceptual dHash, SimHash, and group split leakage across partitions.
  • Export COCO, YOLO, Hugging Face, or JSONL and verify packages via datakeel reconcile.
Dataset delivery guide ->
[2]Metrics, Catalog & Lineage

Trace every business number back to its SQL and owner

Answer plain-language metric questions from registered definitions with parameterized SQL, source columns, and lineage instead of unverified guesses.

  • Bound SQL, metric version, owner, and time window accompany every Ask data answer.
  • Ambiguous or unauthorized questions trigger clarification or refusal, never guesses.
  • Import dbt, Airflow, and OpenLineage metadata alongside data standards and assets.
Ask data & catalog ->
[3]Controlled Agents & MCP

Let AI agents investigate, while humans sign every write

Connect Claude Desktop, Cursor, or the built-in Copilot over local stdio or SSE without letting models delete files, mutate metrics, or send data unapproved.

  • Agents read audited assets and prepare frozen action plans with impact and cost notes.
  • Destructive or outbound steps pause at a digest-bound approval sheet with expiry.
  • Every tool call, approval receipt, and OTLP trace lands in append-only history.
Controlled actions & MCP ->
Live Walkthrough & Architecture

See all three workflows in 18 seconds

18-second live walkthrough: visual QA & evidence anchors, registered-SQL metric Q&A, and digest-bound human approval.
18-second live walkthrough: visual QA & evidence anchors, registered-SQL metric Q&A, and digest-bound human approval.
Modular monolith architecture: FastAPI + leased worker over SQLite/PostgreSQL and local or S3 storage.
Modular monolith architecture: FastAPI + leased worker over SQLite/PostgreSQL and local or S3 storage.
Where Datakeel Fits

Honest boundaries vs. single-purpose tools

Datakeel complements warehouses and training frameworks by uniting visual QA, traceable metric answers, and approval-gated MCP actions.

DimensionDatakeelTypical point-tool stack
Deployment footprintLocal-first SQLite + loopback UI in two commands; scales to PostgreSQL + S3.Often requires multi-container clusters (catalogs) or SaaS accounts.
Dataset QA & split leakageBuilt-in three-state evidence matrix, visual review, and cross-split leakage check.Split across separate visualization (FiftyOne), labeling (Label Studio), and scripts.
Verifiable dataset deliverySigned release plans, immutable SHA-256 manifests, and offline datakeel reconcile.File-level version tools (DVC) track hashes but not review sign-off or leakage proofs.
Natural-language metric Q&ARegistered semantic definitions + parameterized SQL + explicit ambiguity refusal.Ad-hoc text-to-SQL bots generate unreviewed SQL with no metric version binding.
AI Agent & MCP governanceRead/propose-only MCP tools; digest-bound human approval required before writes.Generic MCP database connectors execute arbitrary queries or lack plan sign-off.
Documentation Hub

Explore guides by workflow

FAQ

Common questions on setup, split leakage, Ask data, and MCP safety

Do I need cloud API keys or a database server to try Datakeel?

No. Running uvx datakeel demo starts the API, worker, bundled web UI, local SQLite state, and an offline deterministic provider with generated image, metric, and knowledge-graph samples.

How does Datakeel detect train/test dataset leakage?

Datakeel computes exact hashes, perceptual 64-bit dHash fingerprints, SimHash text fingerprints, and group keys across dataset partitions, lets reviewers inspect matches side by side, and records the checked result inside the signed release manifest.

How does Ask data prevent hallucinated SQL?

Ask data resolves questions against registered metric definitions and parameterized SQL templates rather than free-form SQL generation. Each answer returns the metric version, owner, SQL, source columns, and time range, and refuses ambiguous queries.

Can an MCP client or AI agent delete data or modify metrics autonomously?

No. Datakeel's MCP server never exposes approval or execution tools. Agents can inspect permitted assets and prepare frozen action plans, while a human approves and runs writes in the Web UI or CLI against the exact plan digest.

Can Datakeel scale beyond one laptop for a small team?

Yes. The same application runs over PostgreSQL and S3-compatible object storage behind an authenticating reverse proxy (Caddy or nginx with oauth2-proxy), with Docker Compose deployment guides and role-based action scopes.

What license does Datakeel use?

Datakeel is licensed under Apache-2.0 with an automated runtime license audit covering Python, frontend, and optional Rust extension dependencies.