@mastra/mcp-docs-server 1.3.5-alpha.8 → 1.3.5

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 (106) hide show
  1. package/.docs/docs/agents/code-mode.md +0 -2
  2. package/.docs/docs/agents/overview.md +1 -1
  3. package/.docs/docs/agents/processors.md +8 -0
  4. package/.docs/docs/agents/tools.md +17 -0
  5. package/.docs/docs/auth/composite-auth.md +1 -1
  6. package/.docs/docs/auth/custom-auth-provider.md +28 -22
  7. package/.docs/docs/auth/jwt.md +1 -1
  8. package/.docs/docs/auth/overview.md +2 -2
  9. package/.docs/docs/auth/simple-auth.md +6 -1
  10. package/.docs/docs/browser.md +1 -2
  11. package/.docs/docs/deployment/overview.md +1 -1
  12. package/.docs/docs/deployment/web-framework.md +1 -1
  13. package/.docs/docs/develop.md +1 -3
  14. package/.docs/docs/evals/built-in-scorers.md +2 -2
  15. package/.docs/docs/guides/context-engineering.md +0 -2
  16. package/.docs/docs/guides/overview.md +15 -0
  17. package/.docs/docs/harness/agent-controller.md +7 -12
  18. package/.docs/docs/harness/goals.md +1 -3
  19. package/.docs/docs/harness/schedules.md +0 -2
  20. package/.docs/docs/harness/signal-providers.md +1 -3
  21. package/.docs/docs/harness/signals.md +0 -2
  22. package/.docs/docs/mastra-platform/configuration.md +1 -1
  23. package/.docs/docs/mastra-platform/environments.md +1 -1
  24. package/.docs/docs/mastra-platform/observability.md +1 -1
  25. package/.docs/docs/memory/observational-memory.md +2 -0
  26. package/.docs/docs/observability/overview.md +0 -5
  27. package/.docs/docs/sandbox/filesystem.md +12 -12
  28. package/.docs/docs/studio/observability.md +1 -1
  29. package/.docs/docs/workflows/error-handling.md +2 -0
  30. package/.docs/integrations/voice/livekit.md +449 -2
  31. package/.docs/models/gateways/neon.md +2 -1
  32. package/.docs/models/gateways/netlify.md +1 -1
  33. package/.docs/models/gateways/openrouter.md +3 -4
  34. package/.docs/models/gateways/vercel.md +10 -3
  35. package/.docs/models/index.md +1 -1
  36. package/.docs/models/providers/aki-io.md +12 -12
  37. package/.docs/models/providers/blueclaw.md +8 -9
  38. package/.docs/models/providers/coralbricks.md +6 -4
  39. package/.docs/models/providers/cortecs.md +5 -11
  40. package/.docs/models/providers/deepinfra.md +1 -1
  41. package/.docs/models/providers/edenai.md +16 -12
  42. package/.docs/models/providers/kilo.md +13 -15
  43. package/.docs/models/providers/llmgateway-providers.md +6 -2
  44. package/.docs/models/providers/llmgateway.md +3 -2
  45. package/.docs/models/providers/mistral.md +7 -6
  46. package/.docs/models/providers/nano-gpt.md +13 -4
  47. package/.docs/models/providers/opencode-go.md +2 -2
  48. package/.docs/models/providers/opencode.md +3 -1
  49. package/.docs/models/providers/requesty.md +3 -1
  50. package/.docs/models/providers/subconscious.md +8 -8
  51. package/.docs/models/providers/the-grid-ai.md +19 -12
  52. package/.docs/models/providers/umans-ai-coding-plan.md +2 -1
  53. package/.docs/models/providers/umans-ai.md +2 -1
  54. package/.docs/models/providers/wandb.md +4 -13
  55. package/.docs/reference/agent-controller/agent-controller-class.md +2 -4
  56. package/.docs/reference/agent-controller/session.md +18 -13
  57. package/.docs/reference/agents/createSkill.md +1 -2
  58. package/.docs/reference/agents/generate.md +2 -0
  59. package/.docs/reference/agents/getModel.md +1 -1
  60. package/.docs/reference/agents/getSkill.md +6 -1
  61. package/.docs/reference/agents/listSkills.md +0 -1
  62. package/.docs/reference/auth/jwt.md +1 -1
  63. package/.docs/reference/auth/supabase.md +1 -1
  64. package/.docs/reference/browser/mastra-browser.md +13 -11
  65. package/.docs/reference/cli/create-mastra.md +1 -1
  66. package/.docs/reference/cli/mastra.md +43 -5
  67. package/.docs/reference/client-js/agent-controller.md +19 -3
  68. package/.docs/reference/client-js/agents.md +1 -1
  69. package/.docs/reference/client-js/conversations.md +1 -1
  70. package/.docs/reference/client-js/mastra-client.md +2 -2
  71. package/.docs/reference/client-js/observability.md +28 -0
  72. package/.docs/reference/client-js/workflows.md +18 -2
  73. package/.docs/reference/code-sdk/acp-server.md +19 -2
  74. package/.docs/reference/code-sdk/mount-agent-controller.md +1 -3
  75. package/.docs/reference/editor/prompt-blocks.md +41 -0
  76. package/.docs/reference/editor/tool-provider.md +19 -0
  77. package/.docs/reference/file-based-agents/config.md +0 -2
  78. package/.docs/reference/file-based-agents/instructions.md +0 -2
  79. package/.docs/reference/file-based-agents/logger.md +0 -2
  80. package/.docs/reference/file-based-agents/memory.md +0 -2
  81. package/.docs/reference/file-based-agents/observability.md +0 -2
  82. package/.docs/reference/file-based-agents/processors.md +0 -2
  83. package/.docs/reference/file-based-agents/schedules.md +0 -2
  84. package/.docs/reference/file-based-agents/scorers.md +0 -2
  85. package/.docs/reference/file-based-agents/server.md +0 -2
  86. package/.docs/reference/file-based-agents/skills.md +0 -2
  87. package/.docs/reference/file-based-agents/storage.md +0 -2
  88. package/.docs/reference/file-based-agents/studio.md +0 -2
  89. package/.docs/reference/file-based-agents/subagents.md +0 -2
  90. package/.docs/reference/file-based-agents/tools.md +0 -2
  91. package/.docs/reference/file-based-agents/workflows.md +0 -2
  92. package/.docs/reference/file-based-agents/workspace.md +0 -2
  93. package/.docs/reference/memory/observational-memory.md +2 -0
  94. package/.docs/reference/observability/tracing/interfaces.md +62 -2
  95. package/.docs/reference/observability/tracing/trace-query.md +65 -4
  96. package/.docs/reference/schedules/overview.md +0 -2
  97. package/.docs/reference/signals/create-notification-inbox-tool.md +0 -2
  98. package/.docs/reference/signals/signal-provider.md +1 -3
  99. package/.docs/reference/signals/task-signal-provider.md +1 -1
  100. package/.docs/reference/signals/webhook-signal-provider.md +1 -3
  101. package/.docs/reference/streaming/ChunkType.md +2 -0
  102. package/.docs/reference/tools/create-code-mode.md +0 -2
  103. package/.docs/reference/tools/create-tool.md +2 -0
  104. package/.docs/reference/tools/mcp-server.md +8 -2
  105. package/.docs/reference/vectors/lance.md +56 -10
  106. package/package.json +6 -6
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![NanoGPT logo](https://models.dev/logos/nano-gpt.svg)NanoGPT
6
6
 
7
- Access 600 NanoGPT models through Mastra's model router. Authentication is handled automatically using the `NANO_GPT_API_KEY` environment variable.
7
+ Access 609 NanoGPT models through Mastra's model router. Authentication is handled automatically using the `NANO_GPT_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [NanoGPT documentation](https://docs.nano-gpt.com).
10
10
 
@@ -114,7 +114,7 @@ for await (const chunk of stream) {
114
114
  | `nano-gpt/cohere/command-r-plus-08-2024` | 128K | | | | | | $3 | $14 |
115
115
  | `nano-gpt/command-a-reasoning-08-2025` | 256K | | | | | | $3 | $10 |
116
116
  | `nano-gpt/deepcogito/cogito-v1-preview-qwen-32B` | 128K | | | | | | $2 | $2 |
117
- | `nano-gpt/deepseek-ai/DeepSeek-R1-0528` | 164K | | | | | | $0.40 | $2 |
117
+ | `nano-gpt/deepseek-ai/DeepSeek-R1-0528` | 164K | | | | | | $0.50 | $2 |
118
118
  | `nano-gpt/deepseek-ai/DeepSeek-V3.1` | 128K | | | | | | $0.20 | $0.70 |
119
119
  | `nano-gpt/deepseek-ai/DeepSeek-V3.1-Terminus` | 128K | | | | | | $0.25 | $0.70 |
120
120
  | `nano-gpt/deepseek-ai/DeepSeek-V3.1-Terminus:thinking` | 128K | | | | | | $0.25 | $0.70 |
@@ -313,6 +313,7 @@ for await (const chunk of stream) {
313
313
  | `nano-gpt/mistralai/ministral-3b-2512` | 131K | | | | | | $0.10 | $0.10 |
314
314
  | `nano-gpt/mistralai/ministral-8b-2512` | 262K | | | | | | $0.15 | $0.15 |
315
315
  | `nano-gpt/mistralai/mistral-large` | 128K | | | | | | $2 | $6 |
316
+ | `nano-gpt/mistralai/mistral-large-4` | 524K | | | | | | $0.68 | $2 |
316
317
  | `nano-gpt/mistralai/mistral-medium-3` | 131K | | | | | | $0.40 | $2 |
317
318
  | `nano-gpt/mistralai/mistral-medium-3.1` | 131K | | | | | | $0.40 | $2 |
318
319
  | `nano-gpt/mistralai/mistral-medium-3.5` | 256K | | | | | | $2 | $8 |
@@ -481,12 +482,20 @@ for await (const chunk of stream) {
481
482
  | `nano-gpt/qwen/qwen3.7-plus` | 992K | | | | | | $0.40 | $2 |
482
483
  | `nano-gpt/qwen/qwen3.7-plus:thinking` | 984K | | | | | | $0.40 | $2 |
483
484
  | `nano-gpt/qwen/qwen3.8-27b` | 262K | | | | | | $0.15 | $0.70 |
485
+ | `nano-gpt/qwen/qwen3.8-27b-antislop` | 262K | | | | | | $0.10 | $0.60 |
484
486
  | `nano-gpt/qwen/qwen3.8-27b-cybersecurity` | 262K | | | | | | $0.10 | $0.60 |
487
+ | `nano-gpt/qwen/qwen3.8-27b-darkidol` | 262K | | | | | | $0.10 | $0.60 |
485
488
  | `nano-gpt/qwen/qwen3.8-27b-fable` | 524K | | | | | | $0.25 | $2 |
489
+ | `nano-gpt/qwen/qwen3.8-27b-fimi` | 262K | | | | | | $0.10 | $0.60 |
486
490
  | `nano-gpt/qwen/qwen3.8-27b-hemmingway` | 262K | | | | | | $0.25 | $2 |
491
+ | `nano-gpt/qwen/qwen3.8-27b-kimiko` | 262K | | | | | | $0.10 | $0.60 |
492
+ | `nano-gpt/qwen/qwen3.8-27b-kiwen` | 262K | | | | | | $0.10 | $0.60 |
493
+ | `nano-gpt/qwen/qwen3.8-27b-novelist` | 262K | | | | | | $0.10 | $0.60 |
487
494
  | `nano-gpt/qwen/qwen3.8-27b-obliterated` | 524K | | | | | | $0.25 | $2 |
488
495
  | `nano-gpt/qwen/qwen3.8-27b-obliterated:thinking` | 524K | | | | | | $0.25 | $2 |
489
496
  | `nano-gpt/qwen/qwen3.8-27b-queen` | 524K | | | | | | $0.25 | $2 |
497
+ | `nano-gpt/qwen/qwen3.8-27b-swift` | 262K | | | | | | $0.10 | $0.60 |
498
+ | `nano-gpt/qwen/qwen3.8-27b-synthia` | 262K | | | | | | $0.10 | $0.60 |
490
499
  | `nano-gpt/qwen/qwen3.8-27b-uncensored` | 524K | | | | | | $0.15 | $1 |
491
500
  | `nano-gpt/qwen/qwen3.8-27b-uncensored:thinking` | 524K | | | | | | $0.15 | $1 |
492
501
  | `nano-gpt/qwen/qwen3.8-27b:thinking` | 262K | | | | | | $0.15 | $0.70 |
@@ -503,7 +512,6 @@ for await (const chunk of stream) {
503
512
  | `nano-gpt/sakana/fugu-max` | 1.0M | | | | | | $2 | $6 |
504
513
  | `nano-gpt/sakana/fugu-ultra` | 1.0M | | | | | | $5 | $30 |
505
514
  | `nano-gpt/sakana/fugu-ultra-v1.1` | 1.0M | | | | | | $5 | $30 |
506
- | `nano-gpt/sakana/sakana-namazu` | 262K | | | | | | $0.95 | $4 |
507
515
  | `nano-gpt/Salesforce/Llama-xLAM-2-70b-fc-r` | 128K | | | | | | $3 | $3 |
508
516
  | `nano-gpt/Sao10K/L3-8B-Stheno-v3.2` | 16K | | | | | | $0.20 | $0.20 |
509
517
  | `nano-gpt/Sao10K/L3.1-70B-Euryale-v2.2` | 20K | | | | | | $0.31 | $0.36 |
@@ -515,7 +523,6 @@ for await (const chunk of stream) {
515
523
  | `nano-gpt/soob3123/amoral-gemma3-27B-v2` | 33K | | | | | | $0.30 | $0.30 |
516
524
  | `nano-gpt/soob3123/GrayLine-Qwen3-8B` | 33K | | | | | | $0.30 | $0.30 |
517
525
  | `nano-gpt/soob3123/Veiled-Calla-12B` | 33K | | | | | | $0.30 | $0.30 |
518
- | `nano-gpt/stealth/space-bunny-alpha` | 1.0M | | | | | | $0.05 | $0.15 |
519
526
  | `nano-gpt/Steelskull/L3.3-Cu-Mai-R1-70b` | 33K | | | | | | $0.49 | $0.49 |
520
527
  | `nano-gpt/Steelskull/L3.3-Electra-R1-70b` | 33K | | | | | | $0.70 | $0.70 |
521
528
  | `nano-gpt/Steelskull/L3.3-MS-Nevoria-70b` | 33K | | | | | | $0.49 | $0.49 |
@@ -631,6 +638,8 @@ for await (const chunk of stream) {
631
638
  | `nano-gpt/z-ai/glm-5.2:thinking` | 1.0M | | | | | | $0.42 | $1 |
632
639
  | `nano-gpt/z-ai/glm-5.3` | 1.0M | | | | | | $1 | $3 |
633
640
  | `nano-gpt/z-ai/glm-5.3-flash` | 1.0M | | | | | | $0.10 | $0.30 |
641
+ | `nano-gpt/z-ai/glm-5.3-flash-apex` | 1.0M | | | | | | $0.15 | $0.50 |
642
+ | `nano-gpt/z-ai/glm-5.3-flash-apex-abliterated` | 1.0M | | | | | | $0.15 | $0.50 |
634
643
  | `nano-gpt/z-ai/glm-5.3-flash-cybersecurity` | 1.0M | | | | | | $0.15 | $0.50 |
635
644
  | `nano-gpt/z-ai/glm-5.3-flash-uncensored` | 1.0M | | | | | | $0.20 | $0.80 |
636
645
  | `nano-gpt/z-ai/glm-5.3-uncensored` | 1.0M | | | | | | $1 | $2 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![OpenCode Go logo](https://models.dev/logos/opencode-go.svg)OpenCode Go
6
6
 
7
- Access 33 OpenCode Go models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
7
+ Access 34 OpenCode Go models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [OpenCode Go documentation](https://opencode.ai/docs/go).
10
10
 
@@ -66,7 +66,7 @@ for await (const chunk of stream) {
66
66
  | `opencode-go/qwen3.7-plus` | 1.0M | | | | | | $0.40 | $2 |
67
67
  | `opencode-go/qwen3.8-flash` | 1.0M | | | | | | $0.15 | $0.47 |
68
68
  | `opencode-go/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
69
- | `opencode-go/space-bunny-free` | 1.0M | | | | | | — | — |
69
+ | `opencode-go/space-bunny` | 1.0M | | | | | | $0.15 | $0.60 |
70
70
 
71
71
  Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
72
72
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![OpenCode Zen logo](https://models.dev/logos/opencode.svg)OpenCode Zen
6
6
 
7
- Access 116 OpenCode Zen models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
7
+ Access 118 OpenCode Zen models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [OpenCode Zen documentation](https://opencode.ai/docs/zen).
10
10
 
@@ -57,6 +57,7 @@ for await (const chunk of stream) {
57
57
  | `opencode/deepseek-v4-flash-vision-exp` | 1.0M | | | | | | $0.14 | $0.28 |
58
58
  | `opencode/deepseek-v4-pro` | 1.0M | | | | | | $2 | $4 |
59
59
  | `opencode/deepseek-v4.1-flash` | 1.0M | | | | | | $0.30 | $1 |
60
+ | `opencode/exo-free` | 1.0M | | | | | | — | — |
60
61
  | `opencode/fledge-alpha-free` | 1.0M | | | | | | — | — |
61
62
  | `opencode/gemini-3-flash` | 1.0M | | | | | | $0.50 | $3 |
62
63
  | `opencode/gemini-3.1-pro` | 1.0M | | | | | | $2 | $12 |
@@ -109,6 +110,7 @@ for await (const chunk of stream) {
109
110
  | `opencode/minimax-m2.5` | 205K | | | | | | $0.30 | $1 |
110
111
  | `opencode/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
111
112
  | `opencode/minimax-m3` | 512K | | | | | | $0.30 | $1 |
113
+ | `opencode/mistral-large-4` | 524K | | | | | | $0.68 | $2 |
112
114
  | `opencode/muse-spark-1.2` | 1.0M | | | | | | $1 | $4 |
113
115
  | `opencode/muse-spark-1.3` | 1.0M | | | | | | $1 | $4 |
114
116
  | `opencode/muse-spark-1.3-contributor-free` | 1.0M | | | | | | — | — |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Requesty logo](https://models.dev/logos/requesty.svg)Requesty
6
6
 
7
- Access 166 Requesty models through Mastra's model router. Authentication is handled automatically using the `REQUESTY_API_KEY` environment variable.
7
+ Access 168 Requesty models through Mastra's model router. Authentication is handled automatically using the `REQUESTY_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Requesty documentation](https://requesty.ai/solution/llm-routing/models).
10
10
 
@@ -167,6 +167,8 @@ for await (const chunk of stream) {
167
167
  | `requesty/minimax-m2.7-highspeed` | 200K | | | | | | $0.60 | $2 |
168
168
  | `requesty/minimax-m3` | 1.0M | | | | | | $0.30 | $1 |
169
169
  | `requesty/minimax-m3@eu` | 1.0M | | | | | | $0.40 | $2 |
170
+ | `requesty/mistral-large-4` | 1.0M | | | | | | $0.68 | $2 |
171
+ | `requesty/mistral-large-4@eu` | 1.0M | | | | | | $0.68 | $2 |
170
172
  | `requesty/mistral-medium-3-5` | 262K | | | | | | $2 | $8 |
171
173
  | `requesty/mistral-medium-3-5@eu` | 262K | | | | | | $2 | $8 |
172
174
  | `requesty/mistral-medium-latest` | 131K | | | | | | $0.44 | $2 |
@@ -19,7 +19,7 @@ const agent = new Agent({
19
19
  id: "my-agent",
20
20
  name: "My Agent",
21
21
  instructions: "You are a helpful assistant",
22
- model: "subconscious/subconscious/glm-5.2"
22
+ model: "subconscious/subconscious/deepseek-v4.1-flash-marathon"
23
23
  });
24
24
 
25
25
  // Generate a response
@@ -36,10 +36,10 @@ for await (const chunk of stream) {
36
36
 
37
37
  ## Models
38
38
 
39
- | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
- | ------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
- | `subconscious/subconscious/glm-5.2` | 1.0M | | | | | | $1 | $4 |
42
- | `subconscious/subconscious/tim-qwen3.6-27b` | 8K | | | | | | $0.30 | $3 |
39
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
+ | -------------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
+ | `subconscious/subconscious/deepseek-v4.1-flash-marathon` | 5.0M | | | | | | $0.14 | $0.28 |
42
+ | `subconscious/subconscious/glm-5.3-marathon` | 5.0M | | | | | | $1 | $4 |
43
43
 
44
44
  Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
45
45
 
@@ -53,7 +53,7 @@ const agent = new Agent({
53
53
  name: "custom-agent",
54
54
  model: {
55
55
  url: "https://api.subconscious.dev/v1",
56
- id: "subconscious/subconscious/glm-5.2",
56
+ id: "subconscious/subconscious/deepseek-v4.1-flash-marathon",
57
57
  apiKey: process.env.SUBCONSCIOUS_API_KEY,
58
58
  headers: {
59
59
  "X-Custom-Header": "value"
@@ -71,8 +71,8 @@ const agent = new Agent({
71
71
  model: ({ requestContext }) => {
72
72
  const useAdvanced = requestContext.task === "complex";
73
73
  return useAdvanced
74
- ? "subconscious/subconscious/tim-qwen3.6-27b"
75
- : "subconscious/subconscious/glm-5.2";
74
+ ? "subconscious/subconscious/glm-5.3-marathon"
75
+ : "subconscious/subconscious/deepseek-v4.1-flash-marathon";
76
76
  }
77
77
  });
78
78
  ```
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![The Grid AI logo](https://models.dev/logos/the-grid-ai.svg)The Grid AI
6
6
 
7
- Access 9 The Grid AI models through Mastra's model router. Authentication is handled automatically using the `THEGRID_API_KEY` environment variable.
7
+ Access 16 The Grid AI models through Mastra's model router. Authentication is handled automatically using the `THEGRID_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [The Grid AI documentation](https://thegrid.ai/docs).
10
10
 
@@ -36,17 +36,24 @@ for await (const chunk of stream) {
36
36
 
37
37
  ## Models
38
38
 
39
- | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
- | ---------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
- | `the-grid-ai/agent-max` | 1.0M | | | | | | — | — |
42
- | `the-grid-ai/agent-prime` | 197K | | | | | | — | — |
43
- | `the-grid-ai/agent-standard` | 128K | | | | | | — | — |
44
- | `the-grid-ai/code-max` | 1.0M | | | | | | — | — |
45
- | `the-grid-ai/code-prime` | 197K | | | | | | — | — |
46
- | `the-grid-ai/code-standard` | 128K | | | | | | — | — |
47
- | `the-grid-ai/text-max` | 1.0M | | | | | | — | — |
48
- | `the-grid-ai/text-prime` | 197K | | | | | | — | — |
49
- | `the-grid-ai/text-standard` | 128K | | | | | | — | — |
39
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
+ | ---------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
+ | `the-grid-ai/agent-max` | 1.0M | | | | | | — | — |
42
+ | `the-grid-ai/agent-prime` | 197K | | | | | | — | — |
43
+ | `the-grid-ai/agent-standard` | 128K | | | | | | — | — |
44
+ | `the-grid-ai/bytedance-pro-latest` | 262K | | | | | | — | — |
45
+ | `the-grid-ai/claude-opus-latest` | 1.0M | | | | | | — | — |
46
+ | `the-grid-ai/code-max` | 1.0M | | | | | | — | — |
47
+ | `the-grid-ai/code-prime` | 197K | | | | | | — | — |
48
+ | `the-grid-ai/code-standard` | 128K | | | | | | — | — |
49
+ | `the-grid-ai/deepseek-pro-latest` | 1.0M | | | | | | — | — |
50
+ | `the-grid-ai/gemini-pro-latest` | 1.0M | | | | | | — | — |
51
+ | `the-grid-ai/glm-latest` | 1.0M | | | | | | — | — |
52
+ | `the-grid-ai/gpt-sol-latest` | 1.0M | | | | | | — | — |
53
+ | `the-grid-ai/minimax-latest` | 1.0M | | | | | | — | — |
54
+ | `the-grid-ai/text-max` | 1.0M | | | | | | — | — |
55
+ | `the-grid-ai/text-prime` | 197K | | | | | | — | — |
56
+ | `the-grid-ai/text-standard` | 128K | | | | | | — | — |
50
57
 
51
58
  Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
52
59
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Umans AI Coding Plan logo](https://models.dev/logos/umans-ai-coding-plan.svg)Umans AI Coding Plan
6
6
 
7
- Access 7 Umans AI Coding Plan models through Mastra's model router. Authentication is handled automatically using the `UMANS_AI_CODING_PLAN_API_KEY` environment variable.
7
+ Access 8 Umans AI Coding Plan models through Mastra's model router. Authentication is handled automatically using the `UMANS_AI_CODING_PLAN_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Umans AI Coding Plan documentation](https://app.umans.ai/offers/code/docs).
10
10
 
@@ -42,6 +42,7 @@ for await (const chunk of stream) {
42
42
  | `umans-ai-coding-plan/umans-deepseek-v4-flash-0731` | 1.0M | | | | | | — | — |
43
43
  | `umans-ai-coding-plan/umans-deepseek-v4.1-flash` | 1.0M | | | | | | — | — |
44
44
  | `umans-ai-coding-plan/umans-flash` | 262K | | | | | | — | — |
45
+ | `umans-ai-coding-plan/umans-glm-5.3` | 1.0M | | | | | | — | — |
45
46
  | `umans-ai-coding-plan/umans-glm-5.3-flash` | 1.0M | | | | | | — | — |
46
47
  | `umans-ai-coding-plan/umans-kimi-k3` | 1.0M | | | | | | — | — |
47
48
  | `umans-ai-coding-plan/umans-qwen3.6-35b-a3b` | 262K | | | | | | — | — |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Umans AI logo](https://models.dev/logos/umans-ai.svg)Umans AI
6
6
 
7
- Access 6 Umans AI models through Mastra's model router. Authentication is handled automatically using the `UMANS_AI_API_KEY` environment variable.
7
+ Access 7 Umans AI models through Mastra's model router. Authentication is handled automatically using the `UMANS_AI_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Umans AI documentation](https://app.umans.ai/offers/code/docs/orgs).
10
10
 
@@ -42,6 +42,7 @@ for await (const chunk of stream) {
42
42
  | `umans-ai/umans-deepseek-v4-flash-0731` | 1.0M | | | | | | $0.14 | $0.28 |
43
43
  | `umans-ai/umans-deepseek-v4.1-flash` | 1.0M | | | | | | $0.15 | $0.60 |
44
44
  | `umans-ai/umans-flash` | 262K | | | | | | $0.15 | $1 |
45
+ | `umans-ai/umans-glm-5.3` | 1.0M | | | | | | $1 | $4 |
45
46
  | `umans-ai/umans-glm-5.3-flash` | 1.0M | | | | | | $0.15 | $0.50 |
46
47
  | `umans-ai/umans-kimi-k3` | 1.0M | | | | | | $3 | $15 |
47
48
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![CoreWeave logo](https://models.dev/logos/wandb.svg)CoreWeave
6
6
 
7
- Access 29 CoreWeave models through Mastra's model router. Authentication is handled automatically using the `WANDB_API_KEY` environment variable.
7
+ Access 20 CoreWeave models through Mastra's model router. Authentication is handled automatically using the `WANDB_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [CoreWeave documentation](https://docs.wandb.ai).
10
10
 
@@ -19,7 +19,7 @@ const agent = new Agent({
19
19
  id: "my-agent",
20
20
  name: "My Agent",
21
21
  instructions: "You are a helpful assistant",
22
- model: "wandb/JetBrains/Mellum2-12B-A2.5B-Instruct"
22
+ model: "wandb/MiniMaxAI/MiniMax-M3"
23
23
  });
24
24
 
25
25
  // Generate a response
@@ -39,17 +39,12 @@ for await (const chunk of stream) {
39
39
  | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
40
  | ---------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
41
  | `wandb/deepseek-ai/DeepSeek-V3.1` | 161K | | | | | | $0.55 | $2 |
42
- | `wandb/deepseek-ai/DeepSeek-V4-Flash` | 1.0M | | | | | | $0.14 | $0.28 |
43
42
  | `wandb/deepseek-ai/DeepSeek-V4-Flash-0731` | 262K | | | | | | $0.13 | $0.28 |
44
- | `wandb/deepseek-ai/DeepSeek-V4-Pro` | 1.0M | | | | | | $1 | $3 |
45
43
  | `wandb/deepseek-ai/DeepSeek-V4-Pro-0813` | 1.0M | | | | | | $1 | $4 |
46
44
  | `wandb/deepseek-ai/DeepSeek-V4.1-Flash` | 1.0M | | | | | | $0.20 | $0.65 |
47
45
  | `wandb/google/gemma-4-26B-A4B-it` | 262K | | | | | | $0.10 | $0.30 |
48
46
  | `wandb/google/gemma-4-31B-it` | 262K | | | | | | $0.10 | $0.34 |
49
- | `wandb/ibm-granite/granite-4.1-8b` | 131K | | | | | | $0.05 | $0.10 |
50
47
  | `wandb/ibm-granite/granite-4.2-8b` | 131K | | | | | | $0.10 | $0.15 |
51
- | `wandb/JetBrains/Mellum2-12B-A2.5B-Instruct` | 131K | | | | | | $0.05 | $0.10 |
52
- | `wandb/meta-llama/Llama-3.1-70B-Instruct` | 131K | | | | | | $0.80 | $0.80 |
53
48
  | `wandb/meta-llama/Llama-3.1-8B-Instruct` | 131K | | | | | | $0.22 | $0.22 |
54
49
  | `wandb/meta-llama/Llama-3.3-70B-Instruct` | 128K | | | | | | $0.71 | $0.71 |
55
50
  | `wandb/MiniMaxAI/MiniMax-M3` | 262K | | | | | | $0.23 | $0.96 |
@@ -59,10 +54,6 @@ for await (const chunk of stream) {
59
54
  | `wandb/nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B` | 262K | | | | | | $0.07 | $0.20 |
60
55
  | `wandb/openai/gpt-oss-120b` | 131K | | | | | | $0.03 | $0.17 |
61
56
  | `wandb/openai/gpt-oss-20b` | 131K | | | | | | $0.03 | $0.13 |
62
- | `wandb/OpenPipe/Qwen3-14B-Instruct` | 33K | | | | | | $0.05 | $0.22 |
63
- | `wandb/Qwen/Qwen3-30B-A3B-Instruct-2507` | 262K | | | | | | $0.10 | $0.30 |
64
- | `wandb/Qwen/Qwen3.5-35B-A3B` | 262K | | | | | | $0.25 | $1 |
65
- | `wandb/Qwen/Qwen3.6-27B` | 262K | | | | | | $0.60 | $4 |
66
57
  | `wandb/Qwen/Qwen3.6-35B-A3B` | 262K | | | | | | $0.25 | $1 |
67
58
  | `wandb/Qwen/Qwen3.8-27B` | 262K | | | | | | $0.40 | $3 |
68
59
  | `wandb/zai-org/GLM-5.2` | 1.0M | | | | | | $0.76 | $2 |
@@ -80,7 +71,7 @@ const agent = new Agent({
80
71
  name: "custom-agent",
81
72
  model: {
82
73
  url: "https://api.inference.wandb.ai/v1",
83
- id: "wandb/JetBrains/Mellum2-12B-A2.5B-Instruct",
74
+ id: "wandb/MiniMaxAI/MiniMax-M3",
84
75
  apiKey: process.env.WANDB_API_KEY,
85
76
  headers: {
86
77
  "X-Custom-Header": "value"
@@ -99,7 +90,7 @@ const agent = new Agent({
99
90
  const useAdvanced = requestContext.task === "complex";
100
91
  return useAdvanced
101
92
  ? "wandb/zai-org/GLM-5.3-Flash"
102
- : "wandb/JetBrains/Mellum2-12B-A2.5B-Instruct";
93
+ : "wandb/MiniMaxAI/MiniMax-M3";
103
94
  }
104
95
  });
105
96
  ```
@@ -4,8 +4,6 @@
4
4
 
5
5
  # AgentController
6
6
 
7
- > **Beta:** Breaking changes may occur without a major version bump until the API is stable.
8
-
9
7
  The `AgentController` class is a shared host for one or more [`Session`](https://mastra.ai/reference/agent-controller/session) instances. Initialize the controller, create a session, then use `session.*` APIs for conversation state and run control.
10
8
 
11
9
  For a guided introduction, see the [AgentController overview](https://mastra.ai/docs/harness/agent-controller).
@@ -58,7 +56,7 @@ A message lifecycle starts with the initial message in `message_start`. Compact
58
56
 
59
57
  **modes.name** (`string`): Display name.
60
58
 
61
- **modes.defaultModelId** (`string`): Model selected when a session enters this mode without a stored selection.
59
+ **modes.defaultModelId** (`string`): Model used when a session starts in this mode without a stored selection. Mode switches do not apply it.
62
60
 
63
61
  **modes.description** (`string`): Text shown in mode selectors.
64
62
 
@@ -96,7 +94,7 @@ A message lifecycle starts with the initial message in `message_start`. Compact
96
94
 
97
95
  **tools** (`DynamicArgument<ToolsInput | undefined>`): Tools shared by controller runs and available to configured subagents.
98
96
 
99
- **workspace** (`DynamicArgument<Workspace | undefined>`): Static workspace or per-session workspace factory. A session must resolve a valid workspace.
97
+ **workspace** (`DynamicArgument<Workspace | undefined>`): Static workspace or per-session workspace factory. A workspace is optional. Sessions without one support threads, state, and agent runs. They have no workspace tools unless the mode's agent has its own workspace.
100
98
 
101
99
  **browser** (`DynamicArgument<MastraBrowser | undefined>`): Static browser or per-session browser factory.
102
100
 
@@ -4,8 +4,6 @@
4
4
 
5
5
  # Session
6
6
 
7
- > **Beta:** Breaking changes may occur without a major version bump until the API is stable.
8
-
9
7
  A `Session` is the isolated runtime for one resource and optional scope. It owns its event bus, thread binding, state, mode and model selections, run control, approvals, suspensions, follow-ups, and display state. The [`AgentController`](https://mastra.ai/reference/agent-controller/agent-controller-class) supplies shared agents, configuration, storage, workspaces, and services.
10
8
 
11
9
  Create sessions through `controller.createSession()`. Direct construction and controller wiring methods aren't application APIs.
@@ -461,7 +459,7 @@ const mode = session.mode.resolve()
461
459
 
462
460
  ### `session.mode.switch({ modeId })`
463
461
 
464
- Switch to another mode. The session saves the outgoing mode's model before persisting the new mode on the active thread. It then restores the incoming mode's selected or default model. The session emits `mode_changed` immediately and `model_changed` after model resolution.
462
+ Switch to another mode and persist the mode on the active thread. The session emits `mode_changed`. Switching modes doesn't change the active model; switch the model separately when your host assigns different models to different modes.
465
463
 
466
464
  ```typescript
467
465
  await session.mode.switch({ modeId: 'build' })
@@ -469,7 +467,7 @@ await session.mode.switch({ modeId: 'build' })
469
467
 
470
468
  ## Model
471
469
 
472
- `session.model` owns the active model selection, including per-mode model memory.
470
+ `session.model` owns the session's single active model selection.
473
471
 
474
472
  ### `session.model.get()`
475
473
 
@@ -497,21 +495,28 @@ if (session.model.hasSelection()) {
497
495
  }
498
496
  ```
499
497
 
500
- ### `session.model.switch({ modelId, scope?, modeId? })`
498
+ ### `session.model.set({ modelId })`
501
499
 
502
- Switch the active model. When `scope` is `'thread'` (the default), the model ID is persisted as the per-mode model so it's restored when switching back. Reports the selection to the controller's `modelUseCountTracker` and emits a `model_changed` event.
500
+ Set the active model in memory without persisting it, reporting model use, or emitting a `model_changed` event.
503
501
 
504
502
  ```typescript
505
- // Set for the current session only
506
- await session.model.switch({
507
- modelId: 'anthropic/claude-sonnet-4-6',
508
- scope: 'global',
509
- })
503
+ session.model.set({ modelId: 'anthropic/claude-sonnet-4-6' })
504
+ ```
505
+
506
+ ### `session.model.switch(modelId, options?)`
507
+
508
+ Switch the session's active model. The model ID is persisted as the thread's `currentModelId` and restored with that thread. Reports the selection to the controller's `modelUseCountTracker` and emits a `model_changed` event.
510
509
 
511
- // Persist to the current thread (default)
512
- await session.model.switch({ modelId: 'anthropic/claude-sonnet-4-6' })
510
+ Pass `{ thinkingLevel }` as the second argument to switch and persist both values in one operation. The level must be `'off'`, `'low'`, `'medium'`, `'high'`, `'xhigh'`, or `'max'`, and the controller's state schema must accept it. Both live values are updated before events are emitted. Omitting the option preserves the existing thinking-level override. Every `model_changed` event includes the current `{ modelId, thinkingLevel }`, even when the thinking level is unchanged. The level is `undefined` when the session has no override.
511
+
512
+ ```typescript
513
+ await session.model.switch('anthropic/claude-sonnet-4-6', {
514
+ thinkingLevel: 'high',
515
+ })
513
516
  ```
514
517
 
518
+ The client SDK exposes the same operation as `session.switchModel(modelId, { thinkingLevel })`.
519
+
515
520
  ## Observational Memory
516
521
 
517
522
  The observational-memory model selection, grouped by role under `session.om.observer` and `session.om.reflector`. Both roles expose the same methods. Reads return the value from session state when set, falling back to the controller's `omConfig` defaults.
@@ -65,12 +65,11 @@ The skill is assigned a synthetic path of `inline/<name>` (e.g., `inline/code-re
65
65
 
66
66
  - `name` is required and must be a valid slug
67
67
  - `description` is required
68
- - `instructions` is required and non-empty
69
68
 
70
69
  If validation fails, an `Error` is thrown with details about the invalid fields.
71
70
 
72
71
  ```typescript
73
- // Throws: Invalid skill "": name is required
72
+ // Throws: Invalid skill "": name: Skill name cannot be empty
74
73
  createSkill({ name: '', description: 'test', instructions: 'test' })
75
74
  ```
76
75
 
@@ -444,6 +444,8 @@ const response = await agent.generate([
444
444
  console.log(response.text)
445
445
  ```
446
446
 
447
+ The `image` value, or `data` for a `type: 'file'` part, should be an absolute URL, a data URL, or base64 content. The model can't see an attachment given as a relative path such as `/api/images/foo.png`, so resolve it to an absolute URL before sending. The agent replaces it with a placeholder and logs a warning. It does the same for inline content that can't be decoded or isn't the image or PDF its media type says, and for any attachment it can't download, instead of failing. See [attachment download failures](https://mastra.ai/docs/agents/processors).
448
+
447
449
  ### Using `maxSteps`
448
450
 
449
451
  The `maxSteps` parameter controls the maximum number of sequential LLM calls an agent can make. Each step generates a response and executes any tool calls before processing the result. Limiting steps helps prevent infinite loops and reduce latency. It also controls token usage for agents that use tools. The default is 5, but can be increased:
@@ -20,7 +20,7 @@ await agent.getModel()
20
20
 
21
21
  ## Returns
22
22
 
23
- **model** (`MastraLanguageModel | Promise<MastraLanguageModel>`): The language model configured for the agent, either as a direct instance or a promise that resolves to the model.
23
+ **model** (`MastraLanguageModel | MastraLegacyLanguageModel | Promise<MastraLanguageModel | MastraLegacyLanguageModel>`): The language model configured for the agent, either as a direct instance or a promise that resolves to the model.
24
24
 
25
25
  ## Extended usage example
26
26
 
@@ -40,7 +40,10 @@ interface Skill {
40
40
  description: string
41
41
  instructions: string
42
42
  path: string
43
- source: { type: string; projectPath: string }
43
+ source:
44
+ | { type: 'external'; packagePath: string }
45
+ | { type: 'local'; projectPath: string }
46
+ | { type: 'managed'; mastraPath: string }
44
47
  references: string[]
45
48
  scripts: string[]
46
49
  assets: string[]
@@ -51,6 +54,8 @@ interface Skill {
51
54
  }
52
55
  ```
53
56
 
57
+ `source` describes where Mastra discovered the skill. Skills from a path with a `node_modules` segment are `external`, skills under `.mastra/skills` are `managed`, and all other skills, including those created with [`createSkill()`](https://mastra.ai/reference/agents/createSkill), are `local`.
58
+
54
59
  ## Merging behavior
55
60
 
56
61
  When both agent-level skills and workspace skills are configured, `.getSkill()` searches the merged set. Agent-level skills take precedence on name conflicts.
@@ -35,7 +35,6 @@ interface SkillMetadata {
35
35
  name: string
36
36
  description: string
37
37
  path: string
38
- source: { type: string; projectPath: string }
39
38
  references: string[]
40
39
  scripts: string[]
41
40
  assets: string[]
@@ -23,7 +23,7 @@ export const mastra = new Mastra({
23
23
 
24
24
  ## Constructor parameters
25
25
 
26
- **secret** (`string`): A unique string used to sign and verify JSON Web Tokens (JWTs) for authenticating incoming requests.
26
+ **secret** (`string`): A unique string used to sign and verify JSON Web Tokens (JWTs) for authenticating incoming requests. Falls back to JWT\_AUTH\_SECRET when omitted. The resolved secret must be non-empty: the constructor throws an error if neither is set, or if this option is an empty string (an empty string does not fall back to JWT\_AUTH\_SECRET). (Default: `process.env.JWT_AUTH_SECRET`)
27
27
 
28
28
  ## Related
29
29
 
@@ -30,7 +30,7 @@ export const mastra = new Mastra({
30
30
 
31
31
  **name** (`string`): Custom name for the auth provider instance.
32
32
 
33
- **authorizeUser** (`(user: User, request: HoneRequest) => Promise<boolean> | boolean`): Custom authorization function to determine if a user should be granted access. Called after token verification. By default, checks the 'isAdmin' column in the 'users' table.
33
+ **authorizeUser** (`(user: User, request: MastraAuthRequest) => Promise<boolean> | boolean`): Custom authorization function to determine if a user should be granted access. Called after token verification. By default, checks the 'isAdmin' column in the 'users' table.
34
34
 
35
35
  ## Related
36
36
 
@@ -157,12 +157,12 @@ const tools = browser.getTools()
157
157
 
158
158
  ### Screencast
159
159
 
160
- #### `startScreencast(options?, threadId?)`
160
+ #### `startScreencast(options?)`
161
161
 
162
162
  Starts streaming browser frames. Returns a `ScreencastStream` that emits frame events.
163
163
 
164
164
  ```typescript
165
- const stream = await browser.startScreencast({ format: 'jpeg', quality: 80 }, 'thread-123')
165
+ const stream = await browser.startScreencast({ format: 'jpeg', quality: 80 })
166
166
 
167
167
  stream.on('frame', frame => {
168
168
  console.log('Frame received:', frame.data.length, 'bytes')
@@ -205,29 +205,31 @@ await browser.injectKeyboardEvent({
205
205
 
206
206
  ### State
207
207
 
208
- #### `getState(threadId?)`
208
+ #### `getBrowserState(threadId?)`
209
209
 
210
- Gets the current browser state including URL and tabs.
210
+ Gets the current browser state, including open tabs and the active tab index. Returns `null` when no state is available.
211
211
 
212
212
  ```typescript
213
- const state = await browser.getState('thread-123')
214
- console.log('Current URL:', state.currentUrl)
215
- console.log('Tabs:', state.tabs)
213
+ const state = await browser.getBrowserState('thread-123')
214
+ if (state) {
215
+ console.log('Active tab:', state.tabs[state.activeTabIndex]?.url)
216
+ console.log('Tabs:', state.tabs)
217
+ }
216
218
  ```
217
219
 
218
- **Returns:** `Promise<BrowserState>`
220
+ **Returns:** `Promise<BrowserState | null>`
219
221
 
220
222
  ```typescript
221
223
  interface BrowserState {
222
- currentUrl: string | null
223
224
  tabs: BrowserTabState[]
224
225
  activeTabIndex: number
226
+ closeReason?: 'agent' | 'user' | 'process_restart' | 'error'
227
+ activeUrlChangeSource?: 'agent' | 'user'
225
228
  }
226
229
 
227
230
  interface BrowserTabState {
228
- id: string
229
231
  url: string
230
- title: string
232
+ title?: string
231
233
  }
232
234
  ```
233
235
 
@@ -187,7 +187,7 @@ Use `--no-skills` or `--no-git` to skip these steps. Skills and Git setup failur
187
187
  - `--llm` and `--llm-api-key` are only valid for the default starter project.
188
188
  - The project name must be a safe, lowercase, single directory name and the target must not already exist.
189
189
 
190
- Invalid input is rejected before templates are fetched or files are created.
190
+ Invalid flags, project names, and GitHub URLs are rejected before any project files are created. An unknown template name is rejected after the template list is fetched, and the CLI prints the available templates.
191
191
 
192
192
  ## Arguments and flags
193
193