Key takeaway
- The agentic AI infrastructure stack has seven layers, from compute and models to MCP and A2A orchestration, OpenTelemetry tracing and governance.
The agentic AI infrastructure stack is the set of layers an enterprise needs to run AI agents safely in production: compute and model serving, foundation models, memory and retrieval, orchestration and agent protocols, tools, observability and evaluation, and governance. The model is only one layer. Most failures in production come from the layers around it: missing context, uncontrolled tool access, no trace of what the agent did, and no policy that says what it is allowed to decide.
For leaders, the practical question is not which framework to pick. It is which layers you standardise once for every team, which you leave open, and where you insert control. Open standards now cover the integration points: the Model Context Protocol (MCP) for agent-to-tool connections, the Agent2Agent (A2A) protocol for agent-to-agent calls, and OpenTelemetry GenAI conventions for traces.
What is the agentic AI infrastructure stack and why does it matter now?
A generative AI application answers a prompt. An agent plans, calls tools, reads and writes data, and may hand work to other agents. That shift moves risk from "a wrong answer" to "a wrong action". The infrastructure has to carry identity, permissions, state, audit and cost control, not just inference. If you need the conceptual background first, see our explainer on what agentic AI is and how it differs from generative AI.
Three things changed in the last year that make a stack decision urgent:
- Protocols became neutral. The Linux Foundation formed the Agentic AI Foundation on 9 December 2025, with MCP among its founding projects. A2A, originally developed by Google, is also hosted by the Linux Foundation and reached a stable 1.0 specification, with more than 150 supporting organisations.
- Cloud platforms adopted them. The same release reports A2A support in Azure AI Foundry, Copilot Studio and Amazon Bedrock AgentCore Runtime. Lock-in now sits less in the protocol and more in where your context, policy and traces live.
- Security and regulation caught up. OWASP published a Top 10 for Agentic Applications in December 2025, and EU AI Act obligations for high-risk systems now have firm dates.
What are the seven layers of the agentic AI stack?
Treat the layers below as a reference model, not a product list.
| Layer | What it does | Typical options | Integration point |
|---|---|---|---|
| 1. Compute and serving | Runs inference with predictable latency and cost | GPU or accelerator clusters, managed model endpoints, open-source serving engines, on-premises for sovereign data | Model API, autoscaling, quota |
| 2. Models | Reasoning, planning, tool-call generation | Frontier API models, open-weight models, small task-specific models, routers between them | Model gateway with policy and cost limits |
| 3. Memory and retrieval | Gives the agent the right context at the right time | Vector and hybrid search, knowledge graphs, session state stores, governed semantic layers | Retrieval API with access control at query time |
| 4. Orchestration and protocols | Plans steps, routes work, coordinates agents | Graph or workflow-based agent frameworks, cloud agent runtimes, MCP for tools, A2A for agent-to-agent | MCP servers, A2A Agent Cards |
| 5. Tools and actions | Lets the agent read and change systems of record | Enterprise APIs, databases, code sandboxes, browser automation, RPA bots wrapped as tools | Scoped credentials, approval gates |
| 6. Observability and evaluation | Shows what the agent did, why, and how well | OpenTelemetry tracing, LLM evaluation suites, red-team testing, cost dashboards | OTel GenAI spans, evaluation datasets |
| 7. Governance | Decides what the agent may do and proves it afterwards | Policy engines, identity for agents, decision logs, risk registers mapped to NIST AI RMF or ISO/IEC 42001 | Policy check before each action, decision trace after |
Where does each layer usually break?
- Compute: agent loops multiply model calls per request, so capacity plans built for chat underestimate load and cost.
- Models: a model that scores well on a benchmark can still choose the wrong tool or the wrong arguments in your domain.
- Memory: retrieval that ignores permissions leaks data across roles; stale context produces confident wrong actions. Latency matters too, as our post on delivering context at inference time explains.
- Tools: broad service accounts give agents more power than any single human user would have.
- Observability and governance: without a trace that links prompt, context, tool call and outcome, no one can explain a decision to an auditor.
How do MCP and A2A fit into the orchestration layer?
The two protocols solve different problems and are complementary.
Model Context Protocol (MCP) standardises how an AI application connects to tools, data and prompts exposed by an MCP server. The current protocol version is 2026-07-28. According to the official changelog, this revision removes the initialisation handshake and protocol-level sessions so that each request carries its own version and capabilities, adds a mandatory server/discover call, moves long-running tasks into an official extension, deprecates the Roots, Sampling and Logging features, and documents how OpenTelemetry trace context travels in request metadata. For architects, stateless requests make MCP servers easier to scale, but servers built for the 2025-11-25 handshake need a compatibility plan.
Agent2Agent (A2A) standardises how one agent discovers and delegates work to another agent, including agents built by other teams or vendors. Agents publish an Agent Card describing their skills and endpoints; version 1.0 adds Signed Agent Cards for cryptographic identity verification. The technical specification is published at a2a-protocol.org.
| Question | MCP | A2A |
|---|---|---|
| Connects | Agent or AI app to tools, data, prompts | Agent to agent |
| Main enterprise risk | Over-permissioned tools, untrusted servers | Impersonated or untrusted agents, unbounded delegation |
| Control to add | Server allow-list, scoped OAuth, approval on write actions | Signed Agent Cards, delegation limits, cross-agent trace IDs |
Protocols move messages; they do not decide whether an action is allowed. That decision needs a policy and context layer that sits above the agents. Platforms such as ElixirClaw, an agentic OS platform to build, orchestrate and govern AI agents and automation workflows, place orchestration and governance in the same control plane.
Which architecture should you choose for your stack?
There is no single right stack. Use the conditions below to decide where to standardise.
| Choose | When | Trade-off |
|---|---|---|
| Managed cloud agent runtime | One primary cloud, speed to first use case matters, data can stay in that cloud | Faster start; policy, traces and memory may be harder to move later |
| Open-source framework on your own platform | Several clouds or on-premises, strong platform team, sovereign data | Full control; you own patching, scaling and security reviews |
| Single agent with tools over MCP | The task is bounded and one team owns it end to end | Simple to trace; limited when work spans departments |
| Multi-agent with A2A delegation | Work crosses teams or vendors and each agent has a clear owner | Scales across the organisation; needs agent identity and cross-agent tracing first |
| Central decision layer above agents | Regulated decisions, many agents sharing the same policies | One place to change policy and audit; adds a call in the action path |
A useful default for most enterprises: let teams choose frameworks, but standardise the model gateway, MCP server registry, identity for agents, tracing format and policy layer centrally. Those five points are where cost, security and audit concentrate. For more on how models behave inside agents, see how large language models power AI agents.
How do you observe and evaluate agents in production?
Agent observability needs one trace that links the user request, every model call, every retrieval, every tool call and the final outcome. OpenTelemetry is the common format. Its GenAI semantic conventions, now maintained in a dedicated repository, cover spans, metrics and events for GenAI clients, as well as MCP. They define operations such as invoke_agent and execute_tool and attributes for agent name, tool name and token usage.
Two cautions. First, the GenAI conventions are still at Development stability, so attribute names can change; pin your instrumentation version. Second, prompt and response content is sensitive. Capture it only where policy allows, and keep it out of general-purpose log stores.
Evaluation runs alongside tracing. Measure task success, tool-choice accuracy, policy violations, escalation rate, latency and cost per completed task. Re-run the same evaluation set on every model, prompt or tool change. Our guide to AI agent observability and evaluation tools compares the main options. For incident response on agent workloads, AgentSRE applies agents to incidents and observability.
How should governance, security and regulation shape the stack?
Governance is a layer, not a review meeting. It should act before an action (is this allowed, for this user, on this data?) and after it (what was decided, on what evidence, under which policy version?).
- Security baseline: map controls to the OWASP Top 10 for Agentic Applications. Give each agent its own identity, least-privilege credentials per tool, and human approval for irreversible actions.
- Risk management: use the NIST AI Risk Management Framework to structure risk, and ISO/IEC 42001 if you need a certifiable AI management system.
- EU AI Act: the AI Omnibus amendments adopted in 2026 move obligations for stand-alone high-risk systems (Annex III) to 2 December 2027, and for AI in products covered by EU product safety law to 2 August 2028. Agents used in hiring, credit or critical infrastructure should be designed for logging, human oversight and documentation now.
The hardest part is keeping context, policy and evidence consistent across many agents. ElixirData provides governed context, versioned policy and decision traces in one decision layer above the agents, so each action can be checked and explained.
What is a practical adoption path, and which metrics prove it works?
- Pick one decision, not one tool. Choose a bounded, frequent decision with a clear owner and measurable outcome.
- Stand up the shared layers first: model gateway, MCP server registry, agent identity, OpenTelemetry tracing and a policy check.
- Run in shadow mode, where the agent recommends and a human acts, until evaluation results are stable.
- Increase autonomy by risk tier. Allow read actions first, then reversible writes, then irreversible actions with approval.
- Add agents through A2A only when each new agent has an owner, an Agent Card and an evaluation set.
| Metric | What it tells leaders |
|---|---|
| Task success rate on the evaluation set | Whether the agent does the job |
| Policy violations blocked per 1,000 actions | Whether governance is working, not just present |
| Human escalation and override rate | Readiness for more autonomy |
| Cost and latency per completed task | Unit economics, not just token spend |
| Share of actions with a complete trace | Audit readiness |
If you prefer to run the stack as a service, see how agentic AI managed services split responsibilities, or how LLMOps pipelines handle model release and monitoring.
When is a full agentic stack not the answer?
- The process is fixed and rule-based. A deterministic workflow is cheaper, faster and easier to audit.
- The data is not ready. If definitions, ownership and access rules are unclear, agents will act on inconsistent context. Fix the data layer first.
- No one owns the decision. Without a named owner for outcomes and policy, autonomy creates risk without accountability.
- One question, one answer. If users only need answers from documents, retrieval-augmented generation without tool access is enough.
To map one decision your agents should make, and the context and policy it depends on, book a Context Workshop. See what happens in the workshop.
Frequently asked questions
What is the agentic AI infrastructure stack?
It is the set of layers needed to run AI agents in production: compute and serving, models, memory and retrieval, orchestration and protocols, tools, observability and evaluation, and governance.
What is the difference between MCP and A2A?
MCP connects an agent or AI application to tools, data and prompts. A2A lets one agent discover and delegate work to another agent through an Agent Card. Most enterprise stacks need both.
What is the current MCP specification version?
The current protocol version is 2026-07-28. It removes the initialisation handshake and protocol-level sessions, adds a mandatory server/discover call and deprecates the Roots, Sampling and Logging features.
How do you monitor AI agents in production?
Use one OpenTelemetry trace per request that links model calls, retrievals and tool calls, following the GenAI semantic conventions. Pair it with an evaluation set that measures task success, policy violations, escalation rate and cost per task.
Which standards apply to agent governance?
Common references are the OWASP Top 10 for Agentic Applications for security, the NIST AI Risk Management Framework for risk, ISO/IEC 42001 for an AI management system, and the EU AI Act for high-risk use cases in the EU.
When should an enterprise not build a full agentic stack?
When the process is fixed and rule-based, the data is not ready, no one owns the decision, or users only need answers from documents. In those cases a workflow or retrieval-augmented generation is enough.
Explore the XenonStack platform family: ElixirData · ElixirClaw · ElixirHub · NexaStack · MetaSecure · Neural AI · AgentGRC · AgentSRE · AgentAnalyst · AgentInstruct · AgentRAI · AgentScrum · AgentSearch · AgentForce · AI Aviator · SAIF Aviator · CohortIQ · XenonStack AI · XenonStack UAE