@mastra/mcp-docs-server 1.2.15-alpha.20 → 1.2.15-alpha.22
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 +1 -1
- package/.docs/docs/agents/networks.md +2 -2
- package/.docs/docs/agents/overview.md +2 -2
- package/.docs/docs/agents/using-tools.md +1 -1
- package/.docs/docs/browser/overview.md +8 -8
- package/.docs/docs/browser/recording.md +2 -2
- package/.docs/docs/capabilities/{channels/overview.md → channels.md} +70 -7
- package/.docs/docs/capabilities/subagents.md +2 -2
- package/.docs/docs/deployment/cloud-providers.md +9 -9
- package/.docs/docs/deployment/overview.md +9 -9
- package/.docs/docs/deployment/sandbox.md +3 -3
- package/.docs/docs/deployment/web-framework.md +6 -6
- package/.docs/docs/deployment/workflow-runners.md +2 -2
- package/.docs/docs/harness/agent-controller.md +2 -2
- package/.docs/docs/index.md +8 -8
- package/.docs/docs/long-running-agents/durable-agents.md +2 -2
- package/.docs/docs/long-running-agents/signal-providers.md +2 -15
- package/.docs/docs/long-running-agents/signals.md +1 -1
- package/.docs/docs/mastra-platform/database.md +2 -2
- package/.docs/docs/mastra-platform/server.md +1 -1
- package/.docs/docs/mcp/overview.md +42 -0
- package/.docs/docs/memory/memory-processors.md +5 -5
- package/.docs/docs/memory/message-history.md +1 -1
- package/.docs/docs/memory/observational-memory.md +1 -1
- package/.docs/docs/observability/integrations/exporters/mastra-storage.md +16 -16
- package/.docs/docs/observability/integrations/overview.md +3 -3
- package/.docs/docs/server/auth/fga.md +1 -1
- package/.docs/docs/server/auth/simple-auth.md +1 -1
- package/.docs/docs/server/auth.md +8 -8
- package/.docs/docs/storage/overview.md +14 -13
- package/.docs/docs/studio/observability.md +1 -1
- package/.docs/docs/workflows/overview.md +1 -1
- package/.docs/docs/workflows/snapshots.md +11 -11
- package/.docs/docs/workspace/filesystem.md +15 -15
- package/.docs/docs/workspace/sandbox.md +17 -17
- package/.docs/docs/workspace/search.md +1 -1
- package/.docs/guides/agent-frameworks/ai-sdk.md +2 -2
- package/.docs/guides/deployment/mastra-workers.md +1 -1
- package/.docs/guides/getting-started/quickstart.md +3 -3
- package/.docs/guides/index.md +8 -8
- package/.docs/guides/voice/overview.md +55 -106
- package/.docs/guides/voice/speech-to-text.md +7 -7
- package/.docs/guides/voice/text-to-speech.md +9 -10
- package/.docs/{guides/build-your-ui → integrations/agentic-ui}/ai-sdk-ui.md +2 -2
- package/.docs/{guides/build-your-ui/copilotkit/overview.md → integrations/agentic-ui/copilotkit.md} +256 -3
- package/.docs/{docs/browser → integrations/browsers}/agent-browser.md +2 -2
- package/.docs/{docs/browser → integrations/browsers}/browser-viewer.md +3 -3
- package/.docs/{docs/browser → integrations/browsers}/firecrawl.md +2 -2
- package/.docs/{docs/browser → integrations/browsers}/stagehand.md +1 -1
- package/.docs/{docs/capabilities → integrations}/channels/discord.md +2 -2
- package/.docs/integrations/channels/github.md +103 -0
- package/.docs/{docs/capabilities → integrations}/channels/imessage.md +12 -4
- package/.docs/{docs/capabilities → integrations}/channels/slack.md +4 -4
- package/.docs/{docs/capabilities → integrations}/channels/teams.md +2 -2
- package/.docs/{docs/capabilities → integrations}/channels/telegram.md +2 -2
- package/.docs/{docs/capabilities → integrations}/channels/whatsapp.md +2 -2
- package/.docs/{reference/storage/dsql.md → integrations/databases/aurora-dsql.md} +1 -1
- package/.docs/{reference/storage → integrations/databases}/clickhouse.md +2 -2
- package/.docs/{reference/storage → integrations/databases}/cloudflare-d1.md +1 -1
- package/.docs/{reference/storage/cloudflare.md → integrations/databases/cloudflare-kv.md} +1 -1
- package/.docs/{reference/storage → integrations/databases}/convex.md +1 -1
- package/.docs/{reference/storage → integrations/databases}/duckdb.md +5 -5
- package/.docs/{reference/storage → integrations/databases}/dynamodb.md +1 -1
- package/.docs/{reference/storage/lance.md → integrations/databases/lancedb.md} +1 -1
- package/.docs/{reference/storage → integrations/databases}/libsql.md +2 -2
- package/.docs/{reference/storage → integrations/databases}/mongodb.md +1 -1
- package/.docs/{reference/storage → integrations/databases}/mssql.md +1 -1
- package/.docs/integrations/databases/neon.md +220 -0
- package/.docs/{reference/storage → integrations/databases}/oracledb.md +1 -1
- package/.docs/{reference/storage → integrations/databases}/postgresql.md +1 -1
- package/.docs/{reference/storage → integrations/databases}/redis.md +1 -1
- package/.docs/{reference/storage → integrations/databases}/spanner.md +1 -1
- package/.docs/{reference/storage → integrations/databases}/upstash.md +1 -1
- package/.docs/{guides/deployment → integrations/deploy}/aws-bedrock-agentcore.md +1 -1
- package/.docs/{guides/deployment → integrations/deploy}/aws-lambda.md +1 -1
- package/.docs/{guides/deployment → integrations/deploy}/azure-app-services.md +1 -1
- package/.docs/{guides/deployment → integrations/deploy}/cloudflare.md +1 -1
- package/.docs/{guides/deployment → integrations/deploy}/digital-ocean.md +1 -1
- package/.docs/{guides/deployment → integrations/deploy}/netlify.md +1 -1
- package/.docs/{guides/deployment → integrations/deploy}/vercel.md +2 -2
- package/.docs/{reference/workspace/s3-filesystem.md → integrations/file-storage/amazon-s3.md} +5 -5
- package/.docs/{reference/workspace/archil-filesystem.md → integrations/file-storage/archil.md} +3 -3
- package/.docs/{reference/workspace/azure-blob-filesystem.md → integrations/file-storage/azure-blob.md} +2 -2
- package/.docs/{reference/workspace/gcs-filesystem.md → integrations/file-storage/google-cloud-storage.md} +5 -5
- package/.docs/{reference/workspace/mesa-filesystem.md → integrations/file-storage/mesa.md} +1 -1
- package/.docs/{reference/workspace/files-sdk-filesystem.md → integrations/file-storage/vercel-files.md} +5 -5
- package/.docs/{guides/getting-started → integrations/frameworks}/astro.md +1 -1
- package/.docs/{guides/getting-started → integrations/frameworks}/electron.md +1 -1
- package/.docs/{guides/getting-started → integrations/frameworks}/next-js.md +2 -2
- package/.docs/{guides/getting-started → integrations/frameworks}/nuxt.md +1 -1
- package/.docs/{guides/getting-started → integrations/frameworks}/sveltekit.md +1 -1
- package/.docs/{guides/getting-started → integrations/frameworks}/vite-react.md +1 -1
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/arize.md +1 -1
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/arthur.md +1 -1
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/braintrust.md +1 -1
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/confident-ai.md +1 -1
- package/.docs/integrations/observability/datadog.md +538 -0
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/laminar.md +1 -1
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/langfuse.md +1 -1
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/langsmith.md +1 -1
- package/.docs/{docs/observability/integrations/exporters/otel.md → integrations/observability/opentelemetry.md} +276 -44
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/posthog.md +1 -1
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/sentry.md +1 -1
- package/.docs/{reference/workspace/apple-container-sandbox.md → integrations/sandboxes/apple-container.md} +1 -1
- package/.docs/{reference/workspace/daytona-sandbox.md → integrations/sandboxes/daytona.md} +2 -2
- package/.docs/{reference/workspace/docker-sandbox.md → integrations/sandboxes/docker.md} +1 -1
- package/.docs/{reference/workspace/e2b-sandbox.md → integrations/sandboxes/e2b.md} +3 -3
- package/.docs/{reference/workspace/modal-sandbox.md → integrations/sandboxes/modal.md} +2 -2
- package/.docs/{reference/workspace/vercel-sandbox.md → integrations/sandboxes/vercel.md} +141 -12
- package/.docs/{reference → integrations}/tools/brightdata.md +1 -1
- package/.docs/{reference → integrations}/tools/perplexity.md +1 -1
- package/.docs/{reference → integrations}/tools/tavily.md +1 -1
- package/.docs/{reference → integrations}/voice/aws-nova-sonic.md +1 -1
- package/.docs/{reference → integrations}/voice/cloudflare.md +3 -3
- package/.docs/{reference/voice/google-gemini-live.md → integrations/voice/google.md} +305 -30
- package/.docs/{reference/voice/inworld-realtime.md → integrations/voice/inworld.md} +163 -25
- package/.docs/{reference → integrations}/voice/livekit.md +437 -34
- package/.docs/{reference/voice/openai-realtime.md → integrations/voice/openai.md} +117 -20
- package/.docs/integrations.md +147 -0
- package/.docs/models/embeddings.md +2 -2
- package/.docs/models/gateways/openrouter.md +4 -1
- package/.docs/models/gateways/vercel.md +4 -1
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/ambient.md +1 -1
- package/.docs/models/providers/cortecs.md +2 -3
- package/.docs/models/providers/hetzner.md +7 -4
- package/.docs/models/providers/kilo.md +7 -3
- package/.docs/models/providers/llmgateway.md +1 -3
- package/.docs/models/providers/nano-gpt.md +4 -1
- package/.docs/models/providers/nvidia.md +2 -1
- package/.docs/models/providers/opencode.md +63 -63
- package/.docs/models/providers/privatemode-ai.md +7 -6
- package/.docs/reference/agent-controller/agent-controller-class.md +32 -1
- package/.docs/reference/agents/channels.md +2 -2
- package/.docs/reference/agents/generateLegacy.md +2 -2
- package/.docs/reference/agents/getDefaultOptions.md +1 -1
- package/.docs/reference/agents/getDefaultStreamOptions.md +1 -1
- package/.docs/reference/agents/inngest-agent.md +1 -1
- package/.docs/reference/agents/network.md +1 -1
- package/.docs/reference/ai-sdk/handle-network-stream.md +1 -1
- package/.docs/reference/ai-sdk/network-route.md +1 -1
- package/.docs/reference/auth/auth0.md +1 -1
- package/.docs/reference/auth/better-auth.md +1 -1
- package/.docs/reference/auth/clerk.md +1 -1
- package/.docs/reference/auth/firebase.md +1 -1
- package/.docs/reference/auth/google.md +1 -1
- package/.docs/reference/auth/supabase.md +1 -1
- package/.docs/reference/auth/workos.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/stagehand-browser.md +1 -1
- package/.docs/reference/channels/channel-provider.md +1 -1
- package/.docs/reference/channels/slack-provider.md +2 -2
- package/.docs/reference/cli/mastra.md +2 -2
- package/.docs/reference/configuration.md +1 -26
- package/.docs/reference/core/getStorage.md +1 -1
- package/.docs/reference/core/getVector.md +2 -2
- package/.docs/reference/core/listVectors.md +2 -2
- package/.docs/reference/core/setStorage.md +1 -1
- package/.docs/reference/file-based-agents/storage.md +1 -1
- package/.docs/reference/file-based-agents/studio.md +1 -1
- package/.docs/reference/index.md +27 -55
- package/.docs/{guides → reference}/migrations/ai-sdk-v4-to-v5.md +1 -1
- package/.docs/{guides → reference}/migrations/mastra-cloud.md +1 -1
- package/.docs/{guides → reference}/migrations/upgrade-to-v1/cli.md +1 -1
- package/.docs/{guides → reference}/migrations/upgrade-to-v1/memory.md +1 -1
- package/.docs/{guides → reference}/migrations/upgrade-to-v1/overview.md +41 -41
- package/.docs/{guides → reference}/migrations/upgrade-to-v1/tools.md +1 -1
- package/.docs/{guides → reference}/migrations/upgrade-to-v1/tracing.md +10 -10
- package/.docs/reference/observability/tracing/bridges/datadog.md +2 -2
- package/.docs/reference/observability/tracing/bridges/otel.md +2 -2
- package/.docs/reference/observability/tracing/exporters/arize.md +1 -1
- package/.docs/reference/observability/tracing/exporters/arthur.md +1 -1
- package/.docs/reference/observability/tracing/exporters/confident-ai.md +1 -1
- package/.docs/reference/observability/tracing/exporters/mastra-platform-exporter.md +12 -0
- package/.docs/reference/observability/tracing/exporters/otel.md +2 -2
- package/.docs/reference/pubsub/lease-provider.md +1 -1
- package/.docs/{guides → reference}/rag/chunking-and-embedding.md +16 -19
- package/.docs/reference/rag/database-config.md +1 -1
- package/.docs/{guides/rag/graph-rag.md → reference/rag/graph-rag-guide.md} +1 -1
- package/.docs/{guides → reference}/rag/overview.md +2 -2
- package/.docs/{guides → reference}/rag/retrieval.md +1 -1
- package/.docs/{guides → reference}/rag/vector-databases.md +1 -1
- package/.docs/reference/storage/composite.md +3 -3
- package/.docs/reference/storage/retention.md +4 -4
- package/.docs/reference/streaming/ChunkType.md +3 -3
- package/.docs/reference/streaming/agents/streamLegacy.md +3 -3
- package/.docs/reference/tools/mcp-server.md +1 -1
- package/.docs/reference/vectors/convex.md +2 -2
- package/.docs/reference/vectors/oracledb.md +2 -2
- package/.docs/reference/workers/overview.md +8 -8
- package/.docs/reference/workspace/platform-filesystem.md +2 -2
- package/.docs/reference/workspace/platform-sandbox.md +2 -2
- package/.docs/reference/workspace/process-manager.md +3 -3
- package/CHANGELOG.md +16 -0
- package/dist/index.js +1 -1
- package/dist/{src-BZcgzbk9.js → src-D-W-bx5t.js} +2 -2
- package/dist/{src-BZcgzbk9.js.map → src-D-W-bx5t.js.map} +1 -1
- package/dist/stdio.js +1 -1
- package/package.json +6 -6
- package/.docs/docs/capabilities/channels/other-adapters.md +0 -68
- package/.docs/docs/observability/integrations/bridges/datadog.md +0 -219
- package/.docs/docs/observability/integrations/bridges/otel.md +0 -234
- package/.docs/docs/observability/integrations/exporters/datadog.md +0 -321
- package/.docs/guides/build-your-ui/copilotkit/channels.md +0 -86
- package/.docs/guides/build-your-ui/copilotkit/generative-ui.md +0 -174
- package/.docs/guides/guide/chef-michel.md +0 -211
- package/.docs/guides/guide/publishing-mcp-server.md +0 -137
- package/.docs/guides/guide/slack-assistant.md +0 -193
- package/.docs/guides/guide/stock-agent.md +0 -132
- package/.docs/guides/guide/web-search.md +0 -322
- package/.docs/guides/guide/whatsapp-chat-bot.md +0 -407
- package/.docs/guides/voice/realtime-voice.md +0 -430
- package/.docs/reference/voice/google.md +0 -290
- package/.docs/reference/voice/inworld.md +0 -137
- package/.docs/reference/voice/openai.md +0 -96
- package/.docs/reference/voice/playai.md +0 -82
- package/.docs/reference/workspace/vercel-serverless.md +0 -128
- /package/.docs/{guides/concepts → docs/guides}/multi-agent-systems.md +0 -0
- /package/.docs/{guides/concepts → docs/guides}/streaming.md +0 -0
- /package/.docs/{guides/build-your-ui → integrations/agentic-ui}/assistant-ui.md +0 -0
- /package/.docs/{guides/build-your-ui → integrations/agentic-ui}/openui.md +0 -0
- /package/.docs/{docs/server → integrations}/auth/auth0.md +0 -0
- /package/.docs/{docs/server → integrations}/auth/better-auth.md +0 -0
- /package/.docs/{docs/server → integrations}/auth/clerk.md +0 -0
- /package/.docs/{docs/server → integrations}/auth/firebase.md +0 -0
- /package/.docs/{docs/server → integrations}/auth/google.md +0 -0
- /package/.docs/{docs/server → integrations}/auth/okta.md +0 -0
- /package/.docs/{docs/server → integrations}/auth/supabase.md +0 -0
- /package/.docs/{docs/server → integrations}/auth/workos.md +0 -0
- /package/.docs/{guides/deployment → integrations/deploy}/amazon-ec2.md +0 -0
- /package/.docs/{guides/deployment → integrations/deploy}/inngest.md +0 -0
- /package/.docs/{guides/deployment → integrations/deploy}/kubernetes.md +0 -0
- /package/.docs/{guides/deployment → integrations/deploy}/temporal.md +0 -0
- /package/.docs/{reference/workspace/agentfs-filesystem.md → integrations/file-storage/agentfs.md} +0 -0
- /package/.docs/{reference/workspace/google-drive-filesystem.md → integrations/file-storage/google-drive.md} +0 -0
- /package/.docs/{guides/getting-started → integrations/frameworks}/express.md +0 -0
- /package/.docs/{guides/getting-started → integrations/frameworks}/hono.md +0 -0
- /package/.docs/{guides/getting-started → integrations/frameworks}/nestjs.md +0 -0
- /package/.docs/{reference/workspace/agentcore-runtime-sandbox.md → integrations/sandboxes/agentcore.md} +0 -0
- /package/.docs/{reference/workspace/blaxel-sandbox.md → integrations/sandboxes/blaxel.md} +0 -0
- /package/.docs/{reference/workspace/railway-sandbox.md → integrations/sandboxes/railway.md} +0 -0
- /package/.docs/{guides/guide → integrations/tools}/firecrawl.md +0 -0
- /package/.docs/{reference → integrations}/voice/azure.md +0 -0
- /package/.docs/{reference → integrations}/voice/deepgram.md +0 -0
- /package/.docs/{reference → integrations}/voice/elevenlabs.md +0 -0
- /package/.docs/{reference → integrations}/voice/mistral.md +0 -0
- /package/.docs/{reference → integrations}/voice/murf.md +0 -0
- /package/.docs/{reference → integrations}/voice/sarvam.md +0 -0
- /package/.docs/{reference → integrations}/voice/speechify.md +0 -0
- /package/.docs/{reference/voice/xai-realtime.md → integrations/voice/xai.md} +0 -0
- /package/.docs/{guides/getting-started → reference}/manual-install.md +0 -0
- /package/.docs/{guides → reference}/migrations/agentnetwork.md +0 -0
- /package/.docs/{guides → reference}/migrations/network-to-supervisor.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/agent.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/client.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/deployment.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/evals.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/mastra.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/mcp.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/processors.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/rag.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/storage.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/vectors.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/voice.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/workflows.md +0 -0
- /package/.docs/{guides → reference}/migrations/vnext-to-standard-apis.md +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# LLM Gateway
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 184 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
|
|
|
@@ -180,11 +180,9 @@ for await (const chunk of stream) {
|
|
|
180
180
|
| `llmgateway/qwen-coder-plus` | 131K | | | | | | $0.50 | $1 |
|
|
181
181
|
| `llmgateway/qwen-flash` | 1.0M | | | | | | $0.05 | $0.40 |
|
|
182
182
|
| `llmgateway/qwen-max` | 33K | | | | | | $2 | $6 |
|
|
183
|
-
| `llmgateway/qwen-max-latest` | 33K | | | | | | $2 | $6 |
|
|
184
183
|
| `llmgateway/qwen-omni-turbo` | 33K | | | | | | $0.20 | $0.80 |
|
|
185
184
|
| `llmgateway/qwen-plus` | 131K | | | | | | $0.40 | $1 |
|
|
186
185
|
| `llmgateway/qwen-plus-latest` | 1.0M | | | | | | $0.40 | $1 |
|
|
187
|
-
| `llmgateway/qwen2-5-vl-32b-instruct` | 131K | | | | | | $1 | $4 |
|
|
188
186
|
| `llmgateway/qwen2-5-vl-72b-instruct` | 32K | | | | | | $0.25 | $0.75 |
|
|
189
187
|
| `llmgateway/qwen3-235b-a22b-fp8` | 41K | | | | | | $0.20 | $0.80 |
|
|
190
188
|
| `llmgateway/qwen3-235b-a22b-instruct-2507` | 262K | | | | | | $0.09 | $0.58 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# NanoGPT
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 621 NanoGPT models through Mastra's model router. Authentication is handled automatically using the `NANO_GPT_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [NanoGPT documentation](https://docs.nano-gpt.com).
|
|
8
8
|
|
|
@@ -297,6 +297,7 @@ for await (const chunk of stream) {
|
|
|
297
297
|
| `nano-gpt/meta-llama/llama-3.3-70b-instruct` | 131K | | | | | | $0.05 | $0.23 |
|
|
298
298
|
| `nano-gpt/meta-llama/llama-4-maverick` | 1.0M | | | | | | $0.15 | $0.60 |
|
|
299
299
|
| `nano-gpt/meta-llama/llama-4-scout` | 328K | | | | | | $0.09 | $0.46 |
|
|
300
|
+
| `nano-gpt/meta/muse-glimmer-30b` | 131K | | | | | | $0.35 | $2 |
|
|
300
301
|
| `nano-gpt/meta/muse-spark-1.1` | 1.0M | | | | | | $1 | $4 |
|
|
301
302
|
| `nano-gpt/meta/muse-spark-1.2` | 1.0M | | | | | | $1 | $4 |
|
|
302
303
|
| `nano-gpt/meta/muse-spark-1.2-contributor` | 1.0M | | | | | | $0.10 | $0.20 |
|
|
@@ -603,6 +604,8 @@ for await (const chunk of stream) {
|
|
|
603
604
|
| `nano-gpt/unsloth/gemma-3-27b-it` | 128K | | | | | | $0.30 | $0.30 |
|
|
604
605
|
| `nano-gpt/unsloth/gemma-3-4b-it` | 128K | | | | | | $0.20 | $0.20 |
|
|
605
606
|
| `nano-gpt/upstage/solar-pro-3` | 128K | | | | | | $0.15 | $0.60 |
|
|
607
|
+
| `nano-gpt/upstage/solar-pro4` | 524K | | | | | | $0.03 | $0.12 |
|
|
608
|
+
| `nano-gpt/upstage/solar-pro4:thinking` | 524K | | | | | | $0.03 | $0.12 |
|
|
606
609
|
| `nano-gpt/venice-uncensored` | 128K | | | | | | $0.40 | $0.40 |
|
|
607
610
|
| `nano-gpt/VongolaChouko/Starcannon-Unleashed-12B-v1.0` | 16K | | | | | | $0.49 | $0.49 |
|
|
608
611
|
| `nano-gpt/x-ai/grok-4.20` | 2.0M | | | | | | $2 | $6 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Nvidia
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 99 Nvidia models through Mastra's model router. Authentication is handled automatically using the `NVIDIA_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Nvidia documentation](https://docs.api.nvidia.com/nim/).
|
|
8
8
|
|
|
@@ -100,6 +100,7 @@ for await (const chunk of stream) {
|
|
|
100
100
|
| `nvidia/nvidia/nemotron-3-nano-omni-30b-a3b-reasoning` | 256K | | | | | | — | — |
|
|
101
101
|
| `nvidia/nvidia/nemotron-3-super-120b-a12b` | 262K | | | | | | $0.20 | $0.80 |
|
|
102
102
|
| `nvidia/nvidia/nemotron-3-ultra-550b-a55b` | 1.0M | | | | | | $0.50 | $3 |
|
|
103
|
+
| `nvidia/nvidia/nemotron-3.5-lightning-30b-a3b` | 262K | | | | | | — | — |
|
|
103
104
|
| `nvidia/nvidia/nemotron-content-safety-reasoning-4b` | 128K | | | | | | — | — |
|
|
104
105
|
| `nvidia/nvidia/nemotron-mini-4b-instruct` | 128K | | | | | | — | — |
|
|
105
106
|
| `nvidia/nvidia/nemotron-nano-12b-v2-vl` | 128K | | | | | | — | — |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# OpenCode Zen
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 88 OpenCode Zen models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [OpenCode Zen documentation](https://opencode.ai/docs/zen).
|
|
8
8
|
|
|
@@ -34,68 +34,68 @@ for await (const chunk of stream) {
|
|
|
34
34
|
|
|
35
35
|
## Models
|
|
36
36
|
|
|
37
|
-
| Model
|
|
38
|
-
|
|
|
39
|
-
| `opencode/big-pickle`
|
|
40
|
-
| `opencode/claude-fable-5`
|
|
41
|
-
| `opencode/claude-haiku-4-5`
|
|
42
|
-
| `opencode/claude-opus-4-5`
|
|
43
|
-
| `opencode/claude-opus-4-6`
|
|
44
|
-
| `opencode/claude-opus-4-7`
|
|
45
|
-
| `opencode/claude-opus-4-8`
|
|
46
|
-
| `opencode/claude-opus-5`
|
|
47
|
-
| `opencode/claude-sonnet-4`
|
|
48
|
-
| `opencode/claude-sonnet-4-5`
|
|
49
|
-
| `opencode/claude-sonnet-4-6`
|
|
50
|
-
| `opencode/claude-sonnet-5`
|
|
51
|
-
| `opencode/deepseek-v4-flash`
|
|
52
|
-
| `opencode/deepseek-v4-flash-free`
|
|
53
|
-
| `opencode/deepseek-v4-pro`
|
|
54
|
-
| `opencode/gemini-3-flash`
|
|
55
|
-
| `opencode/gemini-3.1-pro`
|
|
56
|
-
| `opencode/gemini-3.5-flash`
|
|
57
|
-
| `opencode/gemini-3.5-flash-lite`
|
|
58
|
-
| `opencode/gemini-3.6-flash`
|
|
59
|
-
| `opencode/glm-5`
|
|
60
|
-
| `opencode/glm-5.1`
|
|
61
|
-
| `opencode/glm-5.2`
|
|
62
|
-
| `opencode/gpt-5`
|
|
63
|
-
| `opencode/gpt-5-codex`
|
|
64
|
-
| `opencode/gpt-5-nano`
|
|
65
|
-
| `opencode/gpt-5.1`
|
|
66
|
-
| `opencode/gpt-5.1-codex`
|
|
67
|
-
| `opencode/gpt-5.1-codex-max`
|
|
68
|
-
| `opencode/gpt-5.1-codex-mini`
|
|
69
|
-
| `opencode/gpt-5.2`
|
|
70
|
-
| `opencode/gpt-5.2-codex`
|
|
71
|
-
| `opencode/gpt-5.3-codex`
|
|
72
|
-
| `opencode/gpt-5.3-codex-spark`
|
|
73
|
-
| `opencode/gpt-5.4`
|
|
74
|
-
| `opencode/gpt-5.4-mini`
|
|
75
|
-
| `opencode/gpt-5.4-nano`
|
|
76
|
-
| `opencode/gpt-5.4-pro`
|
|
77
|
-
| `opencode/gpt-5.5`
|
|
78
|
-
| `opencode/gpt-5.5-pro`
|
|
79
|
-
| `opencode/gpt-5.6-luna`
|
|
80
|
-
| `opencode/gpt-5.6-sol`
|
|
81
|
-
| `opencode/gpt-5.6-terra`
|
|
82
|
-
| `opencode/grok-4.5`
|
|
83
|
-
| `opencode/grok-build-0.1`
|
|
84
|
-
| `opencode/kimi-k2.5`
|
|
85
|
-
| `opencode/kimi-k2.6`
|
|
86
|
-
| `opencode/kimi-k2.7-code`
|
|
87
|
-
| `opencode/kimi-k3`
|
|
88
|
-
| `opencode/laguna-s-2.1-free`
|
|
89
|
-
| `opencode/ling-3.0-tiny-free`
|
|
90
|
-
| `opencode/longcat-2.0-free`
|
|
91
|
-
| `opencode/mimo-v2.5-free`
|
|
92
|
-
| `opencode/minimax-m2.5`
|
|
93
|
-
| `opencode/minimax-m2.7`
|
|
94
|
-
| `opencode/minimax-m3`
|
|
95
|
-
| `opencode/nemotron-3-ultra-free`
|
|
96
|
-
| `opencode/
|
|
97
|
-
| `opencode/qwen3.5-plus`
|
|
98
|
-
| `opencode/qwen3.6-plus`
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| -------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `opencode/big-pickle` | 200K | | | | | | — | — |
|
|
40
|
+
| `opencode/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
|
|
41
|
+
| `opencode/claude-haiku-4-5` | 200K | | | | | | $1 | $5 |
|
|
42
|
+
| `opencode/claude-opus-4-5` | 200K | | | | | | $5 | $25 |
|
|
43
|
+
| `opencode/claude-opus-4-6` | 1.0M | | | | | | $5 | $25 |
|
|
44
|
+
| `opencode/claude-opus-4-7` | 1.0M | | | | | | $5 | $25 |
|
|
45
|
+
| `opencode/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
|
|
46
|
+
| `opencode/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
|
|
47
|
+
| `opencode/claude-sonnet-4` | 1.0M | | | | | | $3 | $15 |
|
|
48
|
+
| `opencode/claude-sonnet-4-5` | 1.0M | | | | | | $3 | $15 |
|
|
49
|
+
| `opencode/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
|
|
50
|
+
| `opencode/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
|
|
51
|
+
| `opencode/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
52
|
+
| `opencode/deepseek-v4-flash-free` | 200K | | | | | | — | — |
|
|
53
|
+
| `opencode/deepseek-v4-pro` | 1.0M | | | | | | $2 | $4 |
|
|
54
|
+
| `opencode/gemini-3-flash` | 1.0M | | | | | | $0.50 | $3 |
|
|
55
|
+
| `opencode/gemini-3.1-pro` | 1.0M | | | | | | $2 | $12 |
|
|
56
|
+
| `opencode/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
|
|
57
|
+
| `opencode/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
|
|
58
|
+
| `opencode/gemini-3.6-flash` | 1.0M | | | | | | $2 | $8 |
|
|
59
|
+
| `opencode/glm-5` | 205K | | | | | | $1 | $3 |
|
|
60
|
+
| `opencode/glm-5.1` | 205K | | | | | | $1 | $4 |
|
|
61
|
+
| `opencode/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
62
|
+
| `opencode/gpt-5` | 400K | | | | | | $1 | $9 |
|
|
63
|
+
| `opencode/gpt-5-codex` | 400K | | | | | | $1 | $9 |
|
|
64
|
+
| `opencode/gpt-5-nano` | 400K | | | | | | $0.05 | $0.40 |
|
|
65
|
+
| `opencode/gpt-5.1` | 400K | | | | | | $1 | $9 |
|
|
66
|
+
| `opencode/gpt-5.1-codex` | 400K | | | | | | $1 | $9 |
|
|
67
|
+
| `opencode/gpt-5.1-codex-max` | 400K | | | | | | $1 | $10 |
|
|
68
|
+
| `opencode/gpt-5.1-codex-mini` | 400K | | | | | | $0.25 | $2 |
|
|
69
|
+
| `opencode/gpt-5.2` | 400K | | | | | | $2 | $14 |
|
|
70
|
+
| `opencode/gpt-5.2-codex` | 400K | | | | | | $2 | $14 |
|
|
71
|
+
| `opencode/gpt-5.3-codex` | 400K | | | | | | $2 | $14 |
|
|
72
|
+
| `opencode/gpt-5.3-codex-spark` | 128K | | | | | | $2 | $14 |
|
|
73
|
+
| `opencode/gpt-5.4` | 1.1M | | | | | | $3 | $15 |
|
|
74
|
+
| `opencode/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
|
|
75
|
+
| `opencode/gpt-5.4-nano` | 400K | | | | | | $0.20 | $1 |
|
|
76
|
+
| `opencode/gpt-5.4-pro` | 1.1M | | | | | | $30 | $180 |
|
|
77
|
+
| `opencode/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
|
|
78
|
+
| `opencode/gpt-5.5-pro` | 1.1M | | | | | | $30 | $180 |
|
|
79
|
+
| `opencode/gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
|
|
80
|
+
| `opencode/gpt-5.6-sol` | 1.1M | | | | | | $5 | $30 |
|
|
81
|
+
| `opencode/gpt-5.6-terra` | 1.1M | | | | | | $3 | $15 |
|
|
82
|
+
| `opencode/grok-4.5` | 500K | | | | | | $2 | $6 |
|
|
83
|
+
| `opencode/grok-build-0.1` | 256K | | | | | | $1 | $2 |
|
|
84
|
+
| `opencode/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
|
|
85
|
+
| `opencode/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
86
|
+
| `opencode/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
87
|
+
| `opencode/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
88
|
+
| `opencode/laguna-s-2.1-free` | 256K | | | | | | — | — |
|
|
89
|
+
| `opencode/ling-3.0-tiny-free` | 262K | | | | | | — | — |
|
|
90
|
+
| `opencode/longcat-2.0-free` | 1.0M | | | | | | — | — |
|
|
91
|
+
| `opencode/mimo-v2.5-free` | 200K | | | | | | — | — |
|
|
92
|
+
| `opencode/minimax-m2.5` | 205K | | | | | | $0.30 | $1 |
|
|
93
|
+
| `opencode/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
94
|
+
| `opencode/minimax-m3` | 512K | | | | | | $0.30 | $1 |
|
|
95
|
+
| `opencode/nemotron-3-ultra-free` | 1.0M | | | | | | — | — |
|
|
96
|
+
| `opencode/nemotron-3.5-lightning-free` | 262K | | | | | | — | — |
|
|
97
|
+
| `opencode/qwen3.5-plus` | 262K | | | | | | $0.20 | $1 |
|
|
98
|
+
| `opencode/qwen3.6-plus` | 262K | | | | | | $0.50 | $3 |
|
|
99
99
|
|
|
100
100
|
## Advanced configuration
|
|
101
101
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Privatemode AI
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 7 Privatemode AI models through Mastra's model router. Authentication is handled automatically using the `PRIVATEMODE_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Privatemode AI documentation](https://docs.privatemode.ai).
|
|
8
8
|
|
|
@@ -37,11 +37,12 @@ for await (const chunk of stream) {
|
|
|
37
37
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
38
|
| ----------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
39
|
| `privatemode-ai/deepseek-ocr-2` | 8K | | | | | | $0.89 | $1 |
|
|
40
|
-
| `privatemode-ai/gpt-oss-120b` | 128K | | | | | |
|
|
41
|
-
| `privatemode-ai/kimi-k2.6` |
|
|
42
|
-
| `privatemode-ai/
|
|
43
|
-
| `privatemode-ai/
|
|
44
|
-
| `privatemode-ai/
|
|
40
|
+
| `privatemode-ai/gpt-oss-120b` | 128K | | | | | | $0.50 | $2 |
|
|
41
|
+
| `privatemode-ai/kimi-k2.6` | 256K | | | | | | $2 | $9 |
|
|
42
|
+
| `privatemode-ai/kimi-latest` | 256K | | | | | | $2 | $9 |
|
|
43
|
+
| `privatemode-ai/qwen3-embedding-4b` | 32K | | | | | | $0.15 | — |
|
|
44
|
+
| `privatemode-ai/voxtral-mini-3b` | 32K | | | | | | $0.00 | — |
|
|
45
|
+
| `privatemode-ai/whisper-large-v3` | 448 | | | | | | $0.02 | — |
|
|
45
46
|
|
|
46
47
|
## Advanced configuration
|
|
47
48
|
|
|
@@ -196,6 +196,37 @@ const session = await controller.getSessionByResource('project-42', 'editor-wind
|
|
|
196
196
|
|
|
197
197
|
Returns: `Promise<Session<TState> | undefined>`
|
|
198
198
|
|
|
199
|
+
#### `onSessionDeleted(listener)`
|
|
200
|
+
|
|
201
|
+
Subscribe to process-local notifications after `deleteSession()` tears down a live session. Listener errors are isolated and don't prevent other listeners from running. Call the returned function to unsubscribe.
|
|
202
|
+
|
|
203
|
+
```typescript
|
|
204
|
+
const unsubscribe = controller.onSessionDeleted(session => {
|
|
205
|
+
console.log(`Closed ${session.identity.getResourceId()}`)
|
|
206
|
+
})
|
|
207
|
+
|
|
208
|
+
await controller.createSession({ resourceId: 'project-42' })
|
|
209
|
+
await controller.deleteSession({ resourceId: 'project-42' })
|
|
210
|
+
unsubscribe()
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
This listener is best-effort and runs only in the current process. It isn't a persisted deletion event.
|
|
214
|
+
|
|
215
|
+
Returns: `() => void`
|
|
216
|
+
|
|
217
|
+
#### `deleteSession({ resourceId, scope? })`
|
|
218
|
+
|
|
219
|
+
Tear down the materialized session for a resource and optional scope. The method aborts active work, then removes thread subscriptions, the active thread lock, and the live session from the controller registry. It doesn't delete persisted threads or messages.
|
|
220
|
+
|
|
221
|
+
```typescript
|
|
222
|
+
const deleted = await controller.deleteSession({
|
|
223
|
+
resourceId: 'project-42',
|
|
224
|
+
scope: 'editor-window-1',
|
|
225
|
+
})
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Returns: `Promise<boolean>`. The result is `true` when a live session was removed and `false` when no matching live session exists or when another deletion is already in progress for the same resource and scope.
|
|
229
|
+
|
|
199
230
|
#### `setResourceId(session, { resourceId })`
|
|
200
231
|
|
|
201
232
|
Move a live session to another resource and clear its active thread binding.
|
|
@@ -424,4 +455,4 @@ await controller.stopIntervals()
|
|
|
424
455
|
- [Session reference](https://mastra.ai/reference/agent-controller/session)
|
|
425
456
|
- [Agents](https://mastra.ai/docs/agents/overview)
|
|
426
457
|
- [Workspace](https://mastra.ai/docs/workspace/overview)
|
|
427
|
-
- [Channels](https://mastra.ai/docs/capabilities/channels
|
|
458
|
+
- [Channels](https://mastra.ai/docs/capabilities/channels)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**Added in:** `@mastra/core@1.22.0`
|
|
6
6
|
|
|
7
|
-
Channels connect agents to messaging platforms. Configure them via the `channels` property on the `Agent` constructor. The object you pass is a `ChannelConfig`. See the [Channels overview](https://mastra.ai/docs/capabilities/channels
|
|
7
|
+
Channels connect agents to messaging platforms. Configure them via the `channels` property on the `Agent` constructor. The object you pass is a `ChannelConfig`. See the [Channels overview](https://mastra.ai/docs/capabilities/channels) for concepts and platform setup instructions.
|
|
8
8
|
|
|
9
9
|
## Usage example
|
|
10
10
|
|
|
@@ -382,6 +382,6 @@ type InlineLinkEntry =
|
|
|
382
382
|
|
|
383
383
|
## Related
|
|
384
384
|
|
|
385
|
-
- [Channels overview](https://mastra.ai/docs/capabilities/channels
|
|
385
|
+
- [Channels overview](https://mastra.ai/docs/capabilities/channels): Concepts, quickstart, and platform setup
|
|
386
386
|
- [Agent class](https://mastra.ai/reference/agents/agent): Constructor parameters and methods
|
|
387
387
|
- [Chat SDK adapters](https://chat-sdk.dev/adapters): Adapter configuration and platform setup
|
|
@@ -138,7 +138,7 @@ Scorer judges with legacy model adapters call `generateLegacy()`. They don't rec
|
|
|
138
138
|
|
|
139
139
|
## Migration to new API
|
|
140
140
|
|
|
141
|
-
> **Note:** The new `.generate()` method offers enhanced capabilities including AI SDK v5
|
|
141
|
+
> **Note:** The new `.generate()` method offers enhanced capabilities including compatibility with AI SDK v5 and later, better structured output handling, and improved streaming support. See the [migration guide](https://mastra.ai/reference/migrations/vnext-to-standard-apis) for detailed migration instructions.
|
|
142
142
|
|
|
143
143
|
### Quick Migration Example
|
|
144
144
|
|
|
@@ -219,7 +219,7 @@ await agent.generateLegacy(
|
|
|
219
219
|
|
|
220
220
|
## Related
|
|
221
221
|
|
|
222
|
-
- [Migration Guide](https://mastra.ai/
|
|
222
|
+
- [Migration Guide](https://mastra.ai/reference/migrations/vnext-to-standard-apis)
|
|
223
223
|
- [New .generate() method](https://mastra.ai/reference/agents/generate)
|
|
224
224
|
- [Generating responses](https://mastra.ai/docs/agents/overview)
|
|
225
225
|
- [Streaming responses](https://mastra.ai/docs/agents/overview)
|
|
@@ -32,5 +32,5 @@ await agent.getDefaultStreamOptionsLegacy({
|
|
|
32
32
|
|
|
33
33
|
## Related
|
|
34
34
|
|
|
35
|
-
- [Streaming with agents](https://mastra.ai/guides/
|
|
35
|
+
- [Streaming with agents](https://mastra.ai/docs/guides/streaming)
|
|
36
36
|
- [Request Context](https://mastra.ai/docs/server/request-context)
|
|
@@ -368,5 +368,5 @@ export const { GET, POST, PUT } = serveNext({ mastra, inngest })
|
|
|
368
368
|
|
|
369
369
|
- [DurableAgent reference](https://mastra.ai/reference/agents/durable-agent)
|
|
370
370
|
- [Agent class](https://mastra.ai/reference/agents/agent)
|
|
371
|
-
- [Inngest deployment guide](https://mastra.ai/
|
|
371
|
+
- [Inngest deployment guide](https://mastra.ai/integrations/deploy/inngest)
|
|
372
372
|
- [PubSub](https://mastra.ai/docs/server/pubsub)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
The `.network()` method enables multi-agent collaboration and routing. This method accepts messages and optional execution options.
|
|
6
6
|
|
|
7
|
-
> **Deprecated:** The `.network()` primitive has been deprecated and will be removed in a future major release. Use [supervisor agents](https://mastra.ai/docs/capabilities/subagents) with `agent.stream()` or `agent.generate()` instead. See the [migration guide](https://mastra.ai/
|
|
7
|
+
> **Deprecated:** The `.network()` primitive has been deprecated and will be removed in a future major release. Use [supervisor agents](https://mastra.ai/docs/capabilities/subagents) with `agent.stream()` or `agent.generate()` instead. See the [migration guide](https://mastra.ai/reference/migrations/network-to-supervisor) to upgrade.
|
|
8
8
|
|
|
9
9
|
## Usage example
|
|
10
10
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# handleNetworkStream()
|
|
4
4
|
|
|
5
|
-
> **Deprecated:** Agent networks are deprecated and will be removed in a future release. Use [supervisor agents](https://mastra.ai/docs/capabilities/subagents) with `agent.stream()` or `agent.generate()` instead. See the [migration guide](https://mastra.ai/
|
|
5
|
+
> **Deprecated:** Agent networks are deprecated and will be removed in a future release. Use [supervisor agents](https://mastra.ai/docs/capabilities/subagents) with `agent.stream()` or `agent.generate()` instead. See the [migration guide](https://mastra.ai/reference/migrations/network-to-supervisor) to upgrade.
|
|
6
6
|
|
|
7
7
|
Framework-agnostic handler for streaming network execution in AI SDK-compatible format. Use this function directly when you need to handle network streaming outside Hono or Mastra's own [apiRoutes](https://mastra.ai/docs/server/custom-api-routes) feature.
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# networkRoute()
|
|
4
4
|
|
|
5
|
-
> **Deprecated:** Agent networks are deprecated and will be removed in a future release. Use [supervisor agents](https://mastra.ai/docs/capabilities/subagents) with `agent.stream()` or `agent.generate()` instead. See the [migration guide](https://mastra.ai/
|
|
5
|
+
> **Deprecated:** Agent networks are deprecated and will be removed in a future release. Use [supervisor agents](https://mastra.ai/docs/capabilities/subagents) with `agent.stream()` or `agent.generate()` instead. See the [migration guide](https://mastra.ai/reference/migrations/network-to-supervisor) to upgrade.
|
|
6
6
|
|
|
7
7
|
Creates a network route handler for streaming network execution using the AI SDK format. This function registers an HTTP `POST` endpoint that accepts messages, executes an agent network, and streams the response back to the client in AI SDK-compatible format. Agent networks allow a routing agent to delegate tasks to other agents. You have to use it inside a [custom API route](https://mastra.ai/docs/server/custom-api-routes).
|
|
8
8
|
|
|
@@ -404,4 +404,4 @@ The `browser_snapshot` tool returns an accessibility tree with element refs like
|
|
|
404
404
|
- [MastraBrowser](https://mastra.ai/reference/browser/mastra-browser): Base class reference
|
|
405
405
|
- [StagehandBrowser](https://mastra.ai/reference/browser/stagehand-browser): AI-powered alternative
|
|
406
406
|
- [Browser overview](https://mastra.ai/docs/browser/overview): Conceptual guide
|
|
407
|
-
- [agent-browser guide](https://mastra.ai/
|
|
407
|
+
- [agent-browser guide](https://mastra.ai/integrations/browsers/agent-browser): Usage guide
|
|
@@ -227,6 +227,6 @@ browse skills install
|
|
|
227
227
|
|
|
228
228
|
## Related
|
|
229
229
|
|
|
230
|
-
- [BrowserViewer guide](https://mastra.ai/
|
|
230
|
+
- [BrowserViewer guide](https://mastra.ai/integrations/browsers/browser-viewer): Setup and usage walkthrough
|
|
231
231
|
- [MastraBrowser](https://mastra.ai/reference/browser/mastra-browser): Base class API reference
|
|
232
232
|
- [Workspace overview](https://mastra.ai/docs/workspace/overview): Workspace configuration
|
|
@@ -66,6 +66,6 @@ In both cases, `FirecrawlBrowser` deletes the remote Firecrawl session when the
|
|
|
66
66
|
|
|
67
67
|
## Related
|
|
68
68
|
|
|
69
|
-
- [Firecrawl docs](https://mastra.ai/
|
|
69
|
+
- [Firecrawl docs](https://mastra.ai/integrations/browsers/firecrawl)
|
|
70
70
|
- [`AgentBrowser` reference](https://mastra.ai/reference/browser/agent-browser)
|
|
71
71
|
- [Browser overview](https://mastra.ai/docs/browser/overview)
|
|
@@ -317,4 +317,4 @@ Choose `AgentBrowser` for precise, reproducible automation. Choose `StagehandBro
|
|
|
317
317
|
- [MastraBrowser](https://mastra.ai/reference/browser/mastra-browser): Base class reference
|
|
318
318
|
- [AgentBrowser](https://mastra.ai/reference/browser/agent-browser): Deterministic alternative
|
|
319
319
|
- [Browser overview](https://mastra.ai/docs/browser/overview): Conceptual guide
|
|
320
|
-
- [Stagehand guide](https://mastra.ai/
|
|
320
|
+
- [Stagehand guide](https://mastra.ai/integrations/browsers/stagehand): Usage guide
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# SlackProvider
|
|
4
4
|
|
|
5
|
-
`SlackProvider` is the managed path for connecting agents to Slack. Register it on `Mastra.channels` and it provisions Slack apps via the Manifest API, runs the OAuth install flow, rotates configuration tokens, and routes Slack events to your agents. Use it when you want Mastra to own app creation and installation. For the lower-level path where you create the Slack app and configure scopes and webhooks yourself, use [`createSlackAdapter`](https://mastra.ai/
|
|
5
|
+
`SlackProvider` is the managed path for connecting agents to Slack. Register it on `Mastra.channels` and it provisions Slack apps via the Manifest API, runs the OAuth install flow, rotates configuration tokens, and routes Slack events to your agents. Use it when you want Mastra to own app creation and installation. For the lower-level path where you create the Slack app and configure scopes and webhooks yourself, use [`createSlackAdapter`](https://mastra.ai/integrations/channels/slack) on the agent's `channels.adapters` instead.
|
|
6
6
|
|
|
7
7
|
## Usage example
|
|
8
8
|
|
|
@@ -226,5 +226,5 @@ const result = await slack.connect('support-agent')
|
|
|
226
226
|
## Related
|
|
227
227
|
|
|
228
228
|
- [ChannelProvider](https://mastra.ai/reference/channels/channel-provider): the interface `SlackProvider` implements
|
|
229
|
-
- [Channels](https://mastra.ai/docs/capabilities/channels
|
|
229
|
+
- [Channels](https://mastra.ai/docs/capabilities/channels): concepts, platform setup, and the `createSlackAdapter` path
|
|
230
230
|
- [Channels reference](https://mastra.ai/reference/agents/channels): the `channels` config on the `Agent` constructor
|
|
@@ -1043,13 +1043,13 @@ Runs database migrations to update your storage schema. This command is useful w
|
|
|
1043
1043
|
The command bundles your project and connects to your configured storage backend. It then executes any pending migrations. Currently supports:
|
|
1044
1044
|
|
|
1045
1045
|
- **Duplicate spans migration**: Removes duplicate `(traceId, spanId)` entries and adds a unique constraint to ensure data integrity.
|
|
1046
|
-
- **ClickHouse legacy-to-vNext span migration**: Copies historical spans from the legacy `mastra_ai_spans` table to the vNext `mastra_span_events` schema. Runs in batches to stay within memory limits. See the [ClickHouse storage reference](https://mastra.ai/
|
|
1046
|
+
- **ClickHouse legacy-to-vNext span migration**: Copies historical spans from the legacy `mastra_ai_spans` table to the vNext `mastra_span_events` schema. Runs in batches to stay within memory limits. See the [ClickHouse storage reference](https://mastra.ai/integrations/databases/clickhouse) for details.
|
|
1047
1047
|
|
|
1048
1048
|
```bash
|
|
1049
1049
|
mastra migrate
|
|
1050
1050
|
```
|
|
1051
1051
|
|
|
1052
|
-
See the [Storage migration guide](https://mastra.ai/
|
|
1052
|
+
See the [Storage migration guide](https://mastra.ai/reference/migrations/upgrade-to-v1/storage) for details on when migrations are needed.
|
|
1053
1053
|
|
|
1054
1054
|
It accepts [common flags](#common-flags).
|
|
1055
1055
|
|
|
@@ -440,7 +440,7 @@ export const mastra = new Mastra({
|
|
|
440
440
|
|
|
441
441
|
Vector stores for semantic search and embeddings. Used in RAG pipelines, similarity search, and other embedding-based features. Mastra supports multiple vector databases including Pinecone, PostgreSQL with pgvector, OracleDB, MongoDB, and more.
|
|
442
442
|
|
|
443
|
-
Visit the [RAG documentation](https://mastra.ai/
|
|
443
|
+
Visit the [RAG documentation](https://mastra.ai/reference/rag/overview) to learn more.
|
|
444
444
|
|
|
445
445
|
> **Note:** Most users create vector stores directly when building RAG pipelines. This top-level configuration is for defining reusable vector store instances that can be shared across your application.
|
|
446
446
|
|
|
@@ -500,31 +500,6 @@ const mastra = new Mastra({
|
|
|
500
500
|
|
|
501
501
|
## Bundler options
|
|
502
502
|
|
|
503
|
-
### bundler.entries
|
|
504
|
-
|
|
505
|
-
**Type:** `Record<string, string>`\
|
|
506
|
-
**Default:** `{}`
|
|
507
|
-
|
|
508
|
-
Additional process entries to emit alongside the server bundle, as a map of output name to source path relative to your Mastra directory. Each entry becomes its own `<name>.mjs` in `.mastra/output`.
|
|
509
|
-
|
|
510
|
-
Use this for long-running processes that run beside your Mastra server rather than inside it, such as a [LiveKit voice worker](https://mastra.ai/guides/voice/realtime-voice). The entry shares the output directory, `package.json`, and installed dependencies with the server, so one `mastra build` produces one deployable artifact you can start with different commands.
|
|
511
|
-
|
|
512
|
-
```typescript
|
|
513
|
-
import { Mastra } from '@mastra/core'
|
|
514
|
-
|
|
515
|
-
export const mastra = new Mastra({
|
|
516
|
-
bundler: {
|
|
517
|
-
entries: { 'voice-worker': './voice-worker.ts' },
|
|
518
|
-
},
|
|
519
|
-
})
|
|
520
|
-
```
|
|
521
|
-
|
|
522
|
-
This emits `.mastra/output/voice-worker.mjs` next to `.mastra/output/index.mjs`. Dependencies imported only by the extra entry are analyzed too, so they're installed into the output.
|
|
523
|
-
|
|
524
|
-
Entry names can contain `/` to nest the output. They can't be `index`, which is the server bundle, `tools`, which is the tool aggregator, or start with `tools/`, which is reserved for tool bundles.
|
|
525
|
-
|
|
526
|
-
> **Note:** `mastra build` applies the [`bundler.externals`](#bundlerexternals) default of `true` only when you set no bundler options at all. Once you set `entries`, set `externals` explicitly as well if your extra entry depends on packages that can't be bundled, such as native modules.
|
|
527
|
-
|
|
528
503
|
### bundler.externals
|
|
529
504
|
|
|
530
505
|
**Type:** `boolean | string[]`\
|
|
@@ -21,4 +21,4 @@ This method doesn't accept any parameters.
|
|
|
21
21
|
## Related
|
|
22
22
|
|
|
23
23
|
- [Storage overview](https://mastra.ai/reference/storage/overview)
|
|
24
|
-
- [Storage reference](https://mastra.ai/
|
|
24
|
+
- [Storage reference](https://mastra.ai/integrations/databases/libsql)
|
|
@@ -20,5 +20,5 @@ mastra.getVector('testVectorStore')
|
|
|
20
20
|
|
|
21
21
|
## Related
|
|
22
22
|
|
|
23
|
-
- [Vector stores overview](https://mastra.ai/
|
|
24
|
-
- [RAG overview](https://mastra.ai/
|
|
23
|
+
- [Vector stores overview](https://mastra.ai/reference/rag/vector-databases)
|
|
24
|
+
- [RAG overview](https://mastra.ai/reference/rag/overview)
|
|
@@ -20,5 +20,5 @@ This method doesn't accept any parameters.
|
|
|
20
20
|
|
|
21
21
|
## Related
|
|
22
22
|
|
|
23
|
-
- [Vector stores overview](https://mastra.ai/
|
|
24
|
-
- [RAG overview](https://mastra.ai/
|
|
23
|
+
- [Vector stores overview](https://mastra.ai/reference/rag/vector-databases)
|
|
24
|
+
- [RAG overview](https://mastra.ai/reference/rag/overview)
|
|
@@ -10,7 +10,7 @@ Use this page for the file-based convention. For backend choice, storage domains
|
|
|
10
10
|
|
|
11
11
|
## Quickstart
|
|
12
12
|
|
|
13
|
-
Use [`LibSQLStore`](https://mastra.ai/
|
|
13
|
+
Use [`LibSQLStore`](https://mastra.ai/integrations/databases/libsql) for a local file-backed store:
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
16
|
import { LibSQLStore } from '@mastra/libsql'
|