An intelligent assistant for analyzing AWS HealthOmics single-cell RNA sequencing pipeline outputs using agentic AI workflows powered by AWS Bedrock and LangGraph.
SingleCell AI Insights transforms complex MultiQC quality control reports into actionable insights through natural language conversations. Ask questions in plain English and get intelligent answers backed by data analysis, visualizations, and recommendations.
Key Features:
- 🤖 Agentic AI Workflow - LangGraph orchestrates multi-step reasoning with Claude Sonnet 4
- 💬 Natural Language Interface - Ask questions about your sequencing data in plain English
- 📊 Intelligent Analysis - Automatic outlier detection, statistical analysis, and data interpretation
- 🔍 RAG-Powered Search - FAISS vector store for semantic search across MultiQC documentation
- 📈 Smart Artifact Selection - AI intelligently selects relevant plots and tables from MultiQC reports
- ☁️ Production-Ready AWS Infrastructure - ECS Fargate, RDS, CloudFront, auto-scaling
- Frontend: React 19 + TypeScript, Vite, TailwindCSS, shadcn/ui
- Backend: Django 4.2 + DRF, LangGraph agentic workflows
- AI: AWS Bedrock (Claude Sonnet 4 + Titan Embeddings)
- Infrastructure: AWS ECS Fargate, RDS PostgreSQL, CloudFront CDN, S3
- Deployment: One-command CDK deployment with zero-downtime updates
See ARCHITECTURE.md and ARCHITECTURE_DIAGRAM.md for detailed diagrams.
See JUDGE_GUIDE.md for a complete walkthrough of features and evaluation criteria.
- Python 3.12+
- Node.js 18+ and pnpm
- AWS credentials with HealthOmics and Bedrock permissions
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r backend/requirements.txt pip install -r dev-requirements.txt # Optional: for linting/formatting -
Configure environment:
cp backend/.env-example backend/.env # Edit backend/.env with your AWS credentials and settings -
Run migrations:
cd backend python manage.py migrate -
Create a superuser:
python manage.py createsuperuser
-
Start the development server:
python manage.py runserver
-
Install dependencies:
cd frontend pnpm install -
Configure environment:
cp .env-example .env # Edit .env to point to your backend (default: http://localhost:8000/api) -
Start the development server:
pnpm dev
The frontend will be available at http://localhost:5173.
See infrastructure/README.md for complete deployment instructions.
Quick deploy:
cd infrastructure
export BUDGET_EMAIL=your-email@example.com
# Initial deployment
./stack_upgrade.py --infrastructure --backend --frontend
# Get CloudFront domain from outputs
aws cloudformation describe-stacks --stack-name MainStack \
--query "Stacks[0].Outputs[?OutputKey=='CloudFrontDomain'].OutputValue" --output text
# Re-deploy with CloudFront domain
./stack_upgrade.py --infrastructure --param CloudFrontDomain=<your-domain>.cloudfront.net
./stack_upgrade.py --backendsinglecell-ai-insights/
├── backend/ # Django backend
│ ├── singlecell_ai_insights/
│ │ ├── api/ # REST API endpoints
│ │ ├── aws/ # AWS service integrations
│ │ ├── models/ # Database models
│ │ ├── services/ # LangGraph agent workflows
│ │ └── tests/ # Test suite
│ ├── requirements.txt
│ └── manage.py
├── frontend/ # React frontend
│ ├── src/
│ │ ├── api/ # API client
│ │ ├── components/ # React components
│ │ ├── pages/ # Page components
│ │ └── providers/ # Context providers
│ └── package.json
├── infrastructure/ # AWS CDK infrastructure
│ ├── cdk/ # CDK stacks
│ └── stack_upgrade.py # Deployment script
└── pipeline_output_example/ # Sample MultiQC data
Backend:
cd backend
pytest
# or
python manage.py testFrontend:
cd frontend
pnpm test- LangGraph - Agentic workflow orchestration with directed graphs
- AWS Bedrock - Claude Sonnet 4 for chat, Titan for embeddings
- FAISS - Vector similarity search for RAG
- Django REST Framework - API backend with JWT authentication
- React Query - Server state management and caching
- Server-Sent Events - Real-time streaming responses
- JUDGE_GUIDE.md - Evaluation guide for hackathon judges
- ARCHITECTURE.md - Detailed architecture documentation
- ARCHITECTURE_DIAGRAM.md - Mermaid diagrams
- infrastructure/README.md - Deployment guide
- HACKATHON_SUBMISSION.md - Hackathon submission details
MIT