@mastra/mcp-docs-server 1.2.7-alpha.10 → 1.2.7-alpha.14
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/docs/agent-builder/integrations.md +44 -2
- package/.docs/docs/editor/tools.md +2 -2
- package/.docs/docs/getting-started/file-based-agents.md +2 -0
- package/.docs/models/environment-variables.md +8 -0
- package/.docs/models/gateways/openrouter.md +1 -3
- package/.docs/models/gateways/vercel.md +5 -1
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/abacus.md +44 -14
- package/.docs/models/providers/ai-router.md +77 -0
- package/.docs/models/providers/ambient.md +4 -3
- package/.docs/models/providers/blueclaw.md +74 -0
- package/.docs/models/providers/daoxe.md +81 -0
- package/.docs/models/providers/databricks.md +4 -2
- package/.docs/models/providers/deepinfra.md +2 -2
- package/.docs/models/providers/empiriolabs.md +106 -0
- package/.docs/models/providers/hpc-ai.md +16 -10
- package/.docs/models/providers/inferx.md +78 -0
- package/.docs/models/providers/llmgateway.md +2 -3
- package/.docs/models/providers/model-oracle-ai.md +87 -0
- package/.docs/models/providers/neon.md +1 -1
- package/.docs/models/providers/nvidia.md +1 -3
- package/.docs/models/providers/openai.md +2 -1
- package/.docs/models/providers/opencode.md +5 -2
- package/.docs/models/providers/pioneer.md +148 -0
- package/.docs/models/providers/routing-run.md +4 -1
- package/.docs/models/providers/unorouter.md +95 -0
- package/.docs/models/providers/vivgrid.md +5 -2
- package/.docs/models/providers/wafer.ai.md +9 -12
- package/.docs/models/providers/zenmux.md +5 -1
- package/.docs/models/providers.md +8 -0
- package/.docs/reference/file-based-agents/logger.md +26 -0
- package/.docs/reference/file-based-agents/scorers.md +54 -0
- package/.docs/reference/index.md +2 -0
- package/CHANGELOG.md +14 -0
- package/package.json +4 -4
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
+
|
|
3
|
+
# Pioneer
|
|
4
|
+
|
|
5
|
+
Access 76 Pioneer models through Mastra's model router. Authentication is handled automatically using the `PIONEER_API_KEY` environment variable.
|
|
6
|
+
|
|
7
|
+
Learn more in the [Pioneer documentation](https://agent.pioneer.ai/llms.txt).
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
PIONEER_API_KEY=your-api-key
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { Agent } from "@mastra/core/agent";
|
|
15
|
+
|
|
16
|
+
const agent = new Agent({
|
|
17
|
+
id: "my-agent",
|
|
18
|
+
name: "My Agent",
|
|
19
|
+
instructions: "You are a helpful assistant",
|
|
20
|
+
model: "pioneer/HuggingFaceTB/SmolLM3-3B-Base"
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
// Generate a response
|
|
24
|
+
const response = await agent.generate("Hello!");
|
|
25
|
+
|
|
26
|
+
// Stream a response
|
|
27
|
+
const stream = await agent.stream("Tell me a story");
|
|
28
|
+
for await (const chunk of stream) {
|
|
29
|
+
console.log(chunk);
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
> **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [Pioneer documentation](https://agent.pioneer.ai/llms.txt) for details.
|
|
34
|
+
|
|
35
|
+
## Models
|
|
36
|
+
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| ------------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `pioneer/claude-haiku-4-5` | 200K | | | | | | $1 | $5 |
|
|
40
|
+
| `pioneer/claude-opus-4-1` | 200K | | | | | | $15 | $75 |
|
|
41
|
+
| `pioneer/claude-opus-4-5` | 200K | | | | | | $5 | $25 |
|
|
42
|
+
| `pioneer/claude-opus-4-6` | 1.0M | | | | | | $5 | $25 |
|
|
43
|
+
| `pioneer/claude-opus-4-7` | 1.0M | | | | | | $5 | $25 |
|
|
44
|
+
| `pioneer/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
|
|
45
|
+
| `pioneer/claude-sonnet-4-5` | 1.0M | | | | | | $3 | $15 |
|
|
46
|
+
| `pioneer/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
|
|
47
|
+
| `pioneer/deepseek-ai/DeepSeek-V4-Flash` | 1.0M | | | | | | $0.10 | $0.20 |
|
|
48
|
+
| `pioneer/deepseek-ai/DeepSeek-V4-Pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
49
|
+
| `pioneer/fastino/gliguard-LLMGuardrails-300M` | 8K | | | | | | $0.15 | $0.15 |
|
|
50
|
+
| `pioneer/fastino/gliner2-base-v1` | 8K | | | | | | $0.15 | $0.15 |
|
|
51
|
+
| `pioneer/fastino/gliner2-large-v1` | 8K | | | | | | $0.15 | $0.15 |
|
|
52
|
+
| `pioneer/fastino/gliner2-multi-large-v1` | 8K | | | | | | $0.15 | $0.15 |
|
|
53
|
+
| `pioneer/fastino/gliner2-multi-v1` | 8K | | | | | | $0.15 | $0.15 |
|
|
54
|
+
| `pioneer/fastino/gliner2-privacy-filter-PII-multi` | 8K | | | | | | $0.15 | $0.15 |
|
|
55
|
+
| `pioneer/gemini-3-flash` | 1.0M | | | | | | $0.50 | $3 |
|
|
56
|
+
| `pioneer/gemini-3.1-pro` | 1.0M | | | | | | $2 | $12 |
|
|
57
|
+
| `pioneer/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
|
|
58
|
+
| `pioneer/google/diffusiongemma-26B-A4B-it` | 262K | | | | | | $0.50 | $0.50 |
|
|
59
|
+
| `pioneer/google/gemma-3-4b-pt` | 33K | | | | | | $0.15 | $0.15 |
|
|
60
|
+
| `pioneer/google/gemma-4-12B-it` | 33K | | | | | | $0.25 | $0.25 |
|
|
61
|
+
| `pioneer/google/gemma-4-31B-it` | 33K | | | | | | $0.50 | $0.50 |
|
|
62
|
+
| `pioneer/google/gemma-4-E2B-it` | 33K | | | | | | $0.10 | $0.10 |
|
|
63
|
+
| `pioneer/google/gemma-4-E4B-it` | 33K | | | | | | $0.20 | $0.20 |
|
|
64
|
+
| `pioneer/gpt-4.1` | 1.0M | | | | | | $2 | $8 |
|
|
65
|
+
| `pioneer/gpt-4.1-mini` | 1.0M | | | | | | $0.40 | $2 |
|
|
66
|
+
| `pioneer/gpt-4.1-nano` | 1.0M | | | | | | $0.10 | $0.40 |
|
|
67
|
+
| `pioneer/gpt-4o` | 128K | | | | | | $3 | $10 |
|
|
68
|
+
| `pioneer/gpt-4o-mini` | 128K | | | | | | $0.15 | $0.60 |
|
|
69
|
+
| `pioneer/gpt-5-mini` | 400K | | | | | | $0.25 | $2 |
|
|
70
|
+
| `pioneer/gpt-5-nano` | 400K | | | | | | $0.05 | $0.40 |
|
|
71
|
+
| `pioneer/gpt-5.1` | 400K | | | | | | $1 | $10 |
|
|
72
|
+
| `pioneer/gpt-5.3-codex` | 400K | | | | | | $2 | $14 |
|
|
73
|
+
| `pioneer/gpt-5.4` | 1.1M | | | | | | $3 | $15 |
|
|
74
|
+
| `pioneer/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
|
|
75
|
+
| `pioneer/gpt-5.4-nano` | 1.0M | | | | | | $0.20 | $1 |
|
|
76
|
+
| `pioneer/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
|
|
77
|
+
| `pioneer/HuggingFaceTB/SmolLM3-3B-Base` | 33K | | | | | | $0.15 | $0.15 |
|
|
78
|
+
| `pioneer/LiquidAI/LFM2-24B-A2B` | 33K | | | | | | $0.03 | $0.12 |
|
|
79
|
+
| `pioneer/meta-llama/Llama-3.1-8B-Instruct` | 131K | | | | | | $0.20 | $0.20 |
|
|
80
|
+
| `pioneer/meta-llama/Llama-3.2-1B-Instruct` | 131K | | | | | | $0.10 | $0.20 |
|
|
81
|
+
| `pioneer/meta-llama/Llama-3.2-3B-Instruct` | 131K | | | | | | $0.10 | $0.34 |
|
|
82
|
+
| `pioneer/meta-llama/Llama-3.3-70B-Instruct` | 131K | | | | | | $0.90 | $0.90 |
|
|
83
|
+
| `pioneer/MiniMaxAI/MiniMax-M2.7` | 205K | | | | | | $0.28 | $1 |
|
|
84
|
+
| `pioneer/MiniMaxAI/MiniMax-M3` | 1.0M | | | | | | $0.30 | $1 |
|
|
85
|
+
| `pioneer/mistral-medium-3.5` | 262K | | | | | | $2 | $8 |
|
|
86
|
+
| `pioneer/mistralai/Mistral-7B-Instruct-v0.3` | 33K | | | | | | $0.20 | $0.20 |
|
|
87
|
+
| `pioneer/mistralai/Mistral-Nemo-Instruct-2407` | 131K | | | | | | $0.02 | $0.03 |
|
|
88
|
+
| `pioneer/mistralai/Mistral-Small-4-119B-2603` | 262K | | | | | | $0.15 | $0.60 |
|
|
89
|
+
| `pioneer/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.95 | $4 |
|
|
90
|
+
| `pioneer/moonshotai/Kimi-K2.7-Code` | 262K | | | | | | $0.95 | $4 |
|
|
91
|
+
| `pioneer/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16` | 262K | | | | | | $0.05 | $0.20 |
|
|
92
|
+
| `pioneer/nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-FP8` | 1.0M | | | | | | $0.09 | $0.45 |
|
|
93
|
+
| `pioneer/nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-BF16` | 1.0M | | | | | | $0.50 | $3 |
|
|
94
|
+
| `pioneer/openai/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
|
|
95
|
+
| `pioneer/openai/gpt-oss-20b` | 131K | | | | | | $0.07 | $0.30 |
|
|
96
|
+
| `pioneer/pioneer/auto` | 1.0M | | | | | | — | — |
|
|
97
|
+
| `pioneer/Qwen/Qwen3-1.7B-Base` | 33K | | | | | | $0.10 | $0.10 |
|
|
98
|
+
| `pioneer/Qwen/Qwen3-32B` | 131K | | | | | | $0.90 | $0.90 |
|
|
99
|
+
| `pioneer/Qwen/Qwen3-4B-Base` | 33K | | | | | | $0.15 | $0.15 |
|
|
100
|
+
| `pioneer/Qwen/Qwen3-4B-Instruct-2507` | 262K | | | | | | $0.20 | $0.20 |
|
|
101
|
+
| `pioneer/Qwen/Qwen3-8B` | 131K | | | | | | $0.20 | $0.20 |
|
|
102
|
+
| `pioneer/Qwen/Qwen3.5-9B` | 33K | | | | | | $0.30 | $0.30 |
|
|
103
|
+
| `pioneer/Qwen/Qwen3.6-27B` | 33K | | | | | | $0.60 | $0.60 |
|
|
104
|
+
| `pioneer/Qwen/Qwen3.6-35B-A3B` | 262K | | | | | | $0.14 | $1 |
|
|
105
|
+
| `pioneer/qwen3.6-flash` | 1.0M | | | | | | $0.19 | $1 |
|
|
106
|
+
| `pioneer/qwen3.6-max-preview` | 262K | | | | | | $1 | $6 |
|
|
107
|
+
| `pioneer/qwen3.6-plus` | 1.0M | | | | | | $0.33 | $2 |
|
|
108
|
+
| `pioneer/qwen3.7-max` | 1.0M | | | | | | $1 | $4 |
|
|
109
|
+
| `pioneer/qwen3.7-plus` | 1.0M | | | | | | $0.32 | $1 |
|
|
110
|
+
| `pioneer/sakana/fugu-ultra` | 1.0M | | | | | | $5 | $30 |
|
|
111
|
+
| `pioneer/XiaomiMiMo/MiMo-V2.5` | 1.1M | | | | | | $0.14 | $0.28 |
|
|
112
|
+
| `pioneer/XiaomiMiMo/MiMo-V2.5-Pro` | 1.1M | | | | | | $0.43 | $0.87 |
|
|
113
|
+
| `pioneer/zai-org/GLM-5.1` | 203K | | | | | | $0.98 | $3 |
|
|
114
|
+
| `pioneer/zai-org/GLM-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
115
|
+
|
|
116
|
+
## Advanced configuration
|
|
117
|
+
|
|
118
|
+
### Custom headers
|
|
119
|
+
|
|
120
|
+
```typescript
|
|
121
|
+
const agent = new Agent({
|
|
122
|
+
id: "custom-agent",
|
|
123
|
+
name: "custom-agent",
|
|
124
|
+
model: {
|
|
125
|
+
url: "https://api.pioneer.ai/v1",
|
|
126
|
+
id: "pioneer/HuggingFaceTB/SmolLM3-3B-Base",
|
|
127
|
+
apiKey: process.env.PIONEER_API_KEY,
|
|
128
|
+
headers: {
|
|
129
|
+
"X-Custom-Header": "value"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Dynamic model selection
|
|
136
|
+
|
|
137
|
+
```typescript
|
|
138
|
+
const agent = new Agent({
|
|
139
|
+
id: "dynamic-agent",
|
|
140
|
+
name: "Dynamic Agent",
|
|
141
|
+
model: ({ requestContext }) => {
|
|
142
|
+
const useAdvanced = requestContext.task === "complex";
|
|
143
|
+
return useAdvanced
|
|
144
|
+
? "pioneer/zai-org/GLM-5.2"
|
|
145
|
+
: "pioneer/HuggingFaceTB/SmolLM3-3B-Base";
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
```
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# routing.run
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 15 routing.run models through Mastra's model router. Authentication is handled automatically using the `ROUTING_RUN_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [routing.run documentation](https://docs.routing.run).
|
|
8
8
|
|
|
@@ -42,6 +42,9 @@ for await (const chunk of stream) {
|
|
|
42
42
|
| `routing-run/deepseek-v4-pro` | 1.0M | | | | | | $0.35 | $0.70 |
|
|
43
43
|
| `routing-run/glm-5.2` | 200K | | | | | | $0.80 | $2 |
|
|
44
44
|
| `routing-run/glm-5.2-nitro` | 200K | | | | | | $0.80 | $2 |
|
|
45
|
+
| `routing-run/gpt-5.6-luna` | 1.0M | | | | | | $0.70 | $4 |
|
|
46
|
+
| `routing-run/gpt-5.6-sol` | 1.0M | | | | | | $3 | $15 |
|
|
47
|
+
| `routing-run/gpt-5.6-terra` | 1.0M | | | | | | $2 | $9 |
|
|
45
48
|
| `routing-run/kimi-k2.6` | 200K | | | | | | $0.28 | $1 |
|
|
46
49
|
| `routing-run/kimi-k2.6-nitro` | 200K | | | | | | $0.28 | $1 |
|
|
47
50
|
| `routing-run/kimi-k2.7-code` | 200K | | | | | | $0.28 | $1 |
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
+
|
|
3
|
+
# UnoRouter
|
|
4
|
+
|
|
5
|
+
Access 23 UnoRouter models through Mastra's model router. Authentication is handled automatically using the `UNOROUTER_API_KEY` environment variable.
|
|
6
|
+
|
|
7
|
+
Learn more in the [UnoRouter documentation](https://unorouter.com/models).
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
UNOROUTER_API_KEY=your-api-key
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { Agent } from "@mastra/core/agent";
|
|
15
|
+
|
|
16
|
+
const agent = new Agent({
|
|
17
|
+
id: "my-agent",
|
|
18
|
+
name: "My Agent",
|
|
19
|
+
instructions: "You are a helpful assistant",
|
|
20
|
+
model: "unorouter/claude-haiku-4-5-20251001"
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
// Generate a response
|
|
24
|
+
const response = await agent.generate("Hello!");
|
|
25
|
+
|
|
26
|
+
// Stream a response
|
|
27
|
+
const stream = await agent.stream("Tell me a story");
|
|
28
|
+
for await (const chunk of stream) {
|
|
29
|
+
console.log(chunk);
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
> **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [UnoRouter documentation](https://unorouter.com/models) for details.
|
|
34
|
+
|
|
35
|
+
## Models
|
|
36
|
+
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| ------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `unorouter/claude-haiku-4-5-20251001` | 200K | | | | | | $1 | $6 |
|
|
40
|
+
| `unorouter/claude-opus-4-8` | 1.0M | | | | | | $0.42 | $2 |
|
|
41
|
+
| `unorouter/claude-sonnet-5` | 1.0M | | | | | | $1 | $7 |
|
|
42
|
+
| `unorouter/deepseek-v4-flash` | 1.0M | | | | | | $0.06 | $0.13 |
|
|
43
|
+
| `unorouter/deepseek-v4-flash:free` | 1.0M | | | | | | — | — |
|
|
44
|
+
| `unorouter/deepseek-v4-pro` | 1.0M | | | | | | $0.90 | $2 |
|
|
45
|
+
| `unorouter/deepseek-v4-pro:free` | 1.0M | | | | | | — | — |
|
|
46
|
+
| `unorouter/gemini-3.5-flash` | 1.0M | | | | | | $0.19 | $1 |
|
|
47
|
+
| `unorouter/gemma-4-31b-it:free` | 262K | | | | | | — | — |
|
|
48
|
+
| `unorouter/glm-4.5-flash:free` | 131K | | | | | | — | — |
|
|
49
|
+
| `unorouter/glm-5.2` | 1.0M | | | | | | $2 | $5 |
|
|
50
|
+
| `unorouter/glm-5.2:free` | 1.0M | | | | | | — | — |
|
|
51
|
+
| `unorouter/gpt-5.2` | 400K | | | | | | $1 | $8 |
|
|
52
|
+
| `unorouter/gpt-5.4` | 1.1M | | | | | | $2 | $11 |
|
|
53
|
+
| `unorouter/gpt-5.4:free` | 1.1M | | | | | | — | — |
|
|
54
|
+
| `unorouter/gpt-5.5` | 1.1M | | | | | | $0.19 | $1 |
|
|
55
|
+
| `unorouter/gpt-5.5:free` | 1.1M | | | | | | — | — |
|
|
56
|
+
| `unorouter/kimi-k2.6` | 262K | | | | | | $1 | $5 |
|
|
57
|
+
| `unorouter/minimax-m2.7` | 205K | | | | | | $0.82 | $3 |
|
|
58
|
+
| `unorouter/minimax-m2.7:free` | 205K | | | | | | — | — |
|
|
59
|
+
| `unorouter/nemotron-3-ultra-550b-a55b:free` | 1.0M | | | | | | — | — |
|
|
60
|
+
| `unorouter/qwen3.5-397b-a17b:free` | 262K | | | | | | — | — |
|
|
61
|
+
| `unorouter/step-3.7-flash:free` | 256K | | | | | | — | — |
|
|
62
|
+
|
|
63
|
+
## Advanced configuration
|
|
64
|
+
|
|
65
|
+
### Custom headers
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
const agent = new Agent({
|
|
69
|
+
id: "custom-agent",
|
|
70
|
+
name: "custom-agent",
|
|
71
|
+
model: {
|
|
72
|
+
url: "https://api.unorouter.com/v1",
|
|
73
|
+
id: "unorouter/claude-haiku-4-5-20251001",
|
|
74
|
+
apiKey: process.env.UNOROUTER_API_KEY,
|
|
75
|
+
headers: {
|
|
76
|
+
"X-Custom-Header": "value"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Dynamic model selection
|
|
83
|
+
|
|
84
|
+
```typescript
|
|
85
|
+
const agent = new Agent({
|
|
86
|
+
id: "dynamic-agent",
|
|
87
|
+
name: "Dynamic Agent",
|
|
88
|
+
model: ({ requestContext }) => {
|
|
89
|
+
const useAdvanced = requestContext.task === "complex";
|
|
90
|
+
return useAdvanced
|
|
91
|
+
? "unorouter/step-3.7-flash:free"
|
|
92
|
+
: "unorouter/claude-haiku-4-5-20251001";
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
```
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Vivgrid
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 17 Vivgrid models through Mastra's model router. Authentication is handled automatically using the `VIVGRID_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Vivgrid documentation](https://docs.vivgrid.com/models).
|
|
8
8
|
|
|
@@ -50,6 +50,9 @@ for await (const chunk of stream) {
|
|
|
50
50
|
| `vivgrid/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
|
|
51
51
|
| `vivgrid/gpt-5.4-nano` | 400K | | | | | | $0.20 | $1 |
|
|
52
52
|
| `vivgrid/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
|
|
53
|
+
| `vivgrid/gpt-5.6-luna` | 1.1M | | | | | | $1 | $6 |
|
|
54
|
+
| `vivgrid/gpt-5.6-sol` | 1.1M | | | | | | $5 | $30 |
|
|
55
|
+
| `vivgrid/gpt-5.6-terra` | 1.1M | | | | | | $3 | $15 |
|
|
53
56
|
|
|
54
57
|
## Advanced configuration
|
|
55
58
|
|
|
@@ -79,7 +82,7 @@ const agent = new Agent({
|
|
|
79
82
|
model: ({ requestContext }) => {
|
|
80
83
|
const useAdvanced = requestContext.task === "complex";
|
|
81
84
|
return useAdvanced
|
|
82
|
-
? "vivgrid/gpt-5.
|
|
85
|
+
? "vivgrid/gpt-5.6-terra"
|
|
83
86
|
: "vivgrid/deepseek-v3.2";
|
|
84
87
|
}
|
|
85
88
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Wafer
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 5 Wafer models through Mastra's model router. Authentication is handled automatically using the `WAFER_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Wafer documentation](https://docs.wafer.ai/wafer-pass).
|
|
8
8
|
|
|
@@ -34,16 +34,13 @@ for await (const chunk of stream) {
|
|
|
34
34
|
|
|
35
35
|
## Models
|
|
36
36
|
|
|
37
|
-
| Model
|
|
38
|
-
|
|
|
39
|
-
| `wafer.ai/
|
|
40
|
-
| `wafer.ai/
|
|
41
|
-
| `wafer.ai/
|
|
42
|
-
| `wafer.ai/
|
|
43
|
-
| `wafer.ai/
|
|
44
|
-
| `wafer.ai/Qwen3.5-397B-A17B` | 262K | | | | | | $0.43 | $3 |
|
|
45
|
-
| `wafer.ai/Qwen3.6-35B-A3B` | 256K | | | | | | $0.15 | $1 |
|
|
46
|
-
| `wafer.ai/qwen3.7-max` | 256K | | | | | | $5 | $15 |
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| ---------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `wafer.ai/GLM-5.1` | 203K | | | | | | $1 | $3 |
|
|
40
|
+
| `wafer.ai/GLM-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
41
|
+
| `wafer.ai/glm5.2-fast` | 1.0M | | | | | | $3 | $10 |
|
|
42
|
+
| `wafer.ai/Kimi-K2.6` | 262K | | | | | | $1 | $5 |
|
|
43
|
+
| `wafer.ai/MiniMax-M3` | 1.0M | | | | | | $0.33 | $1 |
|
|
47
44
|
|
|
48
45
|
## Advanced configuration
|
|
49
46
|
|
|
@@ -73,7 +70,7 @@ const agent = new Agent({
|
|
|
73
70
|
model: ({ requestContext }) => {
|
|
74
71
|
const useAdvanced = requestContext.task === "complex";
|
|
75
72
|
return useAdvanced
|
|
76
|
-
? "wafer.ai/
|
|
73
|
+
? "wafer.ai/glm5.2-fast"
|
|
77
74
|
: "wafer.ai/GLM-5.1";
|
|
78
75
|
}
|
|
79
76
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# ZenMux
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 118 ZenMux models through Mastra's model router. Authentication is handled automatically using the `ZENMUX_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [ZenMux documentation](https://docs.zenmux.ai).
|
|
8
8
|
|
|
@@ -101,6 +101,9 @@ for await (const chunk of stream) {
|
|
|
101
101
|
| `zenmux/openai/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
|
|
102
102
|
| `zenmux/openai/gpt-5.5-instant` | 400K | | | | | | $5 | $30 |
|
|
103
103
|
| `zenmux/openai/gpt-5.5-pro` | 1.1M | | | | | | $30 | $180 |
|
|
104
|
+
| `zenmux/openai/gpt-5.6-luna` | 1.1M | | | | | | $1 | $6 |
|
|
105
|
+
| `zenmux/openai/gpt-5.6-sol` | 1.1M | | | | | | $5 | $30 |
|
|
106
|
+
| `zenmux/openai/gpt-5.6-terra` | 1.1M | | | | | | $3 | $15 |
|
|
104
107
|
| `zenmux/qwen/qwen3-coder-plus` | 1.0M | | | | | | $1 | $5 |
|
|
105
108
|
| `zenmux/qwen/qwen3-max` | 256K | | | | | | $1 | $6 |
|
|
106
109
|
| `zenmux/qwen/qwen3.5-flash` | 1.0M | | | | | | $0.10 | $0.40 |
|
|
@@ -128,6 +131,7 @@ for await (const chunk of stream) {
|
|
|
128
131
|
| `zenmux/x-ai/grok-4.2-fast` | 2.0M | | | | | | $3 | $9 |
|
|
129
132
|
| `zenmux/x-ai/grok-4.2-fast-non-reasoning` | 2.0M | | | | | | $3 | $9 |
|
|
130
133
|
| `zenmux/x-ai/grok-4.3` | 1.0M | | | | | | $1 | $3 |
|
|
134
|
+
| `zenmux/x-ai/grok-4.5` | 500K | | | | | | $2 | $6 |
|
|
131
135
|
| `zenmux/x-ai/grok-build-0.1` | 256K | | | | | | $1 | $2 |
|
|
132
136
|
| `zenmux/x-ai/grok-code-fast-1` | 256K | | | | | | $0.20 | $2 |
|
|
133
137
|
| `zenmux/xiaomi/mimo-v2-flash` | 262K | | | | | | $0.10 | $0.30 |
|
|
@@ -14,6 +14,7 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
14
14
|
- [302.AI](https://mastra.ai/models/providers/302ai)
|
|
15
15
|
- [Abacus](https://mastra.ai/models/providers/abacus)
|
|
16
16
|
- [abliteration.ai](https://mastra.ai/models/providers/abliteration-ai)
|
|
17
|
+
- [AI-ROUTER](https://mastra.ai/models/providers/ai-router)
|
|
17
18
|
- [Alibaba](https://mastra.ai/models/providers/alibaba)
|
|
18
19
|
- [Alibaba (China)](https://mastra.ai/models/providers/alibaba-cn)
|
|
19
20
|
- [Alibaba Coding Plan](https://mastra.ai/models/providers/alibaba-coding-plan)
|
|
@@ -27,6 +28,7 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
27
28
|
- [Bailing](https://mastra.ai/models/providers/bailing)
|
|
28
29
|
- [Baseten](https://mastra.ai/models/providers/baseten)
|
|
29
30
|
- [Berget.AI](https://mastra.ai/models/providers/berget)
|
|
31
|
+
- [Blue Claw](https://mastra.ai/models/providers/blueclaw)
|
|
30
32
|
- [Cerebras](https://mastra.ai/models/providers/cerebras)
|
|
31
33
|
- [Chutes](https://mastra.ai/models/providers/chutes)
|
|
32
34
|
- [Clarifai](https://mastra.ai/models/providers/clarifai)
|
|
@@ -37,10 +39,12 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
37
39
|
- [CrofAI](https://mastra.ai/models/providers/crof)
|
|
38
40
|
- [CrossModel](https://mastra.ai/models/providers/crossmodel)
|
|
39
41
|
- [D.Run (China)](https://mastra.ai/models/providers/drun)
|
|
42
|
+
- [DaoXE](https://mastra.ai/models/providers/daoxe)
|
|
40
43
|
- [Databricks](https://mastra.ai/models/providers/databricks)
|
|
41
44
|
- [Deep Infra](https://mastra.ai/models/providers/deepinfra)
|
|
42
45
|
- [DigitalOcean](https://mastra.ai/models/providers/digitalocean)
|
|
43
46
|
- [DInference](https://mastra.ai/models/providers/dinference)
|
|
47
|
+
- [EmpirioLabs AI](https://mastra.ai/models/providers/empiriolabs)
|
|
44
48
|
- [evroc](https://mastra.ai/models/providers/evroc)
|
|
45
49
|
- [FastRouter](https://mastra.ai/models/providers/fastrouter)
|
|
46
50
|
- [Fireworks AI](https://mastra.ai/models/providers/fireworks-ai)
|
|
@@ -56,6 +60,7 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
56
60
|
- [Inception](https://mastra.ai/models/providers/inception)
|
|
57
61
|
- [Inceptron](https://mastra.ai/models/providers/inceptron)
|
|
58
62
|
- [Inference](https://mastra.ai/models/providers/inference)
|
|
63
|
+
- [InferX](https://mastra.ai/models/providers/inferx)
|
|
59
64
|
- [IO.NET](https://mastra.ai/models/providers/io-net)
|
|
60
65
|
- [Jiekou.AI](https://mastra.ai/models/providers/jiekou)
|
|
61
66
|
- [Kenari](https://mastra.ai/models/providers/kenari)
|
|
@@ -77,6 +82,7 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
77
82
|
- [MiniMax Token Plan (minimaxi.com)](https://mastra.ai/models/providers/minimax-cn-coding-plan)
|
|
78
83
|
- [Mixlayer](https://mastra.ai/models/providers/mixlayer)
|
|
79
84
|
- [Moark](https://mastra.ai/models/providers/moark)
|
|
85
|
+
- [Model Oracle AI](https://mastra.ai/models/providers/model-oracle-ai)
|
|
80
86
|
- [ModelScope](https://mastra.ai/models/providers/modelscope)
|
|
81
87
|
- [Moonshot AI](https://mastra.ai/models/providers/moonshotai)
|
|
82
88
|
- [Moonshot AI (China)](https://mastra.ai/models/providers/moonshotai-cn)
|
|
@@ -96,6 +102,7 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
96
102
|
- [OVHcloud AI Endpoints](https://mastra.ai/models/providers/ovhcloud)
|
|
97
103
|
- [Perplexity](https://mastra.ai/models/providers/perplexity)
|
|
98
104
|
- [Perplexity Agent](https://mastra.ai/models/providers/perplexity-agent)
|
|
105
|
+
- [Pioneer](https://mastra.ai/models/providers/pioneer)
|
|
99
106
|
- [Poe](https://mastra.ai/models/providers/poe)
|
|
100
107
|
- [Poolside](https://mastra.ai/models/providers/poolside)
|
|
101
108
|
- [Privatemode AI](https://mastra.ai/models/providers/privatemode-ai)
|
|
@@ -125,6 +132,7 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
125
132
|
- [TrustedRouter](https://mastra.ai/models/providers/trustedrouter)
|
|
126
133
|
- [Umans AI](https://mastra.ai/models/providers/umans-ai)
|
|
127
134
|
- [Umans AI Coding Plan](https://mastra.ai/models/providers/umans-ai-coding-plan)
|
|
135
|
+
- [UnoRouter](https://mastra.ai/models/providers/unorouter)
|
|
128
136
|
- [Upstage](https://mastra.ai/models/providers/upstage)
|
|
129
137
|
- [Vivgrid](https://mastra.ai/models/providers/vivgrid)
|
|
130
138
|
- [Vultr](https://mastra.ai/models/providers/vultr)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
+
|
|
3
|
+
# Logger
|
|
4
|
+
|
|
5
|
+
Mastra sets the project's [logger](https://mastra.ai/docs/observability/logging) from a `logger.ts` file directly under `src/mastra/`. The file default-exports a logger, which replaces the built-in `ConsoleLogger` used across agents, workflows, and other components.
|
|
6
|
+
|
|
7
|
+
Use this page for the file-based convention. For log levels, transports, and provider details, see [logging](https://mastra.ai/docs/observability/logging).
|
|
8
|
+
|
|
9
|
+
## Quickstart
|
|
10
|
+
|
|
11
|
+
Create `src/mastra/logger.ts` and default-export a logger, such as [`PinoLogger`](https://mastra.ai/reference/logging/pino-logger):
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { PinoLogger } from '@mastra/loggers'
|
|
15
|
+
|
|
16
|
+
export default new PinoLogger({
|
|
17
|
+
name: 'Mastra',
|
|
18
|
+
level: 'info',
|
|
19
|
+
})
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Mastra registers the logger before storage, observability, and file-based agents, so those primitives log through this logger as they are wired up.
|
|
23
|
+
|
|
24
|
+
## Precedence with code
|
|
25
|
+
|
|
26
|
+
Code-registered logging wins over `logger.ts`. If you pass `logger` to `new Mastra({ logger })` in `src/mastra/index.ts` (or set `logger: false` to disable logging), `logger.ts` is ignored with a warning. Use `logger.ts` when one project-wide logger is enough; use code registration when setup depends on runtime wiring.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
+
|
|
3
|
+
# Scorers
|
|
4
|
+
|
|
5
|
+
A file-based agent discovers [scorers](https://mastra.ai/docs/evals/overview) from its `scorers/` directory. Use this page for the file-based convention; use the scorers guide for built-in scorers, custom scorers, and sampling.
|
|
6
|
+
|
|
7
|
+
Each file under `scorers/` default-exports one scorer, and the filename becomes its key. The default export is either a [`MastraScorer`](https://mastra.ai/reference/evals/create-scorer) or a `{ scorer, sampling }` entry.
|
|
8
|
+
|
|
9
|
+
## Quickstart
|
|
10
|
+
|
|
11
|
+
Add a scorer by placing a file under the agent's `scorers/` directory. This example uses a [custom scorer](https://mastra.ai/docs/evals/custom-scorers):
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { createScorer } from '@mastra/core/evals'
|
|
15
|
+
|
|
16
|
+
export default createScorer({
|
|
17
|
+
id: 'relevance',
|
|
18
|
+
description: 'Scores how relevant the response is',
|
|
19
|
+
}).generateScore(() => 1)
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
The scorer is registered on the `weather` agent under the key `relevance`, the same as adding it to `config.scorers`.
|
|
23
|
+
|
|
24
|
+
## Sampling
|
|
25
|
+
|
|
26
|
+
To control how often a scorer runs, default-export a `{ scorer, sampling }` entry instead of a bare scorer:
|
|
27
|
+
|
|
28
|
+
```typescript
|
|
29
|
+
import { createScorer } from '@mastra/core/evals'
|
|
30
|
+
|
|
31
|
+
const relevance = createScorer({
|
|
32
|
+
id: 'relevance',
|
|
33
|
+
description: 'Scores how relevant the response is',
|
|
34
|
+
}).generateScore(() => 1)
|
|
35
|
+
|
|
36
|
+
export default {
|
|
37
|
+
scorer: relevance,
|
|
38
|
+
sampling: { type: 'ratio', rate: 0.5 },
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Precedence with config
|
|
43
|
+
|
|
44
|
+
Discovered scorers are merged with the scorers defined in [`config.ts`](https://mastra.ai/reference/file-based-agents/config). On a key collision, `config.scorers` wins with a warning. If `config.scorers` is a function, discovered scorers are ignored with a warning because function-valued scorers can't be statically merged.
|
|
45
|
+
|
|
46
|
+
When keys collide, precedence is:
|
|
47
|
+
|
|
48
|
+
1. Function-valued `config.scorers`
|
|
49
|
+
2. Record-valued `config.scorers`
|
|
50
|
+
3. Discovered files under `scorers/`
|
|
51
|
+
|
|
52
|
+
Non-colliding discovered scorers are preserved.
|
|
53
|
+
|
|
54
|
+
Visit [`createScorer()`](https://mastra.ai/reference/evals/create-scorer) for the full scorer interface.
|
package/.docs/reference/index.md
CHANGED
|
@@ -177,9 +177,11 @@ The Reference section provides documentation of Mastra's API, including paramete
|
|
|
177
177
|
- [.updateItem()](https://mastra.ai/reference/datasets/updateItem)
|
|
178
178
|
- [config.ts](https://mastra.ai/reference/file-based-agents/config)
|
|
179
179
|
- [Instructions](https://mastra.ai/reference/file-based-agents/instructions)
|
|
180
|
+
- [Logger](https://mastra.ai/reference/file-based-agents/logger)
|
|
180
181
|
- [Memory](https://mastra.ai/reference/file-based-agents/memory)
|
|
181
182
|
- [Observability](https://mastra.ai/reference/file-based-agents/observability)
|
|
182
183
|
- [Processors](https://mastra.ai/reference/file-based-agents/processors)
|
|
184
|
+
- [Scorers](https://mastra.ai/reference/file-based-agents/scorers)
|
|
183
185
|
- [Server](https://mastra.ai/reference/file-based-agents/server)
|
|
184
186
|
- [Skills](https://mastra.ai/reference/file-based-agents/skills)
|
|
185
187
|
- [Storage](https://mastra.ai/reference/file-based-agents/storage)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 1.2.7-alpha.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`e2d5f37`](https://github.com/mastra-ai/mastra/commit/e2d5f373bd289be534d5f8694d34465010533df6)]:
|
|
8
|
+
- @mastra/core@1.51.0-alpha.6
|
|
9
|
+
|
|
10
|
+
## 1.2.7-alpha.11
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`fb8aea3`](https://github.com/mastra-ai/mastra/commit/fb8aea384291e77311be3a64ee1717320d5c3c73), [`4ce0163`](https://github.com/mastra-ai/mastra/commit/4ce0163dc86e675a86809685c8ce6c49f1aeb87e)]:
|
|
15
|
+
- @mastra/core@1.51.0-alpha.5
|
|
16
|
+
|
|
3
17
|
## 1.2.7-alpha.9
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "1.2.7-alpha.
|
|
3
|
+
"version": "1.2.7-alpha.14",
|
|
4
4
|
"description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"jsdom": "^26.1.0",
|
|
29
29
|
"local-pkg": "^1.1.2",
|
|
30
30
|
"zod": "^4.4.3",
|
|
31
|
-
"@mastra/core": "1.51.0-alpha.
|
|
31
|
+
"@mastra/core": "1.51.0-alpha.6",
|
|
32
32
|
"@mastra/mcp": "^1.14.0-alpha.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"typescript": "^6.0.3",
|
|
47
47
|
"vitest": "4.1.9",
|
|
48
48
|
"@internal/lint": "0.0.113",
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
49
|
+
"@mastra/core": "1.51.0-alpha.6",
|
|
50
|
+
"@internal/types-builder": "0.0.88"
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://mastra.ai",
|
|
53
53
|
"repository": {
|