How do I properly set up the latest version of the Mastra/AG UI/AI SDK for realtime
How do I properly set up the latest version of the Mastra/AG UI/AI SDK to create a real-time interface? It should be a proper Mastra agent network with multiple agents that all stream tool outputs to a chat interface, update the database, and stream live UI updates.
For example, imagine a sports team researcher agent that uses custom UI components to display real-time updates as it continues actively researching. As it finds a new score, it should add that data to a CSS-based score grid in real time while persisting the data.
I had no luck with Supabase Realtime (it doesn’t work well for me), and also CopilotKit (it’s unreliable). Instead, I want a proper agentic UI update approaches within the frameworks I mentioned—or adjacent frameworks.
For example, imagine a sports team researcher agent that uses custom UI components to display real-time updates as it continues actively researching. As it finds a new score, it should add that data to a CSS-based score grid in real time while persisting the data.
I had no luck with Supabase Realtime (it doesn’t work well for me), and also CopilotKit (it’s unreliable). Instead, I want a proper agentic UI update approaches within the frameworks I mentioned—or adjacent frameworks.
0 Replies