@mastra/mcp-docs-server 1.3.9 → 1.3.10-alpha.0
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/code-mode.md +2 -2
- package/.docs/docs/agents/guardrails.md +5 -5
- package/.docs/docs/agents/human-in-the-loop.md +18 -5
- package/.docs/docs/agents/networks.md +1 -1
- package/.docs/docs/agents/overview.md +7 -7
- package/.docs/docs/agents/processors.md +66 -20
- package/.docs/docs/agents/structured-output.md +6 -6
- package/.docs/docs/agents/tools.md +10 -10
- package/.docs/docs/browser.md +13 -1
- package/.docs/docs/channels.md +33 -6
- package/.docs/docs/connections/a2a.md +1 -1
- package/.docs/docs/connections/acp.md +2 -2
- package/.docs/docs/connections/mcp.md +159 -50
- package/.docs/docs/connections/overview.md +1 -1
- package/.docs/docs/connections/sdk-agents.md +8 -8
- package/.docs/docs/develop.md +1 -1
- package/.docs/docs/evals/custom-scorers.md +5 -5
- package/.docs/docs/evals/experiments.md +2 -2
- package/.docs/docs/evals/multi-turn.md +2 -2
- package/.docs/docs/evals/overview.md +4 -4
- package/.docs/docs/evals/quick-checks.md +2 -2
- package/.docs/docs/guides/build-an-eval-loop.md +3 -3
- package/.docs/docs/guides/context-engineering.md +13 -6
- package/.docs/docs/guides/mcp-authentication-authorization.md +2 -2
- package/.docs/docs/guides/streaming.md +1 -1
- package/.docs/docs/harness/agent-controller.md +7 -7
- package/.docs/docs/harness/background-tasks.md +3 -3
- package/.docs/docs/harness/durable-agents.md +5 -5
- package/.docs/docs/harness/goals.md +5 -5
- package/.docs/docs/harness/overview.md +2 -2
- package/.docs/docs/harness/schedules.md +5 -5
- package/.docs/docs/index.md +6 -6
- package/.docs/docs/mastra-platform/connect/channels.md +1 -1
- package/.docs/docs/mastra-platform/connect/tools.md +4 -4
- package/.docs/docs/mastra-platform/observability.md +1 -1
- package/.docs/docs/memory/memory-processors.md +7 -7
- package/.docs/docs/memory/message-history.md +5 -5
- package/.docs/docs/memory/multi-user-threads.md +1 -1
- package/.docs/docs/memory/observational-memory.md +14 -14
- package/.docs/docs/memory/semantic-recall.md +2 -2
- package/.docs/docs/memory/working-memory.md +2 -2
- package/.docs/docs/observability/logging.md +5 -5
- package/.docs/docs/observability/tracing/overview.md +1 -0
- package/.docs/docs/sandbox/filesystem.md +1 -0
- package/.docs/docs/sandbox/overview.md +1 -1
- package/.docs/docs/server/mastra-client.md +1 -1
- package/.docs/docs/server/middleware.md +1 -1
- package/.docs/docs/server/request-context.md +3 -3
- package/.docs/docs/server/server-adapters.md +12 -204
- package/.docs/docs/signals/notifications.md +233 -0
- package/.docs/docs/signals/overview.md +94 -0
- package/.docs/docs/signals/running-across-processes.md +132 -0
- package/.docs/docs/signals/sending-signals.md +166 -0
- package/.docs/docs/signals/signal-providers.md +278 -0
- package/.docs/docs/signals/state-signals.md +103 -0
- package/.docs/docs/signals/thread-streams.md +94 -0
- package/.docs/docs/skills.md +4 -4
- package/.docs/docs/storage.md +1 -1
- package/.docs/docs/studio/editor.md +39 -23
- package/.docs/docs/subagents.md +6 -6
- package/.docs/integrations/agentic-ui/ai-sdk-ui.md +1 -1
- package/.docs/integrations/agentic-ui/copilotkit.md +1 -1
- package/.docs/integrations/agentic-ui/openui.md +1 -1
- package/.docs/integrations/browsers/agent-browser.md +1 -1
- package/.docs/integrations/browsers/browser-viewer.md +1 -1
- package/.docs/integrations/browsers/firecrawl.md +1 -1
- package/.docs/integrations/browsers/stagehand.md +6 -6
- package/.docs/integrations/channels/discord.md +1 -1
- package/.docs/integrations/channels/github.md +2 -2
- package/.docs/integrations/channels/imessage.md +2 -50
- package/.docs/integrations/channels/slack.md +1 -1
- package/.docs/integrations/channels/teams.md +1 -1
- package/.docs/integrations/channels/telegram.md +1 -1
- package/.docs/integrations/channels/whatsapp.md +1 -1
- package/.docs/integrations/databases/aurora-dsql.md +1 -1
- package/.docs/integrations/databases/cloudflare-kv.md +4 -0
- package/.docs/integrations/databases/elasticsearch.md +1 -1
- package/.docs/integrations/databases/mongodb.md +1 -1
- package/.docs/integrations/databases/oracledb.md +1 -1
- package/.docs/integrations/databases/postgresql.md +1 -1
- package/.docs/integrations/databases/redis.md +1 -1
- package/.docs/integrations/databases/upstash.md +1 -1
- package/.docs/integrations/deploy/kubernetes.md +1 -1
- package/.docs/integrations/deploy/neon.md +2 -1
- package/.docs/integrations/deploy/render.md +2 -2
- package/.docs/integrations/file-storage/agentfs.md +1 -1
- package/.docs/integrations/file-storage/amazon-s3.md +20 -3
- package/.docs/integrations/file-storage/archil.md +1 -1
- package/.docs/integrations/file-storage/azure-blob.md +1 -1
- package/.docs/integrations/file-storage/google-cloud-storage.md +1 -1
- package/.docs/integrations/file-storage/google-drive.md +1 -1
- package/.docs/integrations/file-storage/mesa.md +1 -1
- package/.docs/integrations/file-storage/neon.md +210 -0
- package/.docs/integrations/file-storage/vercel-files.md +5 -1
- package/.docs/integrations/frameworks/express.md +0 -64
- package/.docs/integrations/observability/langfuse.md +1 -1
- package/.docs/integrations/observability/langsmith.md +2 -2
- package/.docs/integrations/observability/opentelemetry.md +5 -5
- package/.docs/integrations/sandboxes/apple-container.md +1 -1
- package/.docs/integrations/sandboxes/blaxel.md +1 -1
- package/.docs/integrations/sandboxes/daytona.md +1 -1
- package/.docs/integrations/sandboxes/docker.md +1 -1
- package/.docs/integrations/sandboxes/e2b-desktop.md +1 -1
- package/.docs/integrations/sandboxes/e2b.md +4 -2
- package/.docs/integrations/sandboxes/modal.md +1 -1
- package/.docs/integrations/sandboxes/railway.md +1 -1
- package/.docs/integrations/sandboxes/sprites.md +1 -1
- package/.docs/integrations/sandboxes/vercel.md +2 -2
- package/.docs/integrations/tools/brightdata.md +1 -1
- package/.docs/integrations/tools/firecrawl.md +1 -1
- package/.docs/integrations/tools/parallel.md +1 -1
- package/.docs/integrations/tools/perplexity.md +1 -1
- package/.docs/integrations/tools/tavily.md +1 -1
- package/.docs/integrations/voice/livekit.md +2 -2
- package/.docs/integrations.md +1 -0
- package/.docs/models/environment-variables.md +0 -2
- package/.docs/models/gateways/custom-gateways.md +3 -3
- package/.docs/models/gateways/merge-gateway.md +2 -14
- package/.docs/models/gateways/netlify.md +2 -1
- package/.docs/models/gateways/openrouter.md +3 -2
- package/.docs/models/gateways/vercel.md +3 -4
- package/.docs/models/index.md +13 -15
- package/.docs/models/providers/302ai.md +3 -3
- package/.docs/models/providers/abacus.md +70 -110
- package/.docs/models/providers/aimlapi.md +171 -171
- package/.docs/models/providers/aki-io.md +5 -6
- package/.docs/models/providers/alibaba-cn.md +2 -2
- package/.docs/models/providers/alibaba.md +2 -2
- package/.docs/models/providers/ambient.md +1 -1
- package/.docs/models/providers/auriko.md +2 -2
- package/.docs/models/providers/baseten.md +4 -4
- package/.docs/models/providers/berget.md +3 -4
- package/.docs/models/providers/bothub.md +4 -4
- package/.docs/models/providers/boundless.md +0 -4
- package/.docs/models/providers/cline-pass.md +2 -8
- package/.docs/models/providers/commandcode.md +0 -1
- package/.docs/models/providers/coralbricks.md +1 -1
- package/.docs/models/providers/cortecs.md +1 -1
- package/.docs/models/providers/crossmodel.md +1 -3
- package/.docs/models/providers/crusoe.md +1 -7
- package/.docs/models/providers/daoxe.md +1 -1
- package/.docs/models/providers/deepinfra.md +2 -2
- package/.docs/models/providers/digitalocean.md +6 -10
- package/.docs/models/providers/dinference.md +0 -3
- package/.docs/models/providers/edenai.md +12 -2
- package/.docs/models/providers/empiriolabs.md +0 -1
- package/.docs/models/providers/engy.md +2 -2
- package/.docs/models/providers/evroc.md +2 -2
- package/.docs/models/providers/fastrouter.md +41 -50
- package/.docs/models/providers/fireworks-ai.md +28 -23
- package/.docs/models/providers/friendli.md +4 -5
- package/.docs/models/providers/frogbot.md +2 -7
- package/.docs/models/providers/google.md +2 -5
- package/.docs/models/providers/greenpt.md +14 -20
- package/.docs/models/providers/groq.md +1 -1
- package/.docs/models/providers/huggingface.md +3 -1
- package/.docs/models/providers/iflowcn.md +2 -18
- package/.docs/models/providers/impossibl.md +2 -9
- package/.docs/models/providers/inceptron.md +8 -6
- package/.docs/models/providers/inco.md +1 -1
- package/.docs/models/providers/inference.md +5 -11
- package/.docs/models/providers/infomaniak.md +10 -12
- package/.docs/models/providers/io-net.md +11 -17
- package/.docs/models/providers/iteracompute.md +3 -3
- package/.docs/models/providers/jalapeno.md +14 -19
- package/.docs/models/providers/jiekou.md +53 -63
- package/.docs/models/providers/kenari.md +34 -53
- package/.docs/models/providers/kilo.md +11 -10
- package/.docs/models/providers/lilac.md +2 -8
- package/.docs/models/providers/llama.md +2 -11
- package/.docs/models/providers/llmgateway-providers.md +8 -16
- package/.docs/models/providers/llmgateway.md +9 -8
- package/.docs/models/providers/llmtr.md +1 -6
- package/.docs/models/providers/lowrouter.md +1 -1
- package/.docs/models/providers/lucidquery.md +2 -2
- package/.docs/models/providers/meganova.md +6 -7
- package/.docs/models/providers/melious.md +2 -7
- package/.docs/models/providers/mistral.md +4 -3
- package/.docs/models/providers/moark.md +0 -2
- package/.docs/models/providers/nan.md +1 -1
- package/.docs/models/providers/nano-gpt.md +13 -7
- package/.docs/models/providers/nearai.md +2 -1
- package/.docs/models/providers/neuralwatt.md +1 -4
- package/.docs/models/providers/novita-ai.md +2 -1
- package/.docs/models/providers/nvidia.md +15 -35
- package/.docs/models/providers/oci.md +0 -1
- package/.docs/models/providers/ofox.md +1 -1
- package/.docs/models/providers/ollama-cloud.md +2 -2
- package/.docs/models/providers/opencode-go.md +2 -3
- package/.docs/models/providers/opencode.md +85 -88
- package/.docs/models/providers/opper.md +1 -4
- package/.docs/models/providers/orcarouter.md +14 -16
- package/.docs/models/providers/pareto.md +1 -1
- package/.docs/models/providers/perplexity-agent.md +2 -12
- package/.docs/models/providers/pioneer.md +7 -7
- package/.docs/models/providers/poe.md +16 -70
- package/.docs/models/providers/prime.md +2 -1
- package/.docs/models/providers/qihang-ai.md +7 -11
- package/.docs/models/providers/qiniu-ai.md +9 -94
- package/.docs/models/providers/regolo-ai.md +5 -7
- package/.docs/models/providers/runinfra.md +1 -4
- package/.docs/models/providers/sarvam.md +1 -2
- package/.docs/models/providers/scaleway.md +12 -11
- package/.docs/models/providers/siliconflow-cn.md +35 -41
- package/.docs/models/providers/siliconflow.md +3 -6
- package/.docs/models/providers/stackit.md +2 -4
- package/.docs/models/providers/stepfun-ai.md +4 -4
- package/.docs/models/providers/stepfun.md +4 -4
- package/.docs/models/providers/submodel.md +1 -1
- package/.docs/models/providers/synthetic.md +0 -4
- package/.docs/models/providers/tempr.md +1 -4
- package/.docs/models/providers/tencent-coding-plan.md +3 -10
- package/.docs/models/providers/tensorx.md +0 -13
- package/.docs/models/providers/the-grid-ai.md +2 -1
- package/.docs/models/providers/tokengo.md +1 -1
- package/.docs/models/providers/umans-ai-coding-plan.md +12 -11
- package/.docs/models/providers/umans-ai.md +11 -10
- package/.docs/models/providers/unorouter.md +0 -13
- package/.docs/models/providers/vancine.md +0 -1
- package/.docs/models/providers/vivgrid.md +3 -3
- package/.docs/models/providers/volcengine-coding-plan.md +8 -12
- package/.docs/models/providers/volcengine.md +12 -18
- package/.docs/models/providers/vultr.md +0 -2
- package/.docs/models/providers/wafer.ai.md +3 -7
- package/.docs/models/providers/xai.md +19 -3
- package/.docs/models/providers/xiaomi-token-plan-ams.md +4 -4
- package/.docs/models/providers/xiaomi-token-plan-cn.md +4 -4
- package/.docs/models/providers/xiaomi-token-plan-sgp.md +4 -4
- package/.docs/models/providers/xiaomi.md +4 -4
- package/.docs/models/providers/xpersona.md +0 -1
- package/.docs/models/providers/zenmux.md +105 -125
- package/.docs/models/providers.md +0 -2
- package/.docs/reference/acp/acp-agent.md +4 -4
- package/.docs/reference/acp/create-acp-tool.md +1 -1
- package/.docs/reference/agent-controller/agent-controller-class.md +1 -1
- package/.docs/reference/agent-controller/session.md +5 -5
- package/.docs/reference/agents/agent.md +22 -46
- package/.docs/reference/agents/channels.md +10 -8
- package/.docs/reference/agents/durable-agent.md +2 -2
- package/.docs/reference/agents/generate.md +57 -3
- package/.docs/reference/agents/generateLegacy.md +2 -2
- package/.docs/reference/agents/getLLM.md +2 -2
- package/.docs/reference/agents/getMetadata.md +2 -2
- package/.docs/reference/agents/inngest-agent.md +1 -1
- package/.docs/reference/agents/network.md +1 -1
- package/.docs/reference/browser/agent-browser.md +1 -1
- package/.docs/reference/browser/browser-viewer.md +1 -1
- package/.docs/reference/browser/firecrawl-browser.md +1 -1
- package/.docs/reference/browser/mastra-browser.md +1 -1
- package/.docs/reference/browser/stagehand-browser.md +4 -4
- package/.docs/reference/channels/slack-provider.md +3 -0
- package/.docs/reference/cli/mastra.md +26 -0
- package/.docs/reference/client-js/agent-controller.md +1 -1
- package/.docs/reference/client-js/agents.md +1 -1
- package/.docs/reference/client-js/observability.md +26 -1
- package/.docs/reference/coding-agent/build-base-prompt.md +1 -1
- package/.docs/reference/coding-agent/create-coding-agent.md +8 -8
- package/.docs/reference/configuration.md +3 -3
- package/.docs/reference/connect/credential.md +1 -1
- package/.docs/reference/connect/tools.md +1 -3
- package/.docs/reference/core/getAgentById.md +1 -1
- package/.docs/reference/core/mastra-model-gateway.md +1 -1
- package/.docs/reference/editor/mastra-editor.md +2 -2
- package/.docs/reference/evals/answer-relevancy.md +1 -1
- package/.docs/reference/evals/answer-similarity.md +1 -1
- package/.docs/reference/evals/bias.md +1 -1
- package/.docs/reference/evals/checks.md +1 -1
- package/.docs/reference/evals/context-precision.md +3 -3
- package/.docs/reference/evals/context-recall.md +3 -3
- package/.docs/reference/evals/context-relevance.md +11 -11
- package/.docs/reference/evals/faithfulness.md +1 -1
- package/.docs/reference/evals/hallucination.md +5 -5
- package/.docs/reference/evals/multi-turn-judge.md +2 -2
- package/.docs/reference/evals/noise-sensitivity.md +12 -12
- package/.docs/reference/evals/not-scorable.md +1 -1
- package/.docs/reference/evals/prompt-alignment.md +16 -16
- package/.docs/reference/evals/rubric.md +5 -5
- package/.docs/reference/evals/summarization.md +4 -4
- package/.docs/reference/evals/tool-call-accuracy.md +4 -4
- package/.docs/reference/evals/toxicity.md +1 -1
- package/.docs/reference/file-based-agents/config.md +3 -3
- package/.docs/reference/file-based-agents/schedules.md +1 -1
- package/.docs/reference/file-based-agents/subagents.md +4 -4
- package/.docs/reference/file-based-agents/workspace.md +1 -1
- package/.docs/reference/index.md +2 -1
- package/.docs/reference/manual-install.md +2 -2
- package/.docs/reference/memory/memory-class.md +3 -3
- package/.docs/reference/memory/observational-memory.md +16 -16
- package/.docs/reference/memory/summarizeConversation.md +3 -3
- package/.docs/reference/memory/summarizeThread.md +3 -3
- package/.docs/reference/migrations/agentnetwork.md +4 -4
- package/.docs/reference/migrations/mcp-v2.md +1 -1
- package/.docs/reference/migrations/upgrade-to-v1/agent.md +1 -1
- package/.docs/reference/migrations/vnext-to-standard-apis.md +2 -2
- package/.docs/reference/observability/tracing/advanced-queries.md +92 -11
- package/.docs/reference/observability/tracing/exporters/langfuse.md +1 -1
- package/.docs/reference/observability/tracing/interfaces.md +2 -0
- package/.docs/reference/processors/batch-parts-processor.md +1 -1
- package/.docs/reference/processors/classifier-processor.md +2 -2
- package/.docs/reference/processors/cyber-refusal-handler.md +1 -1
- package/.docs/reference/processors/file-upload-processor.md +1 -1
- package/.docs/reference/processors/language-detector.md +1 -1
- package/.docs/reference/processors/message-history-processor.md +2 -2
- package/.docs/reference/processors/model-selection-processor.md +7 -7
- package/.docs/reference/processors/moderation-processor.md +2 -2
- package/.docs/reference/processors/pii-detector.md +2 -2
- package/.docs/reference/processors/prefill-error-handler.md +2 -2
- package/.docs/reference/processors/processor-interface.md +66 -10
- package/.docs/reference/processors/prompt-injection-detector.md +1 -1
- package/.docs/reference/processors/provider-history-compat.md +1 -1
- package/.docs/reference/processors/regex-filter-processor.md +1 -1
- package/.docs/reference/processors/response-cache.md +1 -1
- package/.docs/reference/processors/semantic-recall-processor.md +2 -2
- package/.docs/reference/processors/skill-search-processor.md +1 -1
- package/.docs/reference/processors/stream-error-retry-processor.md +3 -3
- package/.docs/reference/processors/system-prompt-scrubber.md +1 -1
- package/.docs/reference/processors/token-cost-control.md +1 -1
- package/.docs/reference/processors/token-limiter-processor.md +3 -3
- package/.docs/reference/processors/tool-call-filter.md +2 -2
- package/.docs/reference/processors/tool-search-processor.md +3 -3
- package/.docs/reference/processors/unicode-normalizer.md +1 -1
- package/.docs/reference/processors/working-memory-processor.md +2 -2
- package/.docs/reference/pubsub/lease-provider.md +2 -2
- package/.docs/reference/pubsub/redis-streams.md +1 -1
- package/.docs/reference/rag/chunking-and-embedding.md +1 -1
- package/.docs/reference/rag/graph-rag-guide.md +2 -2
- package/.docs/reference/rag/metadata-filters.md +1 -1
- package/.docs/reference/rag/rerank.md +1 -1
- package/.docs/reference/rag/retrieval.md +13 -13
- package/.docs/reference/server/nestjs-adapter.md +1 -1
- package/.docs/reference/signals/create-notification-inbox-tool.md +4 -4
- package/.docs/reference/signals/notifications.md +249 -0
- package/.docs/reference/signals/task-signal-provider.md +2 -2
- package/.docs/reference/signals/thread-events.md +69 -0
- package/.docs/reference/streaming/ChunkType.md +68 -0
- package/.docs/reference/streaming/agents/stream.md +2 -2
- package/.docs/reference/tools/create-code-mode.md +1 -1
- package/.docs/reference/tools/create-tool.md +17 -0
- package/.docs/reference/tools/mcp-client.md +202 -11
- package/.docs/reference/tools/mcp-server.md +5 -3
- package/.docs/reference/tools/task-tools.md +1 -1
- package/.docs/reference/tools/vector-query-tool.md +1 -1
- package/.docs/reference/vectors/libsql.md +1 -1
- package/.docs/reference/vectors/mongodb.md +2 -2
- package/.docs/reference/vectors/oracledb.md +2 -2
- package/.docs/reference/vectors/pg.md +1 -1
- package/.docs/reference/vectors/upstash.md +1 -1
- package/.docs/reference/voice/overview.md +24 -24
- package/.docs/reference/voice/speech-to-speech.md +6 -6
- package/.docs/reference/voice/speech-to-text.md +1 -1
- package/.docs/reference/voice/text-to-speech.md +1 -1
- package/.docs/reference/voice/voice.addInstructions.md +1 -1
- package/.docs/reference/workspace/local-filesystem.md +1 -1
- package/.docs/reference/workspace/local-sandbox.md +1 -1
- package/.docs/reference/workspace/platform-filesystem.md +1 -1
- package/.docs/reference/workspace/platform-sandbox.md +21 -2
- package/.docs/reference/workspace/process-manager.md +13 -2
- package/package.json +7 -7
- package/.docs/docs/guides/mcp-events.md +0 -306
- package/.docs/docs/harness/signal-providers.md +0 -212
- package/.docs/docs/harness/signals.md +0 -546
- package/.docs/docs/mastra-platform/connect/end-user-connections.md +0 -116
- package/.docs/reference/connect/user-connect-routes.md +0 -68
|
@@ -51,7 +51,7 @@ const workspace = new Workspace({
|
|
|
51
51
|
const agent = new Agent({
|
|
52
52
|
id: 'dev-agent',
|
|
53
53
|
name: 'dev-agent',
|
|
54
|
-
model: 'anthropic/claude-opus-
|
|
54
|
+
model: 'anthropic/claude-opus-5-5',
|
|
55
55
|
workspace,
|
|
56
56
|
})
|
|
57
57
|
```
|
|
@@ -136,7 +136,9 @@ await handle.sendStdin('input\n')
|
|
|
136
136
|
await handle.kill()
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
|
|
139
|
+
`list()` returns the processes running in the sandbox, including ones this manager didn't start, plus exited processes whose output hasn't been read yet.
|
|
140
|
+
|
|
141
|
+
The E2B process manager supports reconnecting to processes that were spawned externally or before a reconnection. Call `get(pid)` with a PID to connect to an existing process. Output written before connecting isn't available:
|
|
140
142
|
|
|
141
143
|
```typescript
|
|
142
144
|
const handle = await sandbox.processes.get(existingPid)
|
|
@@ -93,7 +93,7 @@ const agent = new Agent({
|
|
|
93
93
|
id: 'code-agent',
|
|
94
94
|
name: 'Code Agent',
|
|
95
95
|
instructions: 'You are a coding assistant working in this workspace.',
|
|
96
|
-
model: 'anthropic/claude-sonnet-
|
|
96
|
+
model: 'anthropic/claude-sonnet-5-5',
|
|
97
97
|
workspace,
|
|
98
98
|
})
|
|
99
99
|
|
|
@@ -265,7 +265,7 @@ const agent = new Agent({
|
|
|
265
265
|
id: 'dev-agent',
|
|
266
266
|
name: 'dev-agent',
|
|
267
267
|
instructions: 'You are a coding assistant working in this workspace.',
|
|
268
|
-
model: 'anthropic/claude-sonnet-
|
|
268
|
+
model: 'anthropic/claude-sonnet-5-5',
|
|
269
269
|
workspace,
|
|
270
270
|
})
|
|
271
271
|
```
|
|
@@ -147,7 +147,7 @@ const { webSearch, webFetch } = createBrightDataTools()
|
|
|
147
147
|
const agent = new Agent({
|
|
148
148
|
id: 'research-agent',
|
|
149
149
|
name: 'Research Agent',
|
|
150
|
-
model: 'anthropic/claude-sonnet-
|
|
150
|
+
model: 'anthropic/claude-sonnet-5-5',
|
|
151
151
|
instructions:
|
|
152
152
|
'You are a research assistant. Use the search tool to find relevant pages, then use the fetch tool to read full Markdown content from the best results.',
|
|
153
153
|
tools: {
|
|
@@ -111,7 +111,7 @@ Create a tool file that exposes Firecrawl search and scrape to Mastra.
|
|
|
111
111
|
id: 'web-agent',
|
|
112
112
|
name: 'Web Agent',
|
|
113
113
|
instructions: 'Use Firecrawl tools to search and scrape web pages, then summarize the results.',
|
|
114
|
-
model: 'openai/gpt-
|
|
114
|
+
model: 'openai/gpt-6.1-sol',
|
|
115
115
|
tools: { firecrawlSearch, firecrawlScrape },
|
|
116
116
|
})
|
|
117
117
|
```
|
|
@@ -228,7 +228,7 @@ import { createParallelTools } from '@mastra/parallel'
|
|
|
228
228
|
export const researchAgent = new Agent({
|
|
229
229
|
id: 'research-agent',
|
|
230
230
|
name: 'Research Agent',
|
|
231
|
-
model: 'anthropic/claude-sonnet-
|
|
231
|
+
model: 'anthropic/claude-sonnet-5-5',
|
|
232
232
|
instructions:
|
|
233
233
|
'Search the web for current sources, then extract relevant content from the best pages.',
|
|
234
234
|
tools: createParallelTools(),
|
|
@@ -132,7 +132,7 @@ import { createPerplexitySearchTool } from '@mastra/perplexity'
|
|
|
132
132
|
const agent = new Agent({
|
|
133
133
|
id: 'research-agent',
|
|
134
134
|
name: 'Research Agent',
|
|
135
|
-
model: 'anthropic/claude-sonnet-
|
|
135
|
+
model: 'anthropic/claude-sonnet-5-5',
|
|
136
136
|
instructions:
|
|
137
137
|
'You are a research assistant. Use the perplexity-search tool to find up-to-date information from the web before answering.',
|
|
138
138
|
tools: {
|
|
@@ -287,7 +287,7 @@ import { createTavilySearchTool, createTavilyExtractTool } from '@mastra/tavily'
|
|
|
287
287
|
const agent = new Agent({
|
|
288
288
|
id: 'web-search-agent',
|
|
289
289
|
name: 'Web Search Agent',
|
|
290
|
-
model: 'anthropic/claude-sonnet-
|
|
290
|
+
model: 'anthropic/claude-sonnet-5-5',
|
|
291
291
|
instructions:
|
|
292
292
|
'You are a web search assistant. Use search tool to find relevant pages, then use extract tool to get full content from the best results.',
|
|
293
293
|
tools: {
|
|
@@ -59,7 +59,7 @@ These steps take you from an empty project to a voice agent you can talk to. A v
|
|
|
59
59
|
id: 'support',
|
|
60
60
|
name: 'Support',
|
|
61
61
|
instructions: 'You are a friendly phone support agent. Keep replies short and conversational.',
|
|
62
|
-
model: 'openai/gpt-
|
|
62
|
+
model: 'openai/gpt-6-luna',
|
|
63
63
|
})
|
|
64
64
|
|
|
65
65
|
export const mastra = new Mastra({
|
|
@@ -1381,7 +1381,7 @@ const supportAgent = new Agent({
|
|
|
1381
1381
|
name: 'Support',
|
|
1382
1382
|
instructions:
|
|
1383
1383
|
'Help the caller. When everything is wrapped up, say goodbye and call endCall as your final action.',
|
|
1384
|
-
model: 'openai/gpt-
|
|
1384
|
+
model: 'openai/gpt-6-luna',
|
|
1385
1385
|
tools: { endCall: createEndCallTool() },
|
|
1386
1386
|
})
|
|
1387
1387
|
```
|
package/.docs/integrations.md
CHANGED
|
@@ -162,4 +162,5 @@
|
|
|
162
162
|
- [Google Cloud Storage](https://mastra.ai/integrations/file-storage/google-cloud-storage)
|
|
163
163
|
- [Google Drive](https://mastra.ai/integrations/file-storage/google-drive)
|
|
164
164
|
- [Mesa](https://mastra.ai/integrations/file-storage/mesa)
|
|
165
|
+
- [Neon Object Storage](https://mastra.ai/integrations/file-storage/neon)
|
|
165
166
|
- [Vercel Files](https://mastra.ai/integrations/file-storage/vercel-files)
|
|
@@ -82,7 +82,6 @@ List of required environment variables for each model provider and gateway suppo
|
|
|
82
82
|
| [Hetzner](https://mastra.ai/models/providers/hetzner) | `hetzner/*` | `HETZNER_API_KEY` |
|
|
83
83
|
| [HPC-AI](https://mastra.ai/models/providers/hpc-ai) | `hpc-ai/*` | `HPC_AI_API_KEY` |
|
|
84
84
|
| [Hugging Face](https://mastra.ai/models/providers/huggingface) | `huggingface/*` | `HF_TOKEN` |
|
|
85
|
-
| [iFlow](https://mastra.ai/models/providers/iflowcn) | `iflowcn/*` | `IFLOW_API_KEY` |
|
|
86
85
|
| [Impossibl](https://mastra.ai/models/providers/impossibl) | `impossibl/*` | `IMPOSSIBL_API_KEY` |
|
|
87
86
|
| [Inception](https://mastra.ai/models/providers/inception) | `inception/*` | `INCEPTION_API_KEY` |
|
|
88
87
|
| [Inceptron](https://mastra.ai/models/providers/inceptron) | `inceptron/*` | `INCEPTRON_API_KEY` |
|
|
@@ -104,7 +103,6 @@ List of required environment variables for each model provider and gateway suppo
|
|
|
104
103
|
| [KUAE Cloud Coding Plan](https://mastra.ai/models/providers/kuae-cloud-coding-plan) | `kuae-cloud-coding-plan/*` | `KUAE_API_KEY` |
|
|
105
104
|
| [Lilac](https://mastra.ai/models/providers/lilac) | `lilac/*` | `LILAC_API_KEY` |
|
|
106
105
|
| [Liquid Inference](https://mastra.ai/models/providers/liquid) | `liquid/*` | `LIQUID_API_KEY` |
|
|
107
|
-
| [Llama](https://mastra.ai/models/providers/llama) | `llama/*` | `LLAMA_API_KEY` |
|
|
108
106
|
| [LLM Gateway](https://mastra.ai/models/providers/llmgateway-providers) | `llmgateway-providers/*` | `LLMGATEWAY_API_KEY` |
|
|
109
107
|
| [LLM Tech](https://mastra.ai/models/providers/llmtech) | `llmtech/*` | `LLMTECH_API_KEY` |
|
|
110
108
|
| [LLMTR](https://mastra.ai/models/providers/llmtr) | `llmtr/*` | `LLMTR_API_KEY` |
|
|
@@ -37,7 +37,7 @@ const myPrivateGateway: MastraModelGatewayInterface = {
|
|
|
37
37
|
return {
|
|
38
38
|
'my-provider': {
|
|
39
39
|
name: 'My Provider',
|
|
40
|
-
models: ['openai/gpt-
|
|
40
|
+
models: ['openai/gpt-6.1-sol'],
|
|
41
41
|
apiKeyEnvVar: 'MY_API_KEY',
|
|
42
42
|
gateway: 'private',
|
|
43
43
|
url: 'https://api.myprovider.com/v1',
|
|
@@ -83,7 +83,7 @@ class MyPrivateGateway extends MastraModelGateway {
|
|
|
83
83
|
return {
|
|
84
84
|
'my-provider': {
|
|
85
85
|
name: 'My Provider',
|
|
86
|
-
models: ['openai/gpt-
|
|
86
|
+
models: ['openai/gpt-6.1-sol', 'anthropic/claude-sonnet-5-5'],
|
|
87
87
|
apiKeyEnvVar: 'MY_API_KEY',
|
|
88
88
|
gateway: this.id,
|
|
89
89
|
url: 'https://api.myprovider.com/v1',
|
|
@@ -194,7 +194,7 @@ const agent = new Agent({
|
|
|
194
194
|
id: 'my-agent',
|
|
195
195
|
name: 'My Agent',
|
|
196
196
|
instructions: 'You are a helpful assistant',
|
|
197
|
-
model: 'private/my-provider/openai/gpt-
|
|
197
|
+
model: 'private/my-provider/openai/gpt-6.1-sol', // Uses MyPrivateGateway
|
|
198
198
|
});
|
|
199
199
|
|
|
200
200
|
mastra.addAgent(agent, 'myAgent');
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Merge Gateway
|
|
6
6
|
|
|
7
|
-
Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
7
|
+
Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 200 models through Mastra's model router.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Merge Gateway documentation](https://docs.merge.dev/merge-gateway).
|
|
10
10
|
|
|
@@ -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: "merge-gateway/anthropic/claude-
|
|
20
|
+
model: "merge-gateway/anthropic/claude-fable-5"
|
|
21
21
|
});
|
|
22
22
|
```
|
|
23
23
|
|
|
@@ -38,20 +38,17 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
38
38
|
|
|
39
39
|
| Model |
|
|
40
40
|
| ------------------------------------------------ |
|
|
41
|
-
| `anthropic/claude-3-7-sonnet-20250219` |
|
|
42
41
|
| `anthropic/claude-fable-5` |
|
|
43
42
|
| `anthropic/claude-fable-5-1` |
|
|
44
43
|
| `anthropic/claude-haiku-4-5-20251001` |
|
|
45
44
|
| `anthropic/claude-haiku-5-5` |
|
|
46
45
|
| `anthropic/claude-opus-4-1-20250805` |
|
|
47
|
-
| `anthropic/claude-opus-4-20250514` |
|
|
48
46
|
| `anthropic/claude-opus-4-5-20251101` |
|
|
49
47
|
| `anthropic/claude-opus-4-6` |
|
|
50
48
|
| `anthropic/claude-opus-4-7` |
|
|
51
49
|
| `anthropic/claude-opus-4-8` |
|
|
52
50
|
| `anthropic/claude-opus-5` |
|
|
53
51
|
| `anthropic/claude-opus-5-5` |
|
|
54
|
-
| `anthropic/claude-sonnet-4-20250514` |
|
|
55
52
|
| `anthropic/claude-sonnet-4-5-20250929` |
|
|
56
53
|
| `anthropic/claude-sonnet-4-6` |
|
|
57
54
|
| `anthropic/claude-sonnet-5` |
|
|
@@ -86,10 +83,8 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
86
83
|
| `google/gemini-2.5-pro` |
|
|
87
84
|
| `google/gemini-3-flash-preview` |
|
|
88
85
|
| `google/gemini-3-pro-image` |
|
|
89
|
-
| `google/gemini-3-pro-preview` |
|
|
90
86
|
| `google/gemini-3.1-flash-image` |
|
|
91
87
|
| `google/gemini-3.1-flash-lite` |
|
|
92
|
-
| `google/gemini-3.1-flash-lite-preview` |
|
|
93
88
|
| `google/gemini-3.1-pro-preview` |
|
|
94
89
|
| `google/gemini-3.1-pro-preview-customtools` |
|
|
95
90
|
| `google/gemini-3.5-flash` |
|
|
@@ -110,8 +105,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
110
105
|
| `meta/llama-3.1-70b-instruct` |
|
|
111
106
|
| `meta/llama-3.1-8b-instruct` |
|
|
112
107
|
| `meta/llama-3.3-70b-instruct` |
|
|
113
|
-
| `meta/muse-spark-1.1` |
|
|
114
|
-
| `meta/muse-spark-1.2` |
|
|
115
108
|
| `meta/muse-spark-open` |
|
|
116
109
|
| `minimax/minimax-m2` |
|
|
117
110
|
| `minimax/minimax-m2.1` |
|
|
@@ -123,11 +116,8 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
123
116
|
| `minimax/minimax-m3.1-flash` |
|
|
124
117
|
| `mistral/codestral-latest` |
|
|
125
118
|
| `mistral/devstral-2512` |
|
|
126
|
-
| `mistral/devstral-medium-2507` |
|
|
127
119
|
| `mistral/devstral-medium-latest` |
|
|
128
|
-
| `mistral/devstral-small-2507` |
|
|
129
120
|
| `mistral/magistral-medium-latest` |
|
|
130
|
-
| `mistral/mistral-large-2411` |
|
|
131
121
|
| `mistral/mistral-large-2512` |
|
|
132
122
|
| `mistral/mistral-large-latest` |
|
|
133
123
|
| `mistral/mistral-medium-2505` |
|
|
@@ -139,7 +129,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
139
129
|
| `moonshot/kimi-k2.7-code` |
|
|
140
130
|
| `moonshot/kimi-k2.7-code-highspeed` |
|
|
141
131
|
| `moonshot/kimi-k3` |
|
|
142
|
-
| `moonshotai/kimi-k2-thinking` |
|
|
143
132
|
| `nvidia/nemotron-3-nano-30b-a3b` |
|
|
144
133
|
| `nvidia/nemotron-3.5-lightning-30b-a3b` |
|
|
145
134
|
| `nvidia/nemotron-nano-9b-v2` |
|
|
@@ -177,7 +166,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
177
166
|
| `openai/gpt-6.1-sol` |
|
|
178
167
|
| `openai/gpt-audio` |
|
|
179
168
|
| `openai/gpt-audio-mini` |
|
|
180
|
-
| `openai/gpt-live-1` |
|
|
181
169
|
| `openai/gpt-oss-120b` |
|
|
182
170
|
| `openai/gpt-oss-20b` |
|
|
183
171
|
| `openai/gpt-oss-safeguard-120b` |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Netlify
|
|
6
6
|
|
|
7
|
-
Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access
|
|
7
|
+
Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access 289 models through Mastra's model router.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Netlify documentation](https://docs.netlify.com/build/ai-gateway/overview/).
|
|
10
10
|
|
|
@@ -196,6 +196,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
196
196
|
| `openrouter/minimax/minimax-m2.5` |
|
|
197
197
|
| `openrouter/minimax/minimax-m2.7` |
|
|
198
198
|
| `openrouter/minimax/minimax-m3` |
|
|
199
|
+
| `openrouter/minimax/minimax-m3.1-flash` |
|
|
199
200
|
| `openrouter/mistralai/devstral-2512` |
|
|
200
201
|
| `openrouter/mistralai/ministral-14b-2512` |
|
|
201
202
|
| `openrouter/mistralai/ministral-3b-2512` |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# OpenRouter
|
|
6
6
|
|
|
7
|
-
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
7
|
+
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 390 models through Mastra's model router.
|
|
8
8
|
|
|
9
9
|
Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
|
|
10
10
|
|
|
@@ -188,7 +188,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
188
188
|
| `minimax/minimax-m2.5` |
|
|
189
189
|
| `minimax/minimax-m2.7` |
|
|
190
190
|
| `minimax/minimax-m3` |
|
|
191
|
-
| `minimax/minimax-m3.1-flash
|
|
191
|
+
| `minimax/minimax-m3.1-flash` |
|
|
192
192
|
| `mistralai/codestral-2508` |
|
|
193
193
|
| `mistralai/devstral-2512` |
|
|
194
194
|
| `mistralai/ministral-14b-2512` |
|
|
@@ -361,6 +361,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
361
361
|
| `qwen/qwen3.8-max-0902` |
|
|
362
362
|
| `qwen/qwen3.8-max-prime` |
|
|
363
363
|
| `qwen/qwen3.8-omni-flash` |
|
|
364
|
+
| `recursive/flint-v1.0:free` |
|
|
364
365
|
| `reflection/beam-1.0-501b-a23b` |
|
|
365
366
|
| `rekaai/reka-edge` |
|
|
366
367
|
| `rekaai/reka-flash-3` |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Vercel
|
|
6
6
|
|
|
7
|
-
Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
7
|
+
Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 419 models through Mastra's model router.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Vercel documentation](https://ai-sdk.dev/providers/ai-sdk-providers).
|
|
10
10
|
|
|
@@ -134,6 +134,8 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
134
134
|
| `cohere/rerank-v3.5` |
|
|
135
135
|
| `cohere/rerank-v4-fast` |
|
|
136
136
|
| `cohere/rerank-v4-pro` |
|
|
137
|
+
| `cohere/rerank-v5-fast` |
|
|
138
|
+
| `cohere/rerank-v5-pro` |
|
|
137
139
|
| `deepseek/deepseek-r1` |
|
|
138
140
|
| `deepseek/deepseek-v3.1` |
|
|
139
141
|
| `deepseek/deepseek-v3.2` |
|
|
@@ -387,8 +389,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
387
389
|
| `sakana/namazu` |
|
|
388
390
|
| `scaledown/scaledown-extract-1` |
|
|
389
391
|
| `scaledown/scaledown-summarize-1` |
|
|
390
|
-
| `spacexai/grok-4.1-fast-non-reasoning` |
|
|
391
|
-
| `spacexai/grok-4.1-fast-reasoning` |
|
|
392
392
|
| `spacexai/grok-4.20-multi-agent` |
|
|
393
393
|
| `spacexai/grok-4.20-multi-agent-beta` |
|
|
394
394
|
| `spacexai/grok-4.20-non-reasoning` |
|
|
@@ -407,7 +407,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
407
407
|
| `spacexai/grok-imagine-video-1.5-lite` |
|
|
408
408
|
| `spacexai/grok-stt` |
|
|
409
409
|
| `spacexai/grok-tts` |
|
|
410
|
-
| `spacexai/grok-voice-think-fast-1.0` |
|
|
411
410
|
| `spacexai/grok-voice-think-fast-2.0` |
|
|
412
411
|
| `stealth/glyph-cluster` |
|
|
413
412
|
| `stepfun/step-3.7-flash` |
|
package/.docs/models/index.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Model Providers
|
|
6
6
|
|
|
7
|
-
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to
|
|
7
|
+
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 8174 models from 218 providers through a single API.
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
@@ -31,7 +31,7 @@ const agent = new Agent({
|
|
|
31
31
|
id: "my-agent",
|
|
32
32
|
name: "My Agent",
|
|
33
33
|
instructions: "You are a helpful assistant",
|
|
34
|
-
model: "openai/gpt-
|
|
34
|
+
model: "openai/gpt-6.1-sol"
|
|
35
35
|
})
|
|
36
36
|
```
|
|
37
37
|
|
|
@@ -44,7 +44,7 @@ const agent = new Agent({
|
|
|
44
44
|
id: "my-agent",
|
|
45
45
|
name: "My Agent",
|
|
46
46
|
instructions: "You are a helpful assistant",
|
|
47
|
-
model: "anthropic/claude-sonnet-
|
|
47
|
+
model: "anthropic/claude-sonnet-5-5"
|
|
48
48
|
})
|
|
49
49
|
```
|
|
50
50
|
|
|
@@ -57,7 +57,7 @@ const agent = new Agent({
|
|
|
57
57
|
id: "my-agent",
|
|
58
58
|
name: "My Agent",
|
|
59
59
|
instructions: "You are a helpful assistant",
|
|
60
|
-
model: "google/gemini-
|
|
60
|
+
model: "google/gemini-3.8-flash"
|
|
61
61
|
})
|
|
62
62
|
```
|
|
63
63
|
|
|
@@ -112,7 +112,7 @@ const documentProcessor = new Agent({
|
|
|
112
112
|
id: "document-processor",
|
|
113
113
|
name: "Document Processor",
|
|
114
114
|
instructions: "Extract and summarize key information from documents",
|
|
115
|
-
model: "openai/gpt-
|
|
115
|
+
model: "openai/gpt-6.1-sol"
|
|
116
116
|
})
|
|
117
117
|
|
|
118
118
|
// Use a powerful reasoning model for complex analysis
|
|
@@ -120,7 +120,7 @@ const reasoningAgent = new Agent({
|
|
|
120
120
|
id: "reasoning-agent",
|
|
121
121
|
name: "Reasoning Agent",
|
|
122
122
|
instructions: "Analyze data and provide strategic recommendations",
|
|
123
|
-
model: "anthropic/claude-opus-
|
|
123
|
+
model: "anthropic/claude-opus-5-5"
|
|
124
124
|
})
|
|
125
125
|
```
|
|
126
126
|
|
|
@@ -162,7 +162,7 @@ const planner = new Agent({
|
|
|
162
162
|
openai: { reasoningEffort: "low" }
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
|
-
model: "openai/gpt-
|
|
165
|
+
model: "openai/gpt-6.1-sol",
|
|
166
166
|
});
|
|
167
167
|
|
|
168
168
|
const lowEffort =
|
|
@@ -189,7 +189,7 @@ const agent = new Agent({
|
|
|
189
189
|
id: "custom-agent",
|
|
190
190
|
name: "Custom Agent",
|
|
191
191
|
model: {
|
|
192
|
-
id: "openai/gpt-
|
|
192
|
+
id: "openai/gpt-6.1-sol",
|
|
193
193
|
apiKey: process.env.OPENAI_API_KEY,
|
|
194
194
|
headers: {
|
|
195
195
|
"OpenAI-Organization": "org-abc123"
|
|
@@ -213,15 +213,15 @@ const agent = new Agent({
|
|
|
213
213
|
instructions: 'You are a helpful assistant.',
|
|
214
214
|
model: [
|
|
215
215
|
{
|
|
216
|
-
model: "openai/gpt-
|
|
216
|
+
model: "openai/gpt-6.1-sol",
|
|
217
217
|
maxRetries: 3,
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
|
-
model: "anthropic/claude-sonnet-
|
|
220
|
+
model: "anthropic/claude-sonnet-5-5",
|
|
221
221
|
maxRetries: 2,
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
|
-
model: "google/gemini-
|
|
224
|
+
model: "google/gemini-3.8-flash",
|
|
225
225
|
maxRetries: 2,
|
|
226
226
|
},
|
|
227
227
|
],
|
|
@@ -245,13 +245,13 @@ const agent = new Agent({
|
|
|
245
245
|
instructions: 'You are a helpful assistant.',
|
|
246
246
|
model: [
|
|
247
247
|
{
|
|
248
|
-
model: 'google/gemini-
|
|
248
|
+
model: 'google/gemini-3.8-flash',
|
|
249
249
|
maxRetries: 2,
|
|
250
250
|
modelSettings: { temperature: 0.3 },
|
|
251
251
|
providerOptions: { google: { thinkingConfig: { thinkingBudget: 0 } } },
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
|
-
model: 'openai/gpt-
|
|
254
|
+
model: 'openai/gpt-6-luna',
|
|
255
255
|
maxRetries: 2,
|
|
256
256
|
modelSettings: { temperature: 0.7 },
|
|
257
257
|
providerOptions: { openai: { reasoningEffort: 'low' } },
|
|
@@ -446,7 +446,6 @@ Every provider below works with the model router as `provider/model`. Read the p
|
|
|
446
446
|
- [Hetzner](https://mastra.ai/models/providers/hetzner)
|
|
447
447
|
- [HPC-AI](https://mastra.ai/models/providers/hpc-ai)
|
|
448
448
|
- [Hugging Face](https://mastra.ai/models/providers/huggingface)
|
|
449
|
-
- [iFlow](https://mastra.ai/models/providers/iflowcn)
|
|
450
449
|
- [Impossibl](https://mastra.ai/models/providers/impossibl)
|
|
451
450
|
- [Inception](https://mastra.ai/models/providers/inception)
|
|
452
451
|
- [Inceptron](https://mastra.ai/models/providers/inceptron)
|
|
@@ -468,7 +467,6 @@ Every provider below works with the model router as `provider/model`. Read the p
|
|
|
468
467
|
- [KUAE Cloud Coding Plan](https://mastra.ai/models/providers/kuae-cloud-coding-plan)
|
|
469
468
|
- [Lilac](https://mastra.ai/models/providers/lilac)
|
|
470
469
|
- [Liquid Inference](https://mastra.ai/models/providers/liquid)
|
|
471
|
-
- [Llama](https://mastra.ai/models/providers/llama)
|
|
472
470
|
- [LLM Gateway](https://mastra.ai/models/providers/llmgateway-providers)
|
|
473
471
|
- [LLM Tech](https://mastra.ai/models/providers/llmtech)
|
|
474
472
|
- [LLMTR](https://mastra.ai/models/providers/llmtr)
|
|
@@ -135,7 +135,7 @@ for await (const chunk of stream) {
|
|
|
135
135
|
| `302ai/grok-4.7` | 500K | | | | | | $2 | $6 |
|
|
136
136
|
| `302ai/kimi-k2-0905-preview` | 262K | | | | | | $0.63 | $3 |
|
|
137
137
|
| `302ai/kimi-k2-thinking` | 262K | | | | | | $0.57 | $2 |
|
|
138
|
-
| `302ai/kimi-k2.5` | 262K | | | | | | $0.
|
|
138
|
+
| `302ai/kimi-k2.5` | 262K | | | | | | $0.63 | $3 |
|
|
139
139
|
| `302ai/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
140
140
|
| `302ai/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
141
141
|
| `302ai/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
@@ -160,8 +160,8 @@ for await (const chunk of stream) {
|
|
|
160
160
|
| `302ai/qwen3.6-plus` | 1.0M | | | | | | $0.30 | $2 |
|
|
161
161
|
| `302ai/qwen3.7-max` | 1.0M | | | | | | $2 | $5 |
|
|
162
162
|
| `302ai/qwen3.7-max-2026-06-08` | 1.0M | | | | | | $2 | $5 |
|
|
163
|
-
| `302ai/qwen3.7-plus` | 1.0M | | | | | | $0.
|
|
164
|
-
| `302ai/qwen3.8-flash` | 1.0M | | | | | | $0.
|
|
163
|
+
| `302ai/qwen3.7-plus` | 1.0M | | | | | | $0.23 | $0.92 |
|
|
164
|
+
| `302ai/qwen3.8-flash` | 1.0M | | | | | | $0.15 | $0.47 |
|
|
165
165
|
| `302ai/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
|
|
166
166
|
|
|
167
167
|
Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
|