How arulmani1826/datahub_agent works
DataHub Change Guardian is a pre-deployment governance application: users select a dataset and describe a proposed change, the system gathers DataHub evidence, assesses risk, presents findings and recommendations, and records decisions. The main dashboard path is documented in the README and partially visible in app.py; the MCP server’s DataHub queries and impact recommendations are visible in mcp_server.py. The excerpts do not establish every dashboard-to-assessment call, so documented but unsampled links are identified by README evidence.
Main entry points: mcp_server.py MCP tool server · app.py Change workflow · agent.py Interactive agent
Components 11
Dashboard
- Streamlit dashboard
app.py - Change workflow
app.py
Assessment
- Risk assessment
app.py - Impact recommendations
mcp_server.py - Decision ledger
app.py
DataHub access
- Dataset evidence
app.py - MCP tool server
mcp_server.py
AI agent
- Interactive agent
agent.py
Other components
- User
- DataHub
- Gemini
Connections 14
- User → Streamlit dashboard: submits change
README.md - Streamlit dashboard → Change workflow: starts analysis
README.md - Change workflow → Dataset evidence: requests context
app.py - Dataset evidence → MCP tool server: calls tools
app.py - MCP tool server → DataHub: queries metadata
mcp_server.py - DataHub → MCP tool server: returns evidence
mcp_server.py - Change workflow → Risk assessment: evaluates change
README.md - Risk assessment → Streamlit dashboard: presents findings
README.md - Change workflow → Decision ledger: stores decision
README.md - MCP tool server → Impact recommendations: analyzes impact
mcp_server.py - Impact recommendations → MCP tool server: uses lineage
mcp_server.py - User → Interactive agent: asks question
agent.py - Interactive agent → Gemini: requests reasoning
agent.py - Interactive agent → MCP tool server: calls tools
agent.py