Enterprise AI platform: architecture, layers and build vs buy

pexels-hillaryfox-1595391

An enterprise AI platform is the shared layer that sits between foundation models and business applications, so many teams can build, run and govern AI without each rebuilding model access, retrieval, evaluation and controls. The hard question is rarely whether you need one.

It is whether to buy a packaged suite, assemble one from cloud services or build it yourself. The right answer depends on how many use cases you run, where your data can live and who will own the platform after the pilots.

What is an enterprise AI platform?

An enterprise AI platform gives every team governed access to foundation models and company data through one AI gateway, with shared evaluation, AI governance and access control, and cost limits.

Without one, each team wires its own model keys, retrieval pipeline, and guardrails, and every application repeats the same security review.

Retrieval is where this pays off most visibly: a shared platform lets an AI knowledge base draw on company data with the same permissions in every team.

In our view, most enterprises end up assembling the platform from their cloud provider's AI services, a few packaged products and custom integration. The right mix depends on use-case count, data sensitivity, existing cloud and how much of the AI differentiates the business. Our AI engineering team works on that integration side, wiring generative AI and agents into existing enterprise systems.

What an enterprise AI platform is not

An enterprise AI platform is not a chatbot, an MLOps platform or a data platform, though it connects to all three. The difference is who uses it and what teams share. An MLOps platform serves data scientists who train models. An enterprise AI platform serves application developers who call models they did not train.

Hub-and-spoke diagram with the enterprise AI platform at the center, connected to five parts: the data platform, the MLOps platform, foundation models, the AI gateway, and the applications that use it.

Three terms matter here. An MLOps platform is the tooling to train, version, deploy and monitor models a team builds itself, such as forecasting or ranking models.

Foundation models are large pretrained models, usually reached through an API, that teams prompt and ground in company data. An AI gateway is the single proxy that routes every model request and applies authentication, logging, rate limits and budgets.

The four categories side by side:

Typical owner Unit of work Shared across teams
Single AI tool or chatbot One business unit or a vendor admin One assistant or workflow Nothing; each tool brings its own model access, connectors and guardrails
MLOps platform ML engineering A trained model and its pipeline Feature store, model registry, training and serving infrastructure
Data platform Data engineering A dataset or pipeline Storage, catalog, lineage, access policies
Enterprise AI platform A platform team working with security and data owners An AI application: assistant, retrieval app or agent Gateway, retrieval connectors, evaluation, identity, cost limits

The platform sits on top of the others. It reads from the data platform for retrieval and can reuse MLOps pipelines when a team does need a custom model. Map which of these already exist before you design anything new. The layers inside the platform are covered in Enterprise AI platform architecture: the layers and the question to ask.

Enterprise AI platform architecture: The layers and the question to ask

An enterprise AI platform architecture has seven layers, and one question works on every layer: what breaks when we change the model?

Stack diagram of five of the seven enterprise AI platform layers, which sit between foundation models and business applications. From top to bottom: prompt and release management, evaluation and observability, orchestration and agents, data and retrieval, and model access and AI gateway.

The layers sit between foundation models and business applications, and the table below pairs each with the question to ask a vendor or your own team. Before committing to a full build, you can test the riskiest layers in an AI proof of concept.

Three terms recur in the table. Retrieval augmented generation (RAG) means the model answers from passages fetched from company data at query time. LLM evaluation and observability means scoring outputs against test sets and tracing every request, retrieval and tool call. Token-level cost and usage controls are budgets, quotas and attribution applied per team, application and request.

Layer Job Question to ask
Model access and AI gateway Routes every request to hosted or self-hosted models Can we change the default model without touching application code?
Data and retrieval Chunking, embeddings, index, reranking for RAG Who owns re-indexing, and how long does a full rebuild take?
Orchestration and agents Runs multi-step flows and tool calls (see AI agent architecture) Are tool schemas defined once, outside any one provider's format?
Evaluation and observability Test sets, scoring, traces Do traces use OpenTelemetry, so they reach the monitoring stack we already run?
Prompt and release management Versions prompts, tool schemas and retrieval settings Can we roll back a prompt, a model and an index version as one release?
Security, identity and governance Access, audit, policy Does every call carry the end user's identity?
Cost and usage controls Token budgets, chargeback Can we cap one team's spend without stopping the others?

OpenTelemetry defines semantic conventions for generative AI spans and metrics, though they are still evolving. Check the status before you standardize on them.

A model swap shows which layers are coupled. Three things usually break first:

  1. Prompt formats. System-prompt handling, chat templates and structured-output modes differ between model families, so prompts tuned for one model often regress on another.
  2. Embeddings. A new embedding model produces vectors that are incompatible with the existing index, so the whole corpus needs re-embedding. Plan for the compute and a parallel index during cutover.
  3. Tool-calling schemas. Providers differ in how they accept function definitions, return arguments and handle parallel calls. A thin adapter in the orchestration layer contains the damage.

Our recommendation is to treat the evaluation suite as the gate for any swap. Run the same test set against the candidate model, the re-embedded index and the adapted schemas before traffic moves.

Enterprise generative AI platform: RAG, assistants and agents

An enterprise generative AI platform serves RAG assistants and agents from the same gateway, retrieval stack and guardrails, and agents are where failures get expensive. A RAG assistant that fails returns a wrong answer. An agent with tool access that fails takes a wrong action or burns budget.

Agent orchestration is the control logic that decides which model call, retrieval or tool runs next, and when the run stops. LangChain and LlamaIndex provide it in code, and the cloud services offer hosted equivalents. Keep this layer thin (layer detail is in AI agent architecture). The platform enforces what the framework cannot.

Three failure modes, each with a guardrail and an early sign:

  1. Runaway loops. An agent that retries a failing tool call or re-plans without a stop condition can consume a month of spend in one night. Set a per-team token budget at the AI gateway, plus a step cap and a cost cap on every run. The early sign is a burn rate that climbs while request volume stays flat.
  2. Over-broad tool access. Tools exposed through Model Context Protocol servers or function schemas run with whatever the credential allows. Give each agent its own service identity, allowlist its tools, default to read-only, and require human approval for writes. The OWASP Top 10 for LLM Applications lists excessive agency as a risk.
  3. Silent regressions. A prompt edit, a model swap or a rebuilt vector database changes behavior without raising an error. Run a regression set in CI that scores retrieval hit rate and tool-call correctness, then sample production traces against it. Rising tool-call retries or empty retrievals are the early sign.

Budgets, scoped tools and evals together form the minimum guardrail set before an agent gets write access. A single read-only assistant may need only the gateway budget. Once several teams run agents against shared systems, all three belong in the platform.

Governance, security and regulation on a shared AI platform

AI governance and access control on a shared platform means one identity model, one enforcement point and one audit trail for every AI application, so teams don't need to re-decide permissions for each tool.

Single sign-on and identity provider integration means users and services authenticate through the company's existing identity provider, such as Microsoft Entra ID or Okta. The platform then inherits group membership and offboarding without keeping its own user list.

Retrieval permissions must mirror the ACLs of the source systems and be enforced at query time. Copy document-level group IDs into the index metadata at ingestion, then filter every query on the caller's groups from the identity token. Re-sync permission changes on a schedule you can state. An index that flattens permissions lets any employee surface a restricted folder through a chat prompt.

The same index is an attack surface: retrieved documents can carry hidden instructions that the model follows as if the user had typed them. Agents should therefore act with the caller's permissions, not a broad service account, so an injected instruction can do no more than the user could.

Place the audit trail at the AI gateway, because every model call passes through it. Log caller identity, application, model, retrieved document IDs and tool calls under one trace ID, and apply your retention policy to prompt content.

Ownership splits three ways:

  • The platform team owns the gateway, policy and logs.
  • Data owners own source ACLs.
  • Use-case teams own their evals.

The NIST AI Risk Management Framework groups this under its Govern function and expects a named accountable owner.

Shadow AI, meaning AI tools used outside IT oversight, comes inside through a sanctioned route that is easier to use than the workaround:

  1. Find current usage from egress logs, SaaS spend and expense reports.
  2. Offer an SSO-enabled path to approved models through the gateway.
  3. Block consumer endpoints only after that path exists.

Data residency is the requirement that data, including prompts, embeddings and logs, is stored and processed in specified regions. Check the vector store and log sink as well as the model endpoint, since any of the three can sit outside the region.

The EU AI Act, Regulation (EU) 2024/1689, applies in general from 2 August 2026. The Digital Omnibus on AI, Regulation (EU) 2026/1744, moved the obligations for high-risk systems listed in Annex III to 2 December 2027.

In GDPR, data minimization in Article 5(1)(c) bears on retrieval scope, and Article 22(1) bears on agent decisions. Risk classification of your use cases and cross-border transfer rules need legal counsel to confirm.

Build vs buy enterprise AI platform: Which path fits?

Buy an enterprise AI platform for horizontal productivity, assemble for AI inside your own processes, build only when AI is your product or data cannot leave your infrastructure. Whichever route you choose, the platform will only perform as well as the enterprise data foundation underneath it, so check data quality, lineage and governance before committing.

Assembly usually starts from a hyperscaler's managed AI service. Amazon Bedrock, Microsoft Foundry (formerly Azure AI Foundry) and Google Vertex AI are the managed AI services of AWS, Microsoft and Google. Each offers a catalog of foundation models plus tooling for building and governing applications inside the cloud account you already run.

The paths side by side:

Criterion Buy (packaged suite) Assemble (cloud services + open components + integration) Build (own stack)
Time to first use case Shortest, if the use case is one the product already covers Short to medium; depends on integration with your systems Longest; the platform comes before the first use case
Control over data and models Limited to the vendor's settings and model choices High; you choose models, retrieval stores and where data sits Full
Lock-in risk Workflow, data and prompts tied to one product Moderate; cloud-specific services are the sticking point unless a gateway abstracts them Lowest on vendors, highest on internal dependency
Skills needed Admin and change management Cloud, integration and evaluation engineering Platform, MLOps, security and GPU operations
Running-cost profile Per-seat or per-usage licensing that grows with adoption Usage-based; needs token-level budgets from day one Fixed infrastructure and staffing, with little marginal cost per request at high volume
Governance fit Good if the vendor's residency, audit export and permission model match your policy Good when identity, gateway and logs stay in your own tenant Strongest evidence trail, and you build all of it

In the assemble path, the AI gateway is the component you own, and it is what keeps the cloud-specific services swappable. In buy, the vendor operates it. In assemble, you run the gateway yourself.

We recommend assembly as the default for enterprises that already run on one hyperscaler and need AI wired into legacy systems. This is our judgment, not a measured split. Buy covers employee assistants and enterprise search well, and the two often coexist.

An existing MLOps platform does not decide the path. It keeps serving the models you train yourself, and the new layer sits beside it.

Build is the hardest path to justify. It pays off at sustained high volume or under hard data-location limits, and only if you can staff the platform team for years. The cost of a single AI system is a separate question, covered in build vs buy for AI. Here the unit of comparison is the shared layer.

When does each path win?

The deciding factor is where the AI has to do its work: in a vendor's interface, inside your own systems, or on infrastructure no provider can reach.

Buy when the use case is the same in every department: employee assistants, enterprise search, meeting and document summaries. The work happens inside the vendor's interface, so there is little to integrate; buying stops fitting once the AI has to read and write your own process data, because the packaged tool's connectors set the limit.

Assemble when the work lives in your own systems on a cloud you already run. Managed services such as Amazon Bedrock, Microsoft Foundry or Google Vertex AI supply model access, and your team writes the integration with the claims, policy or ERP systems around it.

ARC Europe shows the shape of this path. Netguru built a GPT-based AI agent proof of concept that automates insurance claims analysis and plugs into ARC Europe's existing processes on Microsoft Azure. Claim assessment time fell from 30 to 5 minutes, an 83% reduction, and delivery took under 6 weeks.

That is one agent in an existing process, not a platform build. The gateway, evals and budgets come when a second use case needs them (see How do you roll out a platform without building it first?).

Build when AI is what you sell, or when data residency or contract terms rule out every managed region and provider you could use. Check the provider's regional documentation before concluding that. Building means owning inference infrastructure, model upgrades and evaluation tooling indefinitely, so we recommend it only when one of those two conditions is firmly met.

How do you choose an enterprise AI platform?

Choose an enterprise AI platform by scoring your use cases against eight checks, from use-case count to run cost, and let the pattern of answers point to buy, assemble or build.

Start with the checks that are hardest to change later: identity stack, data sensitivity and use-case count. The table shows what each answer tends to favor, based on our own judgment rather than a survey.

Check What to look at Leans toward
Use-case count and variety One or two similar use cases, or five-plus across teams with different data Buy for few and horizontal; assemble for many and varied
Data sensitivity and residency Regulated data, or region limits on prompts, embeddings and logs Assemble inside your own tenant; build if data cannot leave
Cloud and identity stack One hyperscaler, and single sign-on and identity provider integration that works without custom shims Assemble on the cloud you already run
Legacy integration AI must read and write core systems such as claims or ERP Assemble; suites reach only the connectors they ship
Team skills Who can run LLM evaluation and observability and carry the pager Buy or managed services if nobody can; build needs platform engineers
Model switching Whether you expect to swap foundation models within two years A gateway plus your own evals; check a suite's model list
Platform owner A named owner with a budget Part-time ownership works for buy or assemble at a few use cases; build needs a standing team
Run cost Whether you can get token-level attribution per team Usage-priced suites grow with adoption; build carries fixed infrastructure

If the first three rows are unanswered, run an AI readiness assessment before comparing vendors.

When the rows split across paths, assemble is the usual landing point for organizations past their first pilots. With a single use case, skip the platform question and ship that use case first.

How do you roll out a platform without building it first?

Roll out an enterprise AI platform by shipping one or two production use cases on a thin shared path, extracting shared services after the second, and adding evaluation and cost guardrails before a third team onboards.

The order matters: each step adds a shared service only after real use cases have shown it is needed.

  1. Ship the first use case with an AI gateway already in front of the model. Use the managed model API from the cloud you already run. A basic proxy that authenticates callers, tags every request with a team and application ID, and logs prompts costs little now and is painful to retrofit.
  2. Ship a second use case on a different data source or workflow. Then compare the two codebases. Whatever both teams wrote twice, such as the model client, retrieval connectors, auth and prompt logging, becomes a shared service. Extract only what both copied, because one data point is a guess.
  3. Add LLM evaluation and observability before the third team. Give each use case a golden test set that runs in CI, plus request-level tracing. Without them, no one can tell whether a prompt change or model swap broke something.
  4. Turn on token-level cost and usage controls at the same gateway. Set a budget per team and alert at a fraction of it, so one runaway agent loop shows up as an alert and not a surprise invoice.
  5. Name an owner and publish a paved road. A template repository and short docs let the third team start from the shared services.

Extract earlier if several teams start at once or regulation applies from day one (see Governance, security and regulation on a shared AI platform). Moving the first prototype into production is a separate effort, covered in turning an AI proof of concept into a product that grows with your needs.

FAQ

How is an enterprise AI platform different from an MLOps platform?

An enterprise AI platform is the shared layer between foundation models and business applications. An MLOps platform is the tooling to train, version, deploy and monitor models a team builds itself. The platform adds an AI gateway, retrieval, agent orchestration and governance that many teams share. Enterprises with in-house forecasting or ranking models usually run both.

Next step: Map your first two use cases to a path

Map your first two use cases to buy, assemble or build before you shortlist any enterprise AI platform.

For each one, write down the data it touches, the cloud and identity provider it must run on, and the AI governance and access control it needs on day one. If both land on the same path, start there and extract shared services after the second ships.

If you want a second opinion on that mapping, our AI engineering team can review it with you and help ship the first use case on the path you choose. Tell us about your use cases.

We're Netguru

At Netguru we specialize in designing, building, shipping and scaling beautiful, usable products with blazing-fast efficiency.

Let's talk business