A multi-tenant RAG platform is a shared service that lets many businesses build question-answering systems over their own data. Each business, or tenant, connects its documents, help center, or knowledge base. Its users can then ask questions and receive answers with citations drawn only from content they're allowed to access within that tenant.
Customer support products such as Intercom Fin and Zendesk AI agents follow this pattern, answering questions using each company's help articles. Other services offer managed retrieval and RAG APIs, so developers can connect documents and build question-answering features without managing the entire pipeline themselves.
Popular Examples: Intercom Fin, Zendesk AI agents, Vertex AI Search, Amazon Bedrock Knowledge Bases
Retrieval and generation work much like they do in a RAG system for a single company. The difference is that thousands of tenants share the same pipelines, search infrastructure, and model capacity. Their sizes also vary widely: one tenant might have 40 help articles, while another has 30 million support tickets.
That variation affects much of the design. The platform must keep each tenant's data separate, prevent one busy tenant from slowing down others, and let tenants configure and pay for their own usage. It also needs to handle operations such as moving a tenant with 100 million chunks to a new embedding model while users continue asking questions.
In this chapter, we'll design a multi-tenant RAG platform. We'll start with the requirements and high-level architecture, then examine index layout, tenant isolation, resource sharing and billing, and re-indexing large tenants without downtime.