@mastra/mcp-docs-server 1.2.15-alpha.9 → 1.2.16-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (532) hide show
  1. package/.docs/docs/agents/agent-approval.md +19 -5
  2. package/.docs/docs/agents/code-mode.md +17 -2
  3. package/.docs/docs/agents/networks.md +2 -2
  4. package/.docs/docs/agents/overview.md +6 -6
  5. package/.docs/docs/agents/processors.md +3 -3
  6. package/.docs/docs/agents/using-tools.md +1 -1
  7. package/.docs/docs/browser/overview.md +9 -9
  8. package/.docs/docs/browser/recording.md +4 -4
  9. package/.docs/docs/capabilities/{channels/overview.md → channels.md} +71 -8
  10. package/.docs/docs/capabilities/subagents.md +7 -4
  11. package/.docs/docs/connections/overview.md +1 -1
  12. package/.docs/docs/datasets/overview.md +1 -1
  13. package/.docs/docs/datasets/running-experiments.md +49 -0
  14. package/.docs/docs/deployment/cloud-providers.md +13 -11
  15. package/.docs/docs/deployment/mastra-server.md +1 -1
  16. package/.docs/docs/deployment/monorepo.md +1 -1
  17. package/.docs/docs/deployment/overview.md +13 -10
  18. package/.docs/docs/deployment/sandbox.md +4 -4
  19. package/.docs/docs/deployment/web-framework.md +7 -7
  20. package/.docs/docs/deployment/workers.md +249 -3
  21. package/.docs/docs/deployment/workflow-runners.md +2 -2
  22. package/.docs/docs/evals/overview.md +1 -1
  23. package/.docs/docs/evals/quick-checks.md +1 -1
  24. package/.docs/docs/getting-started/develop.md +1 -1
  25. package/.docs/{guides/concepts → docs/guides}/multi-agent-systems.md +1 -1
  26. package/.docs/docs/harness/agent-controller.md +50 -9
  27. package/.docs/docs/harness/overview.md +3 -5
  28. package/.docs/docs/index.md +8 -8
  29. package/.docs/docs/long-running-agents/durable-agents.md +3 -3
  30. package/.docs/docs/long-running-agents/goals.md +1 -1
  31. package/.docs/docs/long-running-agents/schedules.md +1 -1
  32. package/.docs/docs/long-running-agents/signal-providers.md +5 -18
  33. package/.docs/docs/long-running-agents/signals.md +2 -2
  34. package/.docs/docs/mastra-platform/database.md +2 -2
  35. package/.docs/docs/mastra-platform/deploy.md +28 -1
  36. package/.docs/docs/mastra-platform/observability.md +63 -18
  37. package/.docs/docs/mastra-platform/overview.md +1 -1
  38. package/.docs/docs/mastra-platform/server.md +1 -1
  39. package/.docs/docs/mastra-platform/trace-intelligence.md +9 -13
  40. package/.docs/docs/mcp/overview.md +43 -1
  41. package/.docs/docs/memory/memory-processors.md +5 -5
  42. package/.docs/docs/memory/message-history.md +3 -3
  43. package/.docs/docs/memory/multi-user-threads.md +1 -1
  44. package/.docs/docs/memory/observational-memory.md +2 -2
  45. package/.docs/docs/memory/semantic-recall.md +2 -1
  46. package/.docs/docs/memory/working-memory.md +2 -1
  47. package/.docs/docs/observability/integrations/exporters/mastra-storage.md +18 -17
  48. package/.docs/docs/observability/logging.md +1 -1
  49. package/.docs/docs/observability/metrics/overview.md +1 -1
  50. package/.docs/docs/observability/overview.md +1 -5
  51. package/.docs/docs/observability/tracing/overview.md +3 -6
  52. package/.docs/docs/server/auth/fga.md +1 -1
  53. package/.docs/docs/server/auth/simple-auth.md +1 -1
  54. package/.docs/docs/server/auth/workers.md +3 -1
  55. package/.docs/docs/server/auth.md +15 -13
  56. package/.docs/docs/server/custom-adapters.md +1 -1
  57. package/.docs/docs/server/custom-api-routes.md +35 -0
  58. package/.docs/docs/server/mastra-client.md +3 -3
  59. package/.docs/docs/server/mastra-server.md +2 -2
  60. package/.docs/docs/storage/overview.md +20 -17
  61. package/.docs/docs/studio/observability.md +1 -1
  62. package/.docs/docs/workflows/dynamic-workflows.md +1 -1
  63. package/.docs/docs/workflows/human-in-the-loop.md +2 -2
  64. package/.docs/docs/workflows/overview.md +4 -4
  65. package/.docs/docs/workflows/snapshots.md +12 -10
  66. package/.docs/docs/workflows/time-travel.md +2 -0
  67. package/.docs/docs/workspace/filesystem.md +15 -15
  68. package/.docs/docs/workspace/sandbox.md +18 -19
  69. package/.docs/docs/workspace/search.md +1 -1
  70. package/.docs/{guides/build-your-ui → integrations/agentic-ui}/ai-sdk-ui.md +6 -6
  71. package/.docs/{guides/build-your-ui → integrations/agentic-ui}/assistant-ui.md +2 -2
  72. package/.docs/{guides/build-your-ui/copilotkit/overview.md → integrations/agentic-ui/copilotkit.md} +258 -5
  73. package/.docs/{guides/build-your-ui → integrations/agentic-ui}/openui.md +1 -1
  74. package/.docs/{docs/server → integrations}/auth/auth0.md +1 -1
  75. package/.docs/{docs/server → integrations}/auth/clerk.md +2 -2
  76. package/.docs/{docs/server → integrations}/auth/firebase.md +1 -1
  77. package/.docs/{docs/server → integrations}/auth/okta.md +24 -4
  78. package/.docs/{docs/server → integrations}/auth/supabase.md +2 -2
  79. package/.docs/{docs/server → integrations}/auth/workos.md +1 -1
  80. package/.docs/{docs/browser → integrations/browsers}/agent-browser.md +2 -2
  81. package/.docs/{docs/browser → integrations/browsers}/browser-viewer.md +3 -3
  82. package/.docs/{docs/browser → integrations/browsers}/firecrawl.md +2 -2
  83. package/.docs/{docs/browser → integrations/browsers}/stagehand.md +1 -1
  84. package/.docs/{docs/capabilities → integrations}/channels/discord.md +2 -2
  85. package/.docs/integrations/channels/github.md +103 -0
  86. package/.docs/{docs/capabilities → integrations}/channels/imessage.md +12 -4
  87. package/.docs/{docs/capabilities → integrations}/channels/slack.md +4 -4
  88. package/.docs/{docs/capabilities → integrations}/channels/teams.md +2 -2
  89. package/.docs/{docs/capabilities → integrations}/channels/telegram.md +2 -2
  90. package/.docs/{docs/capabilities → integrations}/channels/whatsapp.md +2 -2
  91. package/.docs/{reference/storage/dsql.md → integrations/databases/aurora-dsql.md} +1 -1
  92. package/.docs/{reference/storage → integrations/databases}/clickhouse.md +2 -2
  93. package/.docs/{reference/storage → integrations/databases}/cloudflare-d1.md +1 -1
  94. package/.docs/{reference/storage/cloudflare.md → integrations/databases/cloudflare-kv.md} +1 -1
  95. package/.docs/{reference/storage → integrations/databases}/convex.md +1 -1
  96. package/.docs/{reference/storage → integrations/databases}/duckdb.md +5 -5
  97. package/.docs/{reference/storage → integrations/databases}/dynamodb.md +1 -1
  98. package/.docs/{reference/storage/lance.md → integrations/databases/lancedb.md} +1 -1
  99. package/.docs/{reference/storage → integrations/databases}/libsql.md +2 -2
  100. package/.docs/{reference/storage → integrations/databases}/mongodb.md +1 -1
  101. package/.docs/{reference/storage → integrations/databases}/mssql.md +1 -1
  102. package/.docs/integrations/databases/neon.md +220 -0
  103. package/.docs/integrations/databases/oracledb.md +239 -0
  104. package/.docs/{reference/storage → integrations/databases}/postgresql.md +9 -9
  105. package/.docs/{reference/storage → integrations/databases}/redis.md +1 -1
  106. package/.docs/{reference/storage → integrations/databases}/spanner.md +1 -1
  107. package/.docs/{reference/storage → integrations/databases}/upstash.md +1 -1
  108. package/.docs/{guides/deployment → integrations/deploy}/amazon-ec2.md +3 -3
  109. package/.docs/{guides/deployment → integrations/deploy}/aws-bedrock-agentcore.md +2 -2
  110. package/.docs/{guides/deployment → integrations/deploy}/aws-lambda.md +4 -4
  111. package/.docs/{guides/deployment → integrations/deploy}/azure-app-services.md +4 -4
  112. package/.docs/{guides/deployment → integrations/deploy}/cloudflare.md +4 -4
  113. package/.docs/{guides/deployment → integrations/deploy}/digital-ocean.md +5 -5
  114. package/.docs/{guides/deployment → integrations/deploy}/inngest.md +1 -1
  115. package/.docs/{guides/deployment → integrations/deploy}/kubernetes.md +4 -5
  116. package/.docs/{guides/deployment → integrations/deploy}/netlify.md +5 -5
  117. package/.docs/{guides/deployment → integrations/deploy}/temporal.md +1 -1
  118. package/.docs/{guides/deployment → integrations/deploy}/vercel.md +5 -5
  119. package/.docs/{reference/workspace/agentfs-filesystem.md → integrations/file-storage/agentfs.md} +1 -1
  120. package/.docs/{reference/workspace/s3-filesystem.md → integrations/file-storage/amazon-s3.md} +6 -6
  121. package/.docs/{reference/workspace/archil-filesystem.md → integrations/file-storage/archil.md} +4 -4
  122. package/.docs/{reference/workspace/azure-blob-filesystem.md → integrations/file-storage/azure-blob.md} +3 -3
  123. package/.docs/{reference/workspace/gcs-filesystem.md → integrations/file-storage/google-cloud-storage.md} +6 -6
  124. package/.docs/{reference/workspace/google-drive-filesystem.md → integrations/file-storage/google-drive.md} +1 -1
  125. package/.docs/{reference/workspace/mesa-filesystem.md → integrations/file-storage/mesa.md} +3 -3
  126. package/.docs/{reference/workspace/files-sdk-filesystem.md → integrations/file-storage/vercel-files.md} +6 -6
  127. package/.docs/{guides/getting-started → integrations/frameworks}/astro.md +2 -2
  128. package/.docs/{guides/getting-started → integrations/frameworks}/electron.md +4 -4
  129. package/.docs/{guides/getting-started → integrations/frameworks}/express.md +1 -1
  130. package/.docs/{guides/getting-started → integrations/frameworks}/hono.md +1 -1
  131. package/.docs/{guides/getting-started → integrations/frameworks}/nestjs.md +1 -1
  132. package/.docs/{guides/getting-started → integrations/frameworks}/next-js.md +3 -3
  133. package/.docs/{guides/getting-started → integrations/frameworks}/nuxt.md +2 -2
  134. package/.docs/{guides/getting-started → integrations/frameworks}/sveltekit.md +2 -2
  135. package/.docs/{guides/getting-started → integrations/frameworks}/vite-react.md +2 -2
  136. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/arize.md +1 -1
  137. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/arthur.md +1 -1
  138. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/braintrust.md +1 -1
  139. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/confident-ai.md +1 -1
  140. package/.docs/integrations/observability/datadog.md +538 -0
  141. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/laminar.md +1 -1
  142. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/langfuse.md +1 -1
  143. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/langsmith.md +1 -1
  144. package/.docs/{docs/observability/integrations/exporters/otel.md → integrations/observability/opentelemetry.md} +278 -46
  145. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/posthog.md +1 -1
  146. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/sentry.md +1 -1
  147. package/.docs/{reference/workspace/agentcore-runtime-sandbox.md → integrations/sandboxes/agentcore.md} +1 -1
  148. package/.docs/{reference/workspace/apple-container-sandbox.md → integrations/sandboxes/apple-container.md} +2 -2
  149. package/.docs/{reference/workspace/blaxel-sandbox.md → integrations/sandboxes/blaxel.md} +1 -1
  150. package/.docs/{reference/workspace/daytona-sandbox.md → integrations/sandboxes/daytona.md} +24 -3
  151. package/.docs/{reference/workspace/docker-sandbox.md → integrations/sandboxes/docker.md} +2 -2
  152. package/.docs/{reference/workspace/e2b-sandbox.md → integrations/sandboxes/e2b.md} +4 -4
  153. package/.docs/{reference/workspace/modal-sandbox.md → integrations/sandboxes/modal.md} +3 -3
  154. package/.docs/{reference/workspace/railway-sandbox.md → integrations/sandboxes/railway.md} +9 -1
  155. package/.docs/{reference/workspace/vercel-sandbox.md → integrations/sandboxes/vercel.md} +143 -12
  156. package/.docs/{reference → integrations}/tools/brightdata.md +1 -1
  157. package/.docs/{guides/guide → integrations/tools}/firecrawl.md +2 -2
  158. package/.docs/{reference → integrations}/tools/perplexity.md +1 -1
  159. package/.docs/{reference → integrations}/tools/tavily.md +1 -1
  160. package/.docs/{reference → integrations}/voice/aws-nova-sonic.md +1 -1
  161. package/.docs/{reference → integrations}/voice/cloudflare.md +3 -3
  162. package/.docs/{reference/voice/google-gemini-live.md → integrations/voice/google.md} +305 -30
  163. package/.docs/{reference/voice/inworld-realtime.md → integrations/voice/inworld.md} +163 -25
  164. package/.docs/{reference → integrations}/voice/livekit.md +436 -33
  165. package/.docs/{reference/voice/openai-realtime.md → integrations/voice/openai.md} +117 -20
  166. package/.docs/integrations.md +147 -0
  167. package/.docs/models/embeddings.md +3 -3
  168. package/.docs/models/environment-variables.md +1 -0
  169. package/.docs/models/gateways/custom-gateways.md +4 -0
  170. package/.docs/models/gateways/neon.md +1 -1
  171. package/.docs/models/gateways/netlify.md +1 -1
  172. package/.docs/models/gateways/openrouter.md +9 -3
  173. package/.docs/models/gateways/vercel.md +6 -4
  174. package/.docs/models/index.md +3 -3
  175. package/.docs/models/providers/302ai.md +1 -1
  176. package/.docs/models/providers/abacus.md +1 -1
  177. package/.docs/models/providers/abliteration-ai.md +1 -1
  178. package/.docs/models/providers/agentrouter.md +1 -1
  179. package/.docs/models/providers/ai-router.md +1 -1
  180. package/.docs/models/providers/aiand.md +1 -1
  181. package/.docs/models/providers/aki-io.md +1 -1
  182. package/.docs/models/providers/alibaba-cn.md +1 -1
  183. package/.docs/models/providers/alibaba-coding-plan-cn.md +1 -1
  184. package/.docs/models/providers/alibaba-coding-plan.md +1 -1
  185. package/.docs/models/providers/alibaba-token-plan-cn.md +1 -1
  186. package/.docs/models/providers/alibaba-token-plan.md +1 -1
  187. package/.docs/models/providers/alibaba.md +7 -5
  188. package/.docs/models/providers/ambient.md +2 -2
  189. package/.docs/models/providers/anyapi.md +1 -1
  190. package/.docs/models/providers/atomic-chat.md +1 -1
  191. package/.docs/models/providers/auriko.md +1 -1
  192. package/.docs/models/providers/bailing.md +1 -1
  193. package/.docs/models/providers/baseten.md +2 -2
  194. package/.docs/models/providers/berget.md +1 -1
  195. package/.docs/models/providers/blueclaw.md +1 -1
  196. package/.docs/models/providers/chutes.md +1 -1
  197. package/.docs/models/providers/clarifai.md +1 -1
  198. package/.docs/models/providers/claudinio.md +1 -1
  199. package/.docs/models/providers/cline-pass.md +1 -1
  200. package/.docs/models/providers/cloudferro-sherlock.md +1 -1
  201. package/.docs/models/providers/cloudflare-workers-ai.md +1 -1
  202. package/.docs/models/providers/coralbricks.md +75 -0
  203. package/.docs/models/providers/cortecs.md +3 -5
  204. package/.docs/models/providers/crof.md +1 -1
  205. package/.docs/models/providers/crossmodel.md +2 -3
  206. package/.docs/models/providers/daoxe.md +1 -1
  207. package/.docs/models/providers/databricks.md +1 -1
  208. package/.docs/models/providers/deepinfra.md +6 -5
  209. package/.docs/models/providers/digitalocean.md +5 -5
  210. package/.docs/models/providers/dinference.md +1 -1
  211. package/.docs/models/providers/drun.md +1 -1
  212. package/.docs/models/providers/ebcloud.md +1 -1
  213. package/.docs/models/providers/empiriolabs.md +3 -2
  214. package/.docs/models/providers/evroc.md +3 -4
  215. package/.docs/models/providers/fastrouter.md +1 -1
  216. package/.docs/models/providers/firepass.md +1 -1
  217. package/.docs/models/providers/fireworks-ai.md +1 -1
  218. package/.docs/models/providers/firmware.md +1 -1
  219. package/.docs/models/providers/freemodel.md +1 -1
  220. package/.docs/models/providers/friendli.md +1 -1
  221. package/.docs/models/providers/frogbot.md +1 -1
  222. package/.docs/models/providers/github-models.md +1 -1
  223. package/.docs/models/providers/gmicloud.md +1 -1
  224. package/.docs/models/providers/google.md +1 -1
  225. package/.docs/models/providers/greenpt.md +1 -1
  226. package/.docs/models/providers/helicone.md +1 -1
  227. package/.docs/models/providers/hetzner.md +8 -5
  228. package/.docs/models/providers/hpc-ai.md +1 -1
  229. package/.docs/models/providers/huggingface.md +1 -1
  230. package/.docs/models/providers/hyper.md +7 -7
  231. package/.docs/models/providers/iflowcn.md +1 -1
  232. package/.docs/models/providers/impossibl.md +1 -1
  233. package/.docs/models/providers/inception.md +1 -1
  234. package/.docs/models/providers/inceptron.md +1 -1
  235. package/.docs/models/providers/inference.md +1 -1
  236. package/.docs/models/providers/inferx.md +1 -1
  237. package/.docs/models/providers/infomaniak.md +1 -1
  238. package/.docs/models/providers/io-intelligence.md +1 -1
  239. package/.docs/models/providers/io-net.md +1 -1
  240. package/.docs/models/providers/jiekou.md +1 -1
  241. package/.docs/models/providers/kenari.md +1 -1
  242. package/.docs/models/providers/kilo.md +19 -13
  243. package/.docs/models/providers/kimi-for-coding.md +1 -1
  244. package/.docs/models/providers/kiro.md +1 -1
  245. package/.docs/models/providers/kuae-cloud-coding-plan.md +1 -1
  246. package/.docs/models/providers/lilac.md +1 -1
  247. package/.docs/models/providers/llama.md +1 -1
  248. package/.docs/models/providers/llmgateway.md +2 -7
  249. package/.docs/models/providers/llmtr.md +1 -1
  250. package/.docs/models/providers/lmstudio.md +1 -1
  251. package/.docs/models/providers/longcat.md +1 -1
  252. package/.docs/models/providers/lucidquery.md +1 -1
  253. package/.docs/models/providers/lynkr.md +1 -1
  254. package/.docs/models/providers/meganova.md +1 -1
  255. package/.docs/models/providers/meta.md +1 -1
  256. package/.docs/models/providers/minimax-cn-coding-plan.md +1 -1
  257. package/.docs/models/providers/minimax-cn.md +1 -1
  258. package/.docs/models/providers/minimax-coding-plan.md +1 -1
  259. package/.docs/models/providers/minimax.md +1 -1
  260. package/.docs/models/providers/mixlayer.md +1 -1
  261. package/.docs/models/providers/moark.md +1 -1
  262. package/.docs/models/providers/modal.md +1 -1
  263. package/.docs/models/providers/model-oracle-ai.md +1 -1
  264. package/.docs/models/providers/modelis.md +1 -1
  265. package/.docs/models/providers/modelscope.md +1 -1
  266. package/.docs/models/providers/moonshotai-cn.md +1 -1
  267. package/.docs/models/providers/moonshotai.md +1 -1
  268. package/.docs/models/providers/morph.md +1 -1
  269. package/.docs/models/providers/nano-gpt.md +11 -7
  270. package/.docs/models/providers/nearai.md +1 -1
  271. package/.docs/models/providers/nebius.md +3 -2
  272. package/.docs/models/providers/neuralwatt.md +1 -1
  273. package/.docs/models/providers/nova.md +1 -1
  274. package/.docs/models/providers/novita-ai.md +1 -1
  275. package/.docs/models/providers/nvidia.md +3 -2
  276. package/.docs/models/providers/ofox.md +4 -3
  277. package/.docs/models/providers/ollama-cloud.md +1 -1
  278. package/.docs/models/providers/opencode-go.md +1 -1
  279. package/.docs/models/providers/opencode.md +64 -64
  280. package/.docs/models/providers/orcarouter.md +1 -1
  281. package/.docs/models/providers/ovhcloud.md +1 -1
  282. package/.docs/models/providers/perplexity-agent.md +1 -1
  283. package/.docs/models/providers/pioneer.md +1 -1
  284. package/.docs/models/providers/poe.md +1 -1
  285. package/.docs/models/providers/poolside.md +1 -1
  286. package/.docs/models/providers/privatemode-ai.md +12 -10
  287. package/.docs/models/providers/qihang-ai.md +1 -1
  288. package/.docs/models/providers/qiniu-ai.md +1 -1
  289. package/.docs/models/providers/regolo-ai.md +26 -21
  290. package/.docs/models/providers/requesty.md +3 -3
  291. package/.docs/models/providers/routing-run.md +1 -1
  292. package/.docs/models/providers/sakana.md +1 -1
  293. package/.docs/models/providers/sarvam.md +1 -1
  294. package/.docs/models/providers/scaleway.md +1 -1
  295. package/.docs/models/providers/scx.md +1 -1
  296. package/.docs/models/providers/siliconflow-cn.md +1 -1
  297. package/.docs/models/providers/siliconflow.md +1 -1
  298. package/.docs/models/providers/snowflake-cortex.md +6 -2
  299. package/.docs/models/providers/stackit.md +1 -1
  300. package/.docs/models/providers/stepfun-ai-step-plan.md +1 -1
  301. package/.docs/models/providers/stepfun-ai.md +1 -1
  302. package/.docs/models/providers/stepfun-step-plan.md +1 -1
  303. package/.docs/models/providers/stepfun.md +1 -1
  304. package/.docs/models/providers/subconscious.md +1 -1
  305. package/.docs/models/providers/submodel.md +1 -1
  306. package/.docs/models/providers/synthetic.md +1 -1
  307. package/.docs/models/providers/tencent-coding-plan.md +1 -1
  308. package/.docs/models/providers/tencent-token-plan.md +1 -1
  309. package/.docs/models/providers/tencent-tokenhub.md +1 -1
  310. package/.docs/models/providers/tensorx.md +1 -1
  311. package/.docs/models/providers/the-grid-ai.md +1 -1
  312. package/.docs/models/providers/thinkingmachines.md +1 -1
  313. package/.docs/models/providers/tinfoil.md +2 -2
  314. package/.docs/models/providers/togetherai.md +1 -1
  315. package/.docs/models/providers/trustedrouter.md +1 -1
  316. package/.docs/models/providers/umans-ai-coding-plan.md +1 -1
  317. package/.docs/models/providers/umans-ai.md +1 -1
  318. package/.docs/models/providers/unorouter.md +1 -1
  319. package/.docs/models/providers/upstage.md +1 -1
  320. package/.docs/models/providers/venice.md +1 -1
  321. package/.docs/models/providers/vivgrid.md +1 -1
  322. package/.docs/models/providers/vultr.md +1 -1
  323. package/.docs/models/providers/wafer.ai.md +1 -1
  324. package/.docs/models/providers/wandb.md +3 -2
  325. package/.docs/models/providers/xiaomi-token-plan-ams.md +1 -1
  326. package/.docs/models/providers/xiaomi-token-plan-cn.md +1 -1
  327. package/.docs/models/providers/xiaomi-token-plan-sgp.md +1 -1
  328. package/.docs/models/providers/xiaomi.md +1 -1
  329. package/.docs/models/providers/xpersona.md +1 -1
  330. package/.docs/models/providers/zai-coding-plan.md +1 -1
  331. package/.docs/models/providers/zai.md +1 -1
  332. package/.docs/models/providers/zeldoc.md +8 -8
  333. package/.docs/models/providers/zenifra.md +1 -1
  334. package/.docs/models/providers/zenmux.md +1 -16
  335. package/.docs/models/providers/zhipuai-coding-plan.md +1 -1
  336. package/.docs/models/providers/zhipuai.md +1 -1
  337. package/.docs/models/providers.md +1 -0
  338. package/.docs/reference/agent-controller/agent-controller-class.md +35 -4
  339. package/.docs/reference/agent-controller/session.md +5 -3
  340. package/.docs/reference/agents/channels.md +2 -2
  341. package/.docs/reference/agents/durable-agent.md +2 -0
  342. package/.docs/reference/agents/generateLegacy.md +2 -2
  343. package/.docs/reference/agents/getDefaultOptions.md +1 -1
  344. package/.docs/reference/agents/getDefaultStreamOptions.md +1 -1
  345. package/.docs/reference/agents/getVoice.md +1 -1
  346. package/.docs/reference/agents/inngest-agent.md +3 -1
  347. package/.docs/reference/agents/network.md +1 -1
  348. package/.docs/reference/ai-sdk/handle-network-stream.md +1 -1
  349. package/.docs/reference/ai-sdk/network-route.md +1 -1
  350. package/.docs/{guides/agent-frameworks/ai-sdk.md → reference/ai-sdk/overview.md} +2 -2
  351. package/.docs/reference/auth/auth0.md +1 -1
  352. package/.docs/reference/auth/better-auth.md +1 -1
  353. package/.docs/reference/auth/clerk.md +1 -1
  354. package/.docs/reference/auth/firebase.md +1 -1
  355. package/.docs/reference/auth/google.md +1 -1
  356. package/.docs/reference/auth/okta.md +5 -1
  357. package/.docs/reference/auth/supabase.md +1 -1
  358. package/.docs/reference/auth/workos.md +1 -1
  359. package/.docs/reference/browser/agent-browser.md +2 -2
  360. package/.docs/reference/browser/browser-viewer.md +1 -1
  361. package/.docs/reference/browser/firecrawl-browser.md +1 -1
  362. package/.docs/reference/browser/mastra-browser.md +1 -1
  363. package/.docs/reference/browser/stagehand-browser.md +2 -2
  364. package/.docs/reference/channels/channel-provider.md +1 -1
  365. package/.docs/reference/channels/slack-provider.md +2 -2
  366. package/.docs/reference/cli/mastra.md +6 -6
  367. package/.docs/reference/client-js/agents.md +2 -1
  368. package/.docs/reference/client-js/workflows.md +3 -3
  369. package/.docs/reference/code-sdk/mount-agent-controller.md +1 -1
  370. package/.docs/reference/configuration.md +22 -28
  371. package/.docs/reference/core/addDynamicWorkflow.md +2 -2
  372. package/.docs/reference/core/addDynamicWorkflows.md +2 -2
  373. package/.docs/reference/core/getStorage.md +1 -1
  374. package/.docs/reference/core/getVector.md +2 -2
  375. package/.docs/reference/core/listVectors.md +2 -2
  376. package/.docs/reference/core/setStorage.md +1 -1
  377. package/.docs/reference/datasets/startExperiment.md +8 -0
  378. package/.docs/reference/file-based-agents/config.md +2 -0
  379. package/.docs/reference/file-based-agents/instructions.md +2 -0
  380. package/.docs/reference/file-based-agents/logger.md +2 -0
  381. package/.docs/reference/file-based-agents/memory.md +2 -0
  382. package/.docs/reference/file-based-agents/observability.md +2 -0
  383. package/.docs/reference/file-based-agents/processors.md +2 -0
  384. package/.docs/reference/file-based-agents/schedules.md +2 -0
  385. package/.docs/reference/file-based-agents/scorers.md +2 -0
  386. package/.docs/reference/file-based-agents/server.md +2 -0
  387. package/.docs/reference/file-based-agents/skills.md +2 -0
  388. package/.docs/reference/file-based-agents/storage.md +3 -1
  389. package/.docs/reference/file-based-agents/studio.md +3 -1
  390. package/.docs/reference/file-based-agents/subagents.md +2 -0
  391. package/.docs/reference/file-based-agents/tools.md +2 -0
  392. package/.docs/reference/file-based-agents/workflows.md +2 -0
  393. package/.docs/reference/file-based-agents/workspace.md +2 -0
  394. package/.docs/reference/index.md +34 -55
  395. package/.docs/{guides/getting-started → reference}/manual-install.md +3 -3
  396. package/.docs/{guides → reference}/migrations/ai-sdk-v4-to-v5.md +1 -1
  397. package/.docs/{guides → reference}/migrations/mastra-cloud.md +2 -2
  398. package/.docs/{guides → reference}/migrations/network-to-supervisor.md +1 -1
  399. package/.docs/{guides → reference}/migrations/upgrade-to-v1/cli.md +1 -1
  400. package/.docs/{guides → reference}/migrations/upgrade-to-v1/memory.md +1 -1
  401. package/.docs/{guides → reference}/migrations/upgrade-to-v1/overview.md +41 -41
  402. package/.docs/{guides → reference}/migrations/upgrade-to-v1/tools.md +1 -1
  403. package/.docs/{guides → reference}/migrations/upgrade-to-v1/tracing.md +11 -13
  404. package/.docs/reference/observability/tracing/bridges/datadog.md +2 -2
  405. package/.docs/reference/observability/tracing/bridges/otel.md +2 -2
  406. package/.docs/reference/observability/tracing/exporters/arize.md +1 -1
  407. package/.docs/reference/observability/tracing/exporters/arthur.md +1 -1
  408. package/.docs/reference/observability/tracing/exporters/cloud-exporter.md +0 -1
  409. package/.docs/reference/observability/tracing/exporters/confident-ai.md +1 -1
  410. package/.docs/reference/observability/tracing/exporters/console-exporter.md +0 -1
  411. package/.docs/reference/observability/tracing/exporters/datadog.md +1 -1
  412. package/.docs/reference/observability/tracing/exporters/default-exporter.md +0 -1
  413. package/.docs/reference/observability/tracing/exporters/mastra-platform-exporter.md +12 -1
  414. package/.docs/reference/observability/tracing/exporters/mastra-storage-exporter.md +0 -1
  415. package/.docs/reference/observability/tracing/exporters/otel.md +2 -2
  416. package/.docs/reference/observability/tracing/processors/sensitive-data-filter.md +111 -99
  417. package/.docs/reference/observability/tracing/span-filtering.md +1 -1
  418. package/.docs/reference/processors/pii-detector.md +2 -0
  419. package/.docs/reference/processors/prompt-injection-detector.md +2 -0
  420. package/.docs/reference/processors/regex-filter-processor.md +20 -0
  421. package/.docs/reference/processors/response-cache.md +2 -0
  422. package/.docs/reference/processors/tool-search-processor.md +33 -1
  423. package/.docs/reference/pubsub/lease-provider.md +1 -1
  424. package/.docs/{guides → reference}/rag/chunking-and-embedding.md +16 -19
  425. package/.docs/reference/rag/database-config.md +1 -1
  426. package/.docs/{guides/rag/graph-rag.md → reference/rag/graph-rag-guide.md} +1 -1
  427. package/.docs/reference/rag/metadata-filters.md +13 -4
  428. package/.docs/{guides → reference}/rag/overview.md +2 -2
  429. package/.docs/{guides → reference}/rag/retrieval.md +18 -1
  430. package/.docs/{guides → reference}/rag/vector-databases.md +42 -1
  431. package/.docs/reference/schedules/overview.md +2 -0
  432. package/.docs/reference/server/create-route.md +27 -1
  433. package/.docs/reference/server/register-api-route.md +2 -0
  434. package/.docs/reference/signals/create-notification-inbox-tool.md +2 -0
  435. package/.docs/reference/signals/signal-provider.md +2 -0
  436. package/.docs/reference/signals/task-signal-provider.md +2 -0
  437. package/.docs/reference/signals/webhook-signal-provider.md +2 -0
  438. package/.docs/reference/storage/composite.md +4 -4
  439. package/.docs/reference/storage/overview.md +1 -1
  440. package/.docs/reference/storage/retention.md +4 -4
  441. package/.docs/reference/streaming/ChunkType.md +3 -3
  442. package/.docs/reference/streaming/agents/stream.md +1 -1
  443. package/.docs/reference/streaming/agents/streamLegacy.md +3 -3
  444. package/.docs/reference/streaming/agents/streamUntilIdle.md +1 -1
  445. package/.docs/reference/templates/overview.md +1 -1
  446. package/.docs/reference/tools/create-code-mode.md +3 -1
  447. package/.docs/reference/tools/isolated-vm-transport.md +1 -1
  448. package/.docs/reference/tools/mcp-client.md +51 -0
  449. package/.docs/reference/tools/mcp-server.md +1 -1
  450. package/.docs/reference/tools/quickjs-transport.md +92 -0
  451. package/.docs/reference/vectors/chroma.md +1 -1
  452. package/.docs/reference/vectors/convex.md +2 -2
  453. package/.docs/reference/vectors/oracledb.md +347 -0
  454. package/.docs/{guides → reference}/voice/overview.md +58 -109
  455. package/.docs/{guides → reference}/voice/speech-to-speech.md +1 -1
  456. package/.docs/{guides → reference}/voice/speech-to-text.md +8 -8
  457. package/.docs/{guides → reference}/voice/text-to-speech.md +11 -12
  458. package/.docs/reference/workers/overview.md +10 -8
  459. package/.docs/reference/workflows/dynamic-workflow-definition.md +3 -1
  460. package/.docs/reference/workflows/run-methods/timeTravel.md +1 -0
  461. package/.docs/reference/workflows/workflow.md +18 -0
  462. package/.docs/reference/workspace/local-sandbox.md +1 -1
  463. package/.docs/reference/workspace/platform-filesystem.md +3 -3
  464. package/.docs/reference/workspace/platform-sandbox.md +11 -3
  465. package/.docs/reference/workspace/process-manager.md +3 -3
  466. package/.docs/reference/workspace/sandbox.md +10 -0
  467. package/CHANGELOG.md +97 -0
  468. package/dist/index.js +1 -1
  469. package/dist/{src-BZcgzbk9.js → src-D-W-bx5t.js} +2 -2
  470. package/dist/{src-BZcgzbk9.js.map → src-D-W-bx5t.js.map} +1 -1
  471. package/dist/stdio.js +1 -1
  472. package/package.json +6 -6
  473. package/.docs/docs/capabilities/channels/other-adapters.md +0 -68
  474. package/.docs/docs/observability/integrations/bridges/datadog.md +0 -219
  475. package/.docs/docs/observability/integrations/bridges/otel.md +0 -234
  476. package/.docs/docs/observability/integrations/exporters/datadog.md +0 -321
  477. package/.docs/docs/observability/integrations/exporters/mastra-platform.md +0 -201
  478. package/.docs/docs/observability/integrations/overview.md +0 -47
  479. package/.docs/docs/observability/integrations/processors/sensitive-data-filter.md +0 -302
  480. package/.docs/guides/build-your-ui/copilotkit/channels.md +0 -86
  481. package/.docs/guides/build-your-ui/copilotkit/generative-ui.md +0 -174
  482. package/.docs/guides/deployment/mastra-workers.md +0 -576
  483. package/.docs/guides/getting-started/quickstart.md +0 -88
  484. package/.docs/guides/guide/ai-recruiter.md +0 -228
  485. package/.docs/guides/guide/chef-michel.md +0 -211
  486. package/.docs/guides/guide/code-review-bot.md +0 -228
  487. package/.docs/guides/guide/coding-agent.md +0 -392
  488. package/.docs/guides/guide/dev-assistant.md +0 -309
  489. package/.docs/guides/guide/docs-manager.md +0 -240
  490. package/.docs/guides/guide/github-actions-pr-description.md +0 -238
  491. package/.docs/guides/guide/notes-mcp-server.md +0 -418
  492. package/.docs/guides/guide/publishing-mcp-server.md +0 -137
  493. package/.docs/guides/guide/research-assistant.md +0 -350
  494. package/.docs/guides/guide/research-coordinator.md +0 -418
  495. package/.docs/guides/guide/signal-provider.md +0 -221
  496. package/.docs/guides/guide/slack-assistant.md +0 -193
  497. package/.docs/guides/guide/stock-agent.md +0 -132
  498. package/.docs/guides/guide/web-search.md +0 -322
  499. package/.docs/guides/guide/whatsapp-chat-bot.md +0 -407
  500. package/.docs/guides/index.md +0 -24
  501. package/.docs/guides/voice/realtime-voice.md +0 -430
  502. package/.docs/reference/voice/google.md +0 -290
  503. package/.docs/reference/voice/inworld.md +0 -137
  504. package/.docs/reference/voice/openai.md +0 -96
  505. package/.docs/reference/voice/playai.md +0 -82
  506. package/.docs/reference/workspace/vercel-serverless.md +0 -128
  507. /package/.docs/{guides/concepts → docs/guides}/streaming.md +0 -0
  508. /package/.docs/{reference → docs}/mastra-platform/api.md +0 -0
  509. /package/.docs/{docs/server → integrations}/auth/better-auth.md +0 -0
  510. /package/.docs/{docs/server → integrations}/auth/google.md +0 -0
  511. /package/.docs/{reference → integrations}/voice/azure.md +0 -0
  512. /package/.docs/{reference → integrations}/voice/deepgram.md +0 -0
  513. /package/.docs/{reference → integrations}/voice/elevenlabs.md +0 -0
  514. /package/.docs/{reference → integrations}/voice/mistral.md +0 -0
  515. /package/.docs/{reference → integrations}/voice/murf.md +0 -0
  516. /package/.docs/{reference → integrations}/voice/sarvam.md +0 -0
  517. /package/.docs/{reference → integrations}/voice/speechify.md +0 -0
  518. /package/.docs/{reference/voice/xai-realtime.md → integrations/voice/xai.md} +0 -0
  519. /package/.docs/{guides → reference}/migrations/agentnetwork.md +0 -0
  520. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/agent.md +0 -0
  521. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/client.md +0 -0
  522. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/deployment.md +0 -0
  523. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/evals.md +0 -0
  524. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/mastra.md +0 -0
  525. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/mcp.md +0 -0
  526. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/processors.md +0 -0
  527. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/rag.md +0 -0
  528. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/storage.md +0 -0
  529. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/vectors.md +0 -0
  530. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/voice.md +0 -0
  531. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/workflows.md +0 -0
  532. /package/.docs/{guides → reference}/migrations/vnext-to-standard-apis.md +0 -0
@@ -300,4 +300,4 @@ The actor signal is trusted input, so construct it server-side:
300
300
 
301
301
  - [`IFGAProvider` reference](https://mastra.ai/reference/auth/fga)
302
302
  - [Authentication overview](https://mastra.ai/docs/server/auth)
303
- - [WorkOS authentication](https://mastra.ai/docs/server/auth/workos)
303
+ - [WorkOS authentication](https://mastra.ai/integrations/auth/workos)
@@ -171,4 +171,4 @@ SimpleAuth is designed for simplicity, not production security:
171
171
  - No cryptographic verification
172
172
  - All tokens must be known at startup
173
173
 
174
- For production applications, consider using [JWT](https://mastra.ai/docs/server/auth/jwt), [Clerk](https://mastra.ai/docs/server/auth/clerk), [Auth0](https://mastra.ai/docs/server/auth/auth0), or another identity provider.
174
+ For production applications, consider using [JWT](https://mastra.ai/docs/server/auth/jwt), [Clerk](https://mastra.ai/integrations/auth/clerk), [Auth0](https://mastra.ai/integrations/auth/auth0), or another identity provider.
@@ -2,6 +2,8 @@
2
2
 
3
3
  # Workers
4
4
 
5
+ > **Beta:** Breaking changes may occur without a major version bump until the API is stable.
6
+
5
7
  When workers run in separate processes from the API, they communicate over HTTP. The orchestration worker calls the API's step execution endpoint to run workflow steps on the API server. Push-mode PubSub brokers (like Google Cloud Pub/Sub in push mode) can also deliver events directly to the API's event endpoint. This is a distinct integration path from pull-mode workers, which pull events from the broker themselves. Both HTTP endpoints require authentication when an auth provider is configured.
6
8
 
7
9
  ## How it works
@@ -130,6 +132,6 @@ Your auth provider's `authenticateToken` callback must recognize whatever creden
130
132
 
131
133
  - [Auth overview](https://mastra.ai/docs/server/auth): Available auth providers and how they work
132
134
  - [Token-based auth](https://mastra.ai/docs/server/auth/simple-auth): Token-to-user mapping authentication
133
- - [Worker deployment](https://mastra.ai/guides/deployment/mastra-workers): Set up split worker processes
135
+ - [Worker deployment](https://mastra.ai/docs/deployment/workers): Set up split worker processes
134
136
  - [Workers reference](https://mastra.ai/reference/workers/overview): Configuration details for all worker types
135
137
  - [CLI reference](https://mastra.ai/reference/cli/mastra): `mastra worker build` and `mastra worker start`
@@ -1,6 +1,6 @@
1
1
  > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
2
 
3
- # Auth overview
3
+ # Auth
4
4
 
5
5
  Mastra lets you choose how you handle authentication, so you can secure access to your API and [Studio](https://mastra.ai/docs/studio/overview) using the identity system that fits your stack.
6
6
 
@@ -17,27 +17,29 @@ Authentication is optional. If no auth is configured, all routes and Studio are
17
17
 
18
18
  See [Custom API Routes](https://mastra.ai/docs/server/custom-api-routes) for controlling authentication on custom endpoints. Visit the [Studio Auth docs](https://mastra.ai/docs/studio/auth) for more on securing your Studio deployment.
19
19
 
20
+ > **Warning:** The default auth configuration protects `/api/*` and treats `/api`, `/api/auth/*` as public. When you set a custom `server.apiPrefix`, those defaults no longer match and built-in routes fall outside the protected pattern. Update `server.auth.protected` and `server.auth.public` to reference your new prefix.
21
+
20
22
  > **Note:** Authentication for Studio is currently supported by the following providers: Simple Auth, JWT, WorkOS, Better Auth, and Google.
21
23
 
22
24
  ## Available providers
23
25
 
24
26
  ### Built-in
25
27
 
26
- - [Simple Auth](https://mastra.ai/docs/server/auth/simple-auth): Token-to-user mapping for development and API keys
27
- - [JSON Web Token (JWT)](https://mastra.ai/docs/server/auth/jwt): HMAC-signed JWT verification
28
+ - [Simple Auth](https://mastra.ai/docs/server/auth/simple-auth)
29
+ - [JSON Web Token](https://mastra.ai/docs/server/auth/jwt)
28
30
 
29
31
  ### Third-party integrations
30
32
 
31
- - [Auth0](https://mastra.ai/docs/server/auth/auth0)
32
- - [Better Auth](https://mastra.ai/docs/server/auth/better-auth)
33
- - [Clerk](https://mastra.ai/docs/server/auth/clerk)
34
- - [Firebase](https://mastra.ai/docs/server/auth/firebase)
35
- - [Google](https://mastra.ai/docs/server/auth/google)
36
- - [Okta](https://mastra.ai/docs/server/auth/okta)
37
- - [Supabase](https://mastra.ai/docs/server/auth/supabase)
38
- - [WorkOS](https://mastra.ai/docs/server/auth/workos)
33
+ - [Auth0](https://mastra.ai/integrations/auth/auth0)
34
+ - [Better Auth](https://mastra.ai/integrations/auth/better-auth)
35
+ - [Clerk](https://mastra.ai/integrations/auth/clerk)
36
+ - [Firebase](https://mastra.ai/integrations/auth/firebase)
37
+ - [Google](https://mastra.ai/integrations/auth/google)
38
+ - [Okta](https://mastra.ai/integrations/auth/okta)
39
+ - [Supabase](https://mastra.ai/integrations/auth/supabase)
40
+ - [WorkOS](https://mastra.ai/integrations/auth/workos)
39
41
 
40
42
  ### Advanced
41
43
 
42
- - [Composite Auth](https://mastra.ai/docs/server/auth/composite-auth): Combine multiple auth providers
43
- - [Custom Auth Provider](https://mastra.ai/docs/server/auth/custom-auth-provider): Build your own provider
44
+ - [Composite Auth](https://mastra.ai/docs/server/auth/composite-auth)
45
+ - [Custom Provider](https://mastra.ai/docs/server/auth/custom-auth-provider)
@@ -6,7 +6,7 @@ Create a custom adapter when the prebuilt server adapters (Hono, Express, Fastif
6
6
 
7
7
  A custom adapter translates between Mastra's route definitions and your framework's routing system. You'll implement methods that register middleware, handle requests, and send responses using your framework's APIs.
8
8
 
9
- > **Info:** Use any of these prebuilt server adapters:
9
+ > **Note:** Use any of these prebuilt server adapters:
10
10
  >
11
11
  > - [@mastra/hono](https://mastra.ai/reference/server/hono-adapter)
12
12
  > - [@mastra/express](https://mastra.ai/reference/server/express-adapter)
@@ -35,6 +35,41 @@ curl http://localhost:4111/my-custom-route
35
35
 
36
36
  Each route's handler receives the Hono `Context`. Within the handler you can access the `Mastra` instance to fetch or call agents and workflows.
37
37
 
38
+ ## Schema validation
39
+
40
+ Use [`createRoute()`](https://mastra.ai/reference/server/create-route) in `apiRoutes` to parse and validate path parameters, query parameters, and request bodies with Zod. The schemas also infer the handler parameters and generate OpenAPI metadata.
41
+
42
+ ```typescript
43
+ import { Mastra } from '@mastra/core'
44
+ import { createRoute } from '@mastra/server/server-adapter'
45
+ import { z } from 'zod'
46
+
47
+ const createItemRoute = createRoute({
48
+ method: 'POST',
49
+ path: '/items',
50
+ responseType: 'json',
51
+ bodySchema: z.object({
52
+ name: z.string().min(1),
53
+ }),
54
+ responseSchema: z.object({
55
+ id: z.string(),
56
+ name: z.string(),
57
+ }),
58
+ handler: async ({ name }) => ({
59
+ id: crypto.randomUUID(),
60
+ name,
61
+ }),
62
+ })
63
+
64
+ export const mastra = new Mastra({
65
+ server: {
66
+ apiRoutes: [createItemRoute],
67
+ },
68
+ })
69
+ ```
70
+
71
+ By default, Mastra returns a `400` response when validation fails. The `onValidationError` callback can override the status and response body. Validated values and the `Mastra` server context are passed directly to the handler.
72
+
38
73
  ## Middleware
39
74
 
40
75
  To add route-specific middleware pass a `middleware` array when calling `registerApiRoute()`.
@@ -1,6 +1,6 @@
1
1
  > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
2
 
3
- # Mastra client SDK
3
+ # Mastra client
4
4
 
5
5
  The Mastra Client SDK provides a concise and type-safe interface for interacting with your [Mastra Server](https://mastra.ai/docs/server/mastra-server) from your client environment.
6
6
 
@@ -149,7 +149,7 @@ const testAgent = async () => {
149
149
  }
150
150
  ```
151
151
 
152
- > **Info:** You can also call `.generate()` with an array of message objects that include `role` and `content`. Visit the [.generate() reference](https://mastra.ai/reference/client-js/agents) for more information.
152
+ > **Note:** You can also call `.generate()` with an array of message objects that include `role` and `content`. Visit the [.generate() reference](https://mastra.ai/reference/client-js/agents) for more information.
153
153
 
154
154
  ## Streaming responses
155
155
 
@@ -175,7 +175,7 @@ const testAgent = async () => {
175
175
  }
176
176
  ```
177
177
 
178
- > **Info:** You can also call `.stream()` with an array of message objects that include `role` and `content`. Visit the [.stream() reference](https://mastra.ai/reference/client-js/agents) for more information.
178
+ > **Note:** You can also call `.stream()` with an array of message objects that include `role` and `content`. Visit the [.stream() reference](https://mastra.ai/reference/client-js/agents) for more information.
179
179
 
180
180
  ## Configuration options
181
181
 
@@ -1,10 +1,10 @@
1
1
  > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
2
 
3
- # Server overview
3
+ # Server
4
4
 
5
5
  Mastra runs as an HTTP server that exposes your agents, workflows, and other functionality as API endpoints. The server handles request routing, middleware execution, authentication, and streaming responses.
6
6
 
7
- > **Info:** This page covers the [`server`](https://mastra.ai/reference/configuration) configuration options passed to the `Mastra` constructor. For running Mastra with your own HTTP server (Hono, Express, etc.), visit [Server Adapters](https://mastra.ai/docs/server/server-adapters).
7
+ > **Note:** This page covers the [`server`](https://mastra.ai/reference/configuration) configuration options passed to the `Mastra` constructor. For running Mastra with your own HTTP server (Hono, Express, etc.), visit [Server Adapters](https://mastra.ai/docs/server/server-adapters).
8
8
 
9
9
  ## Server features
10
10
 
@@ -1,6 +1,6 @@
1
1
  > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
2
 
3
- # Storage overview
3
+ # Storage
4
4
 
5
5
  Storage is the persistence layer for the Mastra runtime. It keeps memory, workflow state, observability data, eval results, schedules, and long-running agent state available after a process restarts.
6
6
 
@@ -188,22 +188,25 @@ You can also route `observability` to a dedicated analytics backend. See the [ob
188
188
 
189
189
  ## Supported providers
190
190
 
191
- Each provider page includes installation instructions, configuration parameters, and usage examples:
192
-
193
- - [libSQL](https://mastra.ai/reference/storage/libsql)
194
- - [PostgreSQL](https://mastra.ai/reference/storage/postgresql)
195
- - [MongoDB](https://mastra.ai/reference/storage/mongodb)
196
- - [Upstash](https://mastra.ai/reference/storage/upstash)
197
- - [Redis](https://mastra.ai/reference/storage/redis)
198
- - [Cloudflare D1](https://mastra.ai/reference/storage/cloudflare-d1)
199
- - [Cloudflare KV & Durable Objects](https://mastra.ai/reference/storage/cloudflare)
200
- - [Convex](https://mastra.ai/reference/storage/convex)
201
- - [DynamoDB](https://mastra.ai/reference/storage/dynamodb)
202
- - [LanceDB](https://mastra.ai/reference/storage/lance)
203
- - [Microsoft SQL Server](https://mastra.ai/reference/storage/mssql)
204
- - [Google Cloud Spanner](https://mastra.ai/reference/storage/spanner)
205
-
206
- > **Tip:** libSQL is the fastest path for local development because it doesn't require running a separate database server.
191
+ Each provider page includes installation instructions, configuration parameters, and usage examples. libSQL is the fastest path for local development because it doesn't require running a separate database server.
192
+
193
+ - [Aurora DSQL](https://mastra.ai/integrations/databases/aurora-dsql)
194
+ - [ClickHouse](https://mastra.ai/integrations/databases/clickhouse)
195
+ - [Cloudflare D1](https://mastra.ai/integrations/databases/cloudflare-d1)
196
+ - [Cloudflare KV](https://mastra.ai/integrations/databases/cloudflare-kv)
197
+ - [Convex](https://mastra.ai/integrations/databases/convex)
198
+ - [DuckDB](https://mastra.ai/integrations/databases/duckdb)
199
+ - [DynamoDB](https://mastra.ai/integrations/databases/dynamodb)
200
+ - [Google Cloud Spanner](https://mastra.ai/integrations/databases/spanner)
201
+ - [LanceDB](https://mastra.ai/integrations/databases/lancedb)
202
+ - [libSQL](https://mastra.ai/integrations/databases/libsql)
203
+ - [MongoDB](https://mastra.ai/integrations/databases/mongodb)
204
+ - [MSSQL](https://mastra.ai/integrations/databases/mssql)
205
+ - [Neon Postgres](https://mastra.ai/integrations/databases/neon)
206
+ - [OracleDB](https://mastra.ai/integrations/databases/oracledb)
207
+ - [PostgreSQL](https://mastra.ai/integrations/databases/postgresql)
208
+ - [Redis](https://mastra.ai/integrations/databases/redis)
209
+ - [Upstash](https://mastra.ai/integrations/databases/upstash)
207
210
 
208
211
  ## Next steps
209
212
 
@@ -12,7 +12,7 @@ All require an observability storage backend to be configured.
12
12
 
13
13
  ## Quickstart
14
14
 
15
- For detailed instructions, follow the [observability instructions](https://mastra.ai/docs/observability/overview). To get up and running quickly, add the `@mastra/observability` package to your project and configure it with [LibSQL](https://mastra.ai/reference/storage/libsql) and [DuckDB](https://mastra.ai/reference/vectors/duckdb) for a local development setup that supports both traces and metrics.
15
+ For detailed instructions, follow the [observability instructions](https://mastra.ai/docs/observability/overview). To get up and running quickly, add the `@mastra/observability` package to your project and configure it with [LibSQL](https://mastra.ai/integrations/databases/libsql) and [DuckDB](https://mastra.ai/reference/vectors/duckdb) for a local development setup that supports both traces and metrics.
16
16
 
17
17
  **npm**:
18
18
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Dynamic workflows
4
4
 
5
- > **Beta:** This feature is in beta. Breaking changes may occur without a major version bump until the API is stable.
5
+ > **Beta:** Breaking changes may occur without a major version bump until the API is stable.
6
6
 
7
7
  Dynamic workflows are workflow definitions expressed as data instead of code. A definition is a JSON document that describes the workflow's schemas and step graph. Mastra validates the definition and registers it as a runnable workflow, then persists it in storage so it survives process restarts.
8
8
 
@@ -1,12 +1,12 @@
1
1
  > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
2
 
3
- # Human-in-the-loop (HITL)
3
+ # Human-in-the-loop
4
4
 
5
5
  Some workflows need to pause for human input before continuing. When a workflow is [suspended](https://mastra.ai/docs/workflows/suspend-and-resume), it can return a message explaining why it paused and what’s needed to proceed. The workflow can then either [resume](#resuming-workflows-with-human-input) or [bail](#handling-human-rejection-with-bail) based on the input received. This approach works well for manual approvals, rejections, gated decisions, or any step that requires human oversight.
6
6
 
7
7
  ## Pausing workflows for human input
8
8
 
9
- Human-in-the-loop input works much like [pausing a workflow](https://mastra.ai/docs/workflows/suspend-and-resume) using `suspend()`. The key difference is that when human input is required, you can return `suspend()` with a payload that provides context or guidance to the user on how to continue.
9
+ Human-in-the-loop (HITL) input works much like [pausing a workflow](https://mastra.ai/docs/workflows/suspend-and-resume) using `suspend()`. The key difference is that when human input is required, you can return `suspend()` with a payload that provides context or guidance to the user on how to continue.
10
10
 
11
11
  ![Pausing a workflow with suspend()](/assets/images/workflows-suspend-4540783670f918109ac35beaf4db914b.jpg)
12
12
 
@@ -1,6 +1,6 @@
1
1
  > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
2
 
3
- # Workflows overview
3
+ # Workflows
4
4
 
5
5
  Workflows let you define complex sequences of tasks using clear, structured steps rather than relying on the reasoning of a single agent. They give you full control over how tasks are broken down and how data moves between them, plus what gets executed when. Workflows run using the built-in execution engine by default, or can be deployed to [workflow runners](https://mastra.ai/docs/deployment/workflow-runners) like Inngest for managed infrastructure.
6
6
 
@@ -287,7 +287,7 @@ You can run workflows from agents, tools, the Mastra Client, or the command line
287
287
  const testWorkflow = mastra.getWorkflow('testWorkflow')
288
288
  ```
289
289
 
290
- > **Info:** `mastra.getWorkflow()` is preferred over a direct import for two reasons:
290
+ > **Note:** `mastra.getWorkflow()` is preferred over a direct import for two reasons:
291
291
  >
292
292
  > 1. It provides access to the Mastra instance configuration (logger, telemetry, storage, registered agents, and vector stores)
293
293
  > 2. It provides full TypeScript type inference for workflow input and output schemas
@@ -407,7 +407,7 @@ Here's an example of a successful workflow result, showing the `input`, `steps`,
407
407
 
408
408
  ## Streaming
409
409
 
410
- For generic `writer` API usage, see [Streaming](https://mastra.ai/guides/concepts/streaming).
410
+ For generic `writer` API usage, see [Streaming](https://mastra.ai/docs/guides/streaming).
411
411
 
412
412
  ### Inspecting workflow stream payloads
413
413
 
@@ -539,7 +539,7 @@ Visit [Request Context](https://mastra.ai/docs/server/request-context) for more
539
539
 
540
540
  ## Related
541
541
 
542
- For a closer look at workflows, see our [Workflow Guide](https://mastra.ai/guides/guide/ai-recruiter), which walks through the core concepts with a practical example.
542
+ For a closer look at workflows, see our [Workflow Guide](https://mastra.ai/blog/building-an-ai-recruiter), which walks through the core concepts with a practical example.
543
543
 
544
544
  - [Workflow State](https://mastra.ai/docs/workflows/workflow-state)
545
545
  - [Control Flow](https://mastra.ai/docs/workflows/control-flow)
@@ -81,13 +81,14 @@ Each snapshot includes the `runId`, input, step status (`success`, `suspended`,
81
81
 
82
82
  ## How snapshots are saved and retrieved
83
83
 
84
- Snapshots are saved to the configured storage system. By default, they use libSQL, but you can configure Upstash or PostgreSQL instead. Each snapshot is saved in the `workflow_snapshots` table and identified by the workflow's `runId`.
84
+ Snapshots are saved to the configured storage system. By default, they use libSQL, but you can configure Upstash, PostgreSQL, or OracleDB instead. Each snapshot is saved in the `workflow_snapshots` table and identified by the workflow's `runId`.
85
85
 
86
86
  Read more about:
87
87
 
88
- - [libSQL Storage](https://mastra.ai/reference/storage/libsql)
89
- - [Upstash Storage](https://mastra.ai/reference/storage/upstash)
90
- - [PostgreSQL Storage](https://mastra.ai/reference/storage/postgresql)
88
+ - [libSQL Storage](https://mastra.ai/integrations/databases/libsql)
89
+ - [Upstash Storage](https://mastra.ai/integrations/databases/upstash)
90
+ - [PostgreSQL Storage](https://mastra.ai/integrations/databases/postgresql)
91
+ - [OracleDB Storage](https://mastra.ai/integrations/databases/oracledb)
91
92
 
92
93
  ### Saving snapshots
93
94
 
@@ -139,12 +140,13 @@ export const mastra = new Mastra({
139
140
  })
140
141
  ```
141
142
 
142
- - [libSQL Storage](https://mastra.ai/reference/storage/libsql)
143
- - [PostgreSQL Storage](https://mastra.ai/reference/storage/postgresql)
144
- - [MongoDB Storage](https://mastra.ai/reference/storage/mongodb)
145
- - [Upstash Storage](https://mastra.ai/reference/storage/upstash)
146
- - [Cloudflare D1](https://mastra.ai/reference/storage/cloudflare-d1)
147
- - [DynamoDB](https://mastra.ai/reference/storage/dynamodb)
143
+ - [libSQL Storage](https://mastra.ai/integrations/databases/libsql)
144
+ - [PostgreSQL Storage](https://mastra.ai/integrations/databases/postgresql)
145
+ - [OracleDB Storage](https://mastra.ai/integrations/databases/oracledb)
146
+ - [MongoDB Storage](https://mastra.ai/integrations/databases/mongodb)
147
+ - [Upstash Storage](https://mastra.ai/integrations/databases/upstash)
148
+ - [Cloudflare D1](https://mastra.ai/integrations/databases/cloudflare-d1)
149
+ - [DynamoDB](https://mastra.ai/integrations/databases/dynamodb)
148
150
  - [More storage providers](https://mastra.ai/docs/storage/overview)
149
151
 
150
152
  ## Best practices
@@ -15,6 +15,8 @@ When you call `timeTravel()` on a workflow run:
15
15
  3. Execution begins from the specified step with the provided or reconstructed input data
16
16
  4. The workflow continues to completion from that point forward
17
17
 
18
+ If the workflow definition has changed since the run was recorded (for example, a step was renamed), or the recorded run never reached a step that precedes the target, time travel fails with a descriptive error before anything executes, and the stored snapshot is left unchanged.
19
+
18
20
  Time travel requires storage to be configured since it relies on persisted workflow snapshots.
19
21
 
20
22
  ## Basic usage
@@ -21,15 +21,15 @@ A filesystem provider handles all file operations for a workspace:
21
21
  Available providers:
22
22
 
23
23
  - [`LocalFilesystem`](https://mastra.ai/reference/workspace/local-filesystem): Stores files in a directory on disk
24
- - [`S3Filesystem`](https://mastra.ai/reference/workspace/s3-filesystem): Stores files in Amazon S3 or S3-compatible storage (R2, MinIO, Tigris)
25
- - [`GCSFilesystem`](https://mastra.ai/reference/workspace/gcs-filesystem): Stores files in Google Cloud Storage
24
+ - [`S3Filesystem`](https://mastra.ai/integrations/file-storage/amazon-s3): Stores files in Amazon S3 or S3-compatible storage (R2, MinIO, Tigris)
25
+ - [`GCSFilesystem`](https://mastra.ai/integrations/file-storage/google-cloud-storage): Stores files in Google Cloud Storage
26
26
  - [`PlatformFilesystem`](https://mastra.ai/reference/workspace/platform-filesystem): Stores files in a Mastra Platform workspace bucket
27
- - [`GoogleDriveFilesystem`](https://mastra.ai/reference/workspace/google-drive-filesystem): Stores files inside a Google Drive folder
28
- - [`AzureBlobFilesystem`](https://mastra.ai/reference/workspace/azure-blob-filesystem): Stores files in Azure Blob Storage
29
- - [`FilesSDKFilesystem`](https://mastra.ai/reference/workspace/files-sdk-filesystem): Stores files in any [FilesSDK](https://files-sdk.dev) adapter (S3, R2, GCS, Azure Blob, Vercel Blob, local filesystem, and more): useful when you want one provider that can target multiple backends
30
- - [`AgentFSFilesystem`](https://mastra.ai/reference/workspace/agentfs-filesystem): Stores files in a Turso/SQLite database via AgentFS
31
- - [`MesaFilesystem`](https://mastra.ai/reference/workspace/mesa-filesystem): Stores files in versioned Mesa repos
32
- - [`ArchilFilesystem`](https://mastra.ai/reference/workspace/archil-filesystem): Stores files on Archil elastic, serverless disks
27
+ - [`GoogleDriveFilesystem`](https://mastra.ai/integrations/file-storage/google-drive): Stores files inside a Google Drive folder
28
+ - [`AzureBlobFilesystem`](https://mastra.ai/integrations/file-storage/azure-blob): Stores files in Azure Blob Storage
29
+ - [`FilesSDKFilesystem`](https://mastra.ai/integrations/file-storage/vercel-files): Stores files in any [FilesSDK](https://files-sdk.dev) adapter (S3, R2, GCS, Azure Blob, Vercel Blob, local filesystem, and more): useful when you want one provider that can target multiple backends
30
+ - [`AgentFSFilesystem`](https://mastra.ai/integrations/file-storage/agentfs): Stores files in a Turso/SQLite database via AgentFS
31
+ - [`MesaFilesystem`](https://mastra.ai/integrations/file-storage/mesa): Stores files in versioned Mesa repos
32
+ - [`ArchilFilesystem`](https://mastra.ai/integrations/file-storage/archil): Stores files on Archil elastic, serverless disks
33
33
 
34
34
  > **Tip:** `LocalFilesystem` is the simplest way to get started as it requires no external services. For cloud storage, use `S3Filesystem`, `GCSFilesystem`, or `AzureBlobFilesystem`. For versioned storage, use `MesaFilesystem`. For database-backed storage without external services, use `AgentFSFilesystem`.
35
35
 
@@ -227,12 +227,12 @@ When you configure a filesystem on a workspace, agents receive tools for reading
227
227
  ## Related
228
228
 
229
229
  - [LocalFilesystem reference](https://mastra.ai/reference/workspace/local-filesystem)
230
- - [S3Filesystem reference](https://mastra.ai/reference/workspace/s3-filesystem)
231
- - [GCSFilesystem reference](https://mastra.ai/reference/workspace/gcs-filesystem)
232
- - [GoogleDriveFilesystem reference](https://mastra.ai/reference/workspace/google-drive-filesystem)
233
- - [AzureBlobFilesystem reference](https://mastra.ai/reference/workspace/azure-blob-filesystem)
234
- - [FilesSDKFilesystem reference](https://mastra.ai/reference/workspace/files-sdk-filesystem)
235
- - [AgentFSFilesystem reference](https://mastra.ai/reference/workspace/agentfs-filesystem)
236
- - [MesaFilesystem reference](https://mastra.ai/reference/workspace/mesa-filesystem)
230
+ - [S3Filesystem reference](https://mastra.ai/integrations/file-storage/amazon-s3)
231
+ - [GCSFilesystem reference](https://mastra.ai/integrations/file-storage/google-cloud-storage)
232
+ - [GoogleDriveFilesystem reference](https://mastra.ai/integrations/file-storage/google-drive)
233
+ - [AzureBlobFilesystem reference](https://mastra.ai/integrations/file-storage/azure-blob)
234
+ - [FilesSDKFilesystem reference](https://mastra.ai/integrations/file-storage/vercel-files)
235
+ - [AgentFSFilesystem reference](https://mastra.ai/integrations/file-storage/agentfs)
236
+ - [MesaFilesystem reference](https://mastra.ai/integrations/file-storage/mesa)
237
237
  - [Workspace overview](https://mastra.ai/docs/workspace/overview)
238
238
  - [Sandbox](https://mastra.ai/docs/workspace/sandbox)
@@ -19,18 +19,17 @@ A sandbox provider executes commands in a controlled environment:
19
19
 
20
20
  ## Supported providers
21
21
 
22
- - [`LocalSandbox`](https://mastra.ai/reference/workspace/local-sandbox): Executes commands on the local machine
23
- - [`AgentCoreRuntimeSandbox`](https://mastra.ai/reference/workspace/agentcore-runtime-sandbox): Executes commands in AWS Bedrock AgentCore Runtime sessions
24
- - [`AppleContainerSandbox`](https://mastra.ai/reference/workspace/apple-container-sandbox): Executes commands in local OCI Linux containers using Apple's `container` CLI
25
- - [`BlaxelSandbox`](https://mastra.ai/reference/workspace/blaxel-sandbox): Executes commands in isolated Blaxel cloud sandboxes
26
- - [`DaytonaSandbox`](https://mastra.ai/reference/workspace/daytona-sandbox): Executes commands in isolated Daytona cloud sandboxes
27
- - [`DockerSandbox`](https://mastra.ai/reference/workspace/docker-sandbox): Executes commands in long-lived Docker containers on the local machine
28
- - [`E2BSandbox`](https://mastra.ai/reference/workspace/e2b-sandbox): Executes commands in isolated E2B cloud sandboxes
29
- - [`ModalSandbox`](https://mastra.ai/reference/workspace/modal-sandbox): Executes commands in isolated Modal cloud sandboxes
30
- - [`PlatformSandbox`](https://mastra.ai/reference/workspace/platform-sandbox): Executes commands in a sandbox tied to a Mastra Platform environment
31
- - [`RailwaySandbox`](https://mastra.ai/reference/workspace/railway-sandbox): Executes commands in ephemeral, isolated Railway cloud sandboxes
32
- - [`VercelSandbox`](https://mastra.ai/reference/workspace/vercel-sandbox): Executes commands in an ephemeral Vercel Sandbox Firecracker MicroVM
33
- - [`VercelServerlessSandbox`](https://mastra.ai/reference/workspace/vercel-serverless): Executes commands as stateless Vercel serverless functions
22
+ - [AgentCore](https://mastra.ai/integrations/sandboxes/agentcore)
23
+ - [Apple Container](https://mastra.ai/integrations/sandboxes/apple-container)
24
+ - [Blaxel](https://mastra.ai/integrations/sandboxes/blaxel)
25
+ - [Daytona](https://mastra.ai/integrations/sandboxes/daytona)
26
+ - [Docker](https://mastra.ai/integrations/sandboxes/docker)
27
+ - [E2B](https://mastra.ai/integrations/sandboxes/e2b)
28
+ - [LocalSandbox](https://mastra.ai/reference/workspace/local-sandbox)
29
+ - [Mastra](https://mastra.ai/reference/workspace/platform-sandbox)
30
+ - [Modal](https://mastra.ai/integrations/sandboxes/modal)
31
+ - [Railway](https://mastra.ai/integrations/sandboxes/railway)
32
+ - [Vercel](https://mastra.ai/integrations/sandboxes/vercel)
34
33
 
35
34
  ## Basic usage
36
35
 
@@ -234,13 +233,13 @@ Use `null` or `false` for cloud sandboxes (for example, E2B, Daytona, or Modal)
234
233
  ## Related
235
234
 
236
235
  - [`SandboxProcessManager` reference](https://mastra.ai/reference/workspace/process-manager)
237
- - [`AgentCoreRuntimeSandbox` reference](https://mastra.ai/reference/workspace/agentcore-runtime-sandbox)
238
- - [`AppleContainerSandbox` reference](https://mastra.ai/reference/workspace/apple-container-sandbox)
239
- - [`DaytonaSandbox` reference](https://mastra.ai/reference/workspace/daytona-sandbox)
240
- - [`E2BSandbox` reference](https://mastra.ai/reference/workspace/e2b-sandbox)
236
+ - [`AgentCoreRuntimeSandbox` reference](https://mastra.ai/integrations/sandboxes/agentcore)
237
+ - [`AppleContainerSandbox` reference](https://mastra.ai/integrations/sandboxes/apple-container)
238
+ - [`DaytonaSandbox` reference](https://mastra.ai/integrations/sandboxes/daytona)
239
+ - [`E2BSandbox` reference](https://mastra.ai/integrations/sandboxes/e2b)
241
240
  - [`LocalSandbox` reference](https://mastra.ai/reference/workspace/local-sandbox)
242
- - [`ModalSandbox` reference](https://mastra.ai/reference/workspace/modal-sandbox)
243
- - [`VercelSandbox` reference](https://mastra.ai/reference/workspace/vercel-sandbox)
244
- - [`VercelServerlessSandbox` reference](https://mastra.ai/reference/workspace/vercel-serverless)
241
+ - [`ModalSandbox` reference](https://mastra.ai/integrations/sandboxes/modal)
242
+ - [`VercelSandbox` reference](https://mastra.ai/integrations/sandboxes/vercel)
243
+ - [`VercelServerlessSandbox` reference](https://mastra.ai/integrations/sandboxes/vercel)
245
244
  - [Workspace overview](https://mastra.ai/docs/workspace/overview)
246
245
  - [Filesystem](https://mastra.ai/docs/workspace/filesystem)
@@ -280,5 +280,5 @@ When you configure search on a workspace, agents receive tools for searching and
280
280
  ## Related
281
281
 
282
282
  - [Workspace overview](https://mastra.ai/docs/workspace/overview)
283
- - [RAG overview](https://mastra.ai/guides/rag/overview)
283
+ - [RAG overview](https://mastra.ai/reference/rag/overview)
284
284
  - [Workspace class reference](https://mastra.ai/reference/workspace/workspace-class)
@@ -1,12 +1,12 @@
1
1
  > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
2
 
3
- # Using AI SDK UI
3
+ # AI SDK UI
4
4
 
5
5
  [AI SDK UI](https://sdk.vercel.ai) is a library of React utilities and components for building AI-powered interfaces. In this guide, you'll learn how to use `@mastra/ai-sdk` to convert Mastra's output to AI SDK-compatible formats, enabling you to use its hooks and components in your frontend.
6
6
 
7
- > **Note:** Migrating from AI SDK v4 to v5? See the [migration guide](https://mastra.ai/guides/migrations/ai-sdk-v4-to-v5).
7
+ > **Note:** Migrating from AI SDK v4 to v5? See the [migration guide](https://mastra.ai/reference/migrations/ai-sdk-v4-to-v5).
8
8
 
9
- > **Tip:** Want to see more examples? Visit Mastra's [**UI Dojo**](https://ui-dojo.mastra.ai/) or the [Next.js quickstart guide](https://mastra.ai/guides/getting-started/next-js).
9
+ > **Tip:** Want to see more examples? Visit Mastra's [**UI Dojo**](https://ui-dojo.mastra.ai/) or the [Next.js quickstart guide](https://mastra.ai/integrations/frameworks/next-js).
10
10
 
11
11
  ## Getting started
12
12
 
@@ -55,7 +55,7 @@ Once you have your API routes set up, you can use them in the [`useChat()`](#use
55
55
 
56
56
  Run Mastra as a standalone server and connect your frontend (e.g. using Vite + React) to its API endpoints. You'll be using Mastra's [custom API routes](https://mastra.ai/docs/server/custom-api-routes) feature for this.
57
57
 
58
- > **Info:** Mastra's [**UI Dojo**](https://ui-dojo.mastra.ai/) is an example of this setup.
58
+ > **Note:** Mastra's [**UI Dojo**](https://ui-dojo.mastra.ai/) is an example of this setup.
59
59
 
60
60
  You can use [`chatRoute()`](https://mastra.ai/reference/ai-sdk/chat-route), [`workflowRoute()`](https://mastra.ai/reference/ai-sdk/workflow-route), and [`networkRoute()`](https://mastra.ai/reference/ai-sdk/network-route) to create API routes that stream Mastra content in AI SDK-compatible format. Once implemented, you can use these API routes in [`useChat()`](#usechat).
61
61
 
@@ -1023,7 +1023,7 @@ export const mastra = new Mastra({
1023
1023
  })
1024
1024
  ```
1025
1025
 
1026
- > **Info:** You can access this data in your tools via the `requestContext` parameter. See the [Request Context documentation](https://mastra.ai/docs/server/request-context) for more details.
1026
+ > **Note:** You can access this data in your tools via the `requestContext` parameter. See the [Request Context documentation](https://mastra.ai/docs/server/request-context) for more details.
1027
1027
 
1028
1028
  **Next.js**:
1029
1029
 
@@ -1383,7 +1383,7 @@ export function NestedAgentChat() {
1383
1383
  Key points:
1384
1384
 
1385
1385
  - Piping `fullStream` to `context.writer` creates `data-tool-agent` parts
1386
- - Read `data-tool-agent-step` when you need the full payload for the nested step that just finished
1386
+ - Read `data-tool-agent-step` when you need the full payload for the nested step that finished
1387
1387
  - The `AgentDataPart` has `id` (on the part) and `data.text` (the current nested-agent text snapshot)
1388
1388
  - The tool still returns its own output after the stream completes
1389
1389
 
@@ -1,10 +1,10 @@
1
1
  > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
2
 
3
- # Using Assistant UI
3
+ # Assistant UI
4
4
 
5
5
  [Assistant UI](https://assistant-ui.com) is the TypeScript/React library for AI Chat. Built on shadcn/ui and Tailwind CSS, it enables developers to create beautiful, enterprise-grade chat experiences in minutes.
6
6
 
7
- > **Info:** For a full-stack integration approach where Mastra runs directly in your Next.js API routes, see the [Full-Stack Integration Guide](https://www.assistant-ui.com/docs/integrations/frameworks/mastra/full-stack) on Assistant UI's documentation site.
7
+ > **Note:** For a full-stack integration approach where Mastra runs directly in your Next.js API routes, see the [Full-Stack Integration Guide](https://www.assistant-ui.com/docs/integrations/frameworks/mastra/full-stack) on Assistant UI's documentation site.
8
8
 
9
9
  Visit Mastra's [**"UI Dojo"**](https://ui-dojo.mastra.ai/) to see real-world examples of Assistant UI integrated with Mastra.
10
10