a2ui-project / a2ui-project/a2ui
Design model for how an orchestrator will manage the surface ID space
- Dominant language
- TypeScript
- Stars
- 16.4k
- Forks
- 1.3k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 134
Description
Let's say we have multiple subagents rendering to the same client via an orchestrator. Each subagent will not necessarily be able to "see" (i.e. have in its context) all the different surfaces that the client is tracking in a "conversation" or "UI context" etc.
This means that each subagent could potentially choose surfaceIds which collide and break the rendering from the client's perspective.
We likely need to make the orchestrator prevent this by doing something like prefixing surfaces from subagents with some subagent identifier to scope the ID space, and do the inverse transformation when sending context back to subagents.
This will likely be one of many related issues around managing subagent graphs, e.g. what if we want to start sharing UI content between subagents as context etc.
Contributor guide
Assessment
This issue has not been assessed yet.