Architecture
The end-to-end system has five roles:
- The user starts using one agent tool by entering a prompt.
- Each
AgentUItalks to its own colocatedmdp server. - One
primary mdp serverowns the runtime-local client registry. - One or more
secondary mdp serversstay connected to that primary. MDP clientsexpose concrete runtime-local capabilities and connect only to the primary.
Invocation Path
One routed call across the full stack can go either through a secondary server or directly to the primary:
Failover Path
If the current primary server becomes unavailable, one secondary server should promote itself to the new primary so the federation can keep routing client calls.
The architectural rule is simple:
- clients normally connect only to the current primary server
- secondaries monitor the primary server
- when the primary disappears, one secondary becomes the new primary
- clients and AgentUI-side traffic should converge on that promoted primary
- the federation should then reform around the new primary
For the concrete startup modes and examples, see Deployment Modes. For the server-side runtime model, see Server Overview.