Try XGEN free for 15 days — nothing to install, runs in your browserStart free trial
PlateerAI Labs

Architecture

Enterprise AI Architecture

Enterprise architecture for AI you can trust

An air-gap and on-premise design that holds data sovereignty, security, and governance — and an Enterprise AI that joins knowledge, reasoning, action, and operations into one system

The foundation architecture behind data sovereignty and the AI runtime

Holding data sovereignty, security, audit traceability, and organizational governance:
an air-gap and on-premise friendly architecture

Connecting knowledge, reasoning, action, and operations into one system:
a reference architecture for the Enterprise AI runtime

/ Design Principles

Architectural design principles

Four design standards every layer shares, so AI can be trusted and operated in an enterprise environment

Grounded answers

Answers rest on the documents, policies, and knowledge models the company holds. When the grounding isn't there, the system says so rather than guessing — which is what keeps hallucination down

Data sovereignty

Runs inside your own infrastructure with no cloud lock-in, including the network-separated environments in finance, public sector, and manufacturing

Composability

Agents, workflows, knowledge, and tools are modules you recombine freely as the work demands

Model neutrality and governance

Choose an LLM by purpose, cost, and accuracy, and keep operations under control through policy, approval, and audit trails

/ Reference Architecture

Enterprise AI architecture

The full layer structure of a trustworthy Enterprise AI, from access channels down to models and infrastructure

Access channels
Unified Access
Use cases by industry
E-Commerce
Customer chatbot
Public Sector
Citizen support
Finance
Incident prevention
IT Services
Regulation search
Console
User Mode
Developer Mode
Admin Mode
Data sources
Structured Data
Unstructured Data
Enterprise Systems
ERP · CRM · HRM
External Sources
Web · API · 3rd Party
Enterprise AI RuntimeKnowledge · reasoning · action · operations, in one layer
Knowledge
Knowledge Base
Vector DB
Ontology
Document Store
Reasoning
Model Orchestration
RAG Engine
Guardrails
Action
Tool & API
Workflow Engine
Task Automation
Operations
Monitoring
Logging
Audit Trail

Workflow Orchestration

AI Deployment
Model Routing
Policy Enforcement
Response

Shared Orchestration

Model Registry
Prompt Hub
Dataset Management
Evaluation & Benchmarking
Platform Services
LLM / ML Settings
On-demand GPU
Vector DB Connection
Data Pipeline
Observability
Security & Compliance
Governance
Model Layer

Public / General LLM

ChatGPTClaudeGemini

Private / Enterprise LLM

XGEN LLMQwendeepseekPolarGemma
Infrastructure

Cloud

AWSMicrosoft AzureGoogle Cloud

On-premise / Private Cloud Air-gap and on-premise friendly

GPU
Container
Database
Storage

/ On-Premise Security

On-premise and security architecture

An external request reaches internal services, AI models, and data only after passing the authentication gateway and the trust boundary. Every AI model and every piece of data stays on the internal network, with security, permission, audit, and governance policies applied consistently across all layers.

Untrusted (external)Boundary · DMZInternal trust zoneRestricted data zone
UNTRUSTED

User zone

Access from the internal network or over VPN

Web browser

JWT cookie · xgen_access_token

Embedded chatbot

chatbot-embed.js · deployed agent

HTTPS
DMZPresentation

Frontend

UI rendering and API rewrites

Next.js Frontend

apps/web

Client AuthGuard

Route guard · first-pass UI gating

API routes / rewrite

Forwarded to the gateway

JWT

Authentication trust boundary

Above this line is spoofable and external; below it is trusted — only the gateway can carry a request across

GATEWAYBoundary

Authentication gateway

Converts a JWT into trusted headers

Rust Gateway

JWT parsing and validation

Cookie → user context

x-user-* header injection

id · roles · permissions · superuser

Spoofing blocked

Clients cannot inject these headers themselves

x-user-* headers
INTERNALInternal trust

Application services

Permission enforcement and access control

xgen-core

ABAC access control

xgen-workflow

Execution · five-stage access control

Dual approval gate

Deployment plus governance approval required

MCP Station

Sandboxed, isolated execution

Internal network call
AIR-GAPPEDInternal · GPU

AI model zone

Every endpoint stays internal

LLM serving

vLLM · SGLang · llama.cpp (in-house GPU)

Embedding and reranker

Sentence Transformers · vLLM

Guard model

Open guard model · fail-closed

Store and retrieve
RESTRICTEDData zone

Data stores

Internal network, restricted access

Qdrant

Vector DB

Application DB

Users, policies, metadata

MinIO

Document object storage

Audit log store

Retention policy applied

Applied at every layer · defense in depth

These controls are not tied to one layer — they operate across the whole request path.

Authentication (AuthN)

  • ·JWT cookie authentication
  • ·Initial SuperUser bootstrap (one time)

Authorization (AuthZ)

  • ·RBAC roles
  • ·Three-layer ABAC permissions (tier, role, permission)
  • ·Five-stage workflow access control

Data protection

  • ·PII masking
  • ·Guardrails (blocked on failure)
  • ·Blocklists and risk grading

Governance

  • ·Dual deployment and governance approval
  • ·Scheduled reviews (D-5 cadence)
  • ·Risk assessment

Audit and traceability

  • ·Audit logs and data audit logs
  • ·Service change history and operations history

Isolation and boundaries

  • ·MCP sandbox execution
  • ·Models and guard confined to the internal network
  • ·On-premise and air-gap support
More on security and governance controls

/ XGEN Platform

XGEN 2.0 platform architecture

From access and console through domain and channel, agents and applications, the AI platform core, RAG and knowledge, foundation models, and infrastructure — an Enterprise AI platform running on governance and security that cut across every layer

Access · ConsoleUser mode (Chat/Assist)Admin modePortal / dashboardOpen-API · SDKSSO integration
Vertical Domain
Domain and channel
Finance
Banking · capital · lending
Public sector
Government agencies
E-commerce
Home shopping · retail
Services
Media · content
Other
Private LLM
Agent & Application
Agents and applications
Workflow Canvas
Low/no-code agent design · 60+ nodes · custom nodes
Business agents
Agents scoped to a task — support, document handling, approvals
MCP Station
Internal tools and API tool-calls, combined across multiple tools
Multi-Agent Orchestration
Planner → agent routing, extended stage by stage
Platform Core
AI platform core
AI Service Generator
Service creation, deployment, and version management
Service configuration
On-demand GPU · LLM/ML · vector DB connections
LLMOps (Generative)
Model training, monitoring, evaluation, model switch and repo
MLOps (Predictive)
ML inference, training, DataOps, repository (add-on)
Model Router
Multi-LLM routing optimized for cost and performance
Retrieval-Augmented
RAG and knowledge
DenseSparse (SPLADE)RerankerLate ChunkingVision / OCR

Document parsing → embedding → hybrid retrieval → rerank → context injection

Qdrant Vector DB
Dense + sparse hybrid index
Embedding · Parsing
Document parsing, OCR, and vectorization pipeline
Foundation Model
Foundation models
Open-source LLMs
Open models · private · vertical LLMs
Fine-tuning
SFT / DPO · domain-specific training
Multi-model extension
Model Router integration · vision · embedding models
Infrastructure
Infrastructure
k3s HA
Kubernetes high availability
ArgoCD
GitOps · zero-downtime deployment
Qdrant
Vector Database
MinIO
Object Storage
On-Premise
GPU · containers
Monitoring
Resources · performance · alerts
Governance & security

Cross-cutting control across every layer

Guardrail
Blocks prompt injection, harmful content, and confidential leaks
RBAC / ABAC
Role- and attribute-based access control with MFA
Audit Log
End-to-end audit logging with export tracking
PII de-identification
Masking and pseudonymization of personal and financial data
Kill Switch
Pre- and post-approval with automatic alerting
Compliance
Policy templates · Harmbench validation
Reference deploymentsFinance (bank J, capital I) · e-commerce (home shopping L) · media (company I) · public agencies · enterprise
On-premise and air-gap ready

User, admin, and API access converge into a single console. The workflow canvas, unit agents, MCP tools, and multi-agent orchestration work together on top of the AI core (LLMOps, MLOps, Model Router), hybrid RAG, and foundation models. Governance — guardrails, RBAC/ABAC, audit logs, PII de-identification — cuts across every layer, and k3s with ArgoCD supports on-premise and air-gapped deployment.

See the XGEN product

/ Code Assistant

Code Assistant architecture

Natural-language questions and code searches run through indexing, hybrid retrieval, and AI reranking to produce a code answer with evidence behind it

User (developer)
Natural-language question or code search
API server
Async processing
1
Indexing pipeline
Batch
  • Source collection and preprocessing
  • Indexing and embedding
Vector DB
Qdrant
2
Hybrid search
Keyword + vector
  • Keyword search (BM25)
  • Vector similarity search
Keyword index
BM25
3
AI rerank and answer
Re-rank + LLM
  • AI reranking
  • LLM answer generation
Code graph DB
PostgreSQL
Call and dependency relationships
Combined result
Relevant code, call and dependency flow, and an AI answer
See the AI Code Assistant product

/ CI/CD

GitOps deployment pipeline

From source change to production — container image builds and declarative GitOps sync make each deployment a controlled one

Source
Branch and merge request
CI Build
BuildKit multi-stage image
Registry
Container image storage
GitOps Sync
Manual ArgoCD sync
Cluster
k3s · app and infra namespaces

GitOps and declarative

Git is the single source of truth — manifests define the cluster state and sync it

Controlled releases

Branch plus merge request required (no direct push to main), with manual sync controlling when a deploy lands

On-premise and air-gapped

Image export/import moves builds across the air gap, with per-site environment separation (dev/stg/prd)

Observability

Prometheus and Grafana monitor state, logs, and traces after deployment