Everyone's building AI agents on top of data platforms. Most of them are glorified search boxes. SAINT is different.
SAINT (Structured Agentic Investigation with Navigational Transparency) is a CLI-first AI agent that helps data practitioners move from a vague goal to a structured, evidence-backed understanding — and writes the result back to DataHub so the knowledge doesn't disappear.
The Problem
A data engineer wakes up to alerts. Revenue is down. The dashboard looks wrong. They open DataHub to look for answers — and find metadata. Lots of metadata. Lineage graphs, schema history, ownership records, data quality assertions. All the raw materials to understand what happened. But no agent to help them figure out what to look at first, or in what order, or what the right question even is.
Generic AI assistants make this worse. Without access to the real context graph — the actual schemas, the real lineage, the specific owners — they produce generic advice that sounds plausible and is often wrong.
What SAINT Does
SAINT uses DataHub's Agent Context Kit (datahub-agent-context) to:
- Interpret the user's goal and make its understanding explicit before taking action
- Read the DataHub context graph (schemas, lineage, ownership, data quality, domains)
- Build a
ContextualPath— an ordered investigation structure grounded in real assets, not generic advice - Guide the user through each step with LLM reasoning backed by actual metadata
- Assess hypotheses against DataHub evidence in
saint solvemode - Write back — publish the investigation as a DataHub Document, linked to the relevant assets, so the next person or agent inherits the knowledge
The write-back step is what closes the loop. Context flows in from DataHub through the Agent Context Kit. Investigation findings flow back via save_document. The catalog grows more useful with every session.
Technical Stack
- DataHub Agent Context Kit — primary integration layer; no MCP server required
- DataHub Skills — SAINT registers as a
saint_investigatorDataHub Skill entry-point - LLM — Groq (llama-3.3-70b) or Gemini, hot-swappable via adapter protocol
- Rich terminal UI — full interactive and demo flows with structured preview before any write-back
- Python 3.11+, FastAPI compatibility surface,
pyproject.tomlwith optional extras
Key Design Decisions
- Demo mode is deterministic.
saint demouses built-in mock context and never auto-publishes. It shows exactly what would be written to DataHub — a simulated preview — without touching any live system. Run it 20 times, get the same result. - Write-back is opt-in. Interactive mode (
saint solve,saint) shows a publishing preview and requires double confirmation before writing to DataHub. - schemaField URNs are filtered. DataHub's
documentaspect only accepts entity-level URNs inrelatedAssets. SAINT filters sub-entity URNs before write-back to avoid 422 errors.
Try It in 30 Seconds
pip install -e .
saint demo
No DataHub. No Docker. No API key. A complete investigation journey runs with built-in sample context.
What Makes This Different
Most DataHub integrations are read-only. SAINT reads context and writes knowledge back. The investigation doesn't end at the terminal — it lives in the catalog, ready for the next engineer, the next agent, the next question.
"The agent didn't just answer the question. It figured out what I needed to understand and do next by navigating the context graph."
Log in or sign up for Devpost to join the conversation.