# Spark Letter 02: The blueprint for real AI systems. And which layer gets decided first in Switzerland

*2026-09-08 · Technology*

An AI system that survives in operation is made of nine layers, and most presentations show only the top one. In Switzerland the first decision is also not made where almost everyone starts: first you settle where the data is processed, and only then which model processes it.

![The nine layers of an AI system from compute to frontend. The region applies to every layer and is decided first, observability is forgotten most often, the model stays replaceable.](https://findyourspark.ch/assets/nl/ai-stack.en.png)

*Diagram: findyourspark*

## In short

Nine layers sit between an idea and an AI system in production: compute, infrastructure, orchestration, foundation models, database, observability, tools, memory and frontend. Each of them is a vendor, a contract, a data flow and an invoice.

In Switzerland the first decision is none of those nine layers but a question that cuts across all of them: the region. Once you know where which data may be processed, the choice in every layer has already been cut in half.

## The nine layers, from the bottom up

**1. Compute.** The hardware the models run on, rented or in your own data centre. Examples: Azure, AWS, Groq, RunPod, Lambda, NVIDIA. The question to ask: which country is it in, and who has access?

**2. Infrastructure.** What packages, starts and scales the application: Docker, Kubernetes, auto-scaling VMs. The question to ask: who operates this at three in the morning?

**3. Orchestration.** The control flow between model, data and tools. Examples: LangChain, CrewAI, LlamaIndex, AutoGen. The question to ask: does this flow need a framework, or will a function do?

**4. Foundation models.** The language model itself: OpenAI, Claude, Gemini, Qwen, DeepSeek. The layer people talk about most, and the one that is easiest to replace.

**5. Database and vector store.** Where your data and its search index live. Examples: Chroma, Qdrant, Supabase, Pinecone. The question to ask: is a relational database with full-text search enough?

**6. Observability.** Measuring cost, latency, errors and runs. Examples: Langfuse, Helicone, Arize. The layer that is missing most often.

**7. Tools.** What the system is allowed to do outside itself: search, interfaces, services such as Composio or Exa. The question to ask: which action may run without a person approving it?

**8. Memory.** What persists beyond a single session. Examples: Zep, Mem0, Cognee, Letta. The question to ask: what is stored, for how long, and who can delete it?

**9. Frontend.** The interface your staff actually see: Streamlit, React, Gradio, Next. The only layer that appears in the demo.

The real price of an AI system is therefore not the model call. It is the sum of nine contracts, nine data flows and nine things somebody has to keep up to date.

## In Switzerland the first decision is not the model, it is the region

The question “which model” is reversible: a model can be swapped for another one later. The question “where is this data processed” is not. What has once been processed in the wrong region cannot be brought back.

So data classification comes before tool choice. Anything covered by banking secrecy runs on locally hosted models. Everything else can run in a certified Swiss data centre: Azure Switzerland North, AWS Zurich, Infomaniak, Exoscale.

The practical side effect: fix the region early and half the candidate tools disappear from the list immediately, along with the argument about whether a provider from a country without an adequacy decision is “probably fine”.

## The layer almost everyone forgets

Observability is the dullest line in the blueprint and the only one that saves the operation. Four measurements are enough to start with: cost per transaction, latency, error rate and a traceable log of every run.

Without them you do not have a system, you have a hunch. And you have nothing to show an auditor.

## Our stack is deliberately small

Azure OpenAI and Azure Document Intelligence in Switzerland, Python with FastAPI, React on the front end, Docker for operations, a relational database. That is less than the blueprint has room for, and that is deliberate.

No orchestration layer where a function will do. No vector store where full-text search is enough. Every layer you avoid is one nobody has to update, pay for or explain.

## The three questions we hear most often

**Which layer is decided first?** No single one. The region comes first, meaning the question of where which data may be processed. It narrows the choice in all nine layers.

**Does every AI system need all nine layers?** No. Many production systems manage without a dedicated orchestration layer, without a vector store and without memory. The ones you cannot do without are compute, a model, data storage and observability.

**Which decision is easiest to change later?** The model. The hardest to change is the region, because contracts, data flows and the promises you made to your clients all depend on it.

---

**What this means for you.** Walk the blueprint layer by layer with your vendor and ask at each one: who runs this, where, at what price, and what happens if that vendor changes region tomorrow? What is left afterwards is your real stack.

---

Author: Daniel Florit, CFA, findyourspark, Zürich · Source: https://findyourspark.ch/en/nl-02-bauplan-ki-systeme.html · 2026-11-13
