File size: 2,446 Bytes
3a58896
 
 
fedbe32
 
3a58896
 
 
 
 
 
664d39e
fe7e528
664d39e
 
fe7e528
 
 
 
 
664d39e
fe7e528
664d39e
fe7e528
664d39e
 
 
 
fe7e528
664d39e
 
 
 
fe7e528
664d39e
fe7e528
664d39e
 
 
 
 
fe7e528
664d39e
fe7e528
664d39e
 
 
 
 
 
 
 
 
 
fe7e528
664d39e
fe7e528
664d39e
 
 
 
 
 
 
 
fe7e528
664d39e
fe7e528
664d39e
 
 
fe7e528
664d39e
fe7e528
664d39e
fe7e528
664d39e
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
---
title: ARIA - AMD Biomedical Research Intelligence Assistant
emoji: 🧬
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: false
---

... your existing README content below ...

# ARIA β€” Autonomous Research Intelligence Agent

> Multi-agent biomedical literature synthesis Β· AMD Developer Hackathon 2026
> **Team Glitch Squad** β€” Ziauddin University, Karachi, Pakistan

---

## What It Does

You type a clinical research question. ARIA runs a 4-stage multi-agent pipeline that searches PubMed, synthesises evidence, scores confidence, and returns a structured report β€” all in under 60 seconds.

## Pipeline

```
Query Architect  β†’  Literature Scout  β†’  Evidence Synthesiser  β†’  Citation Builder
(Groq LLaMA-3.1)    (PubMed Entrez)      (Groq LLaMA-3.1)        (structured refs)
```

1. **Query Architect** β€” generates 5 MeSH-optimised PubMed queries from your clinical question
2. **Literature Scout** β€” fetches and deduplicates papers across all queries in parallel
3. **Evidence Synthesiser** β€” builds a structured 6-section synthesis with inline PMID citations
4. **Citation Builder** β€” formats references with authors, journal, year, and PMID

## Features

- Real-time SSE streaming β€” progress bar updates as each stage completes
- Structured synthesis β€” Background, Key Findings, Level of Evidence, Conflicting Evidence, Research Gaps, Clinical Implications
- Evidence confidence scoring β€” green/yellow/red badges rated by a second LLM pass
- Abstract viewer β€” click any citation to expand the full abstract inline
- PDF export β€” download a formatted report with synthesis and references

## Tech Stack

| Component | Technology |
|-----------|------------|
| LLM | Groq LLaMA-3.1-8B-Instant |
| Agent Framework | LangGraph + LangChain |
| Literature Retrieval | BioPython Entrez / PubMed NCBI |
| Web Framework | Flask with SSE streaming |
| PDF Generation | ReportLab |
| Frontend | HTML, CSS, JavaScript |
| Runtime | Python 3.12, WSL2 Ubuntu 24.04 |
| Roadmap | AMD MI300X + Mistral 7B |

## Setup

```bash
git clone https://github.com/azlaan428/glitch-squad-biomedical-assistant.git
cd glitch-squad-biomedical-assistant
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
export GROQ_API_KEY=your_key_here
```

## Run

```bash
./run.sh
```

Open **http://localhost:5000**

## Disclaimer

AI-generated synthesis β€” always verify against primary sources before clinical use.