Public previewRAGSuite is open-source, self-hosted and EU-ready — and we build it in the open.See it live

Platform Platform overviewSee it in actionAI SearchAI AssistantAI Connectors & MCPIntegrationsQuality LoopAdministration & SecurityMobile app
Solutions IT & Platform teamsCompliance & Data ProtectionDevelopersAgencies & Partners
Sovereignty
References
Pricing
Resources Trust CenterEU AI ActSecurity & disclosureFree toolsOpen source & open coreDocumentation ↗API reference ↗GitHub ↗ReferencesBlogChangelog
Company AboutPartnersContact
Search See it live Book a demo
Self-Hosting

Self-hosting enterprise AI: architecture and operations

What it takes to self-host a RAG platform: the reference architecture — PostgreSQL, Redis, a vector store, optional local models — and the operations.

SELF-HOSTING PostgresRedisVectorOllamaon your infrastructure ragsuite.de
Jürgen Pietschmann
Jürgen Pietschmann AI Consultant
Published19 June 2026 Updated25 June 2026 Read4 min Self-Hosting

Self-hosting an enterprise RAG platform means running a handful of well-understood components — a relational database, a cache, a vector store and an application layer, with optional local models — on infrastructure you control. It is more operational work than signing up for a hosted service, and less than most teams fear. This is what the architecture looks like and what running it actually involves.

The reference architecture

RAGSuite is built from components your platform team already knows how to operate. Nothing here is exotic — that is the point: sovereignty should not require a bespoke stack only one vendor can run.

Reference architecture Reference architectureyour infrastructureApplication layerAPI · UI · widgetsPostgreSQLsystem of recordRediscache + queuesVector storeembeddingsOllama · local models (optional)
Everything inside your perimeter. The application layer orchestrates PostgreSQL (system of record), Redis (cache + queues) and a vector store (embeddings); models run via a hosted provider or locally through Ollama.

The model layer is the only real choice point: connect a hosted provider (OpenAI, Anthropic, Mistral, Gemini) or run local models via Ollama, in which case inference happens inside your network and nothing leaves it.

How a request flows

It helps to trace a single answer end to end. Every answer is therefore traceable back to the documents that grounded it — by design, not as an add-on.

Ingest → retrieve → ground → cite

  • Ingest — AI Connectors bring content in (crawl, upload, Gmail, MCP, n8n (Beta)); text is chunked and embedded into the vector store, metadata into PostgreSQL.
  • Retrieve — the query is embedded and matched against the vector store to pull the most relevant passages.
  • Ground & generate — the passages are passed to the chosen model, which composes an answer constrained to those sources.
  • Cite & log — the answer returns with citations to the source passages, and the interaction is recorded for audit and the quality loop.

Deployment shapes

The same architecture runs in three postures, depending on how strict your requirements are.

PostureWhere it runsBest for
On-premiseEntirely within your data centreKRITIS, classified, strict residency
Private cloudYour own tenant, EU-resident if requiredMost regulated enterprises
Air-gappedNo outbound connectivity at allThe most sensitive workloads

Because Enterprise licensing is an offline key (a signed token), an air-gapped deployment is a first-class scenario, not a workaround.

The operational realities — honestly

On sizing: the database, cache and vector store are modest for typical enterprise knowledge bases and scale predictably; the variable cost is inference. Route to a hosted model and your local footprint stays small; run models locally for full isolation and you provision for that workload. Compare Models makes it straightforward to test the quality-versus-cost trade per project before you commit hardware. For the full picture, see the platform page and the self-hosted vs. hosted comparison.

Frequently asked questions

How much of a team does this need?

If you already run containerised services with a database and cache, self-hosting RAGSuite fits within those existing capabilities. The new muscle is mostly around the vector store and, optionally, model inference — both well-trodden ground in 2026.

Do we have to run our own models?

No. Local models via Ollama are the path to full network isolation, but you can route to a hosted provider and keep the deployment lean. The platform is model-agnostic either way, so you can start hosted and move local later without re-architecting.

Can we start small and grow?

Yes. The Community Edition is a legitimate way to validate the architecture on a single project, and the same components scale to a full Enterprise deployment.

Sources & further reading

  1. Ollama — run open models locally — local inference inside your network
  2. pgvector — vector similarity search for PostgreSQL — the embeddings index
  3. RAGSuite — platform overview — the full pipeline, API-first

← All posts