Sign up
Login
New
Trending
Archive
English
English
Sign up
Login
New Paste
Add Image
Create a cloud-native, enterprise-grade architecture diagram for a multi-tenant healthcare AI chatbot assistant deployed on AWS. The system supports multiple hospitals (tenants), with doctors and nurses as end users, and is accessed via web and mobile applications. High-Level Requirements The architecture must clearly show multi-tenancy, AI agent orchestration, LLMOps observability, and secure cloud infrastructure Use AWS official service icons Group components logically using boundaries, layers, and annotations Show request flow from users → AI agents → retrieval → LLM → response User & Application Layer Web Application (Doctors & Nurses) Mobile Application (Doctors & Nurses) Requests routed through an API Gateway / Ingress Kubernetes & Compute Layer AWS EKS Cluster Namespace per environment Tenant-isolated AI Service Pods One AI service pod per hospital (tenant) Each pod is identified by Org ID / Tenant ID Amazon ECR Stores Docker images for AI services CI/CD pushes images to ECR EKS pulls images from ECR AI Application & Agent Layer (Inside Each Tenant Pod) Inside each tenant-specific AI service pod, include the following multi-agent system: Orchestrator Agent Entry point for all AI requests Coordinates agent execution flow Supervisor Agent Controls execution order Applies guardrails and safety checks Query Classifier Agent Classifies user intent (clinical, policy, summarization, etc.) Query Optimizer Agent Refines and optimizes prompts Prepares queries for retrieval and LLM Retriever Agent Retrieves embeddings from vector database LangGraph Client Used for AI agent orchestration and state transitions Tooling & Retrieval Layer MCP Server (Model Context Protocol) Deployed sidecar-style alongside each AI service pod Exposes retrieval tools Acts as a tool provider to LangGraph agents Amazon OpenSearch (Vector Database) Stores embeddings per tenant Queried via MCP Retriever Tool Tenant-specific indices Data & Storage Layer Amazon RDS (PostgreSQL) One database per tenant (hospital) Application acts as the single source of truth Database selection based on Org ID Amazon S3 Stores uploaded documents for knowledge ingestion Source for vector embedding pipelines LLMOps, Observability & Monitoring Arize Phoenix (LLMOps / Agent Observability) Tracks: Agent execution traces Prompt versions Token usage Latency and errors Connected to LangGraph execution flow Logging & Metrics Centralized logs AI request tracing Per-tenant observability Security & Governance Layer AWS IAM Roles (IRSA) Pod-level permissions Access control for S3, OpenSearch, RDS AWS Secrets Manager Stores API keys, credentials, secrets Injected securely into pods HIPAA & PHI Compliance Controls Encryption at rest and in transit Tenant isolation boundaries clearly marked Data & Request Flow (Show with arrows) Doctor/Nurse submits query via Web or Mobile App Request enters EKS via Ingress/API Gateway Routed to tenant-specific AI service pod Orchestrator Agent invokes downstream agents Retriever Agent calls MCP tool MCP Server queries OpenSearch vector DB Context returned to LangGraph LLM generates grounded response Supervisor Agent validates response Response returned to user Traces and metrics sent to Arize Phoenix Diagram Style Instructions Use layered architecture Use clear tenant boundaries Label all arrows with action verbs (e.g., “Retrieve Embeddings”, “Invoke Tool”, “Generate Response”) Keep diagram clean, professional, and interview-ready Optimize for clarity over decoration
Settings
Title :
[Optional]
Paste Folder :
[Optional]
Select
Syntax :
[Optional]
Select
Markup
CSS
JavaScript
Bash
C
C#
C++
Java
JSON
Lua
Plaintext
C-like
ABAP
ActionScript
Ada
Apache Configuration
APL
AppleScript
Arduino
ARFF
AsciiDoc
6502 Assembly
ASP.NET (C#)
AutoHotKey
AutoIt
Basic
Batch
Bison
Brainfuck
Bro
CoffeeScript
Clojure
Crystal
Content-Security-Policy
CSS Extras
D
Dart
Diff
Django/Jinja2
Docker
Eiffel
Elixir
Elm
ERB
Erlang
F#
Flow
Fortran
GEDCOM
Gherkin
Git
GLSL
GameMaker Language
Go
GraphQL
Groovy
Haml
Handlebars
Haskell
Haxe
HTTP
HTTP Public-Key-Pins
HTTP Strict-Transport-Security
IchigoJam
Icon
Inform 7
INI
IO
J
Jolie
Julia
Keyman
Kotlin
LaTeX
Less
Liquid
Lisp
LiveScript
LOLCODE
Makefile
Markdown
Markup templating
MATLAB
MEL
Mizar
Monkey
N4JS
NASM
nginx
Nim
Nix
NSIS
Objective-C
OCaml
OpenCL
Oz
PARI/GP
Parser
Pascal
Perl
PHP
PHP Extras
PL/SQL
PowerShell
Processing
Prolog
.properties
Protocol Buffers
Pug
Puppet
Pure
Python
Q (kdb+ database)
Qore
R
React JSX
React TSX
Ren'py
Reason
reST (reStructuredText)
Rip
Roboconf
Ruby
Rust
SAS
Sass (Sass)
Sass (Scss)
Scala
Scheme
Smalltalk
Smarty
SQL
Soy (Closure Template)
Stylus
Swift
TAP
Tcl
Textile
Template Toolkit 2
Twig
TypeScript
VB.Net
Velocity
Verilog
VHDL
vim
Visual Basic
WebAssembly
Wiki markup
Xeora
Xojo (REALbasic)
XQuery
YAML
HTML
Expiration :
[Optional]
Never
Self Destroy
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Status :
[Optional]
Public
Unlisted
Private (members only)
Password :
[Optional]
Description:
[Optional]
Tags:
[Optional]
Encrypt Paste
(
?
)
Create Paste
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Site Languages
×
English