Description
The current implementation of AG-UI fails to pass the state to AgentSession.
Since MAF's ContextProvider relies on state to transmit valid information, this prevents additional information from being passed to the ContextProvider.
For example: I want to pass information such as agent_id, user_id, and tenant_id to the HistoryProvider (which inherits from ContextProvider).
However, these values cannot be effectively passed to the HistoryProvider when the frontend uses the AG-UI protocol.
Alternatively, you may have a robust mechanism for passing information to the ContextProvider but lack corresponding examples.
Based on my review of the source code, it seems that this requirement cannot be fulfilled at present.
Code Sample
Error Messages / Stack Traces
Package Versions
agent-framework-ag-ui: 1.0.0b260402
Python Version
python:3.13
Additional Context
No response
Description
The current implementation of AG-UI fails to pass the state to AgentSession.
Since MAF's ContextProvider relies on state to transmit valid information, this prevents additional information from being passed to the ContextProvider.
For example: I want to pass information such as agent_id, user_id, and tenant_id to the HistoryProvider (which inherits from ContextProvider).
However, these values cannot be effectively passed to the HistoryProvider when the frontend uses the AG-UI protocol.
Alternatively, you may have a robust mechanism for passing information to the ContextProvider but lack corresponding examples.
Based on my review of the source code, it seems that this requirement cannot be fulfilled at present.
Code Sample
Error Messages / Stack Traces
Package Versions
agent-framework-ag-ui: 1.0.0b260402
Python Version
python:3.13
Additional Context
No response