Why the 1st approach does not work in Integrating Copilotkit with Mastra?
reference: https://mastra.ai/en/docs/frameworks/agentic-uis/copilotkit
All dependencies are latest
- from Mastra
- from Copilotkit
1st approach issue/s: ( see attachments )
- It seems our deployed Instance breaks with these updates
Using with CopilotKit
Learn how Mastra leverages the CopilotKit's AGUI library and how you can leverage it to build user experiences

8 Replies
Now in 2nd approach:
2nd Approach issue/s: ( see attachments )
- setup own Mastra Server, so I created route for pointing it to our existing Mastra Server ( latest release )
- when I request to the agent: "Set the theme to orange", it just stuck...and then if I exit the process by "ctrl+C" that is where it renders.


This is still in the 2nd approach:
but doing force exit the NextJs APP - doing "ctrl+C"


I am just using the sample from the docs
so after existing heres the log
it seems, this frontend action issue is from copilotkit

just check the 1st approach, there are Errors received from Mastra Server about "getNetworkds"
📝 Created GitHub issue: https://github.com/mastra-ai/mastra/issues/7994
GitHub
[DISCORD:1418116538250039356] Why the 1st approach does not work in...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1418116538250039356 reference: https://mastra.ai/en/docs/frameworks/agentic-uis/copilotkit All dependencie...
Hi, @Chaosumaru ! Can you make sure your @mastra/core package is in the 
0.16.x range? The integration with copilotkit is being worked on and is not compatible with @mastra/core 0.17
@CopilotKit I opened a PR in the ag-ui repo to temporarily "fix" that issue https://github.com/ag-ui-protocol/ag-ui/pull/390/filesi see, yeah sure. thank you for the response