Sprint 6 project: a multi-tenant ERP with an AI copilot on AWS

Scroll or pinch to zoom, drag to move, double-click to zoom in 100% SVG PNG Back to the post
Whole Sprint 6 architecture on AWS. ERP request lane: tenant users reach CloudFront, WAF and Route 53, then kgateway with Kuadrant, which applies plans, rate limits and token checks against Keycloak and OpenFGA; Istio and Cilium carry mutual TLS traffic to the ERP services, which run in Capsule tenants on EKS. The services write to RDS PostgreSQL, whose schema is managed by SchemaHero, store documents and audit evidence in CubeFS and S3, and publish events to Kafka on MSK. Kafka feeds ClickHouse for analytics and starts Cadence workflows. Copilot lane: a question passes agentgateway and NeMo Guardrails input rails to the LangGraph agent hosted on kagent, which calls MCP tools that reach the ERP API through the mesh with the caller token, retrieves context from pgvector and Apache AGE, sends prompts to vLLM served through KServe on Karpenter nodes, and sends traces to Langfuse. Docling reads documents from storage into pgvector and Apache AGE. Model path: Kubeflow and Unsloth train, DeepEval gates the result, and only a passing model is registered in MatrixHub, from which vLLM pulls weights. Ship and operate: Backstage, Tekton, in-toto with Kyverno, Argo CD and Unleash with OpenFeature deliver releases; Prometheus with OpenTelemetry, HolmesGPT, Litmus, Velero with Kanister and OpenCost run it.