MHamdan/SPARKNET
๐ฅ SPARKNET: AI-Powered Technology Transfer Office Automation
Multi-agent AI platform for research valorization and IP management
  
Overview
SPARKNET is an enterprise-grade Technology Transfer Office (TTO) Automation Platform that combines multi-agent AI orchestration with document intelligence to automate key TTO workflows. Built for the VISTA/Horizon EU project.
๐ฏ Core TTO Scenarios
๐ Coverage Dashboard
- 3 Fully Covered - Production-ready scenarios
- 5 Partially Covered - In development
- 2 Not Covered - Planned for future
Features
๐ก๏ธ AI Quality Assurance
- CriticAgent Validation: Every AI output validated against VISTA quality standards
- Confidence Scoring: Automatic abstention for low-confidence results
- Source Verification: Hallucination mitigation with evidence grounding
- Human-in-the-Loop: Critical decisions require human approval
๐ค Multi-Agent Architecture
- PlannerAgent: Task decomposition and workflow planning
- ExecutorAgent: Task execution with tool usage
- CriticAgent: Output validation and refinement
- MemoryAgent: Context management and retrieval
๐ Document Intelligence
- OCR with PaddleOCR/Tesseract
- Layout detection and semantic chunking
- Schema-driven field extraction
- Visual evidence grounding (bbox, page, confidence)
๐ฌ RAG Q&A
- Vector search with ChromaDB
- Grounded retrieval with citations
- Multi-document querying
- Citation generation
Quick Start
Streamlit Cloud (Recommended)
The app is deployed on Streamlit Cloud. Visit:
https://sparknet.streamlit.appLocal Installation
# Clone repository
git clone https://github.com/MHHamdan/SPARKNET.git
cd SPARKNET
# Install dependencies
pip install -r requirements.txt
# Run Streamlit app
streamlit run demo/app.pyWith Local LLM (Ollama)
For privacy-preserving local inference:
# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh
# Pull models
ollama pull llama3.2:latest
ollama pull nomic-embed-text
# Run SPARKNET
streamlit run demo/app.pyConfiguration
API Keys
Configure in .streamlit/secrets.toml or environment variables:
[auth]
password = "your-password"
GROQ_API_KEY = "your-groq-key"
GOOGLE_API_KEY = "your-google-key"
OPENROUTER_API_KEY = "your-openrouter-key"See .env.example for all available configuration options.
Supported LLM Providers
Project Structure
SPARKNET/
โโโ demo/ # Streamlit application
โ โโโ app.py # Main app
โ โโโ auth.py # Authentication
โ โโโ llm_providers.py # LLM provider management
โ โโโ pages/ # Multi-page app
โโโ src/
โ โโโ agents/ # Agent implementations
โ โ โโโ scenario1/ # Patent Wake-Up
โ โ โโโ scenario3/ # License Compliance
โ โ โโโ scenario4/ # Award Identification
โ โโโ rag/ # RAG subsystem
โ โโโ workflow/ # LangGraph workflows
โ โโโ document_intelligence/ # Document processing
โโโ configs/ # Configuration files
โโโ .streamlit/ # Streamlit config
โโโ SECURITY.md # Security documentationSecurity & GDPR
SPARKNET supports GDPR-compliant deployments:
- Local Inference: Use Ollama for 100% on-premise processing
- Data Isolation: Configure data retention policies
- Audit Logging: Track all AI interactions
- Private Deployment: Enterprise deployment options
See SECURITY.md for detailed security documentation.
Development
Running Tests
pytest tests/Code Formatting
black src/
flake8 src/Roadmap
- [x] Patent Wake-Up workflow
- [x] Agreement Safety review
- [x] Partner Matching
- [x] CriticAgent validation
- [ ] License Compliance Monitoring (in progress)
- [ ] Award Identification (in progress)
- [ ] Grant Writing Assistant
- [ ] Negotiation Support
Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests
- Submit a pull request
Acknowledgments
- Ollama for local LLM inference
- NVIDIA for CUDA and GPU support
- LangChain for LLM orchestration
- Streamlit for the web framework
- The open-source AI community
Support
- GitHub Issues: github.com/MHHamdan/SPARKNET/issues
- Documentation: See
/docsfolder
License
MIT License - see LICENSE file for details.
<p align="center"> <strong>๐ฅ SPARKNET</strong><br> AI-Powered Technology Transfer Office Automation<br> <em>VISTA/Horizon EU Project</em> </p>
