Skip to content

THE INFRASTRUCTURE BEHIND THE AGENT

The AI agent stack.
From intent to action.

A model reasons. A stack gets things done. Explore the layers that let agents remember, use tools, communicate and transact—with the controls to run them.

12 architectural layers24 selected examplesSources reviewed

THE MAP

What are you building?

Choose a use case to highlight its layers

An architectural map, not a shopping list. Products can span layers; a small agent may need only a few of them.

Across every layerScoped accessHuman approvalsData boundariesAuditability

HOW THE PIECES CONNECT

Tools still do real work.

An MCP connection can wrap an existing API. It does not replace that API or grant new permissions.

  1. Agent runtime
  2. MCP client & server
  3. Provider API / resource
  4. Result back to the agent

EXPLORE THE LAYERS

A purpose for every component.

Examples, decisions and publisher sources
01Models & routingGenerate responses, select tools and route inference requests.

Design decisionCompare tool-calling behavior, latency, data handling and model fallback policies.

Browse related directory
02Frameworks & orchestrationTurn model calls into stateful loops, tool decisions and handoffs.

Design decisionChoose explicit state, stopping conditions and human handoff behavior before adding multiple agents.

Browse related directory
03Memory & retrievalPersist useful context and retrieve relevant records across runs.

Design decisionSeparate conversation history, long-term memory and source documents; define deletion and tenant boundaries.

Browse related directory
04Search & external knowledgeBring current web evidence and page content into the agent context.

Design decisionRetain source URLs and freshness; retrieved content is input, not permission to execute instructions.

Browse related directory
05APIs, tools & MCPGive agents typed operations over business systems and external services.

Design decisionMCP standardizes a tool connection; it does not replace the underlying API, its scopes or its access rules.

Browse related directory
06Browsers & sandboxesRun code or interact with websites in a controlled execution environment.

Design decisionScope filesystem, network and credential access; choose APIs when a direct operation is available.

Browse related directory
07Email & communicationsGive an agent an inbox or messaging channel to receive requests and deliver results.

Design decisionAn email address is a communication endpoint, not proof of identity or permission to act for its owner.

Browse related directory
08Payments & commerceConnect approved purchases, checkout and payment operations to agent workflows.

Design decisionKeep payer authorization, spending limits, identity checks and merchant support explicit.

AgentCard by Alchemy logo

AgentCard by Alchemy

Request a payment for a specific purchase through its CLI or API.

Publisher documentation Reviewed
Browse related directory
09Identity & authorizationEstablish who is acting, on whose behalf, and which resources they can access.

Design decisionUse scoped credentials, tenant isolation and explicit approval for consequential actions.

Browse related directory
10Durable executionPersist workflow progress through retries, waiting periods and process failures.

Design decisionPlan idempotency and recovery for external side effects; retrying must not duplicate a payment or message.

Browse related directory
11Observability & evaluationTrace model/tool behavior and evaluate outcomes against representative tasks.

Design decisionMeasure task success, latency, cost and failure modes; redact secrets and personal data from traces.

Browse related directory
12User interfaces & voiceExpose the agent through a usable chat, application or realtime voice experience.

Design decisionMake progress, cancellation, approval and human escalation visible to the person using the agent.

Browse related directory

CONNECTION STANDARDS

Protocols connect the layers.

These have different jobs. They are not interchangeable, and listing a product here does not claim support for every protocol.

MCPApplications ↔ tools and contextA2AAgent ↔ agent collaborationUCPCommerce discovery and checkoutx402HTTP payment negotiation

Understand the stack.

What is an AI agent stack?

An AI agent stack combines a model with orchestration, context and tools, plus the infrastructure needed to run it. Depending on the task, that can include memory, browser or code execution, identity, messaging, payments, durable workflows, evaluation and a user interface.

Does every agent need all twelve layers?

No. These are responsibilities to consider, not twelve mandatory vendors. A read-only research assistant may need no payments or browser automation. A framework or hosted service can cover several responsibilities.

Where do AgentMail and AgentCard fit?

AgentMail belongs in email and communications. AgentCard by Alchemy belongs in payments and commerce. An agent may need both communication and payment capabilities, but this map does not claim that every product pair integrates automatically. AgentCard by Alchemy at agentcard.ai is kept separate from the similarly named agentcard.com catalog profile.

Does MCP replace APIs?

No. MCP provides a standard interface between an application and tools or context. An MCP server can call a provider API, access a database or work with local resources. Provider authentication, permissions and limits still apply.

Is this a verified compatibility or popularity ranking?

No. The examples are an editorial selection classified by documented purpose. Publisher documentation was reviewed on the displayed date; inclusion does not establish interoperability, runtime testing, security certification or popularity.

How we map the ecosystem

This is an editorial architecture map from the Apideck team, not an exhaustive vendor inventory or a ranking. Examples are grouped by documented purpose; products may span several layers. Sources and review dates are shown with each example. We have not runtime-tested these combinations.

Apideck and MCP Connect are built by the team behind API Tracker. AgentCard by Alchemy is linked to its publisher documentation: the existing similarly named agentcard.com profile represents a different identity.

Hosting, storage, secrets, deployment and incident response also need an implementation plan. The use-case highlights are illustrative architecture choices, not preconfigured integrations.

Search API Tracker

Curated starting points