-
Notifications
You must be signed in to change notification settings - Fork 749
feat: support mastra vNext streaming #384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
0b8f475
to
0c45233
Compare
Continuing work from #330 |
6aac3f0
to
914f75b
Compare
just want to share that AgentNetwork API also changed with latest mastra release. current state is react/nextjs project with copilitkit builds are failing
|
Hey Tyler, Is that planned in this PR or is that being tracked elsewhere? |
914f75b
to
5d674b0
Compare
Hi @xmlking!
Yes, I believe that the mastra team is going to be editing how networks are defined more broadly soon. In the interim PR here uses the
This will require some spec changes to AG-UI that haven't quite yet solidified. With that being said, yes we will be adding that directly following this work. |
Hi everyone! Just wanted to say that this integration is pretty much ready, we're just waiting on some final touches. That being said, we do want the community to have the ability to start using this. As such, we've created a new pre-release version of Please feel free to use npm i @ag-ui/mastra@next |
I got the error with
|
@tylerslaton Will these changes support suspend/resume for workflows? I tried that recently and it didn't seem to trigger any useCopilotkitActions like expected. |
3572436
to
a48ca65
Compare
@eDubrovsky the import for I just released a new pre-release which accounts for an issue where this wasn't reflected here. Please upgrade via the same command ( To explain, we moved it to a sub-package so not everyone consuming the ag-ui integration of mastra needs to install the Copilot Runtime with it. |
@monobyte This is not reflected in this PR still, mentioned in the previous comment but to bring it down here as well - that will require:
|
@tylerslaton Hey! I just tested However, in Mastra,
Is there something wrong with my setup, or is this a bug? |
Hey @eDubrovsky! I'll look into this - it should work but could you help me know what version of Mastra you are using? |
@tylerslaton sure!
|
a48ca65
to
1e5b4fc
Compare
@tylerslaton, also, I found a new bug with Mastra memory: mastra-ai/mastra#8255. |
64ef1a9
to
30bc6d1
Compare
Hi @eDubrovsky, yes please that'd be ideal. |
30bc6d1
to
f83e772
Compare
- Adds a streamVNext workflow example - Supports all of the streamVNext events - Latest model support from the AI SDK as well Signed-off-by: Tyler Slaton <[email protected]>
Signed-off-by: Tyler Slaton <[email protected]>
23401e7
to
61ad9d8
Compare
Signed-off-by: Tyler Slaton <[email protected]>
61ad9d8
to
49bb147
Compare
We've officially released version 0.1.0 of the @ag-ui/mastra integration. Please give it a try and let us know what you think - you'll be able to use all of the latest and greatest from Mastra now. |
Hi @tylerslaton I get the following error when using a remote agent.
|
They literally deprecated streamVNext this weekend. It's so hard to keep up with these libraries moving targets. |
I'll fix this ASAP, thanks for the pings here all. Busy week :) |
We now support the latest AI SDK models and Mastra versions. With this will be a new release, 0.1.0 of the package.