[01]Problem
Hospital operations span inventory availability, location-to-location transfers, discharge coordination and time-sensitive operational decisions. Fragmented workflows made it harder for teams to keep visibility and coordinate actions across facilities.
Constraints
- Operational workflows across six locations
- Time-sensitive decisions that need current information
- Agents support staff — operational and clinical decisions stay with people
[02]Our role
NEXVYRA Labs designed and engineered the platform: the agent orchestration, the backend services, the operations interface and the deployment architecture.
[03]Approach
- 01Mapped the operational workflows — inventory, transfers and discharge — into a set of specialised agents with clear responsibilities.
- 02Built a LangGraph orchestration layer to coordinate the agents, with retrieval-augmented generation for access to relevant operational knowledge.
- 03Connected agents to application capabilities through an MCP-based tool and integration layer.
- 04Delivered a unified operations interface with real-time updates and scheduled monitoring, on a containerised, cloud-ready deployment architecture.
[04]Capabilities
- Multi-agent workflow orchestration
- Supply Inventory Agent: low-stock alerts, safety-stock logic and forecasting-oriented workflows
- Inventory transfer workflows spanning six locations
- Discharge Agent supporting discharge-related coordination
- RAG-enabled access to operational knowledge and context
- WebSocket updates and 30-second monitoring and refresh cycles
[05]Architecture
React/Vite/Tailwind interface → FastAPI service layer → LangGraph orchestration → specialised agents and RAG → MCP tools and integrations → PostgreSQL/SQLite persistence. Real-time updates run over WebSockets with scheduled monitoring, and the containerised deployment is designed around AWS ECS Fargate with CloudWatch observability.
- Operations interface
- React, Vite and Tailwind — nine application pages.
- Service layer
- FastAPI backend exposing 40+ API endpoints.
- Orchestration
- LangGraph coordinating specialised operational agents.
- Tools & data
- MCP integration layer over a PostgreSQL/SQLite data layer.
Explore the architecture — select a component
Component
LangGraph
Orchestration
Coordinates the specialised agents, routing work and state between them.
Connects to
[06]Technology
- LangGraph
- RAG
- MCP
- FastAPI
- PostgreSQL / SQLite
- React
- Vite
- Tailwind
- WebSockets
- Docker
- AWS ECS Fargate
- CloudWatch
[07]What was delivered
9
Application pages in the operations interface
40+
Backend API endpoints
6
Locations covered by inventory transfer workflows
[08]Boundaries & notes
- The agents support operational coordination; they do not make clinical decisions.
- We don’t publish impact figures such as stockout or discharge-time changes unless they have been measured and documented.
Next project
Voice AI Agents & Conversational Automation
