Skip to content
Discussion options

You must be logged in to vote

backend -> frontend: https://docs.ag-ui.com/concepts/events#state-management-events
frontend -> backend: Send state via RunAgentInput https://docs.ag-ui.com/sdk/js/core/types#runagentinput

Then you can use the state in your backend code, for example by adding it to the LLMs context.

Replies: 0 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ugmurthy
Comment options

Answer selected by ugmurthy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants