@mastra/mcp-docs-server 0.13.1 → 0.13.2-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 (102) hide show
  1. package/.docs/organized/changelogs/%40internal%2Fstorage-test-utils.md +21 -0
  2. package/.docs/organized/changelogs/%40mastra%2Fagui.md +37 -0
  3. package/.docs/organized/changelogs/%40mastra%2Fastra.md +25 -25
  4. package/.docs/organized/changelogs/%40mastra%2Fchroma.md +48 -48
  5. package/.docs/organized/changelogs/%40mastra%2Fclickhouse.md +71 -71
  6. package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +62 -62
  7. package/.docs/organized/changelogs/%40mastra%2Fcloud.md +25 -25
  8. package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +68 -68
  9. package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +37 -37
  10. package/.docs/organized/changelogs/%40mastra%2Fcore.md +64 -64
  11. package/.docs/organized/changelogs/%40mastra%2Fcouchbase.md +37 -31
  12. package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +80 -80
  13. package/.docs/organized/changelogs/%40mastra%2Fdeployer-netlify.md +77 -77
  14. package/.docs/organized/changelogs/%40mastra%2Fdeployer-vercel.md +73 -73
  15. package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +94 -94
  16. package/.docs/organized/changelogs/%40mastra%2Fdynamodb.md +80 -41
  17. package/.docs/organized/changelogs/%40mastra%2Fevals.md +36 -36
  18. package/.docs/organized/changelogs/%40mastra%2Ffirecrawl.md +42 -42
  19. package/.docs/organized/changelogs/%40mastra%2Fgithub.md +36 -36
  20. package/.docs/organized/changelogs/%40mastra%2Flance.md +59 -0
  21. package/.docs/organized/changelogs/%40mastra%2Flibsql.md +62 -62
  22. package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +65 -65
  23. package/.docs/organized/changelogs/%40mastra%2Fmcp-registry-registry.md +45 -45
  24. package/.docs/organized/changelogs/%40mastra%2Fmcp.md +56 -56
  25. package/.docs/organized/changelogs/%40mastra%2Fmem0.md +36 -36
  26. package/.docs/organized/changelogs/%40mastra%2Fmemory.md +58 -58
  27. package/.docs/organized/changelogs/%40mastra%2Fmongodb.md +74 -74
  28. package/.docs/organized/changelogs/%40mastra%2Fopensearch.md +47 -0
  29. package/.docs/organized/changelogs/%40mastra%2Fpg.md +75 -75
  30. package/.docs/organized/changelogs/%40mastra%2Fpinecone.md +14 -14
  31. package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +107 -107
  32. package/.docs/organized/changelogs/%40mastra%2Fqdrant.md +37 -37
  33. package/.docs/organized/changelogs/%40mastra%2Frag.md +41 -41
  34. package/.docs/organized/changelogs/%40mastra%2Fragie.md +36 -36
  35. package/.docs/organized/changelogs/%40mastra%2Fschema-compat.md +6 -0
  36. package/.docs/organized/changelogs/%40mastra%2Fserver.md +61 -61
  37. package/.docs/organized/changelogs/%40mastra%2Fturbopuffer.md +37 -37
  38. package/.docs/organized/changelogs/%40mastra%2Fupstash.md +75 -75
  39. package/.docs/organized/changelogs/%40mastra%2Fvectorize.md +14 -14
  40. package/.docs/organized/changelogs/%40mastra%2Fvoice-azure.md +24 -24
  41. package/.docs/organized/changelogs/%40mastra%2Fvoice-cloudflare.md +36 -36
  42. package/.docs/organized/changelogs/%40mastra%2Fvoice-deepgram.md +36 -36
  43. package/.docs/organized/changelogs/%40mastra%2Fvoice-elevenlabs.md +36 -36
  44. package/.docs/organized/changelogs/%40mastra%2Fvoice-gladia.md +34 -0
  45. package/.docs/organized/changelogs/%40mastra%2Fvoice-google.md +36 -36
  46. package/.docs/organized/changelogs/%40mastra%2Fvoice-murf.md +37 -37
  47. package/.docs/organized/changelogs/%40mastra%2Fvoice-openai-realtime.md +25 -25
  48. package/.docs/organized/changelogs/%40mastra%2Fvoice-openai.md +36 -36
  49. package/.docs/organized/changelogs/%40mastra%2Fvoice-playai.md +36 -36
  50. package/.docs/organized/changelogs/%40mastra%2Fvoice-sarvam.md +36 -36
  51. package/.docs/organized/changelogs/%40mastra%2Fvoice-speechify.md +36 -36
  52. package/.docs/organized/changelogs/create-mastra.md +35 -35
  53. package/.docs/organized/changelogs/mastra.md +116 -116
  54. package/.docs/organized/code-examples/a2a.md +1 -1
  55. package/.docs/organized/code-examples/agent-network.md +125 -7
  56. package/.docs/organized/code-examples/agent.md +1 -1
  57. package/.docs/organized/code-examples/agui.md +4 -4
  58. package/.docs/organized/code-examples/ai-sdk-useChat.md +6 -6
  59. package/.docs/organized/code-examples/assistant-ui.md +5 -5
  60. package/.docs/organized/code-examples/bird-checker-with-express.md +1 -1
  61. package/.docs/organized/code-examples/bird-checker-with-nextjs-and-eval.md +5 -5
  62. package/.docs/organized/code-examples/bird-checker-with-nextjs.md +5 -5
  63. package/.docs/organized/code-examples/client-side-tools.md +6 -6
  64. package/.docs/organized/code-examples/crypto-chatbot.md +4 -4
  65. package/.docs/organized/code-examples/experimental-auth-weather-agent.md +1 -1
  66. package/.docs/organized/code-examples/fireworks-r1.md +1 -1
  67. package/.docs/organized/code-examples/mcp-configuration.md +2 -2
  68. package/.docs/organized/code-examples/mcp-registry-registry.md +1 -1
  69. package/.docs/organized/code-examples/memory-per-resource-example.md +236 -0
  70. package/.docs/organized/code-examples/memory-with-mem0.md +1 -1
  71. package/.docs/organized/code-examples/memory-with-processors.md +1 -1
  72. package/.docs/organized/code-examples/openapi-spec-writer.md +5 -5
  73. package/.docs/organized/code-examples/quick-start.md +1 -1
  74. package/.docs/organized/code-examples/stock-price-tool.md +1 -1
  75. package/.docs/organized/code-examples/weather-agent.md +1 -1
  76. package/.docs/organized/code-examples/workflow-ai-recruiter.md +1 -1
  77. package/.docs/organized/code-examples/workflow-with-inline-steps.md +1 -1
  78. package/.docs/organized/code-examples/workflow-with-memory.md +1 -1
  79. package/.docs/organized/code-examples/workflow-with-separate-steps.md +1 -1
  80. package/.docs/raw/frameworks/agentic-uis/copilotkit.mdx +53 -10
  81. package/.docs/raw/local-dev/mastra-dev.mdx +103 -105
  82. package/.docs/raw/mastra-cloud/dashboard.mdx +100 -0
  83. package/.docs/raw/mastra-cloud/observability.mdx +24 -138
  84. package/.docs/raw/mastra-cloud/overview.mdx +50 -42
  85. package/.docs/raw/mastra-cloud/setting-up.mdx +51 -87
  86. package/.docs/raw/memory/overview.mdx +4 -0
  87. package/.docs/raw/memory/working-memory.mdx +88 -1
  88. package/.docs/raw/observability/nextjs-tracing.mdx +2 -2
  89. package/.docs/raw/reference/storage/libsql.mdx +1 -0
  90. package/.docs/raw/reference/tools/vector-query-tool.mdx +1 -0
  91. package/.docs/raw/reference/workflows/sleep.mdx +43 -0
  92. package/.docs/raw/reference/workflows/sleepUntil.mdx +43 -0
  93. package/.docs/raw/reference/workflows/waitForEvent.mdx +49 -0
  94. package/.docs/raw/storage/overview.mdx +50 -1
  95. package/.docs/raw/tools-mcp/mcp-overview.mdx +52 -0
  96. package/.docs/raw/workflows/inngest-workflow.mdx +1 -1
  97. package/.docs/raw/workflows/input-data-mapping.mdx +4 -4
  98. package/.docs/raw/workflows/pausing-execution.mdx +60 -0
  99. package/package.json +6 -6
  100. package/.docs/raw/local-dev/add-to-existing-project.mdx +0 -43
  101. package/.docs/raw/local-dev/creating-a-new-project.mdx +0 -53
  102. package/.docs/raw/mastra-cloud/deploying.mdx +0 -142
@@ -1,5 +1,120 @@
1
1
  # mastra
2
2
 
3
+ ## 0.10.7-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 5d74aab: vNext network in playground
8
+ - 17903a3: Remove install step from dev for telemetry
9
+ - 8e1b6e9: dependencies updates:
10
+ - Updated dependency [`zod@^3.25.67` ↗︎](https://www.npmjs.com/package/zod/v/3.25.67) (from `^3.25.57`, in `dependencies`)
11
+ - be3d5a3: Remove recharts and ramada (unused deps)
12
+ - Updated dependencies [8e1b6e9]
13
+ - Updated dependencies [36cd0f1]
14
+ - Updated dependencies [2eab82b]
15
+ - Updated dependencies [ee93d96]
16
+ - Updated dependencies [c00039d]
17
+ - Updated dependencies [15e9d26]
18
+ - Updated dependencies [9bf1d55]
19
+ - Updated dependencies [914684e]
20
+ - Updated dependencies [07d6d88]
21
+ - Updated dependencies [5d74aab]
22
+ - Updated dependencies [5d74aab]
23
+ - Updated dependencies [17903a3]
24
+ - Updated dependencies [144eb0b]
25
+ - @mastra/deployer@0.10.7-alpha.2
26
+ - @mastra/mcp@0.10.5-alpha.1
27
+ - @mastra/core@0.10.7-alpha.2
28
+
29
+ ## 0.10.7-alpha.1
30
+
31
+ ### Patch Changes
32
+
33
+ - 21ffb97: Make dynamic form handle schema better
34
+ - Updated dependencies [d1baedb]
35
+ - Updated dependencies [4d21bf2]
36
+ - Updated dependencies [2097952]
37
+ - Updated dependencies [4fb0cc2]
38
+ - Updated dependencies [d2a7a31]
39
+ - Updated dependencies [0e17048]
40
+ - @mastra/core@0.10.7-alpha.1
41
+ - @mastra/mcp@0.10.5-alpha.0
42
+ - @mastra/deployer@0.10.7-alpha.1
43
+
44
+ ## 0.10.7-alpha.0
45
+
46
+ ### Patch Changes
47
+
48
+ - 9102d89: Fix final output not showing on playground for previously suspended steps
49
+ - Updated dependencies [d8f2d19]
50
+ - Updated dependencies [9d52b17]
51
+ - Updated dependencies [8ba1b51]
52
+ - @mastra/core@0.10.7-alpha.0
53
+ - @mastra/deployer@0.10.7-alpha.0
54
+
55
+ ## 0.10.6
56
+
57
+ ### Patch Changes
58
+
59
+ - 02560d4: lift evals fetching to the playground package instead
60
+ - 084f6aa: Add logs to circular dependency to warn people when starting server might break
61
+ - b29c802: Remove open browser
62
+ - 5f2aa3e: Move workflow hooks to playground
63
+ - 4051477: dependencies updates:
64
+ - Updated dependency [`@clack/prompts@^0.11.0` ↗︎](https://www.npmjs.com/package/@clack/prompts/v/0.11.0) (from `^0.8.2`, in `dependencies`)
65
+ - Updated dependency [`@opentelemetry/instrumentation@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/instrumentation/v/0.202.0) (from `^0.57.2`, in `dependencies`)
66
+ - Updated dependency [`posthog-node@4.18.0` ↗︎](https://www.npmjs.com/package/posthog-node/v/4.18.0) (from `4.16.0`, in `dependencies`)
67
+ - Updated dependency [`yocto-spinner@^0.2.3` ↗︎](https://www.npmjs.com/package/yocto-spinner/v/0.2.3) (from `^0.1.2`, in `dependencies`)
68
+ - Added dependency [`open@^10.1.2` ↗︎](https://www.npmjs.com/package/open/v/10.1.2) (to `dependencies`)
69
+ - b40f365: dependencies updates:
70
+ - Updated dependency [`@clack/prompts@^0.11.0` ↗︎](https://www.npmjs.com/package/@clack/prompts/v/0.11.0) (from `^0.8.2`, in `dependencies`)
71
+ - Updated dependency [`@opentelemetry/instrumentation@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/instrumentation/v/0.202.0) (from `^0.57.2`, in `dependencies`)
72
+ - Updated dependency [`posthog-node@4.18.0` ↗︎](https://www.npmjs.com/package/posthog-node/v/4.18.0) (from `4.16.0`, in `dependencies`)
73
+ - Updated dependency [`yocto-spinner@^0.2.3` ↗︎](https://www.npmjs.com/package/yocto-spinner/v/0.2.3) (from `^0.1.2`, in `dependencies`)
74
+ - 63f6b7d: dependencies updates:
75
+ - Updated dependency [`execa@^9.6.0` ↗︎](https://www.npmjs.com/package/execa/v/9.6.0) (from `^9.5.2`, in `dependencies`)
76
+ - Updated dependency [`json-schema-to-zod@^2.6.1` ↗︎](https://www.npmjs.com/package/json-schema-to-zod/v/2.6.1) (from `^2.6.0`, in `dependencies`)
77
+ - Updated dependency [`shell-quote@^1.8.3` ↗︎](https://www.npmjs.com/package/shell-quote/v/1.8.3) (from `^1.8.2`, in `dependencies`)
78
+ - Updated dependency [`strip-json-comments@^5.0.2` ↗︎](https://www.npmjs.com/package/strip-json-comments/v/5.0.2) (from `^5.0.1`, in `dependencies`)
79
+ - Updated dependency [`zod@^3.25.57` ↗︎](https://www.npmjs.com/package/zod/v/3.25.57) (from `^3.25.56`, in `dependencies`)
80
+ - 143b4e4: Fix globbing of tools to only capture js/ts files
81
+ - 44ba52d: Add proper error message when installation of mastra fails
82
+ - 311132e: move useWorkflow to playground instead of playground-ui
83
+ - 3270d9d: Fix runtime context being undefined
84
+ - 906f992: CLI error log
85
+ - 53d3c37: Get workflows from an agent if not found from Mastra instance #5083
86
+ - fc677d7: For final result for a workflow
87
+ - 47e7029: Add open browser functionality when running mastra dev
88
+ - Updated dependencies [63f6b7d]
89
+ - Updated dependencies [4051477]
90
+ - Updated dependencies [2d12edd]
91
+ - Updated dependencies [63f6b7d]
92
+ - Updated dependencies [c28ed65]
93
+ - Updated dependencies [63f6b7d]
94
+ - Updated dependencies [12a95fc]
95
+ - Updated dependencies [79b9909]
96
+ - Updated dependencies [4b0f8a6]
97
+ - Updated dependencies [51264a5]
98
+ - Updated dependencies [8e6f677]
99
+ - Updated dependencies [d70c420]
100
+ - Updated dependencies [ee9af57]
101
+ - Updated dependencies [ec7f824]
102
+ - Updated dependencies [36f1c36]
103
+ - Updated dependencies [084f6aa]
104
+ - Updated dependencies [2a16996]
105
+ - Updated dependencies [10d352e]
106
+ - Updated dependencies [9589624]
107
+ - Updated dependencies [bd1674f]
108
+ - Updated dependencies [69f76f7]
109
+ - Updated dependencies [3270d9d]
110
+ - Updated dependencies [53d3c37]
111
+ - Updated dependencies [751c894]
112
+ - Updated dependencies [577ce3a]
113
+ - Updated dependencies [9260b3a]
114
+ - @mastra/core@0.10.6
115
+ - @mastra/deployer@0.10.6
116
+ - @mastra/mcp@0.10.4
117
+
3
118
  ## 0.10.6-alpha.7
4
119
 
5
120
  ### Patch Changes
@@ -183,120 +298,5 @@
183
298
  ### Patch Changes
184
299
 
185
300
  - 4c4ee43: [fix] recreate resizable sidebar on workflow
186
- - Updated dependencies [66f4424]
187
- - @mastra/loggers@0.10.2-alpha.1
188
-
189
- ## 0.10.4-alpha.4
190
-
191
- ### Patch Changes
192
-
193
- - Updated dependencies [925ab94]
194
- - @mastra/core@0.10.4-alpha.3
195
- - @mastra/deployer@0.10.4-alpha.3
196
-
197
- ## 0.10.4-alpha.3
198
-
199
- ### Patch Changes
200
-
201
- - Updated dependencies [48eddb9]
202
- - @mastra/core@0.10.4-alpha.2
203
- - @mastra/deployer@0.10.4-alpha.2
204
-
205
- ## 0.10.4-alpha.2
206
-
207
- ### Patch Changes
208
-
209
- - e719504: don't start posthog when the browser is Brave
210
- - b4ee346: Reintroduce --env flag for mastra dev, build
211
-
212
- ## 0.10.4-alpha.1
213
-
214
- ### Patch Changes
215
-
216
- - 8e1994a: Fix bug where port auto increments on restart
217
- - 125b1c6: Updated @mastra/mcp-docs-server configuration in create-mastra for Windows - the cmd /c workaround for Cursor/Windsurf is no longer required
218
- - 1ccccff: dependencies updates:
219
- - Updated dependency [`zod@^3.25.56` ↗︎](https://www.npmjs.com/package/zod/v/3.25.56) (from `^3.24.3`, in `dependencies`)
220
- - 1ccccff: dependencies updates:
221
- - Updated dependency [`zod@^3.25.56` ↗︎](https://www.npmjs.com/package/zod/v/3.25.56) (from `^3.24.3`, in `dependencies`)
222
- - 26f0031: Removed @latest from @mastra/mcp-docs-server scaffolded configuration for Windsurf/Cursor/VSCode. There is an npx caching issue that causes @latest to break the MCP server for many users, and for now removing @latest makes it work. We will debug this more but for now having a working docs server is more important than it updating every time users start their IDE.
223
- - Updated dependencies [d90c49f]
224
- - Updated dependencies [1ccccff]
225
- - Updated dependencies [1ccccff]
226
- - Updated dependencies [f6fd25f]
227
- - Updated dependencies [dffb67b]
228
- - Updated dependencies [9597ee5]
229
- - Updated dependencies [fc579cd]
230
- - Updated dependencies [514fdde]
231
- - Updated dependencies [f1309d3]
232
- - Updated dependencies [bebd27c]
233
- - Updated dependencies [f7f8293]
234
- - @mastra/deployer@0.10.4-alpha.1
235
- - @mastra/core@0.10.4-alpha.1
236
- - @mastra/mcp@0.10.3-alpha.0
237
-
238
- ## 0.10.4-alpha.0
239
-
240
- ### Patch Changes
241
-
242
- - afd9fda: Reset retry-count on code change and only retry if server actually is running
243
-
244
- Fixes #4563
245
-
246
- - f1f1f1b: Add basic filtering capabilities to logs
247
- - 82090c1: Add pagination to logs
248
- - d1ed912: dependencies updates:
249
- - Updated dependency [`dotenv@^16.5.0` ↗︎](https://www.npmjs.com/package/dotenv/v/16.5.0) (from `^16.4.7`, in `dependencies`)
250
- - d7d41f0: Fix mastra dev cmd
251
- - 8f60de4: fix workflow output when the schema is a primitive
252
- - a528bdb: Add dynamic port allocation if port is already in use
253
- - Updated dependencies [d1ed912]
254
- - Updated dependencies [d1ed912]
255
- - Updated dependencies [f595975]
256
- - Updated dependencies [afd9fda]
257
- - Updated dependencies [f1f1f1b]
258
- - Updated dependencies [f9816ae]
259
- - Updated dependencies [82090c1]
260
- - Updated dependencies [69f6101]
261
- - Updated dependencies [1b443fd]
262
- - Updated dependencies [ce97900]
263
- - Updated dependencies [14a2566]
264
- - @mastra/core@0.10.4-alpha.0
265
- - @mastra/deployer@0.10.4-alpha.0
266
- - @mastra/loggers@0.10.2-alpha.0
267
-
268
- ## 0.10.3
269
-
270
- ### Patch Changes
271
-
272
- - Updated dependencies [2b0fc7e]
273
- - @mastra/core@0.10.3
274
- - @mastra/deployer@0.10.3
275
-
276
- ## 0.10.3-alpha.0
277
-
278
- ### Patch Changes
279
-
280
- - Updated dependencies [2b0fc7e]
281
- - @mastra/core@0.10.3-alpha.0
282
- - @mastra/deployer@0.10.3-alpha.0
283
-
284
- ## 0.10.2
285
-
286
- ### Patch Changes
287
301
 
288
- - 73fec0b: Mastra start cli command"
289
- - 401bbae: Show workflow graph from stepGraph of previous runs when viewing a previous run
290
- - 592a2db: Added different icons for agents and workflows in mcp tools list
291
- - 1b5fc55: Fixed an issue where the playground wouldn't display images saved in memory. Fixed memory to always store images as strings. Removed duplicate storage of reasoning and file/image parts in storage dbs
292
- - f73e11b: fix telemetry disabled not working on playground
293
- - 9666468: move the fetch traces call to the playground instead of playground-ui
294
- - 1fcc048: chore: generate sourcemaps in dev build
295
- - 90e96de: Fix: prevent default flag from triggering interactive prompt
296
- - a399086: Bumping because we forgot to
297
- - 89a69d0: add a way to go to the given trace of a workflow step
298
- - 6fd77b5: add docs and txt support for multi modal
299
- - 9faee5b: small fixes in the workflows graph
300
- - 631683f: move workflow runs list in playground-ui instead of playground
301
-
302
- ... 3834 more lines hidden. See full changelog in package directory.
302
+ ... 3949 more lines hidden. See full changelog in package directory.
@@ -27,7 +27,7 @@
27
27
  "@mastra/core": "latest",
28
28
  "@mastra/loggers": "link:../../packages/loggers",
29
29
  "dotenv": "^16.3.1",
30
- "zod": "^3.25.56"
30
+ "zod": "^3.25.67"
31
31
  },
32
32
  "devDependencies": {
33
33
  "mastra": "latest",
@@ -17,14 +17,18 @@
17
17
  "@ai-sdk/openai": "^1.3.22",
18
18
  "@mastra/client-js": "latest",
19
19
  "@mastra/core": "latest",
20
+ "@mastra/libsql": "latest",
20
21
  "@mastra/loggers": "latest",
21
- "zod": "^3.25.56"
22
+ "@mastra/memory": "latest",
23
+ "zod": "^3.25.67"
22
24
  },
23
25
  "pnpm": {
24
26
  "overrides": {
25
27
  "@mastra/client-js": "link:../../client-sdks/client-js",
26
28
  "@mastra/core": "link:../../packages/core",
27
- "@mastra/loggers": "link:../../packages/loggers"
29
+ "@mastra/libsql": "link:../../stores/libsql",
30
+ "@mastra/loggers": "link:../../packages/loggers",
31
+ "@mastra/memory": "link:../../packages/memory"
28
32
  }
29
33
  },
30
34
  "packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
@@ -198,19 +202,28 @@ export const dataAnalysisAgent = new Agent({
198
202
  ```typescript
199
203
  import { Mastra } from '@mastra/core';
200
204
  import { PinoLogger } from '@mastra/loggers';
201
- import { researchNetwork } from './network';
205
+ // import { researchNetwork } from './network';
202
206
  import { webSearchAgent } from './agents';
203
- import { agentWorkflow } from './workflows';
207
+ // import { agentWorkflow } from './workflows';
208
+ import { v_nextNetwork } from './network/v-next';
209
+ import { LibSQLStore } from '@mastra/libsql';
210
+ import { workflow1 } from './network/v-next';
204
211
 
205
212
  export const mastra = new Mastra({
206
213
  agents: {
207
214
  webSearchAgent,
208
215
  },
209
- networks: {
210
- researchNetwork,
216
+ // networks: {
217
+ // researchNetwork,
218
+ // },
219
+ vnext_networks: {
220
+ v_nextNetwork,
211
221
  },
222
+ storage: new LibSQLStore({
223
+ url: 'file:../mastra.db', // Or your database URL
224
+ }),
212
225
  workflows: {
213
- agentWorkflow,
226
+ workflow1,
214
227
  },
215
228
  logger: new PinoLogger({ name: 'Chef', level: 'info' }),
216
229
  serverMiddleware: [
@@ -263,6 +276,111 @@ export const researchNetwork = new AgentNetwork({
263
276
 
264
277
  ```
265
278
 
279
+ ### mastra/network/v-next.ts
280
+ ```typescript
281
+ import { openai } from '@ai-sdk/openai';
282
+ import { NewAgentNetwork } from '@mastra/core/network/vNext';
283
+ import { Agent } from '@mastra/core/agent';
284
+ import { createStep, createWorkflow } from '@mastra/core/workflows';
285
+ import { LibSQLStore } from '@mastra/libsql';
286
+ import { Memory } from '@mastra/memory';
287
+ import { z } from 'zod';
288
+
289
+ const memory = new Memory({
290
+ storage: new LibSQLStore({
291
+ url: 'file:../mastra.db', // Or your database URL
292
+ }),
293
+ });
294
+
295
+ const agent1 = new Agent({
296
+ name: 'agent1',
297
+ instructions:
298
+ 'This agent is used to do research, but not create full responses. Answer in bullet points only and be concise.',
299
+ description:
300
+ 'This agent is used to do research, but not create full responses. Answer in bullet points only and be concise.',
301
+ model: openai('gpt-4o'),
302
+ });
303
+
304
+ const agent2 = new Agent({
305
+ name: 'agent2',
306
+ description: 'This agent is used to do text synthesis on researched material. It writes articles in full paragraphs.',
307
+ instructions:
308
+ 'This agent is used to do text synthesis on researched material. Write a full report based on the researched material. Do not use bullet points. Write full paragraphs. There should not be a single bullet point in the final report. You write articles.',
309
+ model: openai('gpt-4o'),
310
+ });
311
+
312
+ const agentStep1 = createStep({
313
+ id: 'agent-workflow-step-1',
314
+ description: 'This step is used to do research and text synthesis.',
315
+ inputSchema: z.object({
316
+ city: z.string().describe('The city to research'),
317
+ }),
318
+ outputSchema: z.object({
319
+ text: z.string(),
320
+ }),
321
+ execute: async ({ inputData }) => {
322
+ const resp = await agent1.generate(inputData.city, {
323
+ output: z.object({
324
+ text: z.string(),
325
+ }),
326
+ });
327
+
328
+ return { text: resp.object.text };
329
+ },
330
+ });
331
+
332
+ const agentStep2 = createStep({
333
+ id: 'agent-workflow-step-2',
334
+ description: 'This step is used to do research and text synthesis.',
335
+ inputSchema: z.object({
336
+ text: z.string().describe('The city to research'),
337
+ }),
338
+ outputSchema: z.object({
339
+ text: z.string(),
340
+ }),
341
+ execute: async ({ inputData }) => {
342
+ const resp = await agent2.generate(inputData.text, {
343
+ output: z.object({
344
+ text: z.string(),
345
+ }),
346
+ });
347
+
348
+ return { text: resp.object.text };
349
+ },
350
+ });
351
+
352
+ export const workflow1 = createWorkflow({
353
+ id: 'workflow1',
354
+ description: 'This workflow is perfect for researching a specific city.',
355
+ inputSchema: z.object({
356
+ city: z.string(),
357
+ }),
358
+ outputSchema: z.object({
359
+ text: z.string(),
360
+ }),
361
+ })
362
+ .then(agentStep1)
363
+ .then(agentStep2)
364
+ .commit();
365
+
366
+ export const v_nextNetwork = new NewAgentNetwork({
367
+ id: 'test-network',
368
+ name: 'Test Network',
369
+ instructions:
370
+ 'You can research cities. You can also synthesize research material. You can also write a full report based on the researched material.',
371
+ model: openai('gpt-4o'),
372
+ agents: {
373
+ agent1,
374
+ agent2,
375
+ },
376
+ workflows: {
377
+ workflow1,
378
+ },
379
+ memory: memory,
380
+ });
381
+
382
+ ```
383
+
266
384
  ### mastra/workflows/index.ts
267
385
  ```typescript
268
386
  import { Workflow } from '@mastra/core/workflows';
@@ -19,7 +19,7 @@
19
19
  "ai": "^4.3.16",
20
20
  "fetch-to-node": "^2.1.0",
21
21
  "mastra": "latest",
22
- "zod": "^3.25.56"
22
+ "zod": "^3.25.67"
23
23
  },
24
24
  "pnpm": {
25
25
  "overrides": {
@@ -26,7 +26,7 @@
26
26
  "mastra": "latest",
27
27
  "react": "^19.1.0",
28
28
  "react-dom": "^19.1.0",
29
- "zod": "^3.25.57"
29
+ "zod": "^3.25.67"
30
30
  },
31
31
  "pnpm": {
32
32
  "overrides": {
@@ -40,12 +40,12 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@eslint/js": "^9.25.0",
43
- "@types/react": "^19.1.2",
44
- "@types/react-dom": "^19.1.2",
43
+ "@types/react": "^19.1.8",
44
+ "@types/react-dom": "^19.1.6",
45
45
  "@typescript-eslint/eslint-plugin": "^8.32.0",
46
46
  "@typescript-eslint/parser": "^8.32.0",
47
47
  "@vitejs/plugin-react": "^4.4.1",
48
- "eslint": "^9.28.0",
48
+ "eslint": "^9.29.0",
49
49
  "eslint-plugin-react-hooks": "^5.2.0",
50
50
  "eslint-plugin-react-refresh": "^0.4.20",
51
51
  "globals": "^16.0.0",
@@ -15,9 +15,9 @@
15
15
  "@ai-sdk/react": "^1.2.12",
16
16
  "@mastra/core": "latest",
17
17
  "next": "^15.3.1",
18
- "react": "^19.0.0",
19
- "react-dom": "^19.0.0",
20
- "zod": "^3.25.56"
18
+ "react": "^19.1.0",
19
+ "react-dom": "^19.1.0",
20
+ "zod": "^3.25.67"
21
21
  },
22
22
  "pnpm": {
23
23
  "overrides": {
@@ -27,9 +27,9 @@
27
27
  "devDependencies": {
28
28
  "@eslint/eslintrc": "^3.3.0",
29
29
  "@types/node": "^20.17.57",
30
- "@types/react": "^19.0.10",
31
- "@types/react-dom": "^19.0.4",
32
- "eslint": "^9.28.0",
30
+ "@types/react": "^19.1.8",
31
+ "@types/react-dom": "^19.1.6",
32
+ "eslint": "^9.29.0",
33
33
  "eslint-config-next": "15.3.3",
34
34
  "postcss": "^8.5.3",
35
35
  "tailwindcss": "^3.4.17",
@@ -16,10 +16,10 @@
16
16
  "@assistant-ui/react-ui": "^0.1.8",
17
17
  "@mastra/client-js": "latest",
18
18
  "next": "^15.3.1",
19
- "react": "^19.0.0",
20
- "react-dom": "^19.0.0",
19
+ "react": "^19.1.0",
20
+ "react-dom": "^19.1.0",
21
21
  "tailwindcss-animate": "^1.0.7",
22
- "zod": "^3.25.56"
22
+ "zod": "^3.25.67"
23
23
  },
24
24
  "pnpm": {
25
25
  "overrides": {
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "^20.17.57",
31
- "@types/react": "^19.0.10",
32
- "@types/react-dom": "^19.0.4",
31
+ "@types/react": "^19.1.8",
32
+ "@types/react-dom": "^19.1.6",
33
33
  "eslint": "^8.57.1",
34
34
  "eslint-config-next": "15.3.3",
35
35
  "postcss": "^8.5.3",
@@ -28,7 +28,7 @@
28
28
  "@ai-sdk/anthropic": "latest",
29
29
  "@mastra/core": "latest",
30
30
  "ai": "latest",
31
- "zod": "^3.25.56"
31
+ "zod": "^3.25.67"
32
32
  },
33
33
  "pnpm": {
34
34
  "overrides": {
@@ -23,12 +23,12 @@
23
23
  "next": "^15.3.1",
24
24
  "next-themes": "^0.4.5",
25
25
  "nuqs": "^2.4.1",
26
- "react": "19.0.0-rc-02c0e824-20241028",
27
- "react-dom": "19.0.0-rc-02c0e824-20241028",
26
+ "react": "19.1.0",
27
+ "react-dom": "19.1.0",
28
28
  "sonner": "^1.7.4",
29
29
  "tailwind-merge": "^2.6.0",
30
30
  "tailwindcss-animate": "^1.0.7",
31
- "zod": "^3.25.56"
31
+ "zod": "^3.25.67"
32
32
  },
33
33
  "pnpm": {
34
34
  "overrides": {
@@ -37,8 +37,8 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^20.17.57",
40
- "@types/react": "^18.3.18",
41
- "@types/react-dom": "^18.3.5",
40
+ "@types/react": "^18.3.23",
41
+ "@types/react-dom": "^18.3.7",
42
42
  "eslint": "^8.57.1",
43
43
  "eslint-config-next": "15.3.3",
44
44
  "postcss": "^8.5.3",
@@ -20,12 +20,12 @@
20
20
  "next": "^15.3.1",
21
21
  "next-themes": "^0.4.5",
22
22
  "nuqs": "^2.4.1",
23
- "react": "19.0.0-rc-02c0e824-20241028",
24
- "react-dom": "19.0.0-rc-02c0e824-20241028",
23
+ "react": "19.1.0",
24
+ "react-dom": "19.1.0",
25
25
  "sonner": "^1.7.4",
26
26
  "tailwind-merge": "^2.6.0",
27
27
  "tailwindcss-animate": "^1.0.7",
28
- "zod": "^3.25.56"
28
+ "zod": "^3.25.67"
29
29
  },
30
30
  "pnpm": {
31
31
  "overrides": {
@@ -36,8 +36,8 @@
36
36
  "devDependencies": {
37
37
  "@libsql/client": "^0.15.4",
38
38
  "@types/node": "^20.17.57",
39
- "@types/react": "^19.0.10",
40
- "@types/react-dom": "^19.0.4",
39
+ "@types/react": "^19.1.8",
40
+ "@types/react-dom": "^19.1.6",
41
41
  "eslint": "^8.57.1",
42
42
  "eslint-config-next": "15.3.3",
43
43
  "postcss": "^8.5.3",
@@ -15,9 +15,9 @@
15
15
  "@ai-sdk/openai": "^1.3.22",
16
16
  "@mastra/client-js": "latest",
17
17
  "@mastra/core": "latest",
18
- "react": "^19.0.0",
19
- "react-dom": "^19.0.0",
20
- "zod": "^3.25.56"
18
+ "react": "^19.1.0",
19
+ "react-dom": "^19.1.0",
20
+ "zod": "^3.25.67"
21
21
  },
22
22
  "pnpm": {
23
23
  "overrides": {
@@ -27,10 +27,10 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@eslint/js": "^9.21.0",
30
- "@types/react": "^19.0.10",
31
- "@types/react-dom": "^19.0.4",
30
+ "@types/react": "^19.1.8",
31
+ "@types/react-dom": "^19.1.6",
32
32
  "@vitejs/plugin-react": "^4.3.4",
33
- "eslint": "^9.28.0",
33
+ "eslint": "^9.29.0",
34
34
  "eslint-plugin-react-hooks": "^5.2.0",
35
35
  "eslint-plugin-react-refresh": "^0.4.20",
36
36
  "globals": "^15.15.0",
@@ -70,7 +70,7 @@
70
70
  "tailwind-merge": "^2.6.0",
71
71
  "tailwindcss-animate": "^1.0.7",
72
72
  "usehooks-ts": "^3.1.1",
73
- "zod": "^3.25.56"
73
+ "zod": "^3.25.67"
74
74
  },
75
75
  "pnpm": {
76
76
  "overrides": {
@@ -86,10 +86,10 @@
86
86
  "@types/d3-scale": "^4.0.9",
87
87
  "@types/node": "^22.15.29",
88
88
  "@types/pdf-parse": "^1.1.4",
89
- "@types/react": "^19.1",
90
- "@types/react-dom": "^19.1",
89
+ "@types/react": "^19.1.8",
90
+ "@types/react-dom": "^19.1.6",
91
91
  "drizzle-kit": "^0.31.0",
92
- "eslint": "^9.28.0",
92
+ "eslint": "^9.29.0",
93
93
  "eslint-config-next": "15.3.3",
94
94
  "eslint-config-prettier": "^9.1.0",
95
95
  "eslint-import-resolver-typescript": "^3.10.1",
@@ -23,7 +23,7 @@
23
23
  "@mastra/auth-auth0": "latest",
24
24
  "@mastra/auth-workos": "latest",
25
25
  "@mastra/auth-clerk": "latest",
26
- "zod": "^3.25.56"
26
+ "zod": "^3.25.67"
27
27
  },
28
28
  "devDependencies": {
29
29
  "dotenv-cli": "^8.0.0"
@@ -23,7 +23,7 @@
23
23
  "gradient-string": "^3.0.0",
24
24
  "ora": "^8.2.0",
25
25
  "tinycolor2": "^1.6.0",
26
- "zod": "^3.25.56"
26
+ "zod": "^3.25.67"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "^20.17.57",
@@ -19,9 +19,9 @@
19
19
  "@mastra/core": "latest",
20
20
  "@mastra/mcp": "latest",
21
21
  "@mastra/memory": "latest",
22
- "@modelcontextprotocol/sdk": "^1.9.0",
22
+ "@modelcontextprotocol/sdk": "^1.13.0",
23
23
  "chalk": "^5.4.1",
24
- "zod": "^3.25.56",
24
+ "zod": "^3.25.67",
25
25
  "zod-to-json-schema": "^3.24.5"
26
26
  },
27
27
  "devDependencies": {
@@ -19,7 +19,7 @@
19
19
  "@mastra/core": "latest",
20
20
  "@mastra/mcp": "latest",
21
21
  "@mastra/mcp-registry-registry": "latest",
22
- "zod": "^3.25.56"
22
+ "zod": "^3.25.67"
23
23
  },
24
24
  "pnpm": {
25
25
  "overrides": {