@mastra/mcp-docs-server 1.2.13-alpha.9 → 1.2.13
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/agents/overview.md +1 -1
- package/.docs/docs/agents/supervisor-agents.md +2 -2
- package/.docs/docs/agents/using-tools.md +29 -0
- package/.docs/docs/capabilities/channels/imessage.md +181 -0
- package/.docs/docs/capabilities/channels/overview.md +1 -0
- package/.docs/docs/{evals/datasets → datasets}/overview.md +3 -3
- package/.docs/docs/{evals/datasets → datasets}/running-experiments.md +59 -2
- package/.docs/docs/editor/overview.md +201 -206
- package/.docs/docs/evals/evals-with-memory.md +1 -1
- package/.docs/docs/getting-started/develop.md +196 -0
- package/.docs/docs/index.md +78 -1
- package/.docs/docs/mastra-platform/workspaces.md +13 -13
- package/.docs/docs/memory/observational-memory.md +23 -0
- package/.docs/docs/studio/observability.md +4 -0
- package/.docs/docs/studio/overview.md +2 -2
- package/.docs/docs/workspace/search.md +1 -1
- package/.docs/guides/getting-started/quickstart.md +3 -3
- package/.docs/{docs → guides}/rag/chunking-and-embedding.md +1 -1
- package/.docs/{docs → guides}/rag/graph-rag.md +1 -1
- package/.docs/{docs → guides}/rag/overview.md +2 -2
- package/.docs/{docs → guides}/rag/retrieval.md +1 -1
- package/.docs/{docs → guides}/voice/overview.md +4 -4
- package/.docs/{docs → guides}/voice/realtime-voice.md +2 -2
- package/.docs/{docs → guides}/voice/speech-to-speech.md +1 -1
- package/.docs/{docs → guides}/voice/speech-to-text.md +1 -1
- package/.docs/{docs → guides}/voice/text-to-speech.md +2 -2
- package/.docs/models/embeddings.md +63 -65
- package/.docs/models/environment-variables.md +5 -1
- package/.docs/models/gateways/netlify.md +1 -2
- package/.docs/models/gateways/openrouter.md +3 -1
- package/.docs/models/gateways/vercel.md +6 -1
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/alibaba-cn.md +3 -1
- package/.docs/models/providers/alibaba-token-plan-cn.md +27 -25
- package/.docs/models/providers/alibaba-token-plan.md +27 -25
- package/.docs/models/providers/alibaba.md +2 -1
- package/.docs/models/providers/ambient.md +13 -12
- package/.docs/models/providers/baseten.md +3 -1
- package/.docs/models/providers/chutes.md +6 -8
- package/.docs/models/providers/crof.md +2 -1
- package/.docs/models/providers/crossmodel.md +4 -1
- package/.docs/models/providers/deepinfra.md +9 -2
- package/.docs/models/providers/digitalocean.md +34 -27
- package/.docs/models/providers/empiriolabs.md +4 -1
- package/.docs/models/providers/fireworks-ai.md +20 -19
- package/.docs/models/providers/greenpt.md +17 -8
- package/.docs/models/providers/groq.md +20 -20
- package/.docs/models/providers/huggingface.md +3 -1
- package/.docs/models/providers/hyper.md +9 -7
- package/.docs/models/providers/impossibl.md +148 -0
- package/.docs/models/providers/infomaniak.md +83 -0
- package/.docs/models/providers/kilo.md +349 -350
- package/.docs/models/providers/llmgateway.md +3 -1
- package/.docs/models/providers/mistral.md +5 -2
- package/.docs/models/providers/modal.md +5 -4
- package/.docs/models/providers/modelis.md +81 -0
- package/.docs/models/providers/nano-gpt.md +146 -148
- package/.docs/models/providers/neuralwatt.md +2 -1
- package/.docs/models/providers/ofox.md +2 -2
- package/.docs/models/providers/ollama-cloud.md +23 -22
- package/.docs/models/providers/opencode-go.md +3 -2
- package/.docs/models/providers/requesty.md +54 -45
- package/.docs/models/providers/scx.md +74 -0
- package/.docs/models/providers/tensorx.md +97 -0
- package/.docs/models/providers/togetherai.md +2 -1
- package/.docs/models/providers/umans-ai-coding-plan.md +11 -9
- package/.docs/models/providers/umans-ai.md +11 -9
- package/.docs/models/providers/wandb.md +2 -2
- package/.docs/models/providers/zai-coding-plan.md +7 -7
- package/.docs/models/providers/zhipuai-coding-plan.md +9 -9
- package/.docs/models/providers.md +5 -1
- package/.docs/reference/agents/agent.md +1 -1
- package/.docs/reference/agents/generate.md +1 -1
- package/.docs/reference/agents/getVoice.md +1 -1
- package/.docs/{docs/getting-started → reference}/build-with-ai.md +5 -110
- package/.docs/reference/cli/create-mastra.md +2 -0
- package/.docs/reference/cli/mastra.md +66 -1
- package/.docs/reference/client-js/agents.md +1 -1
- package/.docs/reference/configuration.md +2 -2
- package/.docs/reference/core/getEditor.md +1 -1
- package/.docs/reference/core/getVector.md +2 -2
- package/.docs/reference/core/listVectors.md +2 -2
- package/.docs/reference/core/mastra-class.md +1 -1
- package/.docs/reference/datasets/startExperiment.md +6 -0
- package/.docs/reference/datasets/startExperimentAsync.md +4 -0
- package/.docs/reference/editor/browser-provider.md +2 -2
- package/.docs/reference/editor/filesystem-provider.md +1 -1
- package/.docs/reference/editor/mastra-editor.md +31 -18
- package/.docs/reference/editor/prompt-blocks.md +137 -0
- package/.docs/reference/editor/sandbox-provider.md +1 -1
- package/.docs/reference/editor/storage-browser-ref.md +3 -3
- package/.docs/reference/editor/storage-workspace-ref.md +3 -3
- package/.docs/reference/editor/tool-provider.md +44 -10
- package/.docs/reference/editor/tools.md +100 -0
- package/.docs/reference/editor/versioning.md +130 -0
- package/.docs/reference/evals/mastra-scorer.md +68 -8
- package/.docs/reference/file-based-agents/config.md +39 -1
- package/.docs/reference/index.md +3 -4
- package/.docs/reference/memory/observational-memory.md +3 -1
- package/.docs/reference/memory/serialized-memory-config.md +3 -3
- package/.docs/reference/observability/tracing/interfaces.md +3 -1
- package/.docs/reference/processors/token-limiter-processor.md +15 -1
- package/.docs/reference/project-structure.md +1 -1
- package/.docs/reference/rag/database-config.md +1 -1
- package/.docs/reference/storage/composite.md +2 -0
- package/.docs/reference/streaming/agents/stream.md +1 -1
- package/.docs/reference/voice/livekit.md +3 -3
- package/.docs/reference/workspace/platform-filesystem.md +3 -3
- package/.docs/reference/workspace/platform-sandbox.md +5 -5
- package/CHANGELOG.md +23 -0
- package/README.md +1 -1
- package/package.json +6 -6
- package/.docs/docs/agent-builder/access-control.md +0 -99
- package/.docs/docs/agent-builder/browser.md +0 -63
- package/.docs/docs/agent-builder/channels.md +0 -78
- package/.docs/docs/agent-builder/configuration.md +0 -132
- package/.docs/docs/agent-builder/deploying.md +0 -124
- package/.docs/docs/agent-builder/integrations.md +0 -115
- package/.docs/docs/agent-builder/memory.md +0 -69
- package/.docs/docs/agent-builder/model-policy.md +0 -50
- package/.docs/docs/agent-builder/overview.md +0 -114
- package/.docs/docs/agent-builder/skill-registries.md +0 -31
- package/.docs/docs/agent-builder/workspace.md +0 -62
- package/.docs/docs/editor/prompts.md +0 -140
- package/.docs/docs/editor/tools.md +0 -148
- package/.docs/docs/getting-started/file-based-agents.md +0 -121
- package/.docs/docs/what-is-mastra.md +0 -161
- package/.docs/reference/client-js/agent-builder.md +0 -163
- package/.docs/reference/editor/agent-builder/agent-builder-options.md +0 -76
- package/.docs/reference/editor/agent-builder/builder-agent-defaults.md +0 -79
- package/.docs/reference/editor/agent-builder/builder-models.md +0 -66
- /package/.docs/{docs → guides}/getting-started/manual-install.md +0 -0
- /package/.docs/{docs → guides}/rag/vector-databases.md +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# LLM Gateway
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 189 LLM Gateway models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [LLM Gateway documentation](https://llmgateway.io/docs).
|
|
8
8
|
|
|
@@ -144,6 +144,7 @@ for await (const chunk of stream) {
|
|
|
144
144
|
| `llmgateway/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
145
145
|
| `llmgateway/kimi-k2.7-code-highspeed` | 262K | | | | | | $2 | $8 |
|
|
146
146
|
| `llmgateway/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
147
|
+
| `llmgateway/kimi-k3-fast` | 1.0M | | | | | | $5 | $23 |
|
|
147
148
|
| `llmgateway/llama-3-70b-instruct` | 8K | | | | | | $0.51 | $0.74 |
|
|
148
149
|
| `llmgateway/llama-3.1-70b-instruct` | 128K | | | | | | $0.72 | $0.72 |
|
|
149
150
|
| `llmgateway/llama-3.1-nemotron-ultra-253b` | 128K | | | | | | $0.60 | $2 |
|
|
@@ -214,6 +215,7 @@ for await (const chunk of stream) {
|
|
|
214
215
|
| `llmgateway/qwen3.7-flash` | 1.0M | | | | | | $0.03 | $0.13 |
|
|
215
216
|
| `llmgateway/qwen3.7-max` | 1.0M | | | | | | $1 | $4 |
|
|
216
217
|
| `llmgateway/qwen3.7-plus` | 1.0M | | | | | | $0.40 | $2 |
|
|
218
|
+
| `llmgateway/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
|
|
217
219
|
| `llmgateway/qwen35-397b-a17b` | 262K | | | | | | $0.60 | $4 |
|
|
218
220
|
| `llmgateway/seed-1-6-250615` | 256K | | | | | | $0.25 | $2 |
|
|
219
221
|
| `llmgateway/seed-1-6-250915` | 256K | | | | | | $0.25 | $2 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Mistral
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 33 Mistral models through Mastra's model router. Authentication is handled automatically using the `MISTRAL_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Mistral documentation](https://docs.mistral.ai/getting-started/models/).
|
|
8
8
|
|
|
@@ -56,6 +56,9 @@ for await (const chunk of stream) {
|
|
|
56
56
|
| `mistral/open-mixtral-8x7b` | 32K | | | | | | $0.70 | $0.70 |
|
|
57
57
|
| `mistral/pixtral-12b` | 128K | | | | | | $0.15 | $0.15 |
|
|
58
58
|
| `mistral/pixtral-large-latest` | 128K | | | | | | $2 | $6 |
|
|
59
|
+
| `mistral/voxtral-mini-latest` | — | | | | | | — | — |
|
|
60
|
+
| `mistral/voxtral-mini-tts-latest` | — | | | | | | — | — |
|
|
61
|
+
| `mistral/voxtral-small-latest` | 32K | | | | | | $0.10 | $0.30 |
|
|
59
62
|
|
|
60
63
|
## Advanced configuration
|
|
61
64
|
|
|
@@ -85,7 +88,7 @@ const agent = new Agent({
|
|
|
85
88
|
model: ({ requestContext }) => {
|
|
86
89
|
const useAdvanced = requestContext.task === "complex";
|
|
87
90
|
return useAdvanced
|
|
88
|
-
? "mistral/
|
|
91
|
+
? "mistral/voxtral-small-latest"
|
|
89
92
|
: "mistral/codestral-latest";
|
|
90
93
|
}
|
|
91
94
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Modal
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 2 Modal models through Mastra's model router. Authentication is handled automatically using the `MODAL_PROXY_TOKEN` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Modal documentation](https://modal.com/docs/guide/endpoints).
|
|
8
8
|
|
|
@@ -17,7 +17,7 @@ const agent = new Agent({
|
|
|
17
17
|
id: "my-agent",
|
|
18
18
|
name: "My Agent",
|
|
19
19
|
instructions: "You are a helpful assistant",
|
|
20
|
-
model: "modal/
|
|
20
|
+
model: "modal/moonshotai/Kimi-K3"
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
// Generate a response
|
|
@@ -36,6 +36,7 @@ for await (const chunk of stream) {
|
|
|
36
36
|
|
|
37
37
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
38
|
| -------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `modal/moonshotai/Kimi-K3` | 1.0M | | | | | | $3 | $15 |
|
|
39
40
|
| `modal/thinkingmachines/Inkling-NVFP4` | 1.0M | | | | | | $1 | $5 |
|
|
40
41
|
|
|
41
42
|
## Advanced configuration
|
|
@@ -48,7 +49,7 @@ const agent = new Agent({
|
|
|
48
49
|
name: "custom-agent",
|
|
49
50
|
model: {
|
|
50
51
|
url: "https://inference.us-west.modal.direct/v1",
|
|
51
|
-
id: "modal/
|
|
52
|
+
id: "modal/moonshotai/Kimi-K3",
|
|
52
53
|
apiKey: process.env.MODAL_PROXY_TOKEN,
|
|
53
54
|
headers: {
|
|
54
55
|
"X-Custom-Header": "value"
|
|
@@ -67,7 +68,7 @@ const agent = new Agent({
|
|
|
67
68
|
const useAdvanced = requestContext.task === "complex";
|
|
68
69
|
return useAdvanced
|
|
69
70
|
? "modal/thinkingmachines/Inkling-NVFP4"
|
|
70
|
-
: "modal/
|
|
71
|
+
: "modal/moonshotai/Kimi-K3";
|
|
71
72
|
}
|
|
72
73
|
});
|
|
73
74
|
```
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
+
|
|
3
|
+
# Modelis
|
|
4
|
+
|
|
5
|
+
Access 9 Modelis models through Mastra's model router. Authentication is handled automatically using the `MODELIS_API_KEY` environment variable.
|
|
6
|
+
|
|
7
|
+
Learn more in the [Modelis documentation](https://modelishub.com/pricing).
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
MODELIS_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: "modelis/claude-fable-5"
|
|
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 [Modelis documentation](https://modelishub.com/pricing) for details.
|
|
34
|
+
|
|
35
|
+
## Models
|
|
36
|
+
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| --------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `modelis/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
|
|
40
|
+
| `modelis/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
|
|
41
|
+
| `modelis/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
|
|
42
|
+
| `modelis/deepseek-v4-flash` | 1.0M | | | | | | $0.10 | $0.20 |
|
|
43
|
+
| `modelis/deepseek-v4-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
44
|
+
| `modelis/gemini-2.5-flash` | 1.0M | | | | | | $0.30 | $3 |
|
|
45
|
+
| `modelis/gemini-2.5-pro` | 1.0M | | | | | | $1 | $10 |
|
|
46
|
+
| `modelis/qwen/qwen3.7-max` | 1.0M | | | | | | $3 | $9 |
|
|
47
|
+
| `modelis/qwen/qwen3.7-plus` | 1.0M | | | | | | $0.77 | $3 |
|
|
48
|
+
|
|
49
|
+
## Advanced configuration
|
|
50
|
+
|
|
51
|
+
### Custom headers
|
|
52
|
+
|
|
53
|
+
```typescript
|
|
54
|
+
const agent = new Agent({
|
|
55
|
+
id: "custom-agent",
|
|
56
|
+
name: "custom-agent",
|
|
57
|
+
model: {
|
|
58
|
+
url: "https://modelishub.com/v1",
|
|
59
|
+
id: "modelis/claude-fable-5",
|
|
60
|
+
apiKey: process.env.MODELIS_API_KEY,
|
|
61
|
+
headers: {
|
|
62
|
+
"X-Custom-Header": "value"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Dynamic model selection
|
|
69
|
+
|
|
70
|
+
```typescript
|
|
71
|
+
const agent = new Agent({
|
|
72
|
+
id: "dynamic-agent",
|
|
73
|
+
name: "Dynamic Agent",
|
|
74
|
+
model: ({ requestContext }) => {
|
|
75
|
+
const useAdvanced = requestContext.task === "complex";
|
|
76
|
+
return useAdvanced
|
|
77
|
+
? "modelis/qwen/qwen3.7-plus"
|
|
78
|
+
: "modelis/claude-fable-5";
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
```
|