Most enterprises arrive at agentic AI in the same place: tools purchased, pilots launched, and nothing actually transformed. This reference architecture describes what a production-grade, governed agentic system looks like in a regulated or high-stakes environment. It is deliberately vendor-neutral. The goal is the shape of the system, not any one product, although we name products where they illustrate a layer.
When this pattern applies
It applies to any organization that wants AI to do real work in production, not just answer questions in a chat window. It pays off fastest where two things are true: the data is reasonably connected and accessible, and there is an engineering team that can own systems rather than only integrate vendors.
Neither has to be perfect before you start. The architecture improves as the AI work demands it, one workflow at a time. To find out which constraint to tackle first, start with a SCALE diagnostic.
The layer model
Reference Architecture for Agentic AI
Five layers, each marked buy, blend or build. Rent what changes in months, own what lasts for years.
Agents propose. The system commits.
- 1Standards firstMCP for tools and data, A2A for agent to agent. Every standard connection is a swap point.
- 2Agents propose, the system commitsState changes pass through the deterministic boundary.
- 3Ontology-groundedAgents reason over your business definitions, not raw tables.
- 4Governance by defaultPolicy lives in the execution path, not in an after-the-fact review.
- 5Graduated autonomyEach workflow earns its way from suggest to act.
- 6Designed for replacementEvaluations and owned definitions make every rented layer swappable.
Five layers, each with a default decision: buy it, blend it (configure a bought platform with your own logic), or build it.
| Layer | What it is | Default |
|---|---|---|
| Workflows and people | Redesigned workflows, human oversight, approvals, escalation | Build |
| Agents | A few focused agents, running on the bought runtime | Blend |
| Context | Business ontology, semantic layer, retrieval and memory, exposed through MCP | Build the definitions, buy the tooling |
| Deterministic boundary | Policies, limits, agent identity, approvals, audit | Build |
| Runtime and models | Agent runtime and harness, model access, routing, caching | Buy |
Four concerns cut across every layer: evaluations, observability, security and identity, and cost.
Workflows and people: build
This is where the value is, and it's the layer no vendor can build for you. Workflows get redesigned for AI rather than automated as they are, with a clear view of which steps an agent takes, which a person approves, and where exceptions go. Each workflow carries its own autonomy level, from suggest-only to act-and-report, and moves up as trust is earned. The organizational side of this layer is the subject of Your AI Is Ready. Your Organization Isn't.
Agents: blend
Start with one focused agent per workflow, plus the tools it needs. Add more agents only when one clearly isn't enough: a genuinely separate skill, a different permission scope, or work that runs in parallel. Agents run on the bought runtime. What you own is how they're configured: their instructions, skills and tool access, versioned as code and registered so you know what's running.
Context: build the definitions, buy the tooling
Agents are only as good as what they know about the business. The core asset is a business ontology: the definitions of customers, products, contracts, metrics and rules, and how they relate. That lets agents reason over the business instead of guessing at table names. In regulated work, grounding agents in formal definitions is what makes them correct within domain constraints rather than merely confident.
Own the definitions. Keep them in your own repositories, version them like code, and load them into whichever semantic layer or catalog you use; Databricks Unity Catalog and its new ontology features are one example. Expose internal systems and data to agents through MCP servers, not bespoke integrations. Retrieval and memory services are rented.
Deterministic boundary: build
Agents propose. The system commits. Anything that changes the state of the business (a payment, a record, a customer message, a contract) passes through rules that sit outside the model: policy limits, approvals, permission checks and an audit trail. Every agent has its own identity and only the access it needs, scoped to the person or process it acts for.
This layer is where compliance lives. Building it to a standard like SOC 2 Type II from day one means every new agent inherits a governed framework instead of needing a retrofit. And because it's yours, it survives every change of model or vendor underneath it.
Runtime and models: buy
The agent runtime and harness (the layer that runs agents, manages their memory and sessions, connects tools and isolates workloads) is now a product. AWS AgentCore, Google's Agent Development Kit and Vertex AI, and Microsoft's AI Foundry all provide it, hardened and ready for regulated environments. Building your own is a race against a hyperscaler's roadmap.
The same goes for models. Use more than one, route each task to the cheapest model that does it well, cache what repeats, and run inference inside your existing cloud where your data protection and committed-spend discounts already apply.
Across every layer
- Evaluations. Test suites built from your own workflows and production traces, run automatically on every model, prompt or runtime change. They're what make swapping any rented component safe.
- Observability. End-to-end tracing of every agent action, tool call and decision, available to both engineers and the people supervising the work.
- Security and identity. Zero trust between agents and systems, PII classification, data egress controls, encryption, secrets management and credential rotation.
- Cost. Budgets per workflow, visibility into inference spend, and routing and caching treated as one system.
The operating model: A to B to C
Architecture without an operating model is just infrastructure. Workflows move through three stages: A, manual and measured; B, AI-assisted with human review; C, autonomous with human oversight. Design backward from Stage C, so every Stage A and B decision moves toward it.
The architecture makes each move a configuration change: raising a workflow's autonomy level in the deterministic boundary, not rebuilding it. What the move needs from the organization (owners, incentives, roles) is covered in Part 3 of After the Pilot.
Buy, blend or build
The v1 rule was "build anything that touches core operations." v2 is more precise:
- Buy what the market already does well and will keep improving: runtimes, models, orchestration, semantic and catalog tooling.
- Blend where a bought platform needs your logic: agent configuration, skills, integrations.
- Build only what differentiates you or must stay under your control: workflows, business definitions, evaluations, and the deterministic boundary.
The test is simple: will a vendor build this better next quarter? If so, rent it.
Design principles
- Start with one workflow and one agent. Prove value, then extend the architecture where the next workflow needs it.
- Govern from day one. Moving fast and governing later is how you get agent sprawl.
- Measure before you automate. Instrument Stage A first. Without a baseline, you can't prove value, and proving value is what unlocks the next stage.
- Own the definitions, rent the tools. Business logic lives in your repositories, not in a vendor's interface.
- Connect through standards. MCP and A2A are the joints that let you swap components.
- Treat evaluations as insurance. If you can't prove nothing broke, you can't replace anything.
- Build internal capability. The goal is a team that owns and evolves the architecture without outside help.
Anti-patterns to avoid
- Agent sprawl. Ungoverned agents multiplying across the business: the shadow IT problem of the AI era, but faster and harder to unwind.
- AI theater. Pilots and one-off automations with no baseline and no way to learn across them.
- Building what's about to be commoditized. Custom runtimes, harnesses and orchestration engines that a hyperscaler will ship next quarter.
- Model-only reasoning in regulated domains. Confident-sounding agents that aren't accountable to domain rules.
- Permanent vendor dependency. Business logic trapped in a platform you can't leave.
The takeaway
The cost of building software is collapsing, and so is the shelf life of whatever you build in the fast-moving layers. The organizations that win won't be the ones with the most custom infrastructure. They'll be the ones whose workflows, definitions, tests and rules survive every change underneath them.
Buy the runtime. Build the boundary.
Part of the thinking behind After the Pilot, a three-part series on taking AI from pilot to production.


