One AI Gateway, Six Layers: The Blueprint for Enterprise AI Testing as Infrastructure
Testing teams are being pushed to quantify AI efficiency, while most AI capability still lives on individual laptops, cannot enter intranets, and produces no numbers management trusts. This platform design is one concrete attempt to make AI testing an organization-level infrastructure: measurable, retainable, and privately deployable.
A from-scratch enterprise AI testing platform is the centerpiece of AI Evolution Society's 2026 practical curriculum. The proposed architecture separates six concerns into six layers: user access, scenario services, AI capability, scheduling execution, data, and infrastructure. Scenario services are plugins, so a new test type mounts without touching the core; the AI capability layer is isolated behind a self-developed gateway, so model swaps and cloud-to-local switches do not ripple into business code.
The same design answers a survey the group ran before starting: nearly 95% of member companies have begun AI transformation, but 80% of real AI projects remain in knowledge management and development efficiency, and fewer than 40% reach RPA, Agent, or intelligent quality inspection. The platform is positioned as the missing unified carrier for more than 30 testing Agent Skills, and as the place where management can actually pull numbers like '80% of test cases run by AI' or 'weekly iteration changed to daily iteration'.
The specified stack runs from Python/FastAPI, LangChain/LangGraph, LiteLLM, Vue 3, PostgreSQL with pgvector, Redis, and RQ to Playwright, Locust, OWASP ZAP, DeepEval, Midscene.js, Docker Compose, and Prometheus/Grafana/Loki. The gateway is deliberately self-built rather than wrapped LiteLLM directly because its routing, degradation, and metering logic is course material.
The survey's own numbers frame the pitch: with 80% of AI projects stuck in low-threshold scenarios and less than 40% reaching deep business use, the hard part is not starting AI but moving it from personal productivity to shared business process.
Choosing a self-built AI gateway over LiteLLM swaps production convenience for teaching value; the routing, degradation, and metering logic may be worth studying, but a delivery team prioritizing reliability would likely prefer maintained code.
The claim that AI becomes the worker while people review is the sharpest break from ZenTao/TestLink-era platforms, yet the design does not specify how the human review step is enforced or measured; without that detail, 'quality standards solidified in the process' remains an intention.