having problem with Configure your Mastra instance to include CopilotKit’s runtime endpoint

Hello Everyone, Not sure, if this is the right place, but i tried following this guide https://mastra.ai/en/docs/frameworks/agentic-uis/copilotkit but when i try to include the copilot runtime to my Mastra server, it throws the below error
ERROR [2025-10-18 21:41:47.099 +0530] (Mastra CLI): The requested module '@ag-ui/mastra' does not provide an export named 'registerCopilotKit'
ERROR [2025-10-18 21:41:47.099 +0530] (Mastra CLI): The requested module '@ag-ui/mastra' does not provide an export named 'registerCopilotKit'
Using with CopilotKit
Learn how Mastra leverages the CopilotKit's AGUI library and how you can leverage it to build user experiences
2 Replies
melta101
melta101OP2d ago
i dont see registerCopilotKit here too
❯ node -p "Object.keys(require('@ag-ui/mastra'))"
[
'MastraAgent',
'convertAGUIMessagesToMastra',
'getLocalAgent',
'getLocalAgents',
'getNetwork',
'getRemoteAgents'
]
❯ node -p "Object.keys(require('@ag-ui/mastra'))"
[
'MastraAgent',
'convertAGUIMessagesToMastra',
'getLocalAgent',
'getLocalAgents',
'getNetwork',
'getRemoteAgents'
]
@ag-ui/mastra is at version 0.2.0
Mastra Triager
GitHub
[DISCORD:1429157444587622470] having problem with Configure your Ma...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1429157444587622470 Hello Everyone, Not sure, if this is the right place, but i tried following this guide...

Did you find this page helpful?