EvaBot Online โ€” Architecture

Last Updated: 2026-09-07
Version: v0.0.2


๐Ÿ—๏ธ System Overview

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                          EVABOT ONLINE ECOSYSTEM                            โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                                            โ”‚
โ”‚   User Browser          Public IP              Google Cloud               โ”‚
โ”‚   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”           โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”            โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”             โ”‚
โ”‚   โ”‚  Web UI โ”‚ โ”€HTTPSโ”€>  โ”‚ EvaFaceโ”‚ โ”€HTTPSโ”€>  โ”‚ EvaBrain     โ”‚             โ”‚
โ”‚   โ”‚  TUI    โ”‚           โ”‚ 443    โ”‚            โ”‚ :3000        โ”‚             โ”‚
โ”‚   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜           โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜            โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜             โ”‚
โ”‚                              โ”‚                       โ”‚                     โ”‚
โ”‚                              โ”‚                       โ”‚                     โ”‚
โ”‚                              โ–ผ                       โ–ผ                     โ”‚
โ”‚                       โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”          โ”‚
โ”‚                       โ”‚ Caddy (Iowa) โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€> โ”‚ Node.js      โ”‚          โ”‚
โ”‚                       โ”‚ TLS 1.3      โ”‚  Wg     โ”‚ EvaBot Brain โ”‚          โ”‚
โ”‚                       โ”‚ HTTP/3 QUIC  โ”‚ <โ”€โ”€โ”€โ”€โ”€  โ”‚ Frankfurt    โ”‚          โ”‚
โ”‚                       โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜         โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜          โ”‚
โ”‚                              โ”‚                       โ”‚                     โ”‚
โ”‚                              โ”‚                       โ”‚                     โ”‚
โ”‚                              โ–ผ                       โ–ผ                     โ”‚
โ”‚                       โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”          โ”‚
โ”‚                       โ”‚ Tailscale    โ”‚         โ”‚ Google AI    โ”‚          โ”‚
โ”‚                       โ”‚ 100.125.200.49โ”‚        โ”‚ Gemini 2.5   โ”‚          โ”‚
โ”‚                       โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜         โ”‚ Claude 3.7   โ”‚          โ”‚
โ”‚                                                  โ”‚ GPT-4o       โ”‚          โ”‚
โ”‚                                                  โ”‚ DeepSeek R1  โ”‚          โ”‚
โ”‚                                                  โ”‚ Llama 3.3    โ”‚          โ”‚
โ”‚                                                  โ”‚ 78 models... โ”‚          โ”‚
โ”‚                                                  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜          โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ–ฅ๏ธ Components

1. EvaFace (Edge Gateway) - Iowa

VM: evaline-micro-vm
Type: e2-micro (2 vCPU, 1 GB RAM)
Region: us-central1-a
Cost: $0.00/mo (Always Free Tier)

Role:

  • TLS termination (Caddy 2.11)
  • HTTP/3 QUIC support
  • Reverse proxy to EvaBrain
  • Static file serving
  • Domain management

Domains:

  • evabot.online
  • evaline.online
  • evaline.network
  • evaline.website

Software:

  • Caddy 2.11
  • Linux 6.12 (Debian 13 Trixie)
  • Tailscale daemon

2. EvaBrain (Compute Core) - Frankfurt

VM: evabot-agent-vm
Type: c3-standard-8 (8 vCPU, 32 GB RAM)
Region: europe-west3-a
Cost: ~$357.80/mo (on-demand)

Role:

  • LLM orchestration
  • Multi-agent deliberation (Consilium)
  • Knowledge Base server
  • API backend
  • WebSocket server (planned)

Software:

  • Node.js 22
  • TypeScript 5.7
  • esbuild
  • Google AI SDK
  • LiteLLM (OmniRoute)
  • Tailscale daemon

3. WireGuard Mesh

Network: Tailscale 100.x
Encryption: ChaCha20-Poly1305
Latency: ~120ms (Frankfurt โ†” Iowa)
Tunnels:

  • 100.66.98.4 (Frankfurt)
  • 100.125.200.49 (Iowa)

๐Ÿ“ Code Architecture

Monorepo Structure

evabot-online/                       # GitHub: evaline-network/evabot-online
โ”œโ”€โ”€ src/                             # TypeScript source (11,272 lines)
โ”‚   โ”œโ”€โ”€ server/                      # HTTP server
โ”‚   โ”‚   โ”œโ”€โ”€ server.ts               # 211 lines - main entry
โ”‚   โ”‚   โ””โ”€โ”€ routes/                 # 7 modular routers
โ”‚   โ”‚       โ”œโ”€โ”€ Router.ts           # Base Router class
โ”‚   โ”‚       โ”œโ”€โ”€ ChatRouter.ts       # /api/chat, /api/chat/stream, /api/consilium
โ”‚   โ”‚       โ”œโ”€โ”€ ModelsRouter.ts     # /api/models/* (6 endpoints)
โ”‚   โ”‚       โ”œโ”€โ”€ KbRouter.ts         # /api/kb/* (5 endpoints)
โ”‚   โ”‚       โ”œโ”€โ”€ LogsRouter.ts        # /api/logs/* (3 endpoints)
โ”‚   โ”‚       โ”œโ”€โ”€ SecurityRouter.ts   # /api/security/* (4 endpoints)
โ”‚   โ”‚       โ””โ”€โ”€ AlertsRouter.ts     # /api/alerts/* (5 endpoints)
โ”‚   โ”œโ”€โ”€ core/                        # Business logic
โ”‚   โ”‚   โ”œโ”€โ”€ Logger.ts               # 12 categories, 3 files
โ”‚   โ”‚   โ”œโ”€โ”€ Security.ts             # IP blocking, rate limiting
โ”‚   โ”‚   โ”œโ”€โ”€ AlertManager.ts         # 6 channels, 4 severities
โ”‚   โ”‚   โ”œโ”€โ”€ KnowledgeBase.ts        # 182 documents
โ”‚   โ”‚   โ”œโ”€โ”€ KnowledgeBaseCommand.ts # /kb command
โ”‚   โ”‚   โ”œโ”€โ”€ ConsiliumEngine.ts      # Multi-agent deliberation
โ”‚   โ”‚   โ”œโ”€โ”€ UniversalLlmClient.ts   # Multi-provider chat
โ”‚   โ”‚   โ”œโ”€โ”€ GeminiClient.ts         # Google Gemini
โ”‚   โ”‚   โ”œโ”€โ”€ GoogleAuthProvider.ts   # ADC authentication
โ”‚   โ”‚   โ”œโ”€โ”€ ChatSession.ts          # Session management
โ”‚   โ”‚   โ”œโ”€โ”€ ClusterMonitor.ts       # GCP node monitoring
โ”‚   โ”‚   โ”œโ”€โ”€ BootDiagnostics.ts      # Startup checks
โ”‚   โ”‚   โ”œโ”€โ”€ Config.ts               # Configuration
โ”‚   โ”‚   โ”œโ”€โ”€ TuiRenderer.ts          # Terminal UI
โ”‚   โ”‚   โ”œโ”€โ”€ AnsiStreamEngine.ts     # Streaming TUI
โ”‚   โ”‚   โ”œโ”€โ”€ LocalePolicy.ts         # i18n rules
โ”‚   โ”‚   โ”œโ”€โ”€ CorporateRoles.ts       # 8 personas
โ”‚   โ”‚   โ””โ”€โ”€ ...
โ”‚   โ”œโ”€โ”€ models/                      # Model registry
โ”‚   โ”‚   โ”œโ”€โ”€ ModelRegistry.ts        # 78 models catalog
โ”‚   โ”‚   โ””โ”€โ”€ ModelRatings.ts         # Quality/Speed/Context/Cost ratings
โ”‚   โ”œโ”€โ”€ web/                         # Frontend TypeScript
โ”‚   โ”‚   โ””โ”€โ”€ app.ts                   # Web UI
โ”‚   โ”œโ”€โ”€ cli/                         # CLI
โ”‚   โ”‚   โ””โ”€โ”€ terminal-chat.ts         # TUI client
โ”‚   โ””โ”€โ”€ index.ts                     # Public API exports
โ”œโ”€โ”€ public/                          # Static files (HTML/CSS/JS)
โ”œโ”€โ”€ knowledge-base/                  # EvaLine KB (182 docs, 19MB)
โ”œโ”€โ”€ config/                          # Caddy, fail2ban
โ”œโ”€โ”€ .github/workflows/               # CI/CD
โ”œโ”€โ”€ docs/                            # Technical docs
โ””โ”€โ”€ dist/                            # Build output (gitignored)

Router Pattern

Each router is self-contained:

// ModelsRouter.ts
export function createModelsRouter(): Router {
  const router = new Router();
  router.get('/api/models', withErrorHandling(async (ctx) => {
    // Handler logic
  }));
  return router;
}

Benefits:

  • Modular (each file < 100 lines)
  • Testable (independent)
  • Hot-reloadable
  • Type-safe (TypeScript)

๐Ÿ”Œ API Architecture

REST API (30+ endpoints)

CategoryEndpointsRouter
System/health, /roles, /logs, /worklog/*server.ts + LogsRouter
Models/models, /models/free, /models/paid, /models/top, /models/commandModelsRouter
Chat/chat, /chat/stream, /consiliumChatRouter
Knowledge Base/kb/status, /kb/search, /kb/list, /kb/backend, /kb/commandKbRouter
Security/security/status, /security/report, /security/block, /security/unblockSecurityRouter
Alerts/alerts, /alerts/stats, /alerts/send, /alerts/channel, /alerts/configAlertsRouter

Request Flow

1. HTTP request arrives at EvaFace (Caddy)
2. TLS termination (Caddy)
3. Security middleware:
   - Check blocked IPs
   - Apply rate limiting
   - Detect suspicious paths
4. Route to EvaBrain (via WireGuard)
5. EvaBrain matches route in Router
6. withErrorHandling wrapper catches exceptions
7. Route handler executes
8. Response streamed back
9. HTTP request logged with IP, duration

๐Ÿค– AI Model Architecture

Multi-Provider Strategy

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚           UniversalLlmClient               โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚  resolveProvider(modelId)            โ”‚  โ”‚
โ”‚  โ”‚  โ†’ google | omniroute | openrouter   โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
          โ”‚          โ”‚              โ”‚
          โ–ผ          โ–ผ              โ–ผ
    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
    โ”‚ Google  โ”‚ โ”‚OmniRoute โ”‚ โ”‚OpenRouterโ”‚
    โ”‚ Gemini  โ”‚ โ”‚LiteLLM   โ”‚ โ”‚  API     โ”‚
    โ”‚  via    โ”‚ โ”‚  Proxy   โ”‚ โ”‚          โ”‚
    โ”‚  ADC    โ”‚ โ”‚  :20128  โ”‚ โ”‚          โ”‚
    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Model Registry

  • 78 models across 12 categories
  • 46 free (zero cost, quotas)
  • 32 paid (PAYG, USD/EUR pricing)
  • 6 tiers: Free Quota+Paid, Vertex AI, Open Weights, Free Community, OmniRoute, OpenCode

Rating System

  • Quality (40%): based on model name and category
  • Speed (25%): based on RPM quota and model type
  • Context (20%): based on context window size
  • Cost (15%): based on input price

๐Ÿ“š Knowledge Base Architecture

Data Flow

knowledge-base/evaline-com-ua/
โ”œโ”€โ”€ README.{en,ru,uk}.md
โ”œโ”€โ”€ REPORT.{en,ru,uk}.md
โ””โ”€โ”€ site/
    โ”œโ”€โ”€ en/ (b2b/, b2c/, about.md, etc.)
    โ”œโ”€โ”€ uk/
    โ”œโ”€โ”€ ru/
    โ”œโ”€โ”€ pl/
    โ”œโ”€โ”€ ro/
    โ””โ”€โ”€ de/
        โ†“ (loaded on startup)
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  KnowledgeBase.initialize()         โ”‚
โ”‚  โ†“                                  โ”‚
โ”‚  182 documents in memory            โ”‚
โ”‚  โ†“                                  โ”‚
โ”‚  search(query) โ†’ top-5 results      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Search Algorithm

  • Keyword matching with frequency scoring
  • Title boost (+0.5)
  • Tag boost (+0.2 per tag)
  • Score: min(0.99, 0.55 + (matches/tokens) * 0.44)

Future: Vector Search (v0.1.0)

  • Embedding model: Gemini embedding-004
  • Vector DB: ChromaDB
  • Semantic search instead of keyword

๐Ÿ›ก๏ธ Security Architecture

Defense in Depth

Layer 1: Network (GCP Firewall)
  โ†“
Layer 2: TLS (Caddy)
  โ†“
Layer 3: WireGuard Mesh (private network)
  โ†“
Layer 4: Rate Limiting (EvaBrain)
  โ†“
Layer 5: IP Blocking (in-memory)
  โ†“
Layer 6: Path Pattern Detection (17 regex)
  โ†“
Layer 7: Auto-Block (after 20 suspicious)
  โ†“
Layer 8: fail2ban (planned)
  โ†“
Layer 9: Cloud Armor (planned for v0.5.0)

Alerting Flow

Suspicious Activity
  โ†“
Security.recordSuspicious()
  โ†“
Security.checkRateLimit() โ†’ BLOCK
  โ†“
AlertManager.high('IP Auto-Blocked')
  โ†“
Channels:
  - Console (red blink)
  - File (logs/alerts.log)
  - Webhook (Slack/Discord/n8n)
  - Email (SMTP)
  - Syslog (UDP 514)

๐Ÿ“Š Observability Architecture

Logging Pipeline

App Event
  โ†“
Logger.write(category, tag, message)
  โ†“
  โ”œโ”€โ†’ console (with colors)
  โ”œโ”€โ†’ evabot.log (all events)
  โ”œโ”€โ†’ user-actions-{date}.log (USER category)
  โ”œโ”€โ†’ errors-{date}.log (ERROR level)
  โ””โ”€โ†’ in-memory buffer (1000 entries)
       โ†“
       /api/logs/recent endpoint

Metrics

  • HTTP request rate
  • Response time (p50, p95, p99)
  • Error rate by endpoint
  • Model usage by provider
  • KB search queries
  • Security events per hour

Planned (v0.5.0)

  • Prometheus exporter
  • Grafana dashboards
  • OpenTelemetry tracing

๐Ÿš€ Deployment Architecture

CI/CD Pipeline

GitHub Push (main branch)
  โ†“
GitHub Actions
  โ”œโ”€ Test (npm test)
  โ”œโ”€ Build (npm run build)
  โ”œโ”€ Deploy to EvaBrain (Frankfurt)
  โ”‚   โ””โ”€ gcloud compute ssh evabot-agent-vm
  โ”‚       โ””โ”€ git pull && npm install && npm run build
  โ”‚       โ””โ”€ systemctl restart evabot-brain
  โ””โ”€ Deploy to EvaFace (Iowa)
      โ””โ”€ gcloud compute ssh evaline-micro-vm
          โ””โ”€ git pull && rsync to /var/www/evabot.online
          โ””โ”€ systemctl reload caddy

Manual Deploy

./deploy-sync.sh "commit message"
# = build + commit + push + sync to GCP

๐Ÿ”ฎ Future Architecture (v1.0.0)

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                  Multi-Region Active-Active                 โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”‚
โ”‚  โ”‚ EU-WEST3 โ”‚  โ”‚ US-CENT1 โ”‚  โ”‚ ASIA-1   โ”‚  โ”‚ ASIA-2   โ”‚     โ”‚
โ”‚  โ”‚ Frankfurtโ”‚  โ”‚ Iowa     โ”‚  โ”‚ Singaporeโ”‚  โ”‚ Tokyo    โ”‚     โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ”‚
โ”‚         โ†“              โ†“              โ†“              โ†“    โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
โ”‚  โ”‚     Global Load Balancer (Cloudflare)                โ”‚   โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
โ”‚                          โ†“                                 โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
โ”‚  โ”‚  Microservices:                                      โ”‚   โ”‚
โ”‚  โ”‚  - chat-service    - kb-service                      โ”‚   โ”‚
โ”‚  โ”‚  - model-router    - security-service                โ”‚   โ”‚
โ”‚  โ”‚  - alert-service   - analytics-service               โ”‚   โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
โ”‚                          โ†“                                 โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
โ”‚  โ”‚  Data Layer:                                         โ”‚   โ”‚
โ”‚  โ”‚  - PostgreSQL (pgvector)  - ChromaDB cluster        โ”‚   โ”‚
โ”‚  โ”‚  - Redis (cache)          - S3 (KB storage)         โ”‚   โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Last Review: 2026-09-07
Next Review: After v0.1.0 release

ะฒ ัั‚ะพะน ะฟะฐะฟะบะต 7 ัะปะตะผะตะฝั‚ะพะฒ