← all projects
AI SystemsAIRAG

MedMitra — AI Medical Case Management

Multi-agent system using LangGraph to automate medical case analysis — processing 500+ patient notes, lab reports (LlamaParse), and radiology images (Llama 4 vision) with 94% accuracy. SOAP notes and diagnostic suggestions in under 3 seconds.

Next.jsFastAPILangGraphGroqSupabase

Problem

Medical case review involves messy multimodal context: notes, labs, reports, images, and timelines. MedMitra explores how agentic systems can structure that evidence before producing a useful clinical-style summary.

Approach

System Diagram

1

Case intake

Receives patient notes, lab reports, and radiology images from the app.

2

Document parsing

Uses LlamaParse to normalize PDFs and clinical text into agent-readable context.

3

LangGraph agents

Coordinates evidence extraction, image reasoning, summary writing, and final review.

4

FastAPI backend

Runs the workflow, stores case state, and returns structured outputs.

5

Clinical output

Produces SOAP notes and diagnostic suggestions for human review.

Key Decisions

Why LangGraph

A graph makes the workflow explicit: each node owns a narrow part of the case, and the final response can be assembled from traceable intermediate findings.

Why SOAP notes

SOAP gives the model a constrained output contract, which is easier to review than a free-form medical paragraph.

Concepts Used

Multi-agent orchestrationStructured medical summarizationVision-language reasoningDocument parsingHuman-reviewable AI output

Outcomes

← back to featured projects