MoEngage built Merlin AI, a set of conversational agents that let marketing and product teams draft campaigns, analyze performance, and adjust targeting from a single chat interface. The system runs on Amazon Bedrock AgentCore and exposes MoEngage's existing platform APIs as MCP tools. The interesting part is not the agent itself. It is how MoEngage enforces tenant isolation when multiple customers share the same tool infrastructure and agent runtime.
The Multi-Tenant Problem
MoEngage is a SaaS platform. Every customer gets their own workspace, campaigns, and user data. When you add agents to a multi-tenant system, you introduce a new attack surface. An agent for Customer A should never see Customer B's campaigns, even if both agents call the same tool to fetch campaign data. The naive approach is to spin up separate agent stacks per tenant.…