@mastra/mcp-docs-server 0.13.17-alpha.3 → 0.13.17-alpha.4
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.
- package/.docs/organized/changelogs/%40mastra%2Fagent-builder.md +15 -0
- package/.docs/organized/changelogs/%40mastra%2Fai-sdk.md +10 -0
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +35 -35
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +8 -0
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +20 -20
- package/.docs/organized/changelogs/%40mastra%2Fevals.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Ffirecrawl.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fgithub.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Fmcp-registry-registry.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fmcp.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fmemory.md +14 -14
- package/.docs/organized/changelogs/%40mastra%2Fpg.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Fragie.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fschema-compat.md +7 -0
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +16 -16
- package/.docs/organized/changelogs/%40mastra%2Fvoice-google-gemini-live.md +10 -0
- package/.docs/organized/changelogs/%40mastra%2Fvoice-openai-realtime.md +11 -11
- package/.docs/organized/changelogs/create-mastra.md +7 -7
- package/.docs/organized/changelogs/mastra.md +19 -19
- package/.docs/organized/code-examples/a2a.md +1 -1
- package/.docs/organized/code-examples/agent-network.md +1 -1
- package/.docs/organized/code-examples/agent.md +22 -1
- package/.docs/organized/code-examples/agui.md +1 -1
- package/.docs/organized/code-examples/ai-sdk-useChat.md +1 -1
- package/.docs/organized/code-examples/ai-sdk-v5.md +2 -2
- package/.docs/organized/code-examples/assistant-ui.md +3 -3
- package/.docs/organized/code-examples/bird-checker-with-express.md +1 -1
- package/.docs/organized/code-examples/bird-checker-with-nextjs-and-eval.md +1 -1
- package/.docs/organized/code-examples/bird-checker-with-nextjs.md +1 -1
- package/.docs/organized/code-examples/client-side-tools.md +1 -1
- package/.docs/organized/code-examples/crypto-chatbot.md +1 -1
- package/.docs/organized/code-examples/experimental-auth-weather-agent.md +1 -1
- package/.docs/organized/code-examples/fireworks-r1.md +1 -1
- package/.docs/organized/code-examples/mcp-configuration.md +2 -2
- package/.docs/organized/code-examples/mcp-registry-registry.md +1 -1
- package/.docs/organized/code-examples/memory-with-mem0.md +1 -1
- package/.docs/organized/code-examples/memory-with-processors.md +1 -1
- package/.docs/organized/code-examples/openapi-spec-writer.md +2 -2
- package/.docs/organized/code-examples/quick-start.md +1 -1
- package/.docs/organized/code-examples/stock-price-tool.md +1 -1
- package/.docs/organized/code-examples/weather-agent.md +1 -1
- package/.docs/organized/code-examples/workflow-ai-recruiter.md +1 -1
- package/.docs/organized/code-examples/workflow-with-inline-steps.md +1 -1
- package/.docs/organized/code-examples/workflow-with-memory.md +1 -1
- package/.docs/organized/code-examples/workflow-with-separate-steps.md +1 -1
- package/.docs/organized/code-examples/workflow-with-suspend-resume.md +1 -1
- package/.docs/raw/agents/overview.mdx +35 -4
- package/.docs/raw/deployment/monorepo.mdx +1 -1
- package/.docs/raw/frameworks/agentic-uis/ai-sdk.mdx +44 -14
- package/.docs/raw/getting-started/installation.mdx +52 -4
- package/.docs/raw/getting-started/templates.mdx +2 -22
- package/.docs/raw/reference/agents/generate.mdx +2 -2
- package/.docs/raw/reference/agents/getDefaultStreamOptions.mdx +2 -1
- package/.docs/raw/reference/agents/getDefaultVNextStreamOptions.mdx +1 -1
- package/.docs/raw/reference/agents/stream.mdx +2 -2
- package/.docs/raw/reference/cli/build.mdx +0 -6
- package/.docs/raw/reference/cli/start.mdx +8 -1
- package/.docs/raw/reference/scorers/noise-sensitivity.mdx +237 -0
- package/.docs/raw/reference/scorers/prompt-alignment.mdx +369 -0
- package/.docs/raw/scorers/off-the-shelf-scorers.mdx +2 -2
- package/.docs/raw/streaming/overview.mdx +2 -2
- package/.docs/raw/streaming/tool-streaming.mdx +8 -2
- package/.docs/raw/streaming/workflow-streaming.mdx +8 -2
- package/.docs/raw/tools-mcp/overview.mdx +44 -0
- package/.docs/raw/workflows/overview.mdx +19 -17
- package/dist/stdio.js +5 -1
- package/dist/tools/docs.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/ragie
|
|
2
2
|
|
|
3
|
+
## 1.2.11-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#5816](https://github.com/mastra-ai/mastra/pull/5816) [`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
|
|
8
|
+
- Updated dependency [`zod@^3.25.76` ↗︎](https://www.npmjs.com/package/zod/v/3.25.76) (from `^3.25.67`, in `dependencies`)
|
|
9
|
+
- Updated dependencies [[`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715), [`ff89505`](https://github.com/mastra-ai/mastra/commit/ff895057c8c7e91a5535faef46c5e5391085ddfa), [`183dc95`](https://github.com/mastra-ai/mastra/commit/183dc95596f391b977bd1a2c050b8498dac74891), [`a1111e2`](https://github.com/mastra-ai/mastra/commit/a1111e24e705488adfe5e0a6f20c53bddf26cb22), [`61debef`](https://github.com/mastra-ai/mastra/commit/61debefd80ad3a7ed5737e19df6a23d40091689a), [`9beaeff`](https://github.com/mastra-ai/mastra/commit/9beaeffa4a97b1d5fd01a7f8af8708b16067f67c), [`9eee594`](https://github.com/mastra-ai/mastra/commit/9eee594e35e0ca2a650fcc33fa82009a142b9ed0), [`979912c`](https://github.com/mastra-ai/mastra/commit/979912cfd180aad53287cda08af771df26454e2c), [`7dcf4c0`](https://github.com/mastra-ai/mastra/commit/7dcf4c04f44d9345b1f8bc5d41eae3f11ac61611), [`ad78bfc`](https://github.com/mastra-ai/mastra/commit/ad78bfc4ea6a1fff140432bf4f638e01af7af668), [`0ce418a`](https://github.com/mastra-ai/mastra/commit/0ce418a1ccaa5e125d4483a9651b635046152569), [`8387952`](https://github.com/mastra-ai/mastra/commit/838795227b4edf758c84a2adf6f7fba206c27719), [`5eca5d2`](https://github.com/mastra-ai/mastra/commit/5eca5d2655788863ea0442a46c9ef5d3c6dbe0a8)]:
|
|
10
|
+
- @mastra/core@0.15.3-alpha.4
|
|
11
|
+
|
|
3
12
|
## 1.2.10
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -289,14 +298,5 @@
|
|
|
289
298
|
- Updated dependencies [99f050a]
|
|
290
299
|
- Updated dependencies [d0ee3c6]
|
|
291
300
|
- Updated dependencies [b2ae5aa]
|
|
292
|
-
- Updated dependencies [23f258c]
|
|
293
|
-
- Updated dependencies [a7292b0]
|
|
294
|
-
- Updated dependencies [0dcb9f0]
|
|
295
|
-
- Updated dependencies [2672a05]
|
|
296
|
-
- @mastra/core@0.10.0
|
|
297
|
-
|
|
298
|
-
## 1.2.0-alpha.1
|
|
299
|
-
|
|
300
|
-
### Minor Changes
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 2007 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/schema-compat
|
|
2
2
|
|
|
3
|
+
## 0.11.2-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#5816](https://github.com/mastra-ai/mastra/pull/5816) [`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
|
|
8
|
+
- Updated dependency [`zod-to-json-schema@^3.24.6` ↗︎](https://www.npmjs.com/package/zod-to-json-schema/v/3.24.6) (from `^3.24.5`, in `dependencies`)
|
|
9
|
+
|
|
3
10
|
## 0.11.2-alpha.0
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @mastra/server
|
|
2
2
|
|
|
3
|
+
## 0.15.3-alpha.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#7269](https://github.com/mastra-ai/mastra/pull/7269) [`ff89505`](https://github.com/mastra-ai/mastra/commit/ff895057c8c7e91a5535faef46c5e5391085ddfa) Thanks [@wardpeet](https://github.com/wardpeet)! - Add deprecation warnings and add legacy routes
|
|
8
|
+
|
|
9
|
+
- [#7136](https://github.com/mastra-ai/mastra/pull/7136) [`48f0742`](https://github.com/mastra-ai/mastra/commit/48f0742662414610dc9a7a99d45902d059ee123d) Thanks [@NikAiyer](https://github.com/NikAiyer)! - add deployer, server and clientjs handlers for agent builder template
|
|
10
|
+
|
|
11
|
+
- [#7250](https://github.com/mastra-ai/mastra/pull/7250) [`12adcc8`](https://github.com/mastra-ai/mastra/commit/12adcc8929db79b3cf7b83237ebaf6ba2db0181e) Thanks [@roaminro](https://github.com/roaminro)! - add missing endpoint to get agent tool by ID
|
|
12
|
+
|
|
13
|
+
- [#7259](https://github.com/mastra-ai/mastra/pull/7259) [`bcec7db`](https://github.com/mastra-ai/mastra/commit/bcec7db62dab25e4c85f1d484172061382c6615d) Thanks [@TheIsrael1](https://github.com/TheIsrael1)! - Mastra server - Pipe abort signal correctly to agent stream,generate
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715), [`ff89505`](https://github.com/mastra-ai/mastra/commit/ff895057c8c7e91a5535faef46c5e5391085ddfa), [`183dc95`](https://github.com/mastra-ai/mastra/commit/183dc95596f391b977bd1a2c050b8498dac74891), [`a1111e2`](https://github.com/mastra-ai/mastra/commit/a1111e24e705488adfe5e0a6f20c53bddf26cb22), [`61debef`](https://github.com/mastra-ai/mastra/commit/61debefd80ad3a7ed5737e19df6a23d40091689a), [`9beaeff`](https://github.com/mastra-ai/mastra/commit/9beaeffa4a97b1d5fd01a7f8af8708b16067f67c), [`9eee594`](https://github.com/mastra-ai/mastra/commit/9eee594e35e0ca2a650fcc33fa82009a142b9ed0), [`979912c`](https://github.com/mastra-ai/mastra/commit/979912cfd180aad53287cda08af771df26454e2c), [`7dcf4c0`](https://github.com/mastra-ai/mastra/commit/7dcf4c04f44d9345b1f8bc5d41eae3f11ac61611), [`ad78bfc`](https://github.com/mastra-ai/mastra/commit/ad78bfc4ea6a1fff140432bf4f638e01af7af668), [`0ce418a`](https://github.com/mastra-ai/mastra/commit/0ce418a1ccaa5e125d4483a9651b635046152569), [`8387952`](https://github.com/mastra-ai/mastra/commit/838795227b4edf758c84a2adf6f7fba206c27719), [`5eca5d2`](https://github.com/mastra-ai/mastra/commit/5eca5d2655788863ea0442a46c9ef5d3c6dbe0a8)]:
|
|
16
|
+
- @mastra/core@0.15.3-alpha.4
|
|
17
|
+
|
|
3
18
|
## 0.15.3-alpha.3
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -283,20 +298,5 @@
|
|
|
283
298
|
|
|
284
299
|
## 0.13.2-alpha.3
|
|
285
300
|
|
|
286
|
-
### Patch Changes
|
|
287
|
-
|
|
288
|
-
- Updated dependencies [b5cf2a3]
|
|
289
|
-
- @mastra/core@0.13.2-alpha.3
|
|
290
|
-
|
|
291
|
-
## 0.13.2-alpha.2
|
|
292
|
-
|
|
293
|
-
### Patch Changes
|
|
294
|
-
|
|
295
|
-
- a239d41: Updated A2A syntax to v0.3.0
|
|
296
|
-
- f6a1ae7: Return correct `agentIds` for `/api/scores/scorers` and `/api/scores/scorers/${scorerId}` endpoints
|
|
297
|
-
- ce04175: Add update agent model handler
|
|
298
|
-
- Updated dependencies [d5330bf]
|
|
299
|
-
- Updated dependencies [a239d41]
|
|
300
|
-
- Updated dependencies [b32c50d]
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 3059 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @mastra/voice-google-gemini-live
|
|
2
2
|
|
|
3
|
+
## 0.10.9-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#5816](https://github.com/mastra-ai/mastra/pull/5816) [`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
|
|
8
|
+
- Updated dependency [`zod@^3.25.76` ↗︎](https://www.npmjs.com/package/zod/v/3.25.76) (from `^3.25.67`, in `dependencies`)
|
|
9
|
+
- Updated dependency [`zod-to-json-schema@^3.24.6` ↗︎](https://www.npmjs.com/package/zod-to-json-schema/v/3.24.6) (from `^3.23.5`, in `dependencies`)
|
|
10
|
+
- Updated dependencies [[`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715), [`ff89505`](https://github.com/mastra-ai/mastra/commit/ff895057c8c7e91a5535faef46c5e5391085ddfa), [`183dc95`](https://github.com/mastra-ai/mastra/commit/183dc95596f391b977bd1a2c050b8498dac74891), [`a1111e2`](https://github.com/mastra-ai/mastra/commit/a1111e24e705488adfe5e0a6f20c53bddf26cb22), [`61debef`](https://github.com/mastra-ai/mastra/commit/61debefd80ad3a7ed5737e19df6a23d40091689a), [`9beaeff`](https://github.com/mastra-ai/mastra/commit/9beaeffa4a97b1d5fd01a7f8af8708b16067f67c), [`9eee594`](https://github.com/mastra-ai/mastra/commit/9eee594e35e0ca2a650fcc33fa82009a142b9ed0), [`979912c`](https://github.com/mastra-ai/mastra/commit/979912cfd180aad53287cda08af771df26454e2c), [`7dcf4c0`](https://github.com/mastra-ai/mastra/commit/7dcf4c04f44d9345b1f8bc5d41eae3f11ac61611), [`ad78bfc`](https://github.com/mastra-ai/mastra/commit/ad78bfc4ea6a1fff140432bf4f638e01af7af668), [`0ce418a`](https://github.com/mastra-ai/mastra/commit/0ce418a1ccaa5e125d4483a9651b635046152569), [`8387952`](https://github.com/mastra-ai/mastra/commit/838795227b4edf758c84a2adf6f7fba206c27719), [`5eca5d2`](https://github.com/mastra-ai/mastra/commit/5eca5d2655788863ea0442a46c9ef5d3c6dbe0a8)]:
|
|
11
|
+
- @mastra/core@0.15.3-alpha.4
|
|
12
|
+
|
|
3
13
|
## 0.10.8
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/voice-openai-realtime
|
|
2
2
|
|
|
3
|
+
## 0.11.3-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#5816](https://github.com/mastra-ai/mastra/pull/5816) [`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
|
|
8
|
+
- Updated dependency [`zod-to-json-schema@^3.24.6` ↗︎](https://www.npmjs.com/package/zod-to-json-schema/v/3.24.6) (from `^3.24.5`, in `dependencies`)
|
|
9
|
+
- Updated dependencies [[`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715), [`ff89505`](https://github.com/mastra-ai/mastra/commit/ff895057c8c7e91a5535faef46c5e5391085ddfa), [`183dc95`](https://github.com/mastra-ai/mastra/commit/183dc95596f391b977bd1a2c050b8498dac74891), [`a1111e2`](https://github.com/mastra-ai/mastra/commit/a1111e24e705488adfe5e0a6f20c53bddf26cb22), [`61debef`](https://github.com/mastra-ai/mastra/commit/61debefd80ad3a7ed5737e19df6a23d40091689a), [`9beaeff`](https://github.com/mastra-ai/mastra/commit/9beaeffa4a97b1d5fd01a7f8af8708b16067f67c), [`9eee594`](https://github.com/mastra-ai/mastra/commit/9eee594e35e0ca2a650fcc33fa82009a142b9ed0), [`979912c`](https://github.com/mastra-ai/mastra/commit/979912cfd180aad53287cda08af771df26454e2c), [`7dcf4c0`](https://github.com/mastra-ai/mastra/commit/7dcf4c04f44d9345b1f8bc5d41eae3f11ac61611), [`ad78bfc`](https://github.com/mastra-ai/mastra/commit/ad78bfc4ea6a1fff140432bf4f638e01af7af668), [`0ce418a`](https://github.com/mastra-ai/mastra/commit/0ce418a1ccaa5e125d4483a9651b635046152569), [`8387952`](https://github.com/mastra-ai/mastra/commit/838795227b4edf758c84a2adf6f7fba206c27719), [`5eca5d2`](https://github.com/mastra-ai/mastra/commit/5eca5d2655788863ea0442a46c9ef5d3c6dbe0a8)]:
|
|
10
|
+
- @mastra/core@0.15.3-alpha.4
|
|
11
|
+
|
|
3
12
|
## 0.11.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -289,14 +298,5 @@
|
|
|
289
298
|
### Patch Changes
|
|
290
299
|
|
|
291
300
|
- 63f6b7d: dependencies updates:
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
- Updated dependencies [63f6b7d]
|
|
295
|
-
- Updated dependencies [12a95fc]
|
|
296
|
-
- Updated dependencies [4b0f8a6]
|
|
297
|
-
- Updated dependencies [51264a5]
|
|
298
|
-
- Updated dependencies [8e6f677]
|
|
299
|
-
- Updated dependencies [d70c420]
|
|
300
|
-
- Updated dependencies [ee9af57]
|
|
301
|
-
|
|
302
|
-
... 895 more lines hidden. See full changelog in package directory.
|
|
301
|
+
|
|
302
|
+
... 904 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# create-mastra
|
|
2
2
|
|
|
3
|
+
## 0.11.3-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#7218](https://github.com/mastra-ai/mastra/pull/7218) [`f539199`](https://github.com/mastra-ai/mastra/commit/f53919950a9320b292732e0cfcdf61cdae6c8742) Thanks [@TheIsrael1](https://github.com/TheIsrael1)! - mastra start - load env files, custom env. Deperecate --env flag for mastra build
|
|
8
|
+
|
|
3
9
|
## 0.11.3-alpha.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -28,8 +34,6 @@
|
|
|
28
34
|
|
|
29
35
|
## 0.11.1
|
|
30
36
|
|
|
31
|
-
## 0.11.0
|
|
32
|
-
|
|
33
37
|
### Patch Changes
|
|
34
38
|
|
|
35
39
|
- [#6948](https://github.com/mastra-ai/mastra/pull/6948) [`a8070e6`](https://github.com/mastra-ai/mastra/commit/a8070e63ab384ae14a214faaf8634c53b7064bc3) Thanks [@taofeeq-deru](https://github.com/taofeeq-deru)! - Preserve run state in workflows after viewing traces
|
|
@@ -294,9 +298,5 @@
|
|
|
294
298
|
### Patch Changes
|
|
295
299
|
|
|
296
300
|
- 4219597: add JSON input close to form input
|
|
297
|
-
- 18ca936: Update rollup config for create-mastra
|
|
298
|
-
|
|
299
|
-
## 0.10.10-alpha.1
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 1284 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# mastra
|
|
2
2
|
|
|
3
|
+
## 0.11.3-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#7329](https://github.com/mastra-ai/mastra/pull/7329) [`26b0d7c`](https://github.com/mastra-ai/mastra/commit/26b0d7c7cba46469351d453714e119ac7aae9da2) Thanks [@wardpeet](https://github.com/wardpeet)! - Cleanup pkg output
|
|
8
|
+
|
|
9
|
+
- [#7218](https://github.com/mastra-ai/mastra/pull/7218) [`f539199`](https://github.com/mastra-ai/mastra/commit/f53919950a9320b292732e0cfcdf61cdae6c8742) Thanks [@TheIsrael1](https://github.com/TheIsrael1)! - mastra start - load env files, custom env. Deperecate --env flag for mastra build
|
|
10
|
+
|
|
11
|
+
- [#5816](https://github.com/mastra-ai/mastra/pull/5816) [`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
|
|
12
|
+
- Updated dependency [`zod-to-json-schema@^3.24.6` ↗︎](https://www.npmjs.com/package/zod-to-json-schema/v/3.24.6) (from `^3.24.5`, in `dependencies`)
|
|
13
|
+
|
|
14
|
+
- [#6946](https://github.com/mastra-ai/mastra/pull/6946) [`8f22a2c`](https://github.com/mastra-ai/mastra/commit/8f22a2c35a0a9ddd2f34a9c3ebb6ff6668aa9ea9) Thanks [@LekoArts](https://github.com/LekoArts)! - During package installation do not print audit, funding or any non-error logs
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [[`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715), [`3e0bd2a`](https://github.com/mastra-ai/mastra/commit/3e0bd2aa0a19823939f9a973d44791f4927ff5c3), [`ff89505`](https://github.com/mastra-ai/mastra/commit/ff895057c8c7e91a5535faef46c5e5391085ddfa), [`183dc95`](https://github.com/mastra-ai/mastra/commit/183dc95596f391b977bd1a2c050b8498dac74891), [`a1111e2`](https://github.com/mastra-ai/mastra/commit/a1111e24e705488adfe5e0a6f20c53bddf26cb22), [`61debef`](https://github.com/mastra-ai/mastra/commit/61debefd80ad3a7ed5737e19df6a23d40091689a), [`9beaeff`](https://github.com/mastra-ai/mastra/commit/9beaeffa4a97b1d5fd01a7f8af8708b16067f67c), [`ad78bfc`](https://github.com/mastra-ai/mastra/commit/ad78bfc4ea6a1fff140432bf4f638e01af7af668), [`9eee594`](https://github.com/mastra-ai/mastra/commit/9eee594e35e0ca2a650fcc33fa82009a142b9ed0), [`979912c`](https://github.com/mastra-ai/mastra/commit/979912cfd180aad53287cda08af771df26454e2c), [`7dcf4c0`](https://github.com/mastra-ai/mastra/commit/7dcf4c04f44d9345b1f8bc5d41eae3f11ac61611), [`ad78bfc`](https://github.com/mastra-ai/mastra/commit/ad78bfc4ea6a1fff140432bf4f638e01af7af668), [`48f0742`](https://github.com/mastra-ai/mastra/commit/48f0742662414610dc9a7a99d45902d059ee123d), [`12adcc8`](https://github.com/mastra-ai/mastra/commit/12adcc8929db79b3cf7b83237ebaf6ba2db0181e), [`0ce418a`](https://github.com/mastra-ai/mastra/commit/0ce418a1ccaa5e125d4483a9651b635046152569), [`8387952`](https://github.com/mastra-ai/mastra/commit/838795227b4edf758c84a2adf6f7fba206c27719), [`5eca5d2`](https://github.com/mastra-ai/mastra/commit/5eca5d2655788863ea0442a46c9ef5d3c6dbe0a8), [`8f22a2c`](https://github.com/mastra-ai/mastra/commit/8f22a2c35a0a9ddd2f34a9c3ebb6ff6668aa9ea9)]:
|
|
17
|
+
- @mastra/core@0.15.3-alpha.4
|
|
18
|
+
- @mastra/deployer@0.15.3-alpha.4
|
|
19
|
+
- @mastra/mcp@0.11.3-alpha.1
|
|
20
|
+
|
|
3
21
|
## 0.11.3-alpha.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -280,23 +298,5 @@
|
|
|
280
298
|
- Updated dependencies [6dfc4a6]
|
|
281
299
|
- @mastra/mcp@0.10.12-alpha.0
|
|
282
300
|
- @mastra/deployer@0.14.0-alpha.1
|
|
283
|
-
- @mastra/core@0.14.0-alpha.1
|
|
284
|
-
|
|
285
|
-
## 0.10.22-alpha.0
|
|
286
|
-
|
|
287
|
-
### Patch Changes
|
|
288
|
-
|
|
289
|
-
- 97c1d5e: Add new `scorers` subcommand for managing scorers.
|
|
290
|
-
Refactor cli to be more modular.
|
|
291
|
-
- Updated dependencies [c30bca8]
|
|
292
|
-
- @mastra/core@0.13.3-alpha.0
|
|
293
|
-
- @mastra/deployer@0.13.3-alpha.0
|
|
294
|
-
|
|
295
|
-
## 0.10.21
|
|
296
|
-
|
|
297
|
-
### Patch Changes
|
|
298
|
-
|
|
299
|
-
- 63449d0: Change the globbing of tools to exclude test files. Files inside `__tests__` directory and files with `.test.` or `.spec.` in their file name are now excluded from bundling.
|
|
300
|
-
- 77b6cfe: Use just modelId for gpt-5 check
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 5192 more lines hidden. See full changelog in package directory.
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"fetch-to-node": "^2.1.0",
|
|
20
20
|
"mastra": "latest",
|
|
21
21
|
"typescript": "^5.8.3",
|
|
22
|
-
"zod": "^3.25.
|
|
22
|
+
"zod": "^3.25.76"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
```
|
|
@@ -744,6 +744,16 @@ export const chefModelV2Agent = new Agent({
|
|
|
744
744
|
workflows: {
|
|
745
745
|
myWorkflow,
|
|
746
746
|
},
|
|
747
|
+
scorers: ({ mastra }) => {
|
|
748
|
+
if (!mastra) {
|
|
749
|
+
throw new Error('Mastra not found');
|
|
750
|
+
}
|
|
751
|
+
const scorer1 = mastra.getScorer('testScorer');
|
|
752
|
+
|
|
753
|
+
return {
|
|
754
|
+
scorer1: { scorer: scorer1, sampling: { rate: 1, type: 'ratio' } },
|
|
755
|
+
};
|
|
756
|
+
},
|
|
747
757
|
memory,
|
|
748
758
|
});
|
|
749
759
|
|
|
@@ -759,11 +769,19 @@ import { agentThatHarassesYou, chefAgent, chefAgentResponses, dynamicAgent, eval
|
|
|
759
769
|
import { myMcpServer, myMcpServerTwo } from './mcp/server';
|
|
760
770
|
import { myWorkflow } from './workflows';
|
|
761
771
|
import { chefModelV2Agent } from './agents/model-v2-agent';
|
|
772
|
+
import { createScorer } from '@mastra/core/scores';
|
|
762
773
|
|
|
763
774
|
const storage = new LibSQLStore({
|
|
764
775
|
url: 'file:./mastra.db',
|
|
765
776
|
});
|
|
766
777
|
|
|
778
|
+
const testScorer = createScorer({
|
|
779
|
+
name: 'scorer1',
|
|
780
|
+
description: 'Scorer 1',
|
|
781
|
+
}).generateScore(() => {
|
|
782
|
+
return 1;
|
|
783
|
+
});
|
|
784
|
+
|
|
767
785
|
export const mastra = new Mastra({
|
|
768
786
|
agents: {
|
|
769
787
|
chefAgent,
|
|
@@ -791,6 +809,9 @@ export const mastra = new Mastra({
|
|
|
791
809
|
},
|
|
792
810
|
},
|
|
793
811
|
],
|
|
812
|
+
scorers: {
|
|
813
|
+
testScorer,
|
|
814
|
+
},
|
|
794
815
|
// telemetry: {
|
|
795
816
|
// enabled: false,
|
|
796
817
|
// }
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"@mastra/pg": "0.0.0-ai-v5-20250625173645",
|
|
13
13
|
"@mastra/rag": "0.0.0-ai-v5-20250625173645",
|
|
14
14
|
"@mastra/server": "0.0.0-ai-v5-20250625173645",
|
|
15
|
-
"next": "15.
|
|
15
|
+
"next": "15.4.7",
|
|
16
16
|
"react": "^19.1.1",
|
|
17
17
|
"react-dom": "^19.1.1",
|
|
18
18
|
"swr": "^2.3.3",
|
|
19
|
-
"zod": "^3.25.
|
|
19
|
+
"zod": "^3.25.76"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@eslint/eslintrc": "^3",
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
"name": "examples-assistant-ui",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@ai-sdk/openai": "latest",
|
|
7
|
-
"@assistant-ui/react": "0.
|
|
8
|
-
"@assistant-ui/react-markdown": "^0.
|
|
7
|
+
"@assistant-ui/react": "0.10.44",
|
|
8
|
+
"@assistant-ui/react-markdown": "^0.10.9",
|
|
9
9
|
"@assistant-ui/react-ui": "^0.1.8",
|
|
10
10
|
"@mastra/client-js": "latest",
|
|
11
11
|
"next": "^15.3.1",
|
|
12
12
|
"react": "^19.1.1",
|
|
13
13
|
"react-dom": "^19.1.1",
|
|
14
14
|
"tailwindcss-animate": "^1.0.7",
|
|
15
|
-
"zod": "^3.25.
|
|
15
|
+
"zod": "^3.25.76"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/node": "^20.17.57",
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"@mastra/memory": "latest",
|
|
10
10
|
"@modelcontextprotocol/sdk": "^1.13.0",
|
|
11
11
|
"chalk": "^5.4.1",
|
|
12
|
-
"zod": "^3.25.
|
|
13
|
-
"zod-to-json-schema": "^3.24.
|
|
12
|
+
"zod": "^3.25.76",
|
|
13
|
+
"zod-to-json-schema": "^3.24.6"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@jest/globals": "^29.7.0",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"class-variance-authority": "^0.7.1",
|
|
17
17
|
"clsx": "^2.1.1",
|
|
18
18
|
"lucide-react": "^0.454.0",
|
|
19
|
-
"next": "15.
|
|
19
|
+
"next": "15.4.7",
|
|
20
20
|
"react": "^19.1.1",
|
|
21
21
|
"react-dom": "^19.1.1",
|
|
22
22
|
"react-syntax-highlighter": "^15.6.1",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"tailwind-merge": "^2.6.0",
|
|
25
25
|
"tailwindcss-animate": "^1.0.7",
|
|
26
26
|
"vaul": "^1.1.2",
|
|
27
|
-
"zod": "^3.25.
|
|
27
|
+
"zod": "^3.25.76"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@libsql/client": "^0.15.4",
|
|
@@ -3,6 +3,8 @@ title: "Agent Overview | Agent Documentation | Mastra"
|
|
|
3
3
|
description: Overview of agents in Mastra, detailing their capabilities and how they interact with tools, workflows, and external systems.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
import { Steps } from "nextra/components";
|
|
7
|
+
|
|
6
8
|
# Using Agents
|
|
7
9
|
|
|
8
10
|
Agents let you build intelligent assistants powered by language models that can make decisions and perform actions. Each agent has required instructions and an LLM, with optional tools and memory.
|
|
@@ -261,14 +263,43 @@ const response = await testAgent.generate("Help me organize my day", {
|
|
|
261
263
|
```
|
|
262
264
|
|
|
263
265
|
## Testing agents locally
|
|
266
|
+
There are two ways to run and test agents.
|
|
267
|
+
|
|
268
|
+
<Steps>
|
|
269
|
+
|
|
270
|
+
### Mastra Playground
|
|
264
271
|
|
|
265
|
-
|
|
266
|
-
By default, it loads exported agents from the `src/mastra/agents` directory and creates endpoints for testing (for example, `http://localhost:4111/api/agents/myAgent/generate`).
|
|
267
|
-
It also launches a visual playground where you can chat with your agent and view execution traces.
|
|
272
|
+
With the Mastra Dev Server running you can test an agent from the Mastra Playground by visiting [http://localhost:4111/agents](http://localhost:4111/agents) in your browser.
|
|
268
273
|
|
|
269
274
|
> For more information, see the [Local Dev Playground](/docs/server-db/local-dev-playground) documentation.
|
|
270
275
|
|
|
271
|
-
|
|
276
|
+
### Command line
|
|
277
|
+
|
|
278
|
+
Create an agent response using `.generate()` or `.stream()`.
|
|
279
|
+
|
|
280
|
+
```typescript {7} filename="src/test-agent.ts" showLineNumbers copy
|
|
281
|
+
import "dotenv/config";
|
|
282
|
+
|
|
283
|
+
import { mastra } from "./mastra";
|
|
284
|
+
|
|
285
|
+
const agent = mastra.getAgent("testAgent");
|
|
286
|
+
|
|
287
|
+
const response = await agent.generate("Help me organize my day");
|
|
288
|
+
|
|
289
|
+
console.log(response.text);
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
> See [.generate()](../../reference/agents/generate.mdx) or [.stream()](../../reference/agents/stream.mdx) for more information.
|
|
293
|
+
|
|
294
|
+
To test this agent, run the following:
|
|
295
|
+
|
|
296
|
+
```bash copy
|
|
297
|
+
npx tsx src/test-agent.ts
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
</Steps>
|
|
301
|
+
|
|
302
|
+
## Related
|
|
272
303
|
|
|
273
304
|
- [Agent Memory](./agent-memory.mdx)
|
|
274
305
|
- [Dynamic Agents](./dynamic-agents.mdx)
|
|
@@ -102,6 +102,6 @@ Mastra works with:
|
|
|
102
102
|
Known limitations:
|
|
103
103
|
|
|
104
104
|
- Bun workspaces — partial support; known issues
|
|
105
|
-
- Nx —
|
|
105
|
+
- Nx — You can use Nx's [supported dependency strategies](https://nx.dev/concepts/decisions/dependency-management) but you need to have `package.json` files inside your workspace packages
|
|
106
106
|
|
|
107
107
|
> If you are experiencing issues with monorepos see our: [Monorepos Support mega issue](https://github.com/mastra-ai/mastra/issues/6852).
|