Interested in an on-premise deployment or AI transformation? Call or text ๐Ÿ“ž (571) 293-0242

Platform Architecture

Data Flow & Infrastructure Diagram

Client Layer

Clients

All clients connect to a shared authentication service

Web
iOS
Android
Mac
Surface
API
MCP
Authentication Layer

Login Application

Centralized auth service โ€” all clients redirect here

SSO (SAML / OIDC)Username / PasswordEmail OTPOther Providers
Returns Access Tokens + RBAC Permissions (Role-Based Access Control)
Authenticated API Calls (Bearer Token + RBAC)
API Gateway

api.iblai.app

Routes requests to underlying platform services

Learn

ibl-edx-pro
  • โ†’ Content creation
  • โ†’ Course management
  • โ†’ LMS capabilities
  • โ†’ Learner tracking

Data Manager

ibl-dm-pro
  • โ†’ Agentic functions
  • โ†’ Agent orchestration
  • โ†’ Data processing
  • โ†’ API services
ASGI Connection (Agent Routing)
Internal Tooling

Observability & Media

LLM Analytics

  • โ€ข Prompt tracing
  • โ€ข Cost tracking
  • โ€ข Model evaluation
  • โ€ข Usage dashboards

Audio / Video

  • โ€ข Phone calls
  • โ€ข Voice AI
  • โ€ข Real-time audio
  • โ€ข WebRTC
Back-End Infrastructure

Load Balancer

Distributes requests across App Scalable pool

App Scalable Servers

64 GB+ RAM each (min. recommended) ยท Horizontally scalable ยท N instances

App Scalable 1

LearnData MgrLLM AnalyticsAudio/Video

App Scalable 2

LearnData MgrLLM AnalyticsAudio/Video

App Scalable N

LearnData MgrLLM AnalyticsAudio/Video
ASGI Connection (Agent โ†” Sandbox routing)

Agent Sandboxes

8 GB+ RAM each (min. recommended) ยท 1 sandbox per agent ยท Unlimited sandboxes ยท Connected via Data Manager

Agent A
8 GB+
Agent B
8 GB+
Agent C
8 GB+
โ€ฆ
8 GB+
Agent N
8 GB+
Scales to any number of concurrent agent sandboxes on demand

App Single Server โ€” Persistence Layer

64 GB+ RAM (min. recommended) ยท Single instance ยท Read replicas supported

PostgreSQL

Used by Data Manager
  • App data
  • User records
  • Permissions
  • Read replicas
pgVector โ€” Embeddings

MySQL

Used by Learn
  • Course data
  • LMS records
  • Read replicas

MongoDB

Used by Learn
  • Documents
  • Logs
  • Unstructured data
  • Read replicas

Redis

  • Sessions
  • Cache
  • Pub/Sub
  • Rate limiting

Object Storage

  • File storage
  • Media assets
  • User uploads
  • Backups

Shared Filesystem

  • Configurations
  • Static files
Data Flow

Complete Data Flow Sequence

  1. 1User opens any ibl.ai client (Web, iOS, Android, Mac, Surface, API, MCP)
  2. 2Client redirects to centralized Login Application โ€” user authenticates via SSO, password, or email OTP
  3. 3Login Application returns Access Tokens + RBAC Permissions โ€” user redirected back to client
  4. 4Client makes authenticated API calls to api.iblai.app (Bearer token + RBAC)
  5. 5api.iblai.app routes to Learn (ibl-edx-pro) or Data Manager (ibl-dm-pro)
  6. 6Load Balancer distributes across App Scalable servers (64 GB+ RAM each)
  7. 7Data Manager opens ASGI connection โ†’ routes to appropriate Agent Sandbox (8 GB+ RAM, 1 per agent)
  8. 8Agent Sandbox reads/writes: PostgreSQL (pgVector), MySQL, MongoDB, Redis, Object Storage, Shared Filesystem
  9. 9Internal tooling: LLM Analytics (prompt tracing, costs) + Audio/Video (calls, voice AI)
  10. 10Agent Sandbox โ†’ Data Manager โ†’ api.iblai.app โ†’ User
Scaling

Scaling Model

ComponentScalingDetails
ClientsStaticCDN / app stores / API / MCP
Login ApplicationSharedCentralized auth for all clients
api.iblai.appGatewayRoutes to Learn + Data Manager
App Scalable ServersHorizontal โ†”N instances, 64 GB+ RAM each (min. recommended)
Agent SandboxesHorizontal โ†”Unlimited instances, 8 GB+ RAM (min. recommended), 1 per agent
App Single ServerVertical โ†•1 instance, 64 GB+ RAM (min. recommended), read replicas
Load BalancerSingleDistributes across App Scalable pool