
Hiingers — Emergency Resource Negotiation
A multi-agent negotiation platform that reallocates scarce hospital resources — ORs, ICU beds, staff, equipment — in minutes during mass-casualty events, using transparent, explainable AI agents.
How I built it▸
Problem
During mass-casualty events, hospitals have to reallocate scarce resources — ORs, ICU beds, staff, equipment — under time pressure, usually through phone calls and manual coordination. Decisions are slow and hard to audit after the fact.
Approach
Every resource is modeled as an autonomous agent that bids on incoming patient cases using a transparent multi-criteria scoring function. A fairness-aware coordinator resolves each bidding round using greedy-augmenting matching with anti-starvation aging, so no case gets perpetually outbid.
Stack & why
- FastAPI — async-friendly for handling concurrent bidding rounds over WebSocket
- WebSocket — real-time bid updates instead of polling, since negotiation rounds need to resolve in seconds
- React + TypeScript — frontend for visualizing live negotiation state
- Docker — consistent local/deploy environment for the multi-service setup
Results
Live demo deployed on Vercel with a working multi-agent negotiation loop and per-decision explainability (every allocation decision shows the scoring breakdown that produced it).
Lesson
Explainability isn't a feature — it's the contract users trust. A hospital coordinator won't act on a black-box allocation during an emergency; showing why an agent won a bid is what makes the system usable, not just functional.





Comments
Leave your comments
A note on the build, a question, or just say hi — it lands in my inbox after moderation.
Loading comments…