Architecture Overview
High-Level Architecture
┌─────────────────────────────────────────────────────────────────────────────────┐
│ CLIENTS │
│ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────────────────┐ │
│ │ Web Dashboard │ │ Mobile App │ │ API Clients (SDK/CLI) │ │
│ │ (Next.js) │ │ (React) │ │ │ │
│ └────────┬────────┘ └────────┬────────┘ └──────────────┬──────────────┘ │
└───────────┼──────────────────────┼──────────────────────────────┼───────────────┘
│ │ │
│ HTTPS/WSS │ HTTPS │ HTTPS
│ │ │
▼ ▼ ▼
┌───────────────────────────────────────────────────────────────────────────────────┐
│ EDGE LAYER │
│ ┌──────────────────────────────────────────────────────────────────────────────┐ │
│ │ Vercel CDN + Railway Load Balancer │ │
│ │ - TLS termination │ │
│ │ - Rate limiting │ │
│ │ - DDoS protection │ │
│ └──────────────────────────────────────────────────────────────────────────────┘ │
└───────────────────────────────────────────────────────────────────────────────────┘
│
▼
┌───────────────────────────────────────────────────────────────────────────────────┐
│ CONTROL PLANE (mutx API) │
│ ┌──────────────────────────────────────────────────────────────────────────────┐ │
│ │ FastAPI Backend (Python) │ │
│ │ ┌────────────┐ ┌────────────┐ ┌────────────┐ ┌──────────────────────┐│ │
│ │ │ Auth │ │ Agents │ │ Deployments│ │ Webhooks ││ │
│ │ │ Service │ │ Service │ │ Service │ │ Handler ││ │
│ │ └────────────┘ └────────────┘ └────────────┘ └──────────────────────┘│ │
│ │ │ │
│ │ ┌────────────────────────────────────────────────────────────────────────┐ │ │
│ │ │ Core Services │ │ │
│ │ │ ┌────────────────┐ ┌────────────────┐ ┌────────────────────────┐ │ │ │
│ │ │ │ Agent Runtime │ │ Self-Healing │ │ Monitoring │ │ │ │
│ │ │ │ Service │ │ Service │ │ Service │ │ │ │
│ │ │ └────────────────┘ └────────────────┘ └────────────────────────┘ │ │ │
│ │ └────────────────────────────────────────────────────────────────────────┘ │ │
│ └──────────────────────────────────────────────────────────────────────────────┘ │
│ │ │
│ ┌─────────┴─────────┐ │
│ │ PostgreSQL │ Redis Cache │
│ │ (Metadata) │ (Sessions, Queue) │
│ └───────────────────┘ └─────────────────┘ │
└───────────────────────────────────────────────────────────────────────────────────┘
│
│ Terraform Provisioning
▼
┌───────────────────────────────────────────────────────────────────────────────────┐
│ TENANT VPCs (Per-Customer) │
│ ┌──────────────────────────────────────────────────────────────────────────────┐ │
│ │ 10.0.1.0/24 - Agent Subnet │ │
│ │ ┌─────────────────────────────────────────────────────────────────────────┐ │ │
│ │ │ Dedicated Agent 10 Cluster │ │ │
│ │ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │ │
│ │ │ │ Agent 01 │ │ Agent 02 │ │ Agent 03 │ │ Agent N │ │ │ │
│ │ │ │ (LangChain)│ │ (OpenClaw) │ │ (n8n) │ │ │ │ │ │
│ │ │ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ │ │ │
│ │ │ │ │ │ │ │ │ │
│ │ │ └────────────────┴────────────────┴────────────────┘ │ │ │
│ │ │ │ │ │ │
│ │ │ ┌──────┴──────┐ │ │ │
│ │ │ │ EvalView │ ─── Local LLM Judge │ │ │
│ │ │ │ Guardrail │ (Hypervisor-level security) │ │ │
│ │ │ └─────────────┘ │ │ │
│ │ └─────────────────────────────────────────────────────────────────────────┘ │ │
│ │ │ │
│ │ ┌────────────────────┐ ┌────────────────────┐ ┌────────────────────────┐ │ │
│ │ │ PostgreSQL │ │ Redis │ │ Tailscale │ │ │
│ │ │ (pgvector) │ │ Cache │ │ ZTNA Mesh │ │ │
│ │ └────────────────────┘ └────────────────────┘ └────────────────────────┘ │ │
│ └──────────────────────────────────────────────────────────────────────────────┘ │
└───────────────────────────────────────────────────────────────────────────────────┘Core Components
1. Control Plane (mutx API)
Component
Technology
Purpose
2. Agent Runtime
3. Agent Types
Type
Framework
Use Case
4. Data Layer
Data Flow
Agent Execution Flow
Deployment Flow
Security Model
Zero-Trust Architecture
Security Layers
Layer
Technology
Protection
Infrastructure Provisioning
Terraform + Ansible Pipeline
Technology Stack
Layer
Technology
Next Steps
Last updated
