Part II · Foundations

Integration

Internet, mobile, video and APIs each ran on integration, and agents are the next channel. They also change the rules, from learning each API separately to learn once, use everywhere.

Principles that stay

None of these principles is specific to agents. They describe what integration always needed, and because the impact of agents is big, they matter even more.

  • All the integrations
    we need

    with the required governance on top.

  • Aligned customer
    experiences

    efficient processes across channels.

  • Secure identity
    & access

    aligned across channels, applications and platforms.

  • Easy
    development

    for providers and consumers, across integrations.

  • Clean, future-proof
    platforms

    architecture that lasts.

  • Everything we create is scalable and adaptive for future needs.

Why it is important

Integration can look like plumbing that only IT cares about, but its results appear for the business, for IT and for the cooperation between teams.

  1. Boosts business

    A digital ecosystem for internal, partner and public solutions.

    • Unleash creativity
    • Higher velocity
  2. Untangles IT

    A modular and flexible IT landscape.

    • Easier to change
    • Lower risks
    • Future proof
  3. Streamlines cooperation

    Create once, reusable by all.

    • One stop shop
    • Focus on the customer journey
    • Clear responsibilities
    • Increased team autonomy

Three styles of integration

The right style depends on what the caller needs. When it needs something done now, it sends a request and waits for the answer. When it only needs to know that something happened, it reacts to an event, a small message that says what changed, so it never has to keep asking. Agents use all three styles.

  1. Functionality-centric

    Ask a system to do something, now. MCP tools, which are actions an agent can call, bring this style to agents.

    Explored in API styles · Resource modelling · Service-oriented architecture · How MCP works

    • APIs
    • REST
    • GraphQL
    • gRPC
    • API gateways
    • Process orchestration
    • Request/reply
    • Polling
    • Callback
    • Streaming
    • MCP tools
  2. Event-centric

    React when something happens. Webhooks and open connections push the change to whoever is listening, and MCP servers announce when their tools change. An MCP extension also lets agents subscribe to events in upstream systems, delivered by polling, a stream or signed webhooks, so they can react without a person present.

    Explored in API styles · Beyond request and response

    • Events
    • Streaming
    • Webhooks
    • WebSockets
    • Publish / subscribe
    • Change data capture
    • MCP notifications
    • MCP events
  3. Data-centric

    Move and share data at scale. Agents read it as MCP resources, which is context the application can read, under the same rules.

    Explored in Ways to share data · Data for agents

    • Batch
    • File transfer
    • ETL
    • Data products
    • Data virtualisation
    • MCP resources

Service-oriented architecture

The point of this architecture is change. Because nobody depends on the internals of a system, the system behind a service can change without the consumers noticing, and the same services later serve agents.

  1. Consumers

    Internal and external, with different needs.

    • Applications consume services directly
    • Channels add entitlement checks, state and caching
    • External parties come in through their own gateway

    Explored in Three ways to connect

  2. Integration layer

    One point of control between consumers and providers.

    • An API gateway for modern, lightweight connections
    • An external gateway translates formats and adds security
    • The service bus only for legacy and heavy integration

    Explored in How it works One gateway per kind of traffic

  3. Domains

    Providers expose functionality, not systems.

    • Domain logic stays in its domain
    • Data is optimised close to where it lives
    • Several canonical models, not one

    Explored in Principles

  1. How it works

    Consumers never call systems directly. They call services through the integration layer, and domains keep their own logic and data and expose business functionality. Each domain can have its own canonical model, a common description of its data and messages, so domains change at their own pace.

    • Services
    • API gateway
    • External API gateway
    • Service bus for legacy
    • Decentralised domains
    • Multiple canonical models
  2. Three ways to connect

    Use a straight connection when no transformation is needed, a transformation component when a legacy system or other integration requirement sits in between, and an API gateway when an internal provider serves an external consumer.

    • Direct
    • Legacy decoupling
    • External exposure
  3. Principles

    Business functionality is exposed as services, so applications can change without everything else changing. Data coupling stays, because services still need each other's data.

    • Optimise close to the data
    • Expose functionality, not systems
    • Keep domain logic in your domain
    • Build services for the consumers
    • Simplicity and modern community standards
    • Business meaningful over reusable
  4. Beyond request and response

    Service orientation leans on request and response. Streaming suits high volumes, real-time needs and many consumers. A change creates an event, a streaming platform distributes it to everyone who subscribed, and new streams can be filtered or combined from existing ones.

    • Event streams
    • Publish / subscribe
    • CQRS
    • Replay
    • Reactive architecture

API types

An API, an application programming interface, is the agreed way for one piece of software to ask another to do something or to hand over data. Who may use an API decides its type.

  1. Private

    Used inside one application only, so not reusable. Left ungoverned, it becomes a shadow API, one that exists outside governance.

    • Governed
    • Ungoverned (risk)
  2. Internal

    Reusable across the organisation, found on the internal API portal.

    • Enterprise
    • Third party
    • Business meaningful
    • Reusable
    • Loose coupling
  3. Open

    For partners, customers and the public, on the developer portal.

    • Partner
    • Service provider (with consent)
    • Customer
    • Public
  4. Earning model

    Who pays whom for an open API.

    • Free
    • Developer pays
    • Developer gets paid
    • Indirect

API styles

Who speaks first sorts these styles. In the first group the consumer asks and the provider answers, so they fit when the consumer knows when it needs something. In the second the provider can speak first, or both sides keep talking, so they fit when the consumer has to hear about a change as it happens. The third integration style, data-centric, is covered in Data & Knowledge.

Functionality-centric · ask for data

Request and response: the consumer asks, the provider answers.

  • REST

    Resources over HTTP with standard verbs. Stateless and simple, the default for the web.

    • Web & mobile apps
    • Public APIs
  • SOAP

    Strict XML contracts with built-in standards for security, errors and transactions.

    • Formal contracts
    • Legacy systems
  • GraphQL

    One endpoint. The consumer asks for exactly the fields it needs, no more, no less.

    • Front ends
    • Many sources
  • gRPC

    Compact binary calls over HTTP/2, with streaming in either or both directions.

    • Service to service
    • Low latency

Event-centric · stay connected

Real time: the provider speaks first, or both sides keep talking.

  • Webhooks

    The service calls you when something happens. No polling needed.

    • Notifications
    • Event triggers
  • WebSockets

    One open, two-way connection. Either side can send at any time.

    • Live updates
    • Chat
  • WebRTC

    Peer to peer audio, video and data. A server helps the peers find each other, and relays only when a direct path fails.

    • Video calls
    • File sharing

Resource modelling

REST APIs are built around resources, the things a consumer acts on, such as an account. The design starts with what consumers need, because a model drawn from the side of the system tends to expose the structure of that system, which consumers have no use for.

  1. Start from the consumer

    Translate consumer requirements into the operations they need, then talk the list through with them. Gaps and overlaps show up here. A consumer may need to block a current account as well as create, read and end one.

    • Who are the consumers?
    • What do they need?
    • Which business processes?
    • Which granularity?
  2. Resource

    The core of a REST API. Its name returns in the API name and the URL, so it must be clear and descriptive. A data resource can be stored, such as CurrentAccount. A process resource triggers a process, such as CustomerOnboardingRequest. An action resource executes an action, such as CreditCardEligibilityCheck.

    • Data resource
    • Process resource
    • Action resource
  3. HTTP verb

    Choose the verb by two properties of the operation. It is safe when it never changes the resource, and idempotent when repeating it has the same effect as doing it once. A GET is safe, which makes it cacheable and safe to prefetch.

    • GET
    • POST
    • PUT
    • PATCH
    • DELETE
    • Safe
    • Idempotent
  4. Sub-resource

    Isolate a part of a resource when it needs its own operation or its own authorisation, such as blocking a debit card.

    • Own operation
    • Own authorisation
  5. Identifier

    Every data resource needs one, normally based on the golden source of the data, the one agreed place where it is maintained. It is optional for sub-resources and for process and action resources.

    • Golden source
  6. URL

    Largely derived from the resources. It should be self-explanatory, easy to build clients against, and unique today and in future.

    • Unique
    • Self-explanatory
  7. One central model

    All resource models sit in one central model. That keeps ownership clear, avoids duplicate or overlapping APIs, and keeps every URL unique. A competence centre reviews each model for coherence, consistent naming and future name collisions.

    • Central model
    • Clear ownership
    • Review

How protocols evolved

With REST a developer learns each API separately. An agent has to find out at runtime what a service offers. MCP, the Model Context Protocol, a standard way to offer data and tools to a model, makes that possible. A2A, the Agent2Agent protocol, a standard way for one agent to hand work to another, covers the step between agents.

  1. 1. Local application

    Remote procedure calls, which let one program run a function in another, in a compact binary format.

    • RPC
    • Binary format
  2. 2. Web application

    SOAP with XML messages.

    • SOAP
    • XML
  3. 3. Web, app & chatbots

    Each API is learned separately, by the developer, and defined in advance.

    • REST
    • JSON
    • General-purpose, software to software
    • No self-discovery for AI
    • Different authentication schemes
    • Breaks if the API changes
    • Custom code for each API
  4. 4. AI agents

    Learn once, use everywhere: by the agent, at runtime.

    • MCP
    • A2A
    • AI native, designed for LLMs
    • Self-describing capabilities
    • One protocol for all servers
    • Adapts to changes at runtime
    • Easier AI integration with adapters

How MCP works

An AI application, called the host, creates one client for every MCP server it uses, and each client keeps one connection to its server. A server can run on the same machine or be remote.

HostAI application

Creates one client for each server it uses.

Servers

Client 1
One connection each
Local serverFiles
stdio
Client 2
Local serverDatabase
stdio
Client 3
Remote serverBusiness service
Streamable HTTP · optional OAuth

What each side offers

  • Server offersTools

    Actions the model can invoke

  • Server offersResources

    Context the application can read

  • Server offersPrompts

    Templates people can reuse

  • Client offersElicitation

    Ask the person for input or confirmation

  1. Discover, then call

    A client asks what a server offers, then calls a tool or reads a resource. Capabilities are found at runtime, and servers announce when their tools change.

    • Discovery
    • Tool calls
    • Change notifications
  2. Stateless

    Every request carries its protocol version and capabilities, so a server does not need to keep state between requests and remote servers scale like any web service.

    • Stateless
    • Versioned
    • Cacheable discovery
  3. Two standard transports

    A transport is the way messages travel. A local server on the same machine uses standard input and output, and a remote server uses Streamable HTTP. Custom transports are allowed too.

    • stdio
    • Streamable HTTP
  4. Built for safe use

    Remote servers can use OAuth, the standard by which someone grants an application limited access without sharing a password. Good practice is to scope tools to the task, ask the person to confirm high-impact actions and treat tool output as untrusted, because it can carry prompt injection, text hidden in content that tries to give the agent new instructions. A local server runs with the rights of whoever starts it.

    Explored in Security & Governance · Every tool server is a dependency

    • OAuth
    • Scoped tools
    • Confirmation
    • Untrusted output
    • Local rights
  5. Build once, use everywhere

    One server works with every assistant and development tool that speaks MCP.

    • Servers
    • Clients
    • MCP Apps

Where the logic lives

Whatever the agent does, the API calls underneath have to follow business rules, so the question is where those rules live. The first pattern has no agent and serves as a baseline. The further the logic moves into the model, the more flexible and the less predictable the result.

  1. 01App to APINo agentApplicationCross-domain APICustom codeAPIAPIAPIAPI
  2. 02MCP on a high-level APICustom codeAgent + LLMMCP serverCross-domain APICustom codeAPIAPIAPIAPI
  3. 03MCP on a high-level APIWorkflow toolingAgent + LLMMCP serverCross-domain APIWorkflow engineAPIAPIAPIAPI
  4. 04Logic in the MCP serverCustom codeAgent + LLMMCP serverCustom codeAPIAPIAPIAPI
  5. 05Logic in the MCP serverWorkflow toolingAgent + LLMMCP serverWorkflow engineAPIAPIAPIAPI
  6. 06APIs aggregated in one MCP serverOne server, many toolsAgent + LLMCombinesMCP serverOne tool per APIAPIAPIAPIAPI
  7. 07One MCP server per APIFully decentralisedAgent + LLMCombinesMCPMCPMCPMCPAPIAPIAPIAPI

More predictable, reusable by apps and agentsMore flexible, less predictable

  1. Keep business rules out of the prompt

    Rules that must always hold belong in an API or a workflow, where they are tested and reused. An instruction in the prompt is one a model may skip.

    • Tested
    • Reusable
    • Deterministic
  2. Logic below MCP

    A cross-domain API carries the logic once and the MCP server stays thin, so apps and agents get the same behaviour.

    Explored in Service-oriented architecture

    • Cross-domain API
    • Thin MCP server
    • One behaviour
  3. Logic in the MCP server

    Quick to build for agents, but the logic serves only agents and is built again when an app needs it.

    • Fast start
    • Agents only
  4. The model combines

    One tool per API leaves the composition to the model. That is flexible for exploration and low-impact tasks, as long as the tools are tightly scoped.

    Explored in When to use an agent

    • Flexible
    • Scoped tools
    • Low impact

Agentic AI Integration

Updated November 2026.

MCP and A2A answer how agents connect. Once an agent acts for someone and may spend money, more is needed. See How the protocols connect for how the protocols fit together.

  1. Discovery & interaction

    How do agents connect and interact?

  2. Identity & trust

    Who is the agent, and why accept it?

  3. Intent & delegation

    Who acts for whom, and with what scope?

  4. Commerce coordination

    How are orders and paid resources coordinated?

  5. Evidence & disputes

    What can we prove about intent and execution?

Let’s talk about the agentic enterprise.

Message me on LinkedIn with your challenge, audience and timing to explore a talk, workshop or advisory engagement.

Discuss your challenge on LinkedIn