A newer version of the Gradio SDK is available:
6.0.2
BUILD PLAN - Lineage Graph Accelerator
Competition: Gradio Agents & MCP Hackathon - Winter 2025
Deadline: November 30, 2025 Track: Track 2 - MCP in Action (Productivity) Author: Aaman Lamba
π Project Status: FEATURE COMPLETE
All major features have been implemented and tested. The application is live on HuggingFace Spaces.
Live Demo: huggingface.co/spaces/aamanlamba/Lineage-graph-accelerator
Judging Criteria Alignment
| Criteria | Weight | Status | Implementation |
|---|---|---|---|
| Design/Polished UI-UX | High | β Complete | Professional Gradio 6 UI with tabs, accordions, interactive graphs |
| Functionality | High | β Complete | Full MCP integration, 5 export formats, Gemini AI chatbot |
| Creativity | High | β Complete | Multi-format lineage extraction with AI-powered parsing |
| Documentation | High | β Complete | Comprehensive README, USER_GUIDE.md, inline comments |
| Real-world Impact | High | β Complete | Production-ready for enterprise data governance |
Submission Requirements Checklist
- HuggingFace Space deployed
- Social media post (LinkedIn/X) published - LinkedIn
- README with complete documentation
- Demo video (1-5 minutes) - YouTube | Loom
- All team member HF usernames in Space README
Phase 2 Implementation Plan
2.1 HuggingFace MCP Server Integration
Priority: Critical Status: β COMPLETE
Completed Tasks:
- Implemented Local Demo MCP for standalone operation
- Added MCP server configuration UI
- Created fallback chain: MCP Server -> Local Demo -> Stub
- Added health check and status indicators
- Support for custom MCP server endpoints
Files Modified:
app.py- MCP integration with demo mode
2.2 Comprehensive Sample Test Data
Priority: Critical Status: β COMPLETE
Completed Tasks:
- Create realistic dbt manifest sample
- Create Airflow DAG metadata sample
- Create SQL DDL with complex lineage sample
- Create data warehouse lineage sample (Snowflake/BigQuery style)
- Create ETL workflow sample
- Create complex lineage demo (50+ nodes)
- Add "Demo Gallery" one-click examples in UI
Files Created:
samples/sample_metadata.json- Simple JSON lineagesamples/dbt_manifest_sample.json- Full dbt project with 15+ modelssamples/airflow_dag_sample.json- ETL pipeline with 15 taskssamples/sql_ddl_sample.sql- SQL DDL statementssamples/warehouse_lineage_sample.json- Snowflake-style multi-layersamples/etl_pipeline_sample.json- Multi-source ETL pipelinesamples/complex_lineage_demo.json- 50+ node e-commerce platform
2.3 Export to Data Catalogs (Collibra, Purview, Alation)
Priority: High Status: β COMPLETE
Completed Tasks:
- Design universal lineage export format (OpenLineage)
- Implement Collibra export format
- Implement Microsoft Purview export format
- Implement Alation export format
- Implement Apache Atlas export format
- Add export UI with format selection
- Add download/copy buttons for each format
Export Formats Implemented:
exporters/
βββ __init__.py # Package exports
βββ base.py # Base classes (LineageGraph, LineageNode, LineageEdge)
βββ openlineage.py # OpenLineage standard format
βββ collibra.py # Collibra Data Intelligence
βββ purview.py # Microsoft Purview
βββ alation.py # Alation Data Catalog
βββ atlas.py # Apache Atlas
2.4 User Guide with Sample Lineage Examples
Priority: High Status: β COMPLETE
Completed Tasks:
- Create comprehensive USER_GUIDE.md
- Add getting started section
- Document all input formats supported
- Create step-by-step tutorials
- Add troubleshooting section
- Include sample lineage scenarios with expected outputs
- Add integration guides for each data catalog
2.5 Gradio 6 Upgrade & UI/UX Enhancement
Priority: Critical (Competition Requirement) Status: β COMPLETE
Completed Tasks:
- Upgrade to Gradio 6 (competition requirement)
- Implement agentic chatbot interface (Google Gemini)
- Improve layout and responsiveness
- Add progress indicators and loading states
- Implement error handling with user-friendly messages
- Add interactive graph zoom/pan (click-to-zoom)
- Add PNG/SVG download buttons
- Add Mermaid Live Editor link
UI Features Implemented:
- Professional tabbed interface
- Demo Gallery with one-click samples
- Collapsible accordions for advanced options
- Color-coded node types in visualizations
- Export format dropdown with copy functionality
2.6 Agentic Chatbot Integration
Priority: Critical (Competition Judging) Status: β COMPLETE
Completed Tasks:
- Implement conversational interface for lineage queries
- Add natural language input for lineage extraction
- Enable follow-up questions about lineage
- Integrate with Google Gemini API (sponsor integration)
- Implement context memory for conversations
- Add "Use Generated JSON" button to transfer AI output
2.7 Demo Video Production
Priority: Critical (Submission Requirement) Status: β COMPLETE
Video Links
- YouTube: Watch the Demo
- Loom: Alternative Link
Video Highlights (2:30 minutes)
- Introduction (15s) - Lineage Graph Accelerator overview
- AI Assistant (30s) - Google Gemini generating lineage from natural language
- MCP Integration (25s) - Local Demo MCP server fetching metadata
- Demo Gallery (25s) - Complex 50+ node pipeline + export to Collibra
- Interactive Features (20s) - Zoom, PNG/SVG download
- Call to Action (15s) - Try on HuggingFace, visit aamanlamba.com
Technical Architecture
Implemented Architecture:
User -> Gradio 6 UI -> Agentic Chatbot (Gemini)
-> MCP Server (Local Demo/Custom)
-> Lineage Parser (dbt/Airflow/SQL/JSON)
-> Graph Visualizer (Mermaid.ink)
-> Export Engine -> [OpenLineage|Collibra|Purview|Alation|Atlas]
Dependencies
# requirements.txt
gradio>=6.0.0
anthropic>=0.25.0
google-cloud-bigquery>=3.10.0
google-generativeai>=0.8.0
requests>=2.31.0
pyyaml>=6.0
Testing Status
Unit Tests: β 13/13 Passing
- Test all export formats (5 tests)
- Test sample data loading (3 tests)
- Test visualization rendering (2 tests)
- Test lineage extraction functions (3 tests)
Run tests:
python -m unittest tests.test_app -v
Deployment Status
HuggingFace Space: β LIVE
- Space SDK set to Gradio 6
- Environment configured
- All features tested on HF infrastructure
- MCP integration working
Documentation: β COMPLETE
Remaining Tasks
| Task | Priority | Status |
|---|---|---|
| CRITICAL | β Complete | |
| CRITICAL | β Complete |
π ALL SUBMISSION REQUIREMENTS COMPLETE!
Success Metrics
- All judging criteria addressed
- Submission requirements complete
- Demo runs without errors
- Export files validate correctly
- MCP integration functional
- UI is polished and intuitive
- Documentation is comprehensive
Links
- Live Demo: HuggingFace Space
- Author: Aaman Lamba
- Documentation: USER_GUIDE.md
Notes
- Competition ends November 30, 2025 at 11:59 PM UTC
- Focus on "Productivity" track for Track 2
- Google Gemini integrated for sponsor bonus consideration
- All features tested and working on HuggingFace Spaces