Reference architecture
A layered target design for your AI systems, from channels to systems of record, that every new use case can follow.

Models keep changing. Labs 24 designs AI systems so the model, the database or the channel can be replaced without starting again, and makes the build-or-buy calls before anyone writes code.
AI architecture is the design of how an AI system's parts fit together: channels, orchestration, models, retrieval, data, integrations, security and operations. Good AI architecture keeps each layer replaceable, so a new model, database or channel is a configuration change rather than a rebuild. Labs 24 designs it with forward deployed engineers, inside the client's environment.
AI systems built around one vendor's model, one framework or one database age fast. Prices drop, better models arrive, regulators ask for data to move. Architecture decides whether that is a config change or a full rebuild.
Every decision written down, with its reasonsEight parts of AI architecture we own end to end, from the current-state map to the decision records your team inherits.
A layered target design for your AI systems, from channels to systems of record, that every new use case can follow.
For each component: buy a product, configure a platform, build on APIs, or self-host. Decided on cost, control and lock-in.
A gateway and stable interfaces between your code and every model, so switching provider is configuration plus an eval run.
Where each fact lives, how it reaches the model, who may see it and how changes flow through, with lineage you can audit.
Which work is an agent, which is a fixed workflow and which is plain code, and how they hand off to people.
Trust boundaries, data residency, tenant separation and least-privilege access designed in from the first diagram.
Unit economics per request and per user, modelled before build, so the design fits the budget at full volume.
Architecture reviews of pilots and vendor proposals, and decision records that explain every major choice to whoever comes next.
The test of an AI architecture is how much breaks when one part is replaced. Pick a change to see what it touches in our reference design.
Gateway configuration and one eval run to confirm quality holds.
Agents, workflows, prompts, data stores and every integration.
Small: configuration only
The retrieval adapter and a re-index job, then a retrieval eval.
Models, agents, channels and the documents themselves.
Small: one adapter and a re-index
One new channel adapter beside the existing ones.
Agents, models, data and approvals; the new channel reuses all of them.
Small: one new adapter
Models served on your GPUs behind the same gateway API; data stores redeployed; security controls re-verified.
Application code, agents, workflows and channels.
Larger: hardware and security sign-off
The ERP connector behind the same tool interface.
Agents and prompts call the same tools; they never knew which ERP was behind them.
Medium: paced by the ERP project
We decide per component, not per project. Most systems end up a mix: bought where the problem is generic, built where it is yours.
| Option | Best when | Effort to start | Control | Lock-in risk |
|---|---|---|---|---|
| Buy an AI product | The problem is generic and the product fits your process as it is | Lowest | Low | High |
| Configure a platform | Common pattern, but your rules and data need tailoring | Low to medium | Medium | Medium |
| Build on model APIs | The workflow is specific to you or a source of advantage | Medium to high | High | Low with a gateway |
| Build and self-host | Strict data rules, high volume or a need for full control | Highest | Full | Lowest |
Architecture you can trust is proven in code, not only drawn. The riskiest part of the design runs before the full build starts.
Systems, data flows, existing AI tools, contracts and constraints mapped as they really are.
Target architecture, build-or-buy calls and cost model, each recorded with options and reasons.
The part most likely to fail is built and tested on real data before the full build is committed.
Build roadmap, reference architecture and standards handed to your team and the build squad.
The building blocks we start from. Every one has an alternative we can swap in when your constraints call for it.
Security boundaries and compliance evidence for the architecture are covered in Security & Compliance.
Under NDA, so clients stay unnamed. Each system runs on the client's own infrastructure with full IP transfer.

Designed as a self-contained module with clean interfaces, so it could be licensed and deployed inside a bank's stack.

Architected for self-hosted models from day one, with the same interfaces a cloud model would use.

One multi-tenant core serving several consumer apps, with each app added as configuration rather than a new build.
Each discipline builds inside the layers and interfaces the architecture defines.
Agents inside the orchestration layer.
02Models behind the gateway.
03The data layer and its lineage.
05Where each layer runs.
07Standards rolled out across teams.
11Trust boundaries in the design.
AI architecture is the design of how an AI system's parts fit together: channels, orchestration, models, retrieval, data, integrations, security and operations. Good AI architecture keeps each layer replaceable, so a new model, database or channel is a configuration change rather than a rebuild.
It means application code never talks to a specific model provider directly. Calls go through a gateway with a stable interface, prompts and evaluations are versioned separately, and switching from one model to another is a configuration change followed by an eval run.
Put a gateway between your code and every model, keep data and prompts in stores you control, use open standards such as MCP for tools, prefer components you can export from, and record the exit path for every bought product before signing.
Decide per component. Buy where the problem is generic and a product fits your process as is; configure a platform when you need tailoring; build on model APIs where the workflow is specific to you; self-host when data rules, volume or control demand it. Most systems end up a mix.
A layered template that every AI use case in a company follows: channels, orchestration, models and retrieval, data and systems of record, plus operations such as evals, security and cost tracking. It lets new teams reuse proven parts instead of starting from zero.
Use plain code for fixed rules, a durable workflow for known multi-step processes, and an agent only where the steps genuinely depend on judgement. Labs 24 maps each step of the work and picks the simplest option that does the job reliably.
A short document that records one significant design choice: the context, the options considered, the decision and its consequences. Labs 24 writes one for every major AI architecture choice so future teams know why the system is built the way it is.
Labs 24 maps the current state, agrees the target architecture and build-or-buy decisions with written records, proves the riskiest piece in code on real data, then hands over the roadmap and standards to your team.
Yes. Labs 24 reviews pilots and vendor proposals for lock-in, data handling, security, cost at scale and fit with your systems, and recommends what to keep, change or replace.
A 30-minute call. Bring your current diagram or vendor proposal. We'll tell you where it locks you in and what we'd change.
Book a build call