Generating a plausible-sounding paragraph with a language model is easy. Generating one you can safely put in front of a paying customer, every day, at scale, is a different job. The difference is not a better prompt. It is a pipeline that checks its own output.
This post is about the Proactive Intelligence Engine, a system for a managed cloud platform that looks after more than 40 Microsoft tenants. A note on provenance: Aniket and Manoj delivered this work in their previous role at ProArch. It is not a Tersum client engagement. We include it because it shows how we think about AI in production.
The problem
The platform needed to surface cost and health issues proactively, without leaking data across tenant boundaries. With more than 40 tenants, a mistake in isolation is not a small bug. It is one customer seeing another customer's data.
The decision made on day one
Open-ended model output going straight to customers was ruled out. Every insight had to pass an evaluation step first. That single decision shaped the rest of the design.
How the pipeline works
- Retrieval and context: a hybrid retrieval-augmented pipeline curates tenant telemetry, business policy and external knowledge, including Microsoft Learn through MCP, with token budgets tuned for cost and latency.
- Generation: the model drafts an insight from that curated context only.
- Validation: a closed loop checks each draft against policy, computes quality metrics, and automatically regenerates outputs that fail.
- Delivery: insights that pass arrive as prescriptive recommendations on the dashboard and by email through Microsoft Graph.
Governance is part of the design, not a later phase
The deployment used private endpoints, content safety and custom guardrails. Model routing included a fallback so one failing model did not stop the service. Prompts and token usage were fully observable. When something looks wrong in a recommendation, you need to be able to trace exactly which context and which prompt produced it.
Why automated evaluation is not enough on its own
Using one model to grade another is a common technique, and it is useful, but the research says it needs human calibration. A survey of RAG evaluation methods found that only a handful of studies had compared model judges with human judges, and concluded that human oversight is still needed. Practical guides say the same: test your automated judge against human-labelled examples before trusting it, and route low-scoring outputs to a person.
That is why an evaluation loop should be a gate with thresholds, not a rubber stamp. When an insight falls below the bar, it does not ship. It is regenerated or reviewed.
The result
More than 500 AI-driven insights a day, across more than 40 tenants, under strict multi-tenant role-based access control, with prescriptive cost-optimisation recommendations delivered where people already work.
What to take from this
- Decide up front what the model is not allowed to do. Write it down.
- Make the evaluation step a hard gate, with measurable thresholds.
- Calibrate any automated judge against human-reviewed examples.
- Log prompts, context and token usage so every output can be traced.
- Treat tenant isolation as a design constraint, not a test at the end.
If you are adding AI to a product that serves more than one customer, start with the failure modes. The scope call is a good place to list them.