Mastra
The TypeScript Agent FrameworkFrom the team that brought you Gatsby: prototype and productionize AI features with a modern JavaScript stack.
JoinMastra
The TypeScript Agent FrameworkFrom the team that brought you Gatsby: prototype and productionize AI features with a modern JavaScript stack.
JoinQuestion: are data- events persisted in mastra when used with ai-sdk?
chatRoute and useChat from ai-sdk, i use data- partial events to expose deeply nested workflow step updates all the way to the supervisory agent stream generative UI.
But upon fetching messages from storage and converting to UIMessages i don't see the emitted events persisted and hence the components are not rendered when i refresh the chat.
I'm on v1 beta...How to configure and use HonoServerAdapter?
Integration with Datadog LLM Observability
Mastra sample code not working
How to use state when using `foreach`
[1,2] and in subWorkflow1, I do setState it should be passed to subWorkflow2. (RequestContext works fine.)
workflows.forEach(subWorkflow => subWorkflow.branch([input === 1,subWorkflow1],[input === 2,subWorkflow2]]))
workflows.forEach(subWorkflow => subWorkflow.branch([input === 1,subWorkflow1],[input === 2,subWorkflow2]]))
Network Agent with Telegram
Confusing usage of RuntimeContext in workflowRoute and chatRoute
Mastra Cloud Deploy
Way to fire and forget the tool call
`mastra dev` generating malformed provider-registry.json on every execution
provider-registry.json becomes malformed on my machine every time for unknown reasons
- This could be bypassed if I could turn off dynamic loading but there does not appear to be a way to do that without me editing the code directly.
- Relevant code: packages/core/src/llm/model/provider-registry.ts
- This means mastra dev doesn't work on my machine at all without some very awkward workarounds....Nested Workflow with custom writer
suspend will repeat waitForEvenr
@mastra/ai-sdk 1.0.0-beta doesnt support mastra core at beta version
Cloud Access Token
toAISDKStream Not Returning Reasoning Output

Authorize Mastra cloud user for using the agent
Studio Ui issue

Sending tool messages back
tool-call and the tool message with tool-result back to the model also on subsequent messages, not just for the last message. Which may look like;
role: user with prompt...How to set runtimeContext with chatRoutes
Network Agent subagent stream text