For much of the recent AI cycle, progress was described through individual models. A new release arrived with a larger context window, stronger reasoning, better coding performance or a new benchmark result, and applications were designed around whichever model appeared strongest for the job.

Different tasks benefit from different types of models. Fast models suit routine classification and extraction, coding-oriented models may perform better in software workflows, multimodal models can interpret visual input, and stronger reasoning models can handle steps that require deeper inference.

That gave rise to model routing: a layer that sits between the application and the available models and decides where each request should go.

Agents push the same idea further. An agent does not usually make a single inference call and stop. It moves through a sequence of steps: gathering context, inspecting files, querying tools, planning, executing, validating, retrying and sometimes escalating when a previous attempt fails. There is little reason to assume that every step in that sequence should use the same model.

This is the problem NVIDIA is addressing with NeMo Switchyard, where routing decisions can happen throughout an agent’s execution rather than only once at the application boundary.

Routing can also apply to agents, tools and external services.

The system then needs to answer a broader question:

Which model, agent, tool or external capability is best suited to this part of the problem, and how should those capabilities work together?

This is the premise of an AI Mesh Network.

Each step extends the architecture without necessarily replacing what came before:

Intelligence evolutionSystem map
01Individual model02Multi-model system03Model routing04AI agents05Agent routing06AI Mesh Network

The surrounding architecture takes on more responsibility for the result.

This expands the focus of AI engineering from model intelligence to system intelligence.

AI Mesh Networks: intelligence as a network

An AI Mesh Network is a distributed environment in which specialised models, agents, tools and services can be discovered, selected and coordinated according to the problem being solved.

Consider a request entering an enterprise AI system:

Dynamic orchestrationSystem map
InputUser requestCoreCoordinator
01Coding Agent02Research Agent03Reasoning Model04Compliance Agent05External Tools / APIs

Each component can have its own responsibility, security boundary, data sources and model while participating in the same workflow.

A research agent may have access to the public web and internal documentation. A deployment agent may be able to inspect Kubernetes state and release metadata. A code agent may have repository access but no access to customer information. A verifier may receive the outputs of all three while deliberately being prevented from modifying anything.

These boundaries make the components composable: the workflow can combine them while preserving their distinct responsibilities and permissions.

There is a parallel with the development of software infrastructure.

Software systems moved from large monolithic applications toward smaller services, then toward distributed platforms where discovery, networking, identity, observability and policy had to be treated as infrastructure rather than application-specific logic.

The progression looked roughly like this:

Software architectureSystem map
01Monolithic application02Microservices03Distributed systems04Service mesh

AI appears to be moving through a comparable architectural expansion:

AI architectureSystem map
01Single LLM02Mixture of Experts03Multiple Models04AI Agents05AI Mesh

The analogy is imperfect, but it helps identify the engineering work involved.

Once intelligence becomes distributed across many components, the difficult questions are no longer only about inference quality. They become questions of coordination, discovery, identity, routing, trust, failure handling and observability.

Why this architecture is useful

Consider this enterprise task:

Analyse this customer incident, inspect the application logs, determine whether it relates to yesterday’s deployment, check the relevant internal documentation and propose a remediation plan.

A single general-purpose model could attempt the entire workflow, but the task itself is already composed of several different technical domains.

A mesh-oriented system could assign the work as follows:

Incident response teamSystem map
CoreIncident Coordinator
01Log Analysis Agent02Code & Deployment Agent03Internal Knowledge Agent04Verification Agent

The log-analysis agent could focus on traces, exceptions and timing anomalies. The deployment agent could compare current behaviour against recent commits, release notes and cluster changes. The internal knowledge agent could search runbooks, historical incidents and architecture documentation. The verification agent could compare the evidence and identify where the conclusions agree or conflict.

Each participant can be designed around its specific task.

The log-analysis agent does not need broad access to corporate data. The deployment agent may need repository and infrastructure access but no CRM data. The verifier may require broad visibility into results while having no execution permissions at all.

Each component can therefore operate with its own:

  • model;
  • tools and APIs;
  • context;
  • permissions;
  • data sources;
  • memory;
  • execution limits;
  • security policies;
  • latency and cost profile.

The modularity comes from these separate responsibilities and access boundaries.

The mesh becomes a way of structuring who can do what, with which information, under which constraints, and in collaboration with whom.

What makes it a mesh rather than a workflow?

Many systems described today as multi-agent systems are still deterministic pipelines.

Agent A calls Agent B. Agent B calls Agent C. The topology is known in advance and usually encoded directly in application logic.

In that arrangement, orchestration follows a predefined topology.

In a mesh, participants can advertise their capabilities, be discovered dynamically and join a workflow when their expertise is needed.

Instead of:

Fixed agent pipelineSystem map
01Agent A02Agent B03Agent C

the architecture begins to look more like:

Dynamic agent meshSystem map
AgentAgent AAgentAgent BAgentAgent CAgentAgent DAgentAgent E

Imagine that Agent A receives a task involving a security issue it cannot resolve confidently. Rather than calling one hard-coded endpoint, it could search for agents that expose relevant security-analysis capabilities, compare their metadata or trust level, delegate part of the task, receive structured output and continue from there.

Another workflow might require a regulatory agent, a financial-data agent and a code-execution agent. Those three agents may never have worked together before. They are assembled because the task requires that combination.

The team exists for the duration of the task and then effectively disappears.

This dynamic composition distinguishes a mesh from a fixed pipeline.

It requires infrastructure for discovery, access and coordination.

AI Mesh Networks and model- and agent-routing architecture diagram
An AI mesh coordinates specialised models, agents and tools; routing selects a model or agent for each step.

Model routing: a narrower but more mature layer

Model routing is related to this architecture, but it solves a much more specific problem: a model router decides which model should process a particular request or step.

Model routingSystem map
InputRequestCoreRouter
01Small fast model02Coding model03Reasoning model04Frontier model

The router may consider several dimensions at once: task type, latency, context length, model availability, recent failure rate, price, or expected quality. A routine extraction task might go to a compact model, while a large repository-analysis task might go to a coding-oriented model with a suitable context window. A difficult reasoning problem might be escalated only after a smaller model fails to make progress. This idea has already moved into production infrastructure.

LiteLLM, for example, provides a unified gateway across a large range of model providers and exposes capabilities such as load balancing, fallbacks, budgets and routing. Applications can communicate through one interface while the gateway handles provider-specific differences behind the scenes.

OpenRouter takes a related approach at the model-access layer, giving applications one interface across a large model ecosystem while abstracting provider selection, availability and routing behaviour.

OmniRoute provides a self-hostable, OpenAI-compatible layer for routing between providers and managing fallbacks and quotas. Its emerging MCP and A2A support suggests that model routing and agent connectivity may increasingly share infrastructure.

Despite their different implementations, these systems share the same architectural principle:

The application should not need to be permanently coupled to one model. Model selection can become an infrastructure decision.

These gateways address model selection; an AI mesh also needs to coordinate agents and their capabilities.

Agent routing makes model routing more interesting

Model routing becomes more valuable once the caller is an autonomous agent. A conventional application might make one or two model calls for a user request; an agent may make dozens.

Consider a coding task:

Coding-agent executionSystem map
01Explore repository02Locate components03Read documentation04Inspect implementation05Reason about failure06Modify code07Run validation08Investigate errors

These steps have different requirements. Repository exploration may involve many simple calls where speed matters more than deep reasoning. Understanding an architectural bug may require a stronger model, while applying a mechanical edit may be straightforward. A failed test could then trigger escalation. Using one model throughout misses the opportunity to match each step to an appropriate model. This is the idea behind NVIDIA NeMo Switchyard.

NVIDIA NeMo Switchyard

NeMo Switchyard is designed around model routing for agentic workloads, where routing can happen repeatedly during the execution of one task rather than only at the beginning. The routing layer sits between the agent and the underlying models, so the agent itself does not need hard-coded logic for every provider or model decision. A workflow might begin with a smaller model, monitor progress and escalate when the system detects that the current model is no longer producing useful progress.

Conceptually:

State-aware model selectionSystem map
Stage 01Repository explorationRouteSmaller model
Stage 02Architectural reasoningRouteStronger reasoning model
Stage 03Routine implementationRouteSmaller model
Stage 04Repeated failureRouteEscalate

The routing decision becomes stateful: it can use both the incoming prompt and the execution history. Useful signals include repeated failures, a transition into debugging, a sharp increase in token count, recognisable error patterns, or a stage that has historically benefited from a stronger model.

Once those signals are available, routing becomes part of the agent runtime rather than merely an API-gateway feature. This is likely to become an important component of future agent infrastructure, but it should be evaluated against real workloads rather than treated as an automatic optimisation. Its value depends on whether simpler steps can genuinely be handled by smaller models and whether the router can identify difficult steps accurately enough to make escalation worthwhile.

Model routing and AI Mesh are not the same thing

Both involve dynamic selection, but they operate at different levels:

Model RoutingAI Mesh
Selects an LLMConnects intelligent systems
Operates across modelsOperates across agents and capabilities
Optimises inferenceCoordinates work
Usually sits inside one application stackCan span multiple systems and organisations
Focuses on latency, quality and efficiencyFocuses on discovery, delegation, identity and trust
Models are resourcesAgents become participants

A router may decide:

Use Model B for this step.

A mesh may decide:

Ask the security agent to investigate the authentication failure, ask the deployment agent to inspect the latest release, retrieve historical incidents from the knowledge agent, and send all three results to a verifier.

Model routing is likely to become one layer inside a mesh architecture. It selects models for the work that agents coordinate.

A2A: the communication layer between agents

Independently developed agents need a common way to communicate. Agent2Agent, or A2A, is an open protocol for communication and collaboration without exposing agents’ internal implementation details.

Agent A needs to know what Agent B can do, how to send it a task, how to follow that task’s state and how to receive the result. It does not need access to Agent B’s prompts, memory implementation, orchestration framework or internal tools.

Conceptually:

Agent-to-agent chainSystem map
01Agent A02Agent B03Agent C

This becomes increasingly important once agent systems move outside the boundaries of one application. A company may expose a specialised procurement agent, another organisation a logistics agent, and a third a compliance agent. Those agents should not need to run on the same framework—or even the same cloud—to collaborate. They need an interoperable contract, and that is the role A2A is beginning to define.

A2A and MCP solve different layers

A2A becomes clearer when it is placed next to the Model Context Protocol, or MCP. MCP gives an AI system a standard way to connect to tools and data, while A2A gives one agent a way to communicate with another agent. The distinction is simple:

MCP connects intelligence to capabilities

MCP capabilitiesSystem map
CoreAgent
01Database02GitHub03Files04Search05Internal API

A2A connects intelligence to intelligence

A2A delegationSystem map
CoreAgent
01Security Agent02Research Agent03Finance Agent04Coding Agent

Used together, the architecture starts to resemble the foundation of an actual mesh:

A2A + MCP meshSystem map
InputUserAgentAgent AAgentAgent BAgentAgent C
MCP · Agent ADatabaseMCP · Agent ASearchMCP · Agent BInternal API

An agent can use MCP to access its own tools and data while using A2A to delegate work to another agent with different capabilities. The two protocols cover complementary parts of the workflow.

The emerging agentic infrastructure stack

Once these pieces are combined, the architecture becomes easier to see.

Agentic infrastructure stackSystem map
01Applications02Agents03Agent orchestration04A2A communication05Discovery · Identity · Trust06Model routing07Models08MCP · APIs · Data · Tools09Cloud · Edge · Local

This architecture spans several products and protocols; none covers every layer.

Several components are maturing together: specialised models, model gateways, routing layers, agent runtimes, MCP-based tools, A2A interoperability, agent discovery, identity systems, observability, distributed inference and enterprise governance. Together, they could form an agentic infrastructure stack.

An AI mesh may emerge from these layers becoming interoperable, rather than from a single new framework.

The difficult problems are infrastructure problems

Once agents can communicate dynamically, the difficult engineering questions change quickly.

  • Discovery: An agent needs a reliable way to determine which other agents exist, what capabilities they expose and whether those capabilities are currently reachable.
  • Identity: A system must be able to confirm that an agent really represents the organisation or service it claims to represent.
  • Authorisation: Delegation must not automatically transfer every permission held by the delegating agent.
  • Trust: Several agents may produce different answers, use different sources or disagree about what should happen next.
  • Observability: One user request may fan out into dozens of model calls, tool invocations and agent-to-agent interactions across several systems.
  • Failure handling: An agent may disappear midway through execution, a dependency may become unavailable or a delegated task may return incomplete state.
  • Cost control: An autonomous agent capable of recursively delegating work can generate substantial computational or API activity.
  • Governance: Cross-organisational agents may take actions on behalf of people or companies, making policy and accountability unavoidable.

Higher reasoning scores alone do not solve these problems. Each requires explicit infrastructure and operating policies.

Why 2027 matters

AI Mesh Networks are still an architectural direction rather than a finished product category. The terminology is not settled, implementations vary considerably, and many systems described as “agent networks” are still centrally orchestrated workflows underneath. But several prerequisites for a genuine mesh are now developing simultaneously: model routing is already usable, agent-level routing is becoming more sophisticated, MCP is providing a common interface between agents and tools, A2A is establishing a protocol for communication between independently built agents, and discovery, identity, gateways and observability are becoming first-class concerns.

For 2027, the question is whether these layers begin to form a coherent, interoperable architecture. If they do, they could substantially change how AI systems are designed.

Applications would no longer need to centre on one model, and agents could work across application boundaries. Capabilities could become discoverable, model selection dynamic, and agent composition possible at runtime. External agents could become callable much as software services are today.

From model intelligence to system intelligence

For several years, AI development was dominated by the performance of individual models. Parameter count, benchmark scores, context length and reasoning capability became the natural language of comparison. Those measurements still matter, but they increasingly describe only one layer of the system.

The quality of an AI application depends on retrieval, memory, tool access, context management, routing, permissions, orchestration, verification, observability and specialised agents. A powerful model in a poorly designed system can perform badly. A smaller model can be effective when its surrounding architecture provides the context, tools and constraints it needs.

Engineering therefore increasingly concerns the model, the AI system and the AI network together.

There is a useful analogy with the development of the Internet. A computer became dramatically more useful once it could communicate with other computers, and a service became dramatically more useful once it could call other services reliably. AI agents may follow the same pattern.

A network could extend an individual agent’s capabilities by letting it discover expertise, exchange information, delegate work, access external tools and select models dynamically. Whether an AI mesh delivers those benefits depends on the reliability of these connections.

Final thoughts

We are not at the fully realised AI-mesh stage yet. Model routing is already practical, agent-level routing is becoming real, and open protocols such as MCP and A2A are beginning to provide the interfaces needed for larger ecosystems. At the same time, identity, discovery, trust and observability are emerging as the next infrastructure problems that need to be solved.

Start with the layers that address a demonstrated need. Use routing where different models suit different workflow stages, and MCP where standardised tool access simplifies the system. Define agent boundaries around real capabilities, and use A2A where independently built agents need to collaborate. Include identity, permissions, tracing and governance from the beginning.

Model routing selects a model for a task or step. An AI mesh coordinates models, agents and tools across a wider system. Building that system reliably is the engineering challenge to test as these architectures develop toward 2027.

References

  • NVIDIA, Route AI Agent Workloads Across Models with NVIDIA NeMo Switchyard, NVIDIA Technical Blog, August 2026.
  • NVIDIA, Nemotron 3.5 Lightning and NeMo Switchyard Deliver Faster, Smarter, More Efficient Agentic AI, August 2026.
  • Agent2Agent (A2A) protocol specification and documentation.
  • Model Context Protocol specification and documentation.
  • VE3, Manish Garg, From LLMs to AI Mesh Networks: The Next Evolution in Model Architecture, April 2025.
  • Berkeley AI Research, The Shift from Models to Compound AI Systems, 2024.
  • NeMo Switchyard — developer.nvidia.com
  • A2A Protocol — a2a-protocol.org
  • Model Context Protocol — modelcontextprotocol.io
  • LiteLLM — litellm.ai
  • OpenRouter — openrouter.ai
  • OmniRoute — omniroute.online

Written by Patryk Kozak. Working on multi-model or multi-agent systems? I’m happy to discuss routing, A2A/MCP integration, discovery, identity and observability. Get in touch.