MastraAI
The TypeScript Agent FrameworkFrom the team that brought you Gatsby: prototype and productionize AI features with a modern JavaScript stack.
JoinMastraAI
The TypeScript Agent FrameworkFrom the team that brought you Gatsby: prototype and productionize AI features with a modern JavaScript stack.
JoinMastra Cloud deployment failing with `ERR_MODULE_NOT_FOUND` for `instrumentation.mjs`
Mastra Cloud deployment failing with
ERR_MODULE_NOT_FOUND
for instrumentation.mjs
— file not being generated during cloud build despite working locally.
---
...updateWorkingMemory tool parameter mismatch
Tool Parameter Mismatch
LLM sends: { personalInfo: {...}, jobPreferences: {...} }
Validation expects: { memory: { personalInfo: {...}, jobPreferences: {...} } }
Tool Parameter Mismatch
LLM sends: { personalInfo: {...}, jobPreferences: {...} }
Validation expects: { memory: { personalInfo: {...}, jobPreferences: {...} } }
How to customize tracing metadata for Agents invoked with ChatRoute?
tracingContext
when a agent is invoked using the ChatRoute supplied by @mastra/ai-sdk
?
Docs here mention how to update the span metadata but I don't see how I could do this for an agent invoked this way....Mastra build fails after latest updates
Accessing messages inside a tool callback
External package imports throwing error when using mastra dev command
mastra dev
, getting the below error
ERROR [2025-10-15 16:23:50.254 +0100] (Mastra CLI): virtual:#virtual-@local/gate (1:9): "Logger" is not exported by "../gate/dist/index.js", imported by "virtual:#virtual-@local/gate"
Now Logger
is being exported from the index.js
file, have checked it but still throwing an error. All mastra packages are on latest version....Structured output sometimes not getting followed in agent generate()
useChat with workflow human in the loop
Express.js stream
Can't get structured output after update to latest version
Langfuse integration
Dealing with file path to load csv file
mastra build not working

Coming from 0.10.X to 0.20.X -Agent Networks and Memory

READINESS_PROBE_ATTEMPTED
MastraJwtAuth
from @mastra/auth
to my project, but since there isn't really a helpful error message I don't know if that actually was the cause.
...how to config AUTH in mastra cloud?
🚨 Build failing on Mastra Cloud (was working fine this morning)
Vercel Deployer always leads to Empty Builds
/swagger-ui
always shows a 404 error, as if no agents / workflows exist when it deploys to Vercel.
However, normal .mastra/output builds wthout using new VercelDeployer()
shows the playground and swagger-ui correctly as it should.
EDIT: Now for some reason, even non-vercel-deployer builds come empty with no api routes and agents and workflows....
Title generation model switching not working