truck8.ai

The AI Stack Explained: From Foundation to User

Anyone looking to adopt AI quickly runs into a tangle of terms. The AI stack cuts through the noise: four layers that together determine whether AI will actually work in your organisation.

7 min readTom Mekenkamp

What is an AI stack and why does it matter?

When someone says 'we want to do something with AI', they rarely mean the same thing as the person sitting next to them. One person is thinking about a chatbot on the website, another about automated analytics, and a third about an entirely new way of working. That's not a lack of vision — it's simply how AI operates: it touches technology, data, and people all at once.

The AI stack is the conceptual framework I use to clear up that confusion. It describes the four layers every organisation needs to deploy AI meaningfully: infrastructure, data, model, and interface. Each layer builds on the one below it. Skip one, or leave it half-finished, and your AI project will stall.

For business owners, this isn't an abstract architecture diagram. It's a practical checklist: where are you now, and where do you need to invest before moving on to the next step?

Layer 1 — Infrastructure: the foundation under everything

Infrastructure is the computing power, storage, and security that all other layers run on. Think servers, cloud platforms like Azure, AWS, or Google Cloud, and the network security that determines who can access which data.

For most small and mid-sized businesses, the choice today is clear: start in the cloud. You pay for what you use, you scale as demand grows, and you don't need an IT team managing servers. The trade-off is that your data is processed outside your own walls — and that's exactly where GDPR comes into the picture.

On-premise — your own hardware on your own premises — makes sense if you work with highly sensitive personal data, or if regulations require it. But it also brings capital expenditure and a maintenance burden that can weigh heavily on a small team.

The most pragmatic choice for most businesses is a hybrid approach: sensitive data stays on-premise or in a European private cloud, while generic AI tasks run through a public cloud service. The key question is simple: which data is allowed to go where?

Layer 2 — Data: where things go right or wrong

If there's one thing I've learned from dozens of AI projects, it's this: most projects don't fail at the model. They fail at the data.

Data has three dimensions that all need to be in order. First, quality: an AI system amplifies what it finds. Clean, consistent data produces useful output. Messy, outdated, or contradictory data produces messy answers — just faster and wrapped in more confidence.

Second, accessibility: the data exists, but can the AI system reach it? In practice, business data is scattered across an accounting package, a CRM, a SharePoint folder, and the heads of three employees. Silos, outdated formats, and missing integrations block access just as effectively as a locked door.

Third, governance: who is allowed to see which data? How long do you keep it? Is there a data processing agreement in place? Who is responsible if something goes wrong? These aren't IT questions — they're business questions you need to answer upfront.

There's also a more fundamental problem I call the 80/20 challenge. About 20 percent of an organisation's knowledge lives in structured systems: databases, spreadsheets, ERP. The other 80 percent lives in emails, PDF reports, meeting notes, and the experience of people who've been in the trade for twenty years. AI needs precisely that 80 percent to be genuinely useful — and it's rarely available in a usable format.

Layer 3 — Model and application: the engine

This is the layer where most AI discussions begin: which model do you use? But as you now understand, that question only makes sense once the layers beneath it are in order.

For the model, there are two main routes. Via an API, you use a model from an external provider — you send a request and get a response back. This is the fastest and cheapest way to get started. Most businesses are well served by this approach. The downside: your data leaves your environment, and you pay per use.

Self-hosting means running an open model on your own infrastructure. This gives you full control over your data and can be cheaper at high volumes, but it requires GPU hardware, technical expertise, and ongoing management. For most businesses, this only makes sense when privacy or compliance demands it.

Between the model and your data sits the middle layer: orchestration. This is where RAG (Retrieval-Augmented Generation) happens — connecting the model to your own knowledge base so it answers questions based on your business information. This is also where agent frameworks live, which can execute multiple steps and call external tools. This layer is technical, but it's also what takes AI from a demo to a working product.

Layer 4 — Interface: the layer you see first but build last

The interface is what people see and touch: a chat window, a button in your existing software, a dashboard with AI-generated insights. It's also the layer organisations most often start with — and that's exactly the wrong order.

A beautiful chat interface is useless if the data layers underneath can't be fed into it. An AI button in your CRM does nothing if the model has no access to customer history. The interface is the result of a well-built stack, not the starting point.

Beyond the technical interface there's the human side: adoption. The best system fails if employees don't know how to use it, or if they distrust it. Training, clear explanations, and a feedback mechanism aren't nice-to-haves — they determine whether your AI investment pays off.

In practice: which stack fits your business?

The complexity of your stack depends on your scale and context, not on your ambitions.

For a small team of five to twenty people, the recommendation is clear: use an enterprise subscription with an existing provider (such as Microsoft 365 Copilot or Claude for Work), connect it to your existing tools, and don't build your own infrastructure. Setup takes days, not months.

A mid-sized company of fifty to two hundred employees benefits from a hybrid setup: a cloud API for the model combined with an internal RAG pipeline that makes your own knowledge base searchable. This requires a structured data project and a run time of two to three months.

Only for larger organisations, or where specific compliance requirements apply — healthcare, finance, government — is a fully custom stack with self-hosted models and a private GPU environment justified. Expect six months to a year.

My advice to nearly every small or mid-sized business: start small, use what already exists, and expand once you know what works. The companies that see results fastest aren't the ones with the biggest AI budgets — they're the ones whose data is in order and who choose a concrete starting scenario.

Key takeaways

  • The AI stack has four layers: infrastructure, data, model/application, and interface — build them in that order.
  • Most AI projects don't fail at the model; they fail at the data layer: quality, accessibility, and governance.
  • For most businesses, a cloud API is the fastest and most practical starting point; on-premise is only necessary for strict compliance requirements.
  • Orchestration (RAG, agent frameworks) is the connective layer that turns an AI demo into a working application.
  • Design the interface last. Build the stack from the bottom up: infrastructure first, user interface as the finishing touch.
TM

Written by

Tom Mekenkamp

AI consultant & founder of truck8.ai

15+ years leading transformations at AB-InBev, Royal BAM and beyond — now building AI products and helping SMEs implement AI.

Ready to build the right AI stack for your business?

I help you identify which layers are already in shape, where the biggest bottlenecks are, and which step to take first — without unnecessary complexity or vendor lock-in.

Explore AI implementation