Spaces:
Running
Running
File size: 10,553 Bytes
e16b9e6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 |
# Phase 14 Implementation Spec: Demo Video & Hackathon Submission
**Goal**: Create compelling demo video and complete hackathon submission.
**Philosophy**: "Ship it with style."
**Prerequisite**: Phases 12-13 complete (MCP + Modal working)
**Priority**: P0 - REQUIRED FOR SUBMISSION
**Deadline**: November 30, 2025 11:59 PM UTC
**Estimated Time**: 2-3 hours
---
## 1. Submission Requirements
### MCP's 1st Birthday Hackathon Checklist
| Requirement | Status | Action |
|-------------|--------|--------|
| HuggingFace Space in `MCP-1st-Birthday` org | Pending | Transfer or create |
| Track tag in README.md | Pending | Add tag |
| Social media post link | Pending | Create post |
| Demo video (1-5 min) | Pending | Record |
| Team members registered | Pending | Verify |
| Original work (Nov 14-30) | **DONE** | All commits in range |
### Track 2: MCP in Action - Tags
```yaml
# Add to HuggingFace Space README.md
tags:
- mcp-in-action-track-enterprise # Healthcare/enterprise focus
```
---
## 2. Prize Eligibility Summary
### After Phases 12-13
| Award | Amount | Eligible | Requirements Met |
|-------|--------|----------|------------------|
| Track 2: MCP in Action (1st) | $2,500 | **YES** | MCP server working |
| Modal Innovation | $2,500 | **YES** | Sandbox demo ready |
| LlamaIndex | $1,000 | **YES** | Using RAG |
| Community Choice | $1,000 | Possible | Need great demo |
| **Total Potential** | **$7,000** | | |
---
## 3. Demo Video Specification
### 3.1 Duration & Format
- **Length**: 3-4 minutes (sweet spot)
- **Format**: Screen recording + voice-over
- **Resolution**: 1080p minimum
- **Audio**: Clear narration, no background music
### 3.2 Recommended Tools
| Tool | Purpose | Notes |
|------|---------|-------|
| OBS Studio | Screen recording | Free, cross-platform |
| Loom | Quick recording | Good for demos |
| QuickTime | Mac screen recording | Built-in |
| DaVinci Resolve | Editing | Free, professional |
### 3.3 Demo Script (4 minutes)
```markdown
## Section 1: Hook (30 seconds)
[Show Gradio UI]
"DeepCritical is an AI-powered drug repurposing research agent.
It searches peer-reviewed literature, clinical trials, and cutting-edge preprints
to find new uses for existing drugs."
"Let me show you how it works."
---
## Section 2: Core Functionality (60 seconds)
[Type query: "Can metformin treat Alzheimer's disease?"]
"When I ask about metformin for Alzheimer's, DeepCritical:
1. Searches PubMed for peer-reviewed papers
2. Queries ClinicalTrials.gov for active trials
3. Scans bioRxiv for the latest preprints"
[Show search results streaming]
"It then uses an LLM to assess the evidence quality and
synthesize findings into a structured research report."
[Show final report]
---
## Section 3: MCP Integration (60 seconds)
[Switch to Claude Desktop]
"What makes DeepCritical unique is full MCP integration.
These same tools are available to any MCP client."
[Show Claude Desktop with DeepCritical tools]
"I can ask Claude: 'Search PubMed for aspirin cancer prevention'"
[Show results appearing in Claude Desktop]
"The agent uses our MCP server to search real biomedical databases."
[Show MCP Inspector briefly]
"Here's the MCP schema - four tools exposed for any AI to use."
---
## Section 4: Modal Innovation (45 seconds)
[Run verify_sandbox.py]
"For statistical analysis, we use Modal for secure code execution."
[Show sandbox verification output]
"Notice the hostname is NOT my machine - code runs in an isolated container.
Network is blocked. The AI can't reach the internet from the sandbox."
[Run analysis demo]
"Modal executes LLM-generated statistical code safely,
returning verdicts like SUPPORTED, REFUTED, or INCONCLUSIVE."
---
## Section 5: Close (45 seconds)
[Return to Gradio UI]
"DeepCritical brings together:
- Three biomedical data sources
- MCP protocol for universal tool access
- Modal sandboxes for safe code execution
- LlamaIndex for semantic search
All in a beautiful Gradio interface."
"Check out the code on GitHub, try it on HuggingFace Spaces,
and let us know what you think."
"Thanks for watching!"
[Show links: GitHub, HuggingFace, Team names]
```
---
## 4. HuggingFace Space Configuration
### 4.1 Space README.md
```markdown
---
title: DeepCritical
emoji: π§¬
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: "5.0.0"
app_file: src/app.py
pinned: false
license: mit
tags:
- mcp-in-action-track-enterprise
- mcp-hackathon
- drug-repurposing
- biomedical-ai
- pydantic-ai
- llamaindex
- modal
---
# DeepCritical
AI-Powered Drug Repurposing Research Agent
## Features
- **Multi-Source Search**: PubMed, ClinicalTrials.gov, bioRxiv/medRxiv
- **MCP Integration**: Use our tools from Claude Desktop or any MCP client
- **Modal Sandbox**: Secure execution of AI-generated statistical code
- **LlamaIndex RAG**: Semantic search and evidence synthesis
## MCP Tools
Connect to our MCP server at:
```
https://MCP-1st-Birthday-deepcritical.hf.space/gradio_api/mcp/
```
Available tools:
- `search_pubmed` - Search peer-reviewed biomedical literature
- `search_clinical_trials` - Search ClinicalTrials.gov
- `search_biorxiv` - Search bioRxiv/medRxiv preprints
- `search_all` - Search all sources simultaneously
## Team
- The-Obstacle-Is-The-Way
- MarioAderman
## Links
- [GitHub Repository](https://github.com/The-Obstacle-Is-The-Way/DeepCritical-1)
- [Demo Video](link-to-video)
```
### 4.2 Environment Variables (Secrets)
Set in HuggingFace Space settings:
```
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
NCBI_API_KEY=...
MODAL_TOKEN_ID=...
MODAL_TOKEN_SECRET=...
```
---
## 5. Social Media Post
### Twitter/X Template
```
𧬠Excited to submit DeepCritical to MCP's 1st Birthday Hackathon!
An AI agent that:
β
Searches PubMed, ClinicalTrials.gov & bioRxiv
β
Exposes tools via MCP protocol
β
Runs statistical code in Modal sandboxes
β
Uses LlamaIndex for semantic search
Try it: [HuggingFace link]
Demo: [Video link]
#MCPHackathon #AIAgents #DrugRepurposing @huggingface @AnthropicAI
```
### LinkedIn Template
```
Thrilled to share DeepCritical - our submission to MCP's 1st Birthday Hackathon!
π¬ What it does:
DeepCritical is an AI-powered drug repurposing research agent that searches
peer-reviewed literature, clinical trials, and preprints to find new uses
for existing drugs.
π οΈ Technical highlights:
β’ Full MCP integration - tools work with Claude Desktop
β’ Modal sandboxes for secure AI-generated code execution
β’ LlamaIndex RAG for semantic evidence search
β’ Three biomedical data sources in parallel
Built with PydanticAI, Gradio, and deployed on HuggingFace Spaces.
Try it: [link]
Watch the demo: [link]
#ArtificialIntelligence #Healthcare #DrugDiscovery #MCP #Hackathon
```
---
## 6. Pre-Submission Checklist
### 6.1 Code Quality
```bash
# Run all checks
make check
# Expected output:
# β
Linting passed (ruff)
# β
Type checking passed (mypy)
# β
All 80+ tests passed (pytest)
```
### 6.2 Documentation
- [ ] README.md updated with MCP instructions
- [ ] All demo scripts have docstrings
- [ ] Example files work end-to-end
- [ ] CLAUDE.md is current
### 6.3 Deployment Verification
```bash
# Test locally
uv run python src/app.py
# Visit http://localhost:7860
# Test MCP schema
curl http://localhost:7860/gradio_api/mcp/schema
# Test Modal (if configured)
uv run python examples/modal_demo/verify_sandbox.py
```
### 6.4 HuggingFace Space
- [ ] Space created in `MCP-1st-Birthday` organization
- [ ] Secrets configured (API keys)
- [ ] App starts without errors
- [ ] MCP endpoint accessible
- [ ] Track tag in README
---
## 7. Recording Checklist
### Before Recording
- [ ] Close unnecessary apps/notifications
- [ ] Clear browser history/tabs
- [ ] Test all demos work
- [ ] Prepare terminal windows
- [ ] Write down talking points
### During Recording
- [ ] Speak clearly and at moderate pace
- [ ] Pause briefly between sections
- [ ] Show your face? (optional, adds personality)
- [ ] Don't rush - 3-4 min is enough time
### After Recording
- [ ] Watch playback for errors
- [ ] Trim dead air at start/end
- [ ] Add title/end cards
- [ ] Export at 1080p
- [ ] Upload to YouTube/Loom
---
## 8. Submission Steps
### Step 1: Finalize Code
```bash
# Ensure clean state
git status
make check
# Push to GitHub
git push origin main
# Sync to HuggingFace
git push huggingface-upstream main
```
### Step 2: Verify HuggingFace Space
1. Visit Space URL
2. Test the chat interface
3. Test MCP endpoint: `/gradio_api/mcp/schema`
4. Verify README has track tag
### Step 3: Record Demo Video
1. Follow script from Section 3.3
2. Edit and export
3. Upload to YouTube (unlisted) or Loom
4. Copy shareable link
### Step 4: Create Social Post
1. Write post (see templates)
2. Include video link
3. Tag relevant accounts
4. Post and copy link
### Step 5: Submit
1. Ensure Space is in `MCP-1st-Birthday` org
2. Verify track tag in README
3. Submit entry (check hackathon page for form)
4. Include all links
---
## 9. Verification Commands
```bash
# 1. Full test suite
make check
# 2. Start local server
uv run python src/app.py
# 3. Verify MCP works
curl http://localhost:7860/gradio_api/mcp/schema | jq
# 4. Test with MCP Inspector
npx @anthropic/mcp-inspector http://localhost:7860/gradio_api/mcp/
# 5. Run Modal verification
uv run python examples/modal_demo/verify_sandbox.py
# 6. Run full demo
uv run python examples/orchestrator_demo/run_agent.py "metformin alzheimer"
```
---
## 10. Definition of Done
Phase 14 is **COMPLETE** when:
- [ ] Demo video recorded (3-4 min)
- [ ] Video uploaded (YouTube/Loom)
- [ ] Social media post created with link
- [ ] HuggingFace Space in `MCP-1st-Birthday` org
- [ ] Track tag in Space README
- [ ] All team members registered
- [ ] Entry submitted before deadline
- [ ] Confirmation received
---
## 11. Timeline
| Task | Time | Deadline |
|------|------|----------|
| Phase 12: MCP Server | 2-3 hours | Nov 28 |
| Phase 13: Modal Integration | 2-3 hours | Nov 29 |
| Phase 14: Demo & Submit | 2-3 hours | Nov 30 |
| **Buffer** | ~24 hours | Before 11:59 PM UTC |
---
## 12. Contact & Support
### Hackathon Resources
- Discord: `#agents-mcp-hackathon-winter25`
- HuggingFace: [MCP-1st-Birthday org](https://huggingface.co/MCP-1st-Birthday)
- MCP Docs: [modelcontextprotocol.io](https://modelcontextprotocol.io/)
### Team Communication
- Coordinate on final review
- Agree on who submits
- Celebrate when done! π
---
**Good luck! Ship it with confidence.**
|