a2ui-project / a2ui-project/a2ui
Design model for how an orchestrator will manage the surface ID space
- Ngôn ngữ chính
- TypeScript
- Star
- 16.4k
- Fork
- 1.3k
- Merge trung bình
- 2 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 134
Mô tả
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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Look at the orchestrator and subagent code to understand how surfaces are currently rendered and tracked. Examine the surface ID generation and management logic. The goal is to design a model that scopes IDs per subagent and handles transformations for client rendering and context passing.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- typescript
- Lĩnh vực
- backend-api-design
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100