Repository navigation
Federated Agentic UI: a component catalog assembled at runtime from micro frontends #7797
Replies: 1 comment
This is a really elegant approach to capability scoping — using absence as the restriction mechanism rather than explicit deny-lists is a clean architectural decision, and the eval gate that enforces catalog honesty is a nice touch. The Angular A2UI path you're building on ( The Native Federation angle is a natural fit for this — lazy-loading a remote that contributes both a catalog fragment and its Angular renderer component means the shell never needs to know about capabilities it hasn't loaded, and the model's context stays in sync automatically. The eval gate closing the loop on that is the part I'd highlight to anyone building something similar: without it, you're trusting the architecture rather than verifying it. 🤖 Generated by CopilotKit AI Support · Documentation Was this helpful? React with 👍 or 👎 |
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone 👋
I built a demo with CopilotKit, AG-UI and A2UI in Angular that explores one question: what if the component catalog the agent can use isn't fixed, but assembled at runtime?
In real apps, the building blocks an agent should be able to use often depend on context: the user's permissions, the device, the tenant's license, feature flags. So in this demo, every component comes as a capability with two halves:
Capabilities are delivered by Native Federation remotes (micro frontends), so separate teams can ship them independently. If a capability is loaded, the model can use it. If it isn't, the model doesn't know the component exists and tells the user what it can't show instead of improvising. Neither the shell nor the agent server is rebuilt or redeployed.
In the video: same prompt twice. Without the maps capability, the assistant says it has no map component. With it, you get an interactive map with a working distance slider.
hero-linkedin.mp4
Some details:
@a2ui/angularfor rendering, Native FederationThe base architecture follows Manfred Steyer's book "Agentic UI with Angular".
Happy to hear how others handle context-dependent capabilities with CopilotKit, e.g. per-user tools or components.
All reactions