@mastra/mcp-docs-server 1.2.7-alpha.10 → 1.2.7-alpha.3
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/overview.md +3 -4
- package/.docs/docs/agent-builder/skill-registries.md +3 -1
- package/.docs/docs/agent-controller/overview.md +2 -3
- package/.docs/docs/agent-controller/session.md +3 -1
- package/.docs/docs/agents/a2a.md +1 -2
- package/.docs/docs/agents/channels.md +225 -0
- package/.docs/docs/agents/code-mode.md +1 -1
- package/.docs/docs/agents/file-based-agents.md +297 -0
- package/.docs/docs/agents/guardrails.md +9 -10
- package/.docs/docs/agents/overview.md +4 -4
- package/.docs/docs/agents/skills.md +5 -3
- package/.docs/docs/agents/structured-output.md +1 -1
- package/.docs/docs/agents/supervisor-agents.md +4 -3
- package/.docs/docs/agents/using-tools.md +4 -2
- package/.docs/docs/browser/agent-browser.md +3 -1
- package/.docs/docs/browser/browser-viewer.md +3 -1
- package/.docs/docs/browser/overview.md +1 -2
- package/.docs/docs/browser/stagehand.md +1 -1
- package/.docs/docs/deployment/mastra-server.md +4 -2
- package/.docs/docs/editor/overview.md +6 -2
- package/.docs/docs/editor/prompts.md +1 -1
- package/.docs/docs/editor/tools.md +3 -1
- package/.docs/docs/evals/custom-scorers.md +3 -1
- package/.docs/docs/evals/datasets/overview.md +5 -4
- package/.docs/docs/evals/datasets/running-experiments.md +2 -4
- package/.docs/docs/evals/evals-with-memory.md +3 -1
- package/.docs/docs/evals/gates-and-verdicts.md +3 -1
- package/.docs/docs/evals/overview.md +1 -4
- package/.docs/docs/evals/quick-checks.md +3 -1
- package/.docs/docs/long-running-agents/background-tasks.md +1 -1
- package/.docs/docs/long-running-agents/durable-agents.md +5 -3
- package/.docs/docs/long-running-agents/goals.md +3 -1
- package/.docs/docs/long-running-agents/signal-providers.md +3 -1
- package/.docs/docs/long-running-agents/signals.md +22 -11
- package/.docs/docs/mastra-platform/observability.md +1 -5
- package/.docs/docs/mcp/mcp-apps.md +3 -3
- package/.docs/docs/mcp/overview.md +10 -6
- package/.docs/docs/memory/observational-memory.md +1 -2
- package/.docs/docs/memory/overview.md +4 -6
- package/.docs/docs/memory/semantic-recall.md +1 -1
- package/.docs/docs/memory/working-memory.md +3 -3
- package/.docs/docs/observability/integrations/exporters/mastra-platform.md +3 -1
- package/.docs/docs/observability/logging.md +1 -1
- package/.docs/docs/observability/tracing/overview.md +1 -1
- package/.docs/docs/server/auth/auth0.md +1 -1
- package/.docs/docs/server/auth/better-auth.md +2 -2
- package/.docs/docs/server/auth/clerk.md +1 -1
- package/.docs/docs/server/auth/firebase.md +1 -1
- package/.docs/docs/server/auth/google.md +2 -2
- package/.docs/docs/server/auth/jwt.md +2 -2
- package/.docs/docs/server/auth/okta.md +2 -2
- package/.docs/docs/server/auth/workos.md +1 -1
- package/.docs/docs/server/mastra-client.md +1 -1
- package/.docs/docs/server/mastra-server.md +1 -1
- package/.docs/docs/server/pubsub.md +1 -1
- package/.docs/docs/server/request-context.md +4 -4
- package/.docs/docs/server/server-adapters.md +8 -8
- package/.docs/docs/studio/auth.md +3 -1
- package/.docs/docs/studio/overview.md +1 -1
- package/.docs/docs/voice/livekit.md +3 -100
- package/.docs/docs/workflows/agents-and-tools.md +5 -3
- package/.docs/docs/workflows/control-flow.md +3 -1
- package/.docs/docs/workflows/overview.md +7 -6
- package/.docs/docs/workspace/overview.md +1 -2
- package/.docs/docs/workspace/sandbox.md +0 -2
- package/.docs/guides/build-your-ui/assistant-ui.md +1 -1
- package/.docs/guides/build-your-ui/copilotkit/overview.md +1 -1
- package/.docs/guides/concepts/streaming.md +3 -3
- package/.docs/guides/getting-started/quickstart.md +1 -3
- package/.docs/guides/guide/chef-michel.md +2 -0
- package/.docs/guides/guide/slack-assistant.md +2 -2
- package/.docs/guides/guide/stock-agent.md +2 -0
- package/.docs/models/environment-variables.md +0 -3
- package/.docs/models/gateways/netlify.md +1 -4
- package/.docs/models/gateways/openrouter.md +6 -10
- package/.docs/models/gateways/vercel.md +1 -7
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/google.md +1 -2
- package/.docs/models/providers/llmgateway.md +181 -184
- package/.docs/models/providers/nano-gpt.md +2 -2
- package/.docs/models/providers/neon.md +29 -40
- package/.docs/models/providers/openai.md +1 -5
- package/.docs/models/providers/opencode.md +1 -2
- package/.docs/models/providers/poolside.md +5 -6
- package/.docs/models/providers/routing-run.md +34 -20
- package/.docs/models/providers/the-grid-ai.md +3 -3
- package/.docs/models/providers/wandb.md +14 -21
- package/.docs/models/providers/xai.md +1 -2
- package/.docs/models/providers.md +0 -3
- package/.docs/reference/agents/channels.md +2 -2
- package/.docs/reference/channels/channel-provider.md +1 -1
- package/.docs/reference/channels/slack-provider.md +2 -2
- package/.docs/reference/cli/mastra.md +10 -117
- package/.docs/reference/evals/create-scorer.md +0 -8
- package/.docs/reference/index.md +0 -15
- package/.docs/reference/memory/memory-class.md +1 -1
- package/.docs/reference/memory/serialized-memory-config.md +1 -1
- package/.docs/reference/project-structure.md +1 -1
- package/.docs/reference/pubsub/lease-provider.md +1 -1
- package/.docs/reference/server/express-adapter.md +3 -1
- package/.docs/reference/server/fastify-adapter.md +3 -1
- package/.docs/reference/server/hono-adapter.md +3 -1
- package/.docs/reference/server/koa-adapter.md +3 -1
- package/.docs/reference/server/nestjs-adapter.md +3 -1
- package/.docs/reference/storage/clickhouse.md +0 -32
- package/.docs/reference/storage/composite.md +1 -27
- package/.docs/reference/storage/retention.md +0 -11
- package/.docs/reference/tools/mcp-client.md +0 -22
- package/.docs/reference/tools/mcp-server.md +4 -161
- package/.docs/reference/voice/livekit.md +8 -272
- package/.docs/reference/workspace/agentcore-runtime-sandbox.md +3 -1
- package/.docs/reference/workspace/agentfs-filesystem.md +3 -1
- package/.docs/reference/workspace/apple-container-sandbox.md +3 -1
- package/.docs/reference/workspace/archil-filesystem.md +3 -1
- package/.docs/reference/workspace/azure-blob-filesystem.md +3 -1
- package/.docs/reference/workspace/blaxel-sandbox.md +3 -1
- package/.docs/reference/workspace/daytona-sandbox.md +3 -1
- package/.docs/reference/workspace/docker-sandbox.md +3 -1
- package/.docs/reference/workspace/e2b-sandbox.md +3 -1
- package/.docs/reference/workspace/files-sdk-filesystem.md +3 -1
- package/.docs/reference/workspace/gcs-filesystem.md +3 -1
- package/.docs/reference/workspace/google-drive-filesystem.md +3 -1
- package/.docs/reference/workspace/local-filesystem.md +3 -1
- package/.docs/reference/workspace/local-sandbox.md +3 -1
- package/.docs/reference/workspace/modal-sandbox.md +3 -1
- package/.docs/reference/workspace/railway-sandbox.md +3 -1
- package/.docs/reference/workspace/s3-filesystem.md +3 -1
- package/.docs/reference/workspace/vercel-sandbox.md +7 -5
- package/.docs/reference/workspace/vercel-serverless.md +3 -1
- package/CHANGELOG.md +0 -22
- package/package.json +5 -5
- package/.docs/docs/capabilities/channels/discord.md +0 -98
- package/.docs/docs/capabilities/channels/other-adapters.md +0 -68
- package/.docs/docs/capabilities/channels/overview.md +0 -255
- package/.docs/docs/capabilities/channels/slack.md +0 -225
- package/.docs/docs/capabilities/channels/teams.md +0 -100
- package/.docs/docs/capabilities/channels/telegram.md +0 -98
- package/.docs/docs/capabilities/channels/whatsapp.md +0 -99
- package/.docs/docs/getting-started/file-based-agents.md +0 -114
- package/.docs/models/providers/crossmodel.md +0 -109
- package/.docs/models/providers/meta.md +0 -101
- package/.docs/models/providers/zenifra.md +0 -73
- package/.docs/reference/file-based-agents/config.md +0 -97
- package/.docs/reference/file-based-agents/instructions.md +0 -54
- package/.docs/reference/file-based-agents/memory.md +0 -58
- package/.docs/reference/file-based-agents/observability.md +0 -32
- package/.docs/reference/file-based-agents/processors.md +0 -56
- package/.docs/reference/file-based-agents/server.md +0 -37
- package/.docs/reference/file-based-agents/skills.md +0 -56
- package/.docs/reference/file-based-agents/storage.md +0 -30
- package/.docs/reference/file-based-agents/studio.md +0 -56
- package/.docs/reference/file-based-agents/subagents.md +0 -123
- package/.docs/reference/file-based-agents/tools.md +0 -63
- package/.docs/reference/file-based-agents/workflows.md +0 -52
- package/.docs/reference/file-based-agents/workspace.md +0 -74
- package/.docs/reference/memory/summarizeConversation.md +0 -99
- package/.docs/reference/memory/summarizeThread.md +0 -93
|
@@ -10,6 +10,8 @@ Workflows let you define complex sequences of tasks using clear, structured step
|
|
|
10
10
|
|
|
11
11
|
Use workflows for tasks that are clearly defined upfront and involve multiple steps with a specific execution order. They give you fine-grained control over how data flows and transforms between steps, and which primitives are called at each stage.
|
|
12
12
|
|
|
13
|
+
> **Tip:** Watch an introduction to workflows, and how they compare to agents on [YouTube (7 minutes)](https://youtu.be/0jg2g3sNvgw).
|
|
14
|
+
|
|
13
15
|
## Core principles
|
|
14
16
|
|
|
15
17
|
Mastra workflows operate using these principles:
|
|
@@ -101,7 +103,7 @@ const step1 = createStep({
|
|
|
101
103
|
})
|
|
102
104
|
```
|
|
103
105
|
|
|
104
|
-
Visit [`Step`](https://mastra.ai/reference/workflows/step) for a full list of configuration options.
|
|
106
|
+
> **Info:** Visit [`Step`](https://mastra.ai/reference/workflows/step) for a full list of configuration options.
|
|
105
107
|
|
|
106
108
|
### Using agents and tools
|
|
107
109
|
|
|
@@ -175,7 +177,7 @@ export const testWorkflow = createWorkflow({
|
|
|
175
177
|
.commit();
|
|
176
178
|
```
|
|
177
179
|
|
|
178
|
-
Visit [Workflow Class](https://mastra.ai/reference/workflows/workflow) for a full list of configuration options.
|
|
180
|
+
> **Info:** Visit [Workflow Class](https://mastra.ai/reference/workflows/workflow) for a full list of configuration options.
|
|
179
181
|
|
|
180
182
|
### Understanding control flow
|
|
181
183
|
|
|
@@ -212,7 +214,7 @@ const step1 = createStep({
|
|
|
212
214
|
})
|
|
213
215
|
```
|
|
214
216
|
|
|
215
|
-
Visit [Workflow State](https://mastra.ai/docs/workflows/workflow-state) for complete documentation on state schemas, initial state, persistence across suspend/resume, and nested workflows.
|
|
217
|
+
> **Info:** Visit [Workflow State](https://mastra.ai/docs/workflows/workflow-state) for complete documentation on state schemas, initial state, persistence across suspend/resume, and nested workflows.
|
|
216
218
|
|
|
217
219
|
## Workflows as steps
|
|
218
220
|
|
|
@@ -533,7 +535,7 @@ const step1 = createStep({
|
|
|
533
535
|
})
|
|
534
536
|
```
|
|
535
537
|
|
|
536
|
-
Visit [Request Context](https://mastra.ai/docs/server/request-context) for more information.
|
|
538
|
+
> **Info:** Visit [Request Context](https://mastra.ai/docs/server/request-context) for more information.
|
|
537
539
|
|
|
538
540
|
> **Tip:** For type-safe request context schema validation, see [Schema Validation](https://mastra.ai/docs/server/request-context).
|
|
539
541
|
|
|
@@ -544,5 +546,4 @@ For a closer look at workflows, see our [Workflow Guide](https://mastra.ai/guide
|
|
|
544
546
|
- [Workflow State](https://mastra.ai/docs/workflows/workflow-state)
|
|
545
547
|
- [Control Flow](https://mastra.ai/docs/workflows/control-flow)
|
|
546
548
|
- [Suspend and Resume](https://mastra.ai/docs/workflows/suspend-and-resume)
|
|
547
|
-
- [Error Handling](https://mastra.ai/docs/workflows/error-handling)
|
|
548
|
-
- 📹 [Agentic workflows with Mastra workshop](https://www.youtube.com/watch?v=HGt8pVPpX9g)
|
|
549
|
+
- [Error Handling](https://mastra.ai/docs/workflows/error-handling)
|
|
@@ -411,5 +411,4 @@ External providers may perform additional setup like establishing connections or
|
|
|
411
411
|
- [LSP inspection](https://mastra.ai/docs/workspace/lsp)
|
|
412
412
|
- [Skills](https://mastra.ai/docs/workspace/skills)
|
|
413
413
|
- [Search and indexing](https://mastra.ai/docs/workspace/search)
|
|
414
|
-
- [Workspace class reference](https://mastra.ai/reference/workspace/workspace-class)
|
|
415
|
-
- 📹 [Introduction to Mastra Workspaces workshop](https://www.youtube.com/watch?v=QcQLiYlJuNQ)
|
|
414
|
+
- [Workspace class reference](https://mastra.ai/reference/workspace/workspace-class)
|
|
@@ -15,8 +15,6 @@ A sandbox provider executes commands in a controlled environment:
|
|
|
15
15
|
- **Timeouts**: Prevent long-running commands from hanging
|
|
16
16
|
- **Isolation**: Optional OS-level sandboxing for security
|
|
17
17
|
|
|
18
|
-
> **📹 Watch:** Watch [Mastra remote sandboxes overview](https://www.youtube.com/watch?v=Ix2X-sjVXjw) to see how remote sandboxes give agents an isolated computer to work in.
|
|
19
|
-
|
|
20
18
|
## Supported providers
|
|
21
19
|
|
|
22
20
|
- [`LocalSandbox`](https://mastra.ai/reference/workspace/local-sandbox): Executes commands on the local machine
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
> **Info:** For a full-stack integration approach where Mastra runs directly in your Next.js API routes, see the [Full-Stack Integration Guide](https://www.assistant-ui.com/docs/integrations/frameworks/mastra/full-stack) on Assistant UI's documentation site.
|
|
8
8
|
|
|
9
|
-
Visit Mastra's [**"UI Dojo"**](https://ui-dojo.mastra.ai/) to see real-world examples of Assistant UI integrated with Mastra.
|
|
9
|
+
> **Tip:** Visit Mastra's [**"UI Dojo"**](https://ui-dojo.mastra.ai/) to see real-world examples of Assistant UI integrated with Mastra.
|
|
10
10
|
|
|
11
11
|
## Integration guide
|
|
12
12
|
|
|
@@ -10,7 +10,7 @@ Visit the [CopilotKit documentation](https://docs.copilotkit.ai/) to learn more
|
|
|
10
10
|
|
|
11
11
|
> **Info:** For a full-stack integration approach where Mastra runs directly in your Next.js API routes, see the [CopilotKit Quickstart](https://docs.copilotkit.ai/mastra/quickstart) guide.
|
|
12
12
|
|
|
13
|
-
Visit Mastra's ["UI Dojo"](https://ui-dojo.mastra.ai/) to see real-world examples of CopilotKit integrated with Mastra.
|
|
13
|
+
> **Tip:** Visit Mastra's ["UI Dojo"](https://ui-dojo.mastra.ai/) to see real-world examples of CopilotKit integrated with Mastra.
|
|
14
14
|
|
|
15
15
|
## Integration guide
|
|
16
16
|
|
|
@@ -29,7 +29,7 @@ for await (const chunk of stream.textStream) {
|
|
|
29
29
|
}
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Visit [Agent.stream()](https://mastra.ai/reference/streaming/agents/stream) for more information.
|
|
32
|
+
> **Info:** Visit [Agent.stream()](https://mastra.ai/reference/streaming/agents/stream) for more information.
|
|
33
33
|
|
|
34
34
|
> **Tip:** For agents that dispatch [background tasks](https://mastra.ai/docs/long-running-agents/background-tasks), use [`Agent.streamUntilIdle()`](https://mastra.ai/reference/streaming/agents/streamUntilIdle) to keep the stream open until those tasks complete and the agent has had a chance to respond to their results.
|
|
35
35
|
|
|
@@ -101,7 +101,7 @@ for await (const chunk of stream) {
|
|
|
101
101
|
}
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
-
Visit [Run.stream()](https://mastra.ai/reference/streaming/workflows/stream) for more information.
|
|
104
|
+
> **Info:** Visit [Run.stream()](https://mastra.ai/reference/streaming/workflows/stream) for more information.
|
|
105
105
|
|
|
106
106
|
### Output from `Run.stream()`
|
|
107
107
|
|
|
@@ -160,7 +160,7 @@ for await (const chunk of stream) {
|
|
|
160
160
|
}
|
|
161
161
|
```
|
|
162
162
|
|
|
163
|
-
Visit [Agent.stream()](https://mastra.ai/reference/streaming/agents/stream) for more information.
|
|
163
|
+
> **Info:** Visit [Agent.stream()](https://mastra.ai/reference/streaming/agents/stream) for more information.
|
|
164
164
|
|
|
165
165
|
### Example agent output
|
|
166
166
|
|
|
@@ -8,8 +8,6 @@ The `create mastra` CLI command is the quickest way to get started. It walks you
|
|
|
8
8
|
|
|
9
9
|
If you need more control over the setup, see the [manual installation guide](https://mastra.ai/docs/getting-started/manual-install). You can also use [`mastra init`](https://mastra.ai/reference/cli/mastra) for existing projects.
|
|
10
10
|
|
|
11
|
-
> **📹 Watch:** Watch [Mastra AI agent course](https://www.youtube.com/watch?v=lCmf_qrGfGA) for a guided introduction to building agents with Mastra.
|
|
12
|
-
|
|
13
11
|
## Before you begin
|
|
14
12
|
|
|
15
13
|
- You'll need an API key from a supported [model provider](https://mastra.ai/models). If you don't have a preference, use [OpenAI](https://mastra.ai/models/providers/openai).
|
|
@@ -60,7 +58,7 @@ Depending on your choices, you'll also end up with [Mastra Skills](https://mastr
|
|
|
60
58
|
|
|
61
59
|
Once setup is complete, follow the instructions in your terminal to start the Mastra dev server, then open Studio at [localhost:4111](http://localhost:4111).
|
|
62
60
|
|
|
63
|
-
Try asking about the weather. If your API key is set up correctly, you'll get a response
|
|
61
|
+
Try asking about the weather. If your API key is set up correctly, you'll get a response:
|
|
64
62
|
|
|
65
63
|
[Studio](https://mastra.ai/docs/studio/overview) lets you rapidly build and prototype agents without needing to build a UI. Once you're ready, you can integrate your Mastra agent into your app using the guides below.
|
|
66
64
|
|
|
@@ -6,6 +6,8 @@ In this guide, you'll create a "Chef Assistant" agent that helps users cook meal
|
|
|
6
6
|
|
|
7
7
|
You'll learn how to create the agent and register it with Mastra. Next, you'll interact with the agent through your terminal and get to know different response formats. Lastly, you'll access the agent through Mastra's local API endpoints.
|
|
8
8
|
|
|
9
|
+
[YouTube video player](https://www.youtube-nocookie.com/embed/_tZhOqHCrF0)
|
|
10
|
+
|
|
9
11
|
## Prerequisites
|
|
10
12
|
|
|
11
13
|
- Node.js `v22.13.0` or later installed
|
|
@@ -182,12 +182,12 @@ You can extend this agent to:
|
|
|
182
182
|
|
|
183
183
|
- [Deploy your application](https://mastra.ai/docs/deployment/overview) and update the Slack **Request URL** to your production endpoint
|
|
184
184
|
- Add more adapters (Discord, Telegram) to the same agent so it responds on multiple platforms
|
|
185
|
-
- Configure [multimodal content](https://mastra.ai/docs/
|
|
185
|
+
- Configure [multimodal content](https://mastra.ai/docs/agents/channels) to let your agent process images, video, and audio shared in chat
|
|
186
186
|
- Add [tools](https://mastra.ai/docs/agents/using-tools) to give the agent access to external APIs and data
|
|
187
187
|
|
|
188
188
|
Learn more:
|
|
189
189
|
|
|
190
|
-
- [Channels overview](https://mastra.ai/docs/
|
|
190
|
+
- [Channels overview](https://mastra.ai/docs/agents/channels)
|
|
191
191
|
- [Studio](https://mastra.ai/docs/studio/overview)
|
|
192
192
|
- [Deployment overview](https://mastra.ai/docs/deployment/overview)
|
|
193
193
|
- [Chat SDK adapter docs](https://chat-sdk.dev)
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
In this guide, you're going to create an agent that fetches the last day's closing stock price for a given symbol. You'll learn how to create a tool, add it to an agent, and use the agent to fetch stock prices.
|
|
6
6
|
|
|
7
|
+
[YouTube video player](https://www.youtube-nocookie.com/embed/rIaZ4l7y9wo)
|
|
8
|
+
|
|
7
9
|
## Prerequisites
|
|
8
10
|
|
|
9
11
|
- Node.js `v22.13.0` or later installed
|
|
@@ -31,7 +31,6 @@ List of required environment variables for each model provider and gateway suppo
|
|
|
31
31
|
| [Cloudflare Workers AI](https://mastra.ai/models/providers/cloudflare-workers-ai) | `cloudflare-workers-ai/*` | `CLOUDFLARE_ACCOUNT_ID`, `CLOUDFLARE_API_KEY` |
|
|
32
32
|
| [Cortecs](https://mastra.ai/models/providers/cortecs) | `cortecs/*` | `CORTECS_API_KEY` |
|
|
33
33
|
| [CrofAI](https://mastra.ai/models/providers/crof) | `crof/*` | `CROF_API_KEY` |
|
|
34
|
-
| [CrossModel](https://mastra.ai/models/providers/crossmodel) | `crossmodel/*` | `CROSSMODEL_API_KEY` |
|
|
35
34
|
| [D.Run (China)](https://mastra.ai/models/providers/drun) | `drun/*` | `DRUN_API_KEY` |
|
|
36
35
|
| [Databricks](https://mastra.ai/models/providers/databricks) | `databricks/*` | `DATABRICKS_HOST`, `DATABRICKS_TOKEN` |
|
|
37
36
|
| [Deep Infra](https://mastra.ai/models/providers/deepinfra) | `deepinfra/*` | `DEEPINFRA_API_KEY` |
|
|
@@ -69,7 +68,6 @@ List of required environment variables for each model provider and gateway suppo
|
|
|
69
68
|
| [LongCat](https://mastra.ai/models/providers/longcat) | `longcat/*` | `LONGCAT_API_KEY` |
|
|
70
69
|
| [LucidQuery](https://mastra.ai/models/providers/lucidquery) | `lucidquery/*` | `LUCIDQUERY_API_KEY` |
|
|
71
70
|
| [Meganova](https://mastra.ai/models/providers/meganova) | `meganova/*` | `MEGANOVA_API_KEY` |
|
|
72
|
-
| [Meta](https://mastra.ai/models/providers/meta) | `meta/*` | `META_MODEL_API_KEY` |
|
|
73
71
|
| [MiniMax (minimax.io)](https://mastra.ai/models/providers/minimax) | `minimax/*` | `MINIMAX_API_KEY` |
|
|
74
72
|
| [MiniMax (minimaxi.com)](https://mastra.ai/models/providers/minimax-cn) | `minimax-cn/*` | `MINIMAX_API_KEY` |
|
|
75
73
|
| [MiniMax Token Plan (minimax.io)](https://mastra.ai/models/providers/minimax-coding-plan) | `minimax-coding-plan/*` | `MINIMAX_API_KEY` |
|
|
@@ -140,7 +138,6 @@ List of required environment variables for each model provider and gateway suppo
|
|
|
140
138
|
| [Z.AI](https://mastra.ai/models/providers/zai) | `zai/*` | `ZHIPU_API_KEY` |
|
|
141
139
|
| [Z.AI Coding Plan](https://mastra.ai/models/providers/zai-coding-plan) | `zai-coding-plan/*` | `ZHIPU_API_KEY` |
|
|
142
140
|
| [Zeldoc](https://mastra.ai/models/providers/zeldoc) | `zeldoc/*` | `ZELDOC_API_KEY` |
|
|
143
|
-
| [Zenifra](https://mastra.ai/models/providers/zenifra) | `zenifra/*` | `ZENIFRA_AI_KEY` |
|
|
144
141
|
| [ZenMux](https://mastra.ai/models/providers/zenmux) | `zenmux/*` | `ZENMUX_API_KEY` |
|
|
145
142
|
| [Zhipu AI](https://mastra.ai/models/providers/zhipuai) | `zhipuai/*` | `ZHIPU_API_KEY` |
|
|
146
143
|
| [Zhipu AI Coding Plan](https://mastra.ai/models/providers/zhipuai-coding-plan) | `zhipuai-coding-plan/*` | `ZHIPU_API_KEY` |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Netlify
|
|
4
4
|
|
|
5
|
-
Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access
|
|
5
|
+
Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access 67 models through Mastra's model router.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Netlify documentation](https://docs.netlify.com/build/ai-gateway/overview/).
|
|
8
8
|
|
|
@@ -101,9 +101,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
101
101
|
| `openai/gpt-5.5-2026-04-23` |
|
|
102
102
|
| `openai/gpt-5.5-pro` |
|
|
103
103
|
| `openai/gpt-5.5-pro-2026-04-23` |
|
|
104
|
-
| `openai/gpt-5.6-luna` |
|
|
105
|
-
| `openai/gpt-5.6-sol` |
|
|
106
|
-
| `openai/gpt-5.6-terra` |
|
|
107
104
|
| `openai/o3` |
|
|
108
105
|
| `openai/o3-mini` |
|
|
109
106
|
| `openai/o4-mini` |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# OpenRouter
|
|
4
4
|
|
|
5
|
-
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
5
|
+
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 342 models through Mastra's model router.
|
|
6
6
|
|
|
7
7
|
Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
|
|
8
8
|
|
|
@@ -45,7 +45,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
45
45
|
| `~moonshotai/kimi-latest` |
|
|
46
46
|
| `~openai/gpt-latest` |
|
|
47
47
|
| `~openai/gpt-mini-latest` |
|
|
48
|
-
| `~x-ai/grok-latest` |
|
|
49
48
|
| `ai21/jamba-large-1.7` |
|
|
50
49
|
| `aion-labs/aion-2.0` |
|
|
51
50
|
| `aion-labs/aion-3.0` |
|
|
@@ -83,7 +82,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
83
82
|
| `bytedance-seed/seed-2.0-lite` |
|
|
84
83
|
| `bytedance-seed/seed-2.0-mini` |
|
|
85
84
|
| `bytedance/ui-tars-1.5-7b` |
|
|
86
|
-
| `cognitivecomputations/dolphin-mistral-24b-venice-edition` |
|
|
87
85
|
| `cognitivecomputations/dolphin-mistral-24b-venice-edition:free` |
|
|
88
86
|
| `cohere/command-a` |
|
|
89
87
|
| `cohere/command-r-08-2024` |
|
|
@@ -105,6 +103,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
105
103
|
| `google/gemini-2.5-flash` |
|
|
106
104
|
| `google/gemini-2.5-flash-image` |
|
|
107
105
|
| `google/gemini-2.5-flash-lite` |
|
|
106
|
+
| `google/gemini-2.5-flash-lite-preview-09-2025` |
|
|
108
107
|
| `google/gemini-2.5-pro` |
|
|
109
108
|
| `google/gemini-2.5-pro-preview` |
|
|
110
109
|
| `google/gemini-2.5-pro-preview-05-06` |
|
|
@@ -140,6 +139,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
140
139
|
| `inflection/inflection-3-pi` |
|
|
141
140
|
| `inflection/inflection-3-productivity` |
|
|
142
141
|
| `kwaipilot/kat-coder-pro-v2` |
|
|
142
|
+
| `liquid/lfm-2-24b-a2b` |
|
|
143
143
|
| `liquid/lfm-2.5-1.2b-instruct:free` |
|
|
144
144
|
| `liquid/lfm-2.5-1.2b-thinking:free` |
|
|
145
145
|
| `mancer/weaver` |
|
|
@@ -253,12 +253,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
253
253
|
| `openai/gpt-5.4-pro` |
|
|
254
254
|
| `openai/gpt-5.5` |
|
|
255
255
|
| `openai/gpt-5.5-pro` |
|
|
256
|
-
| `openai/gpt-5.6-luna` |
|
|
257
|
-
| `openai/gpt-5.6-luna-pro` |
|
|
258
|
-
| `openai/gpt-5.6-sol` |
|
|
259
|
-
| `openai/gpt-5.6-sol-pro` |
|
|
260
|
-
| `openai/gpt-5.6-terra` |
|
|
261
|
-
| `openai/gpt-5.6-terra-pro` |
|
|
262
256
|
| `openai/gpt-audio` |
|
|
263
257
|
| `openai/gpt-audio-mini` |
|
|
264
258
|
| `openai/gpt-chat-latest` |
|
|
@@ -292,6 +286,8 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
292
286
|
| `poolside/laguna-m.1:free` |
|
|
293
287
|
| `poolside/laguna-xs-2.1` |
|
|
294
288
|
| `poolside/laguna-xs-2.1:free` |
|
|
289
|
+
| `poolside/laguna-xs.2` |
|
|
290
|
+
| `poolside/laguna-xs.2:free` |
|
|
295
291
|
| `qwen/qwen-2.5-72b-instruct` |
|
|
296
292
|
| `qwen/qwen-2.5-7b-instruct` |
|
|
297
293
|
| `qwen/qwen-2.5-coder-32b-instruct` |
|
|
@@ -352,6 +348,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
352
348
|
| `sao10k/l3.3-euryale-70b` |
|
|
353
349
|
| `stepfun/step-3.5-flash` |
|
|
354
350
|
| `stepfun/step-3.7-flash` |
|
|
351
|
+
| `switchpoint/router` |
|
|
355
352
|
| `tencent/hunyuan-a13b-instruct` |
|
|
356
353
|
| `tencent/hy3` |
|
|
357
354
|
| `tencent/hy3-preview` |
|
|
@@ -366,7 +363,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
366
363
|
| `x-ai/grok-4.20` |
|
|
367
364
|
| `x-ai/grok-4.20-multi-agent` |
|
|
368
365
|
| `x-ai/grok-4.3` |
|
|
369
|
-
| `x-ai/grok-4.5` |
|
|
370
366
|
| `x-ai/grok-build-0.1` |
|
|
371
367
|
| `xiaomi/mimo-v2.5` |
|
|
372
368
|
| `xiaomi/mimo-v2.5-pro` |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Vercel
|
|
4
4
|
|
|
5
|
-
Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
5
|
+
Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 299 models through Mastra's model router.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Vercel documentation](https://ai-sdk.dev/providers/ai-sdk-providers).
|
|
8
8
|
|
|
@@ -141,7 +141,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
141
141
|
| `google/gemini-3.5-flash` |
|
|
142
142
|
| `google/gemini-embedding-001` |
|
|
143
143
|
| `google/gemini-embedding-2` |
|
|
144
|
-
| `google/gemini-omni-flash-preview` |
|
|
145
144
|
| `google/gemma-4-26b-a4b-it` |
|
|
146
145
|
| `google/gemma-4-31b-it` |
|
|
147
146
|
| `google/imagen-4.0-fast-generate-001` |
|
|
@@ -177,7 +176,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
177
176
|
| `meta/llama-3.3-70b` |
|
|
178
177
|
| `meta/llama-4-maverick` |
|
|
179
178
|
| `meta/llama-4-scout` |
|
|
180
|
-
| `meta/muse-spark-1.1` |
|
|
181
179
|
| `minimax/minimax-m2` |
|
|
182
180
|
| `minimax/minimax-m2.1` |
|
|
183
181
|
| `minimax/minimax-m2.1-lightning` |
|
|
@@ -251,9 +249,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
251
249
|
| `openai/gpt-5.4-pro` |
|
|
252
250
|
| `openai/gpt-5.5` |
|
|
253
251
|
| `openai/gpt-5.5-pro` |
|
|
254
|
-
| `openai/gpt-5.6-luna` |
|
|
255
|
-
| `openai/gpt-5.6-sol` |
|
|
256
|
-
| `openai/gpt-5.6-terra` |
|
|
257
252
|
| `openai/gpt-image-1` |
|
|
258
253
|
| `openai/gpt-image-1-mini` |
|
|
259
254
|
| `openai/gpt-image-1.5` |
|
|
@@ -313,7 +308,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
313
308
|
| `xai/grok-4.20-reasoning` |
|
|
314
309
|
| `xai/grok-4.20-reasoning-beta` |
|
|
315
310
|
| `xai/grok-4.3` |
|
|
316
|
-
| `xai/grok-4.5` |
|
|
317
311
|
| `xai/grok-build-0.1` |
|
|
318
312
|
| `xai/grok-imagine-image` |
|
|
319
313
|
| `xai/grok-imagine-video` |
|
package/.docs/models/index.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Model Providers
|
|
4
4
|
|
|
5
|
-
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to
|
|
5
|
+
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 4567 models from 140 providers through a single API.
|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Google
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 18 Google models through Mastra's model router. Authentication is handled automatically using one of the following environment variables: `GOOGLE_API_KEY`, `GOOGLE_GENERATIVE_AI_API_KEY`.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Google documentation](https://ai.google.dev/gemini-api/docs/models).
|
|
8
8
|
|
|
@@ -51,7 +51,6 @@ for await (const chunk of stream) {
|
|
|
51
51
|
| `google/gemini-embedding-001` | 2K | | | | | | $0.15 | — |
|
|
52
52
|
| `google/gemini-flash-latest` | 1.0M | | | | | | $0.30 | $3 |
|
|
53
53
|
| `google/gemini-flash-lite-latest` | 1.0M | | | | | | $0.10 | $0.40 |
|
|
54
|
-
| `google/gemini-omni-flash-preview` | 131K | | | | | | $2 | $18 |
|
|
55
54
|
| `google/gemma-4-26b-a4b-it` | 262K | | | | | | — | — |
|
|
56
55
|
| `google/gemma-4-31b-it` | 262K | | | | | | — | — |
|
|
57
56
|
|