High-Level Architecture Mermaid
Version 2.2 by Robert Schaub on 2025/12/25 13:33
graph TB
subgraph Interface_Layer["🖥️ Interface Layer"]
UI[Web UI
Browse & Submit]
API[REST API
Programmatic Access]
AUTH[Authentication
& Authorization]
end
subgraph Processing_Layer["⚙️ Processing Layer"]
AKEL[AKEL Pipeline
Parallel Processing
10-18 seconds]
BG[Background Jobs
Source Scoring,
Cache, Archival]
QM[Quality Monitoring
Automated Checks]
end
subgraph Data_Layer["💾 Data & Storage Layer"]
PG[(PostgreSQL
Primary Database
All Core Data)]
REDIS[(Redis
Cache)]
S3[(S3
Archives)]
end
UI --> AUTH
API --> AUTH
AUTH --> AKEL
AUTH --> QM
AKEL --> PG
AKEL --> REDIS
BG --> PG
BG --> S3
QM --> PG
REDIS --> PG
style Interface_Layer fill:#e1f5ff
style Processing_Layer fill:#fff4e1
style Data_Layer fill:#f0f0f0
style AKEL fill:#ffcccc
style PG fill:#9999ff
Three-Layer Architecture - Clean separation with LLM abstraction: Interface Layer (user interactions), Processing Layer (AKEL + LLM Abstraction + background jobs), Data Layer (PostgreSQL primary + Redis cache/config + S3 archives). LLM Abstraction Layer provides provider-agnostic access to Anthropic, OpenAI, Google, and local models with automatic failover.