@mastra/mcp-docs-server 1.1.8 → 1.1.9-alpha.1
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/adding-voice.md +4 -4
- package/.docs/docs/agents/agent-approval.md +3 -3
- package/.docs/docs/agents/agent-memory.md +3 -3
- package/.docs/docs/agents/guardrails.md +3 -3
- package/.docs/docs/agents/network-approval.md +5 -2
- package/.docs/docs/agents/networks.md +2 -2
- package/.docs/docs/agents/overview.md +2 -2
- package/.docs/docs/agents/processors.md +42 -24
- package/.docs/docs/agents/structured-output.md +2 -2
- package/.docs/docs/agents/supervisor-agents.md +3 -3
- package/.docs/docs/agents/using-tools.md +3 -3
- package/.docs/docs/build-with-ai/mcp-docs-server.md +5 -5
- package/.docs/docs/build-with-ai/skills.md +2 -2
- package/.docs/docs/community/contributing-templates.md +1 -1
- package/.docs/docs/community/discord.md +3 -3
- package/.docs/docs/community/licensing.md +2 -2
- package/.docs/docs/deployment/cloud-providers.md +2 -2
- package/.docs/docs/deployment/mastra-server.md +2 -2
- package/.docs/docs/deployment/monorepo.md +1 -1
- package/.docs/docs/deployment/overview.md +3 -3
- package/.docs/docs/deployment/studio.md +3 -3
- package/.docs/docs/deployment/web-framework.md +2 -2
- package/.docs/docs/deployment/workflow-runners.md +1 -1
- package/.docs/docs/evals/built-in-scorers.md +1 -1
- package/.docs/docs/evals/custom-scorers.md +6 -6
- package/.docs/docs/evals/overview.md +2 -2
- package/.docs/docs/evals/running-in-ci.md +6 -6
- package/.docs/docs/getting-started/build-with-ai.md +3 -3
- package/.docs/docs/getting-started/manual-install.md +1 -1
- package/.docs/docs/getting-started/project-structure.md +2 -2
- package/.docs/docs/index.md +63 -17
- package/.docs/docs/mastra-cloud/deployment.md +1 -1
- package/.docs/docs/mastra-cloud/studio.md +1 -1
- package/.docs/docs/mcp/overview.md +1 -1
- package/.docs/docs/mcp/publishing-mcp-server.md +4 -4
- package/.docs/docs/memory/memory-processors.md +9 -9
- package/.docs/docs/memory/message-history.md +4 -4
- package/.docs/docs/memory/observational-memory.md +11 -7
- package/.docs/docs/memory/semantic-recall.md +9 -9
- package/.docs/docs/memory/storage.md +1 -1
- package/.docs/docs/memory/working-memory.md +20 -20
- package/.docs/docs/observability/datasets/overview.md +1 -1
- package/.docs/docs/observability/datasets/running-experiments.md +1 -1
- package/.docs/docs/observability/logging.md +1 -1
- package/.docs/docs/observability/overview.md +5 -5
- package/.docs/docs/observability/tracing/bridges/otel.md +9 -9
- package/.docs/docs/observability/tracing/exporters/arize.md +3 -3
- package/.docs/docs/observability/tracing/exporters/braintrust.md +1 -1
- package/.docs/docs/observability/tracing/exporters/cloud.md +2 -2
- package/.docs/docs/observability/tracing/exporters/datadog.md +3 -3
- package/.docs/docs/observability/tracing/exporters/default.md +8 -8
- package/.docs/docs/observability/tracing/exporters/laminar.md +1 -1
- package/.docs/docs/observability/tracing/exporters/langfuse.md +3 -3
- package/.docs/docs/observability/tracing/exporters/langsmith.md +4 -4
- package/.docs/docs/observability/tracing/exporters/otel.md +8 -8
- package/.docs/docs/observability/tracing/exporters/posthog.md +2 -2
- package/.docs/docs/observability/tracing/exporters/sentry.md +4 -4
- package/.docs/docs/observability/tracing/overview.md +24 -24
- package/.docs/docs/observability/tracing/processors/sensitive-data-filter.md +13 -13
- package/.docs/docs/rag/chunking-and-embedding.md +5 -5
- package/.docs/docs/rag/overview.md +2 -2
- package/.docs/docs/rag/retrieval.md +4 -4
- package/.docs/docs/rag/vector-databases.md +13 -13
- package/.docs/docs/server/auth/auth0.md +2 -2
- package/.docs/docs/server/auth/clerk.md +1 -1
- package/.docs/docs/server/auth/composite-auth.md +9 -9
- package/.docs/docs/server/auth/custom-auth-provider.md +12 -12
- package/.docs/docs/server/auth/firebase.md +3 -3
- package/.docs/docs/server/auth/jwt.md +1 -1
- package/.docs/docs/server/auth/simple-auth.md +9 -9
- package/.docs/docs/server/auth/supabase.md +1 -1
- package/.docs/docs/server/auth/workos.md +1 -1
- package/.docs/docs/server/auth.md +2 -2
- package/.docs/docs/server/custom-adapters.md +7 -7
- package/.docs/docs/server/custom-api-routes.md +2 -2
- package/.docs/docs/server/mastra-client.md +2 -2
- package/.docs/docs/server/mastra-server.md +2 -2
- package/.docs/docs/server/request-context.md +2 -2
- package/.docs/docs/server/server-adapters.md +3 -3
- package/.docs/docs/streaming/events.md +2 -2
- package/.docs/docs/streaming/overview.md +2 -2
- package/.docs/docs/streaming/tool-streaming.md +46 -32
- package/.docs/docs/streaming/workflow-streaming.md +1 -1
- package/.docs/docs/voice/overview.md +3 -3
- package/.docs/docs/voice/speech-to-speech.md +1 -1
- package/.docs/docs/voice/speech-to-text.md +2 -2
- package/.docs/docs/voice/text-to-speech.md +2 -2
- package/.docs/docs/workflows/agents-and-tools.md +1 -1
- package/.docs/docs/workflows/control-flow.md +45 -3
- package/.docs/docs/workflows/error-handling.md +4 -4
- package/.docs/docs/workflows/overview.md +3 -3
- package/.docs/docs/workflows/snapshots.md +1 -1
- package/.docs/docs/workflows/suspend-and-resume.md +1 -1
- package/.docs/docs/workflows/time-travel.md +3 -3
- package/.docs/docs/workflows/workflow-state.md +1 -1
- package/.docs/docs/workspace/filesystem.md +3 -3
- package/.docs/docs/workspace/overview.md +53 -8
- package/.docs/docs/workspace/sandbox.md +72 -13
- package/.docs/docs/workspace/search.md +1 -1
- package/.docs/docs/workspace/skills.md +4 -4
- package/.docs/guides/build-your-ui/ai-sdk-ui.md +2 -2
- package/.docs/guides/build-your-ui/assistant-ui.md +1 -1
- package/.docs/guides/build-your-ui/copilotkit.md +2 -2
- package/.docs/guides/deployment/digital-ocean.md +1 -1
- package/.docs/guides/deployment/inngest.md +4 -4
- package/.docs/guides/getting-started/astro.md +1 -1
- package/.docs/guides/getting-started/electron.md +1 -1
- package/.docs/guides/getting-started/next-js.md +1 -1
- package/.docs/guides/getting-started/vite-react.md +1 -1
- package/.docs/guides/guide/ai-recruiter.md +4 -4
- package/.docs/guides/guide/chef-michel.md +4 -4
- package/.docs/guides/guide/code-review-bot.md +3 -3
- package/.docs/guides/guide/dev-assistant.md +5 -5
- package/.docs/guides/guide/docs-manager.md +3 -3
- package/.docs/guides/guide/github-actions-pr-description.md +4 -4
- package/.docs/guides/guide/notes-mcp-server.md +4 -4
- package/.docs/guides/guide/research-assistant.md +4 -4
- package/.docs/guides/guide/research-coordinator.md +1 -1
- package/.docs/guides/guide/stock-agent.md +6 -6
- package/.docs/guides/guide/web-search.md +2 -2
- package/.docs/guides/guide/whatsapp-chat-bot.md +1 -1
- package/.docs/guides/migrations/agentnetwork.md +1 -1
- package/.docs/guides/migrations/ai-sdk-v4-to-v5.md +3 -3
- package/.docs/guides/migrations/network-to-supervisor.md +1 -1
- package/.docs/guides/migrations/upgrade-to-v1/agent.md +1 -1
- package/.docs/guides/migrations/upgrade-to-v1/client.md +2 -2
- package/.docs/guides/migrations/upgrade-to-v1/deployment.md +2 -2
- package/.docs/guides/migrations/upgrade-to-v1/evals.md +1 -1
- package/.docs/guides/migrations/upgrade-to-v1/mastra.md +1 -1
- package/.docs/guides/migrations/upgrade-to-v1/memory.md +2 -2
- package/.docs/guides/migrations/upgrade-to-v1/overview.md +3 -3
- package/.docs/guides/migrations/upgrade-to-v1/storage.md +4 -4
- package/.docs/guides/migrations/upgrade-to-v1/tools.md +2 -2
- package/.docs/guides/migrations/upgrade-to-v1/tracing.md +2 -2
- package/.docs/guides/migrations/upgrade-to-v1/vectors.md +3 -3
- package/.docs/guides/migrations/upgrade-to-v1/voice.md +1 -1
- package/.docs/guides/migrations/upgrade-to-v1/workflows.md +6 -6
- package/.docs/guides/migrations/vnext-to-standard-apis.md +3 -3
- package/.docs/models/embeddings.md +4 -4
- package/.docs/models/gateways/custom-gateways.md +4 -4
- package/.docs/models/gateways/netlify.md +2 -3
- package/.docs/models/gateways/openrouter.md +9 -2
- package/.docs/models/gateways/vercel.md +11 -2
- package/.docs/models/gateways.md +2 -2
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/302ai.md +3 -3
- package/.docs/models/providers/abacus.md +24 -14
- package/.docs/models/providers/aihubmix.md +10 -5
- package/.docs/models/providers/alibaba-cn.md +83 -74
- package/.docs/models/providers/alibaba-coding-plan-cn.md +78 -0
- package/.docs/models/providers/alibaba-coding-plan.md +78 -0
- package/.docs/models/providers/alibaba.md +3 -3
- package/.docs/models/providers/anthropic.md +4 -4
- package/.docs/models/providers/bailing.md +3 -3
- package/.docs/models/providers/baseten.md +3 -3
- package/.docs/models/providers/berget.md +3 -3
- package/.docs/models/providers/cerebras.md +4 -4
- package/.docs/models/providers/chutes.md +7 -6
- package/.docs/models/providers/clarifai.md +81 -0
- package/.docs/models/providers/cloudferro-sherlock.md +8 -7
- package/.docs/models/providers/cloudflare-workers-ai.md +6 -5
- package/.docs/models/providers/cortecs.md +10 -8
- package/.docs/models/providers/deepinfra.md +11 -6
- package/.docs/models/providers/deepseek.md +4 -4
- package/.docs/models/providers/drun.md +73 -0
- package/.docs/models/providers/evroc.md +3 -3
- package/.docs/models/providers/fastrouter.md +3 -3
- package/.docs/models/providers/fireworks-ai.md +3 -3
- package/.docs/models/providers/firmware.md +31 -23
- package/.docs/models/providers/friendli.md +3 -3
- package/.docs/models/providers/github-models.md +3 -3
- package/.docs/models/providers/google.md +7 -5
- package/.docs/models/providers/groq.md +4 -4
- package/.docs/models/providers/helicone.md +3 -3
- package/.docs/models/providers/huggingface.md +3 -3
- package/.docs/models/providers/iflowcn.md +3 -3
- package/.docs/models/providers/inception.md +7 -5
- package/.docs/models/providers/inference.md +3 -3
- package/.docs/models/providers/io-net.md +3 -3
- package/.docs/models/providers/jiekou.md +3 -3
- package/.docs/models/providers/kilo.md +6 -4
- package/.docs/models/providers/kimi-for-coding.md +4 -4
- package/.docs/models/providers/kuae-cloud-coding-plan.md +3 -3
- package/.docs/models/providers/llama.md +3 -3
- package/.docs/models/providers/lmstudio.md +3 -3
- package/.docs/models/providers/lucidquery.md +3 -3
- package/.docs/models/providers/meganova.md +3 -3
- package/.docs/models/providers/minimax-cn-coding-plan.md +4 -4
- package/.docs/models/providers/minimax-cn.md +4 -4
- package/.docs/models/providers/minimax-coding-plan.md +4 -4
- package/.docs/models/providers/minimax.md +4 -4
- package/.docs/models/providers/mistral.md +4 -4
- package/.docs/models/providers/moark.md +3 -3
- package/.docs/models/providers/modelscope.md +3 -3
- package/.docs/models/providers/moonshotai-cn.md +3 -3
- package/.docs/models/providers/moonshotai.md +3 -3
- package/.docs/models/providers/morph.md +3 -3
- package/.docs/models/providers/nano-gpt.md +523 -42
- package/.docs/models/providers/nebius.md +37 -37
- package/.docs/models/providers/nova.md +3 -3
- package/.docs/models/providers/novita-ai.md +3 -3
- package/.docs/models/providers/nvidia.md +7 -5
- package/.docs/models/providers/ollama-cloud.md +4 -5
- package/.docs/models/providers/openai.md +7 -5
- package/.docs/models/providers/opencode-go.md +3 -3
- package/.docs/models/providers/opencode.md +39 -36
- package/.docs/models/providers/ovhcloud.md +3 -3
- package/.docs/models/providers/perplexity-agent.md +4 -4
- package/.docs/models/providers/perplexity.md +4 -4
- package/.docs/models/providers/poe.md +11 -5
- package/.docs/models/providers/privatemode-ai.md +3 -3
- package/.docs/models/providers/qihang-ai.md +3 -3
- package/.docs/models/providers/qiniu-ai.md +23 -8
- package/.docs/models/providers/requesty.md +20 -4
- package/.docs/models/providers/scaleway.md +3 -3
- package/.docs/models/providers/siliconflow-cn.md +10 -4
- package/.docs/models/providers/siliconflow.md +3 -3
- package/.docs/models/providers/stackit.md +3 -3
- package/.docs/models/providers/stepfun.md +3 -3
- package/.docs/models/providers/submodel.md +3 -3
- package/.docs/models/providers/synthetic.md +3 -3
- package/.docs/models/providers/togetherai.md +5 -7
- package/.docs/models/providers/upstage.md +3 -3
- package/.docs/models/providers/vivgrid.md +4 -4
- package/.docs/models/providers/vultr.md +3 -3
- package/.docs/models/providers/wandb.md +3 -3
- package/.docs/models/providers/xai.md +34 -31
- package/.docs/models/providers/xiaomi.md +4 -4
- package/.docs/models/providers/zai-coding-plan.md +3 -3
- package/.docs/models/providers/zai.md +3 -3
- package/.docs/models/providers/zenmux.md +7 -5
- package/.docs/models/providers/zhipuai-coding-plan.md +3 -3
- package/.docs/models/providers/zhipuai.md +3 -3
- package/.docs/models/providers.md +4 -0
- package/.docs/reference/agents/agent.md +3 -3
- package/.docs/reference/agents/generateLegacy.md +1 -1
- package/.docs/reference/agents/getDefaultGenerateOptions.md +1 -1
- package/.docs/reference/agents/getDefaultOptions.md +1 -1
- package/.docs/reference/agents/getDefaultStreamOptions.md +1 -1
- package/.docs/reference/agents/getDescription.md +1 -1
- package/.docs/reference/agents/network.md +5 -3
- package/.docs/reference/ai-sdk/handle-chat-stream.md +2 -0
- package/.docs/reference/ai-sdk/handle-network-stream.md +2 -0
- package/.docs/reference/ai-sdk/network-route.md +2 -0
- package/.docs/reference/ai-sdk/to-ai-sdk-stream.md +1 -1
- package/.docs/reference/ai-sdk/to-ai-sdk-v4-messages.md +1 -1
- package/.docs/reference/ai-sdk/to-ai-sdk-v5-messages.md +1 -1
- package/.docs/reference/auth/auth0.md +7 -7
- package/.docs/reference/auth/better-auth.md +2 -2
- package/.docs/reference/auth/clerk.md +1 -1
- package/.docs/reference/auth/firebase.md +5 -5
- package/.docs/reference/auth/jwt.md +1 -1
- package/.docs/reference/auth/supabase.md +1 -1
- package/.docs/reference/auth/workos.md +6 -6
- package/.docs/reference/cli/mastra.md +5 -5
- package/.docs/reference/client-js/agents.md +22 -22
- package/.docs/reference/client-js/error-handling.md +2 -2
- package/.docs/reference/client-js/logs.md +2 -2
- package/.docs/reference/client-js/mastra-client.md +2 -2
- package/.docs/reference/client-js/memory.md +6 -6
- package/.docs/reference/client-js/observability.md +4 -4
- package/.docs/reference/client-js/telemetry.md +1 -1
- package/.docs/reference/client-js/tools.md +3 -3
- package/.docs/reference/client-js/vectors.md +2 -2
- package/.docs/reference/client-js/workflows.md +12 -12
- package/.docs/reference/configuration.md +62 -6
- package/.docs/reference/core/getDeployer.md +1 -1
- package/.docs/reference/core/getGatewayById.md +1 -1
- package/.docs/reference/core/getLogger.md +1 -1
- package/.docs/reference/core/getMCPServer.md +2 -2
- package/.docs/reference/core/getMCPServerById.md +2 -2
- package/.docs/reference/core/getMemory.md +1 -1
- package/.docs/reference/core/getScorer.md +4 -4
- package/.docs/reference/core/getScorerById.md +2 -2
- package/.docs/reference/core/getServer.md +1 -1
- package/.docs/reference/core/getStorage.md +1 -1
- package/.docs/reference/core/getStoredAgentById.md +3 -3
- package/.docs/reference/core/getTelemetry.md +1 -1
- package/.docs/reference/core/getWorkflow.md +1 -1
- package/.docs/reference/core/listAgents.md +1 -1
- package/.docs/reference/core/listMCPServers.md +3 -3
- package/.docs/reference/core/listMemory.md +1 -1
- package/.docs/reference/core/listScorers.md +1 -1
- package/.docs/reference/core/listStoredAgents.md +3 -3
- package/.docs/reference/core/listVectors.md +1 -1
- package/.docs/reference/core/mastra-class.md +2 -2
- package/.docs/reference/core/mastra-model-gateway.md +11 -11
- package/.docs/reference/core/setLogger.md +1 -1
- package/.docs/reference/core/setStorage.md +1 -1
- package/.docs/reference/datasets/dataset.md +2 -2
- package/.docs/reference/datasets/datasets-manager.md +1 -1
- package/.docs/reference/datasets/get.md +2 -2
- package/.docs/reference/datasets/getDetails.md +1 -1
- package/.docs/reference/datasets/listItems.md +1 -1
- package/.docs/reference/deployer/vercel.md +1 -1
- package/.docs/reference/deployer.md +4 -4
- package/.docs/reference/evals/answer-relevancy.md +4 -4
- package/.docs/reference/evals/answer-similarity.md +3 -3
- package/.docs/reference/evals/bias.md +4 -4
- package/.docs/reference/evals/completeness.md +6 -6
- package/.docs/reference/evals/content-similarity.md +3 -3
- package/.docs/reference/evals/context-precision.md +9 -9
- package/.docs/reference/evals/context-relevance.md +7 -7
- package/.docs/reference/evals/create-scorer.md +7 -7
- package/.docs/reference/evals/faithfulness.md +3 -3
- package/.docs/reference/evals/hallucination.md +8 -14
- package/.docs/reference/evals/keyword-coverage.md +4 -4
- package/.docs/reference/evals/mastra-scorer.md +7 -7
- package/.docs/reference/evals/noise-sensitivity.md +11 -11
- package/.docs/reference/evals/prompt-alignment.md +5 -5
- package/.docs/reference/evals/run-evals.md +5 -5
- package/.docs/reference/evals/scorer-utils.md +17 -17
- package/.docs/reference/evals/textual-difference.md +4 -4
- package/.docs/reference/evals/tone-consistency.md +5 -5
- package/.docs/reference/evals/tool-call-accuracy.md +10 -10
- package/.docs/reference/evals/toxicity.md +3 -3
- package/.docs/reference/harness/harness-class.md +5 -3
- package/.docs/reference/index.md +2 -0
- package/.docs/reference/memory/clone-utilities.md +7 -7
- package/.docs/reference/memory/cloneThread.md +5 -5
- package/.docs/reference/memory/createThread.md +1 -1
- package/.docs/reference/memory/deleteMessages.md +1 -1
- package/.docs/reference/memory/getThreadById.md +1 -1
- package/.docs/reference/memory/listThreads.md +3 -3
- package/.docs/reference/memory/memory-class.md +1 -1
- package/.docs/reference/memory/observational-memory.md +8 -6
- package/.docs/reference/memory/recall.md +1 -1
- package/.docs/reference/observability/tracing/bridges/otel.md +6 -6
- package/.docs/reference/observability/tracing/configuration.md +17 -17
- package/.docs/reference/observability/tracing/exporters/arize.md +4 -4
- package/.docs/reference/observability/tracing/exporters/braintrust.md +3 -3
- package/.docs/reference/observability/tracing/exporters/cloud-exporter.md +6 -6
- package/.docs/reference/observability/tracing/exporters/console-exporter.md +4 -4
- package/.docs/reference/observability/tracing/exporters/datadog.md +4 -4
- package/.docs/reference/observability/tracing/exporters/default-exporter.md +6 -6
- package/.docs/reference/observability/tracing/exporters/laminar.md +2 -2
- package/.docs/reference/observability/tracing/exporters/langfuse.md +4 -4
- package/.docs/reference/observability/tracing/exporters/langsmith.md +6 -6
- package/.docs/reference/observability/tracing/exporters/otel.md +12 -12
- package/.docs/reference/observability/tracing/exporters/posthog.md +3 -3
- package/.docs/reference/observability/tracing/exporters/sentry.md +5 -5
- package/.docs/reference/observability/tracing/instances.md +9 -9
- package/.docs/reference/observability/tracing/interfaces.md +39 -39
- package/.docs/reference/observability/tracing/processors/sensitive-data-filter.md +6 -6
- package/.docs/reference/observability/tracing/spans.md +15 -13
- package/.docs/reference/processors/message-history-processor.md +1 -1
- package/.docs/reference/processors/processor-interface.md +21 -17
- package/.docs/reference/processors/token-limiter-processor.md +2 -2
- package/.docs/reference/rag/chunk.md +2 -2
- package/.docs/reference/rag/database-config.md +8 -8
- package/.docs/reference/rag/document.md +11 -11
- package/.docs/reference/rag/embeddings.md +5 -5
- package/.docs/reference/rag/extract-params.md +8 -8
- package/.docs/reference/rag/graph-rag.md +4 -4
- package/.docs/reference/rag/metadata-filters.md +15 -15
- package/.docs/reference/rag/rerank.md +2 -2
- package/.docs/reference/rag/rerankWithScorer.md +2 -2
- package/.docs/reference/server/create-route.md +2 -0
- package/.docs/reference/server/express-adapter.md +1 -1
- package/.docs/reference/server/fastify-adapter.md +1 -1
- package/.docs/reference/server/hono-adapter.md +1 -1
- package/.docs/reference/server/koa-adapter.md +2 -2
- package/.docs/reference/server/mastra-server.md +16 -16
- package/.docs/reference/server/register-api-route.md +7 -7
- package/.docs/reference/server/routes.md +1 -1
- package/.docs/reference/storage/cloudflare-d1.md +5 -5
- package/.docs/reference/storage/cloudflare.md +3 -3
- package/.docs/reference/storage/composite.md +1 -1
- package/.docs/reference/storage/convex.md +6 -6
- package/.docs/reference/storage/dynamodb.md +7 -7
- package/.docs/reference/storage/lance.md +5 -5
- package/.docs/reference/storage/libsql.md +1 -1
- package/.docs/reference/storage/mongodb.md +6 -6
- package/.docs/reference/storage/mssql.md +4 -4
- package/.docs/reference/storage/overview.md +2 -2
- package/.docs/reference/storage/postgresql.md +7 -7
- package/.docs/reference/storage/upstash.md +4 -4
- package/.docs/reference/streaming/ChunkType.md +13 -13
- package/.docs/reference/streaming/agents/MastraModelOutput.md +6 -6
- package/.docs/reference/streaming/agents/stream.md +2 -2
- package/.docs/reference/streaming/agents/streamLegacy.md +1 -1
- package/.docs/reference/streaming/workflows/observeStream.md +2 -2
- package/.docs/reference/streaming/workflows/resumeStream.md +1 -1
- package/.docs/reference/streaming/workflows/stream.md +1 -1
- package/.docs/reference/templates/overview.md +4 -4
- package/.docs/reference/tools/create-tool.md +10 -10
- package/.docs/reference/tools/document-chunker-tool.md +4 -4
- package/.docs/reference/tools/graph-rag-tool.md +7 -7
- package/.docs/reference/tools/mcp-client.md +13 -13
- package/.docs/reference/tools/mcp-server.md +27 -27
- package/.docs/reference/tools/vector-query-tool.md +12 -12
- package/.docs/reference/vectors/astra.md +13 -13
- package/.docs/reference/vectors/chroma.md +18 -18
- package/.docs/reference/vectors/convex.md +15 -15
- package/.docs/reference/vectors/couchbase.md +21 -21
- package/.docs/reference/vectors/duckdb.md +17 -17
- package/.docs/reference/vectors/elasticsearch.md +14 -14
- package/.docs/reference/vectors/lance.md +22 -22
- package/.docs/reference/vectors/libsql.md +15 -15
- package/.docs/reference/vectors/mongodb.md +18 -18
- package/.docs/reference/vectors/opensearch.md +11 -11
- package/.docs/reference/vectors/pg.md +23 -21
- package/.docs/reference/vectors/pinecone.md +15 -15
- package/.docs/reference/vectors/qdrant.md +15 -15
- package/.docs/reference/vectors/s3vectors.md +22 -22
- package/.docs/reference/vectors/turbopuffer.md +14 -14
- package/.docs/reference/vectors/upstash.md +15 -15
- package/.docs/reference/vectors/vectorize.md +16 -16
- package/.docs/reference/voice/azure.md +12 -10
- package/.docs/reference/voice/cloudflare.md +9 -7
- package/.docs/reference/voice/composite-voice.md +5 -5
- package/.docs/reference/voice/deepgram.md +5 -5
- package/.docs/reference/voice/elevenlabs.md +7 -7
- package/.docs/reference/voice/google-gemini-live.md +22 -22
- package/.docs/reference/voice/google.md +12 -12
- package/.docs/reference/voice/mastra-voice.md +18 -18
- package/.docs/reference/voice/murf.md +8 -8
- package/.docs/reference/voice/openai-realtime.md +19 -17
- package/.docs/reference/voice/openai.md +12 -8
- package/.docs/reference/voice/playai.md +9 -7
- package/.docs/reference/voice/sarvam.md +8 -6
- package/.docs/reference/voice/speechify.md +11 -9
- package/.docs/reference/voice/voice.addInstructions.md +4 -4
- package/.docs/reference/voice/voice.addTools.md +3 -3
- package/.docs/reference/voice/voice.answer.md +2 -2
- package/.docs/reference/voice/voice.close.md +4 -4
- package/.docs/reference/voice/voice.connect.md +9 -7
- package/.docs/reference/voice/voice.events.md +4 -4
- package/.docs/reference/voice/voice.getSpeakers.md +4 -4
- package/.docs/reference/voice/voice.listen.md +17 -11
- package/.docs/reference/voice/voice.off.md +4 -4
- package/.docs/reference/voice/voice.on.md +5 -5
- package/.docs/reference/voice/voice.send.md +2 -2
- package/.docs/reference/voice/voice.speak.md +19 -9
- package/.docs/reference/voice/voice.updateConfig.md +4 -4
- package/.docs/reference/workflows/run-methods/startAsync.md +1 -1
- package/.docs/reference/workflows/run-methods/timeTravel.md +1 -1
- package/.docs/reference/workflows/run.md +3 -3
- package/.docs/reference/workflows/step.md +2 -2
- package/.docs/reference/workflows/workflow-methods/create-run.md +1 -1
- package/.docs/reference/workflows/workflow.md +1 -1
- package/.docs/reference/workspace/blaxel-sandbox.md +164 -0
- package/.docs/reference/workspace/daytona-sandbox.md +50 -141
- package/.docs/reference/workspace/e2b-sandbox.md +41 -77
- package/.docs/reference/workspace/filesystem.md +25 -11
- package/.docs/reference/workspace/gcs-filesystem.md +21 -1
- package/.docs/reference/workspace/local-filesystem.md +24 -10
- package/.docs/reference/workspace/local-sandbox.md +27 -102
- package/.docs/reference/workspace/process-manager.md +296 -0
- package/.docs/reference/workspace/s3-filesystem.md +21 -1
- package/.docs/reference/workspace/sandbox.md +9 -1
- package/.docs/reference/workspace/workspace-class.md +95 -27
- package/CHANGELOG.md +15 -0
- package/dist/tools/course.d.ts +7 -27
- package/dist/tools/course.d.ts.map +1 -1
- package/dist/tools/docs.d.ts +6 -18
- package/dist/tools/docs.d.ts.map +1 -1
- package/dist/tools/embedded-docs.d.ts +12 -112
- package/dist/tools/embedded-docs.d.ts.map +1 -1
- package/dist/tools/migration.d.ts +6 -26
- package/dist/tools/migration.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Firmware
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 24 Firmware models through Mastra's model router. Authentication is handled automatically using the `FIRMWARE_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Firmware documentation](https://docs.firmware.ai).
|
|
6
6
|
|
|
@@ -32,28 +32,36 @@ for await (const chunk of stream) {
|
|
|
32
32
|
|
|
33
33
|
## Models
|
|
34
34
|
|
|
35
|
-
| Model
|
|
36
|
-
|
|
|
37
|
-
| `firmware/claude-haiku-4-5`
|
|
38
|
-
| `firmware/claude-opus-4-5`
|
|
39
|
-
| `firmware/claude-opus-4-6`
|
|
40
|
-
| `firmware/claude-sonnet-4-5`
|
|
41
|
-
| `firmware/claude-sonnet-4-6`
|
|
42
|
-
| `firmware/
|
|
43
|
-
| `firmware/gemini-2.5-
|
|
44
|
-
| `firmware/gemini-
|
|
45
|
-
| `firmware/gemini-3-pro-preview`
|
|
46
|
-
| `firmware/
|
|
47
|
-
| `firmware/
|
|
48
|
-
| `firmware/
|
|
49
|
-
| `firmware/gpt-
|
|
50
|
-
| `firmware/gpt-5
|
|
51
|
-
| `firmware/gpt-
|
|
52
|
-
| `firmware/gpt-
|
|
35
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
36
|
+
| -------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
|
+
| `firmware/claude-haiku-4-5` | 200K | | | | | | $1 | $5 |
|
|
38
|
+
| `firmware/claude-opus-4-5` | 200K | | | | | | $5 | $25 |
|
|
39
|
+
| `firmware/claude-opus-4-6` | 200K | | | | | | $5 | $25 |
|
|
40
|
+
| `firmware/claude-sonnet-4-5` | 200K | | | | | | $3 | $15 |
|
|
41
|
+
| `firmware/claude-sonnet-4-6` | 200K | | | | | | $3 | $15 |
|
|
42
|
+
| `firmware/deepseek-v3-2` | 128K | | | | | | $0.58 | $2 |
|
|
43
|
+
| `firmware/gemini-2.5-flash` | 1.0M | | | | | | $0.30 | $3 |
|
|
44
|
+
| `firmware/gemini-2.5-pro` | 1.0M | | | | | | $1 | $10 |
|
|
45
|
+
| `firmware/gemini-3-1-pro-preview` | 1.0M | | | | | | $2 | $12 |
|
|
46
|
+
| `firmware/gemini-3-flash-preview` | 1.0M | | | | | | $0.50 | $3 |
|
|
47
|
+
| `firmware/gemini-3-pro-preview` | 1.0M | | | | | | $2 | $12 |
|
|
48
|
+
| `firmware/glm-5` | 198K | | | | | | $1 | $3 |
|
|
49
|
+
| `firmware/gpt-4o` | 128K | | | | | | $3 | $10 |
|
|
50
|
+
| `firmware/gpt-5-3-codex` | 400K | | | | | | $2 | $14 |
|
|
51
|
+
| `firmware/gpt-5-4` | 272K | | | | | | $3 | $15 |
|
|
52
|
+
| `firmware/gpt-5-mini` | 400K | | | | | | $0.25 | $2 |
|
|
53
|
+
| `firmware/gpt-5-nano` | 400K | | | | | | $0.05 | $0.40 |
|
|
54
|
+
| `firmware/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
|
|
55
|
+
| `firmware/gpt-oss-20b` | 131K | | | | | | $0.07 | $0.20 |
|
|
56
|
+
| `firmware/grok-4-1-fast-non-reasoning` | 2.0M | | | | | | $0.20 | $0.50 |
|
|
57
|
+
| `firmware/grok-4-1-fast-reasoning` | 2.0M | | | | | | $0.20 | $0.50 |
|
|
58
|
+
| `firmware/grok-code-fast-1` | 256K | | | | | | $0.20 | $2 |
|
|
59
|
+
| `firmware/kimi-k2.5` | 256K | | | | | | $0.60 | $3 |
|
|
60
|
+
| `firmware/minimax-m2-5` | 192K | | | | | | $0.30 | $1 |
|
|
53
61
|
|
|
54
|
-
## Advanced
|
|
62
|
+
## Advanced configuration
|
|
55
63
|
|
|
56
|
-
### Custom
|
|
64
|
+
### Custom headers
|
|
57
65
|
|
|
58
66
|
```typescript
|
|
59
67
|
const agent = new Agent({
|
|
@@ -70,7 +78,7 @@ const agent = new Agent({
|
|
|
70
78
|
});
|
|
71
79
|
```
|
|
72
80
|
|
|
73
|
-
### Dynamic
|
|
81
|
+
### Dynamic model selection
|
|
74
82
|
|
|
75
83
|
```typescript
|
|
76
84
|
const agent = new Agent({
|
|
@@ -79,7 +87,7 @@ const agent = new Agent({
|
|
|
79
87
|
model: ({ requestContext }) => {
|
|
80
88
|
const useAdvanced = requestContext.task === "complex";
|
|
81
89
|
return useAdvanced
|
|
82
|
-
? "firmware/
|
|
90
|
+
? "firmware/minimax-m2-5"
|
|
83
91
|
: "firmware/claude-haiku-4-5";
|
|
84
92
|
}
|
|
85
93
|
});
|
|
@@ -42,9 +42,9 @@ for await (const chunk of stream) {
|
|
|
42
42
|
| `friendli/zai-org/GLM-4.7` | 203K | | | | | | — | — |
|
|
43
43
|
| `friendli/zai-org/GLM-5` | 203K | | | | | | $1 | $3 |
|
|
44
44
|
|
|
45
|
-
## Advanced
|
|
45
|
+
## Advanced configuration
|
|
46
46
|
|
|
47
|
-
### Custom
|
|
47
|
+
### Custom headers
|
|
48
48
|
|
|
49
49
|
```typescript
|
|
50
50
|
const agent = new Agent({
|
|
@@ -61,7 +61,7 @@ const agent = new Agent({
|
|
|
61
61
|
});
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
### Dynamic
|
|
64
|
+
### Dynamic model selection
|
|
65
65
|
|
|
66
66
|
```typescript
|
|
67
67
|
const agent = new Agent({
|
|
@@ -90,9 +90,9 @@ for await (const chunk of stream) {
|
|
|
90
90
|
| `github-models/xai/grok-3` | 128K | | | | | | — | — |
|
|
91
91
|
| `github-models/xai/grok-3-mini` | 128K | | | | | | — | — |
|
|
92
92
|
|
|
93
|
-
## Advanced
|
|
93
|
+
## Advanced configuration
|
|
94
94
|
|
|
95
|
-
### Custom
|
|
95
|
+
### Custom headers
|
|
96
96
|
|
|
97
97
|
```typescript
|
|
98
98
|
const agent = new Agent({
|
|
@@ -109,7 +109,7 @@ const agent = new Agent({
|
|
|
109
109
|
});
|
|
110
110
|
```
|
|
111
111
|
|
|
112
|
-
### Dynamic
|
|
112
|
+
### Dynamic model selection
|
|
113
113
|
|
|
114
114
|
```typescript
|
|
115
115
|
const agent = new Agent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Google
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 30 Google models through Mastra's model router. Authentication is handled automatically using the `GOOGLE_GENERATIVE_AI_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Google documentation](https://ai.google.dev/gemini-api/docs/pricing).
|
|
6
6
|
|
|
@@ -53,6 +53,8 @@ for await (const chunk of stream) {
|
|
|
53
53
|
| `google/gemini-2.5-pro-preview-tts` | 8K | | | | | | $1 | $20 |
|
|
54
54
|
| `google/gemini-3-flash-preview` | 1.0M | | | | | | $0.50 | $3 |
|
|
55
55
|
| `google/gemini-3-pro-preview` | 1.0M | | | | | | $2 | $12 |
|
|
56
|
+
| `google/gemini-3.1-flash-image-preview` | 131K | | | | | | $0.25 | $60 |
|
|
57
|
+
| `google/gemini-3.1-flash-lite-preview` | 1.0M | | | | | | $0.50 | $3 |
|
|
56
58
|
| `google/gemini-3.1-pro-preview` | 1.0M | | | | | | $2 | $12 |
|
|
57
59
|
| `google/gemini-3.1-pro-preview-customtools` | 1.0M | | | | | | $2 | $12 |
|
|
58
60
|
| `google/gemini-embedding-001` | 2K | | | | | | $0.15 | — |
|
|
@@ -61,9 +63,9 @@ for await (const chunk of stream) {
|
|
|
61
63
|
| `google/gemini-live-2.5-flash` | 128K | | | | | | $0.50 | $2 |
|
|
62
64
|
| `google/gemini-live-2.5-flash-preview-native-audio` | 131K | | | | | | $0.50 | $2 |
|
|
63
65
|
|
|
64
|
-
## Advanced
|
|
66
|
+
## Advanced configuration
|
|
65
67
|
|
|
66
|
-
### Custom
|
|
68
|
+
### Custom headers
|
|
67
69
|
|
|
68
70
|
```typescript
|
|
69
71
|
const agent = new Agent({
|
|
@@ -79,7 +81,7 @@ const agent = new Agent({
|
|
|
79
81
|
});
|
|
80
82
|
```
|
|
81
83
|
|
|
82
|
-
### Dynamic
|
|
84
|
+
### Dynamic model selection
|
|
83
85
|
|
|
84
86
|
```typescript
|
|
85
87
|
const agent = new Agent({
|
|
@@ -132,7 +134,7 @@ const response = await agent.generate("Hello!", {
|
|
|
132
134
|
|
|
133
135
|
**retrievalConfig** (`{ latLng?: { latitude: number; longitude: number; } | undefined; } | undefined`)
|
|
134
136
|
|
|
135
|
-
## Direct
|
|
137
|
+
## Direct provider installation
|
|
136
138
|
|
|
137
139
|
This provider can also be installed directly as a standalone package, which can be used instead of the Mastra model router string. View the [package documentation](https://www.npmjs.com/package/@ai-sdk/google) for more details.
|
|
138
140
|
|
|
@@ -42,9 +42,9 @@ for await (const chunk of stream) {
|
|
|
42
42
|
| `groq/openai/gpt-oss-20b` | 131K | | | | | | $0.07 | $0.30 |
|
|
43
43
|
| `groq/qwen/qwen3-32b` | 131K | | | | | | $0.29 | $0.59 |
|
|
44
44
|
|
|
45
|
-
## Advanced
|
|
45
|
+
## Advanced configuration
|
|
46
46
|
|
|
47
|
-
### Custom
|
|
47
|
+
### Custom headers
|
|
48
48
|
|
|
49
49
|
```typescript
|
|
50
50
|
const agent = new Agent({
|
|
@@ -61,7 +61,7 @@ const agent = new Agent({
|
|
|
61
61
|
});
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
### Dynamic
|
|
64
|
+
### Dynamic model selection
|
|
65
65
|
|
|
66
66
|
```typescript
|
|
67
67
|
const agent = new Agent({
|
|
@@ -76,7 +76,7 @@ const agent = new Agent({
|
|
|
76
76
|
});
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
## Direct
|
|
79
|
+
## Direct provider installation
|
|
80
80
|
|
|
81
81
|
This provider can also be installed directly as a standalone package, which can be used instead of the Mastra model router string. View the [package documentation](https://www.npmjs.com/package/@ai-sdk/groq) for more details.
|
|
82
82
|
|
|
@@ -126,9 +126,9 @@ for await (const chunk of stream) {
|
|
|
126
126
|
| `helicone/sonar-reasoning` | 127K | | | | | | $1 | $5 |
|
|
127
127
|
| `helicone/sonar-reasoning-pro` | 127K | | | | | | $2 | $8 |
|
|
128
128
|
|
|
129
|
-
## Advanced
|
|
129
|
+
## Advanced configuration
|
|
130
130
|
|
|
131
|
-
### Custom
|
|
131
|
+
### Custom headers
|
|
132
132
|
|
|
133
133
|
```typescript
|
|
134
134
|
const agent = new Agent({
|
|
@@ -145,7 +145,7 @@ const agent = new Agent({
|
|
|
145
145
|
});
|
|
146
146
|
```
|
|
147
147
|
|
|
148
|
-
### Dynamic
|
|
148
|
+
### Dynamic model selection
|
|
149
149
|
|
|
150
150
|
```typescript
|
|
151
151
|
const agent = new Agent({
|
|
@@ -55,9 +55,9 @@ for await (const chunk of stream) {
|
|
|
55
55
|
| `huggingface/zai-org/GLM-4.7-Flash` | 200K | | | | | | — | — |
|
|
56
56
|
| `huggingface/zai-org/GLM-5` | 203K | | | | | | $1 | $3 |
|
|
57
57
|
|
|
58
|
-
## Advanced
|
|
58
|
+
## Advanced configuration
|
|
59
59
|
|
|
60
|
-
### Custom
|
|
60
|
+
### Custom headers
|
|
61
61
|
|
|
62
62
|
```typescript
|
|
63
63
|
const agent = new Agent({
|
|
@@ -74,7 +74,7 @@ const agent = new Agent({
|
|
|
74
74
|
});
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
-
### Dynamic
|
|
77
|
+
### Dynamic model selection
|
|
78
78
|
|
|
79
79
|
```typescript
|
|
80
80
|
const agent = new Agent({
|
|
@@ -49,9 +49,9 @@ for await (const chunk of stream) {
|
|
|
49
49
|
| `iflowcn/qwen3-max-preview` | 256K | | | | | | — | — |
|
|
50
50
|
| `iflowcn/qwen3-vl-plus` | 256K | | | | | | — | — |
|
|
51
51
|
|
|
52
|
-
## Advanced
|
|
52
|
+
## Advanced configuration
|
|
53
53
|
|
|
54
|
-
### Custom
|
|
54
|
+
### Custom headers
|
|
55
55
|
|
|
56
56
|
```typescript
|
|
57
57
|
const agent = new Agent({
|
|
@@ -68,7 +68,7 @@ const agent = new Agent({
|
|
|
68
68
|
});
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
### Dynamic
|
|
71
|
+
### Dynamic model selection
|
|
72
72
|
|
|
73
73
|
```typescript
|
|
74
74
|
const agent = new Agent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Inception
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 4 Inception models through Mastra's model router. Authentication is handled automatically using the `INCEPTION_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Inception documentation](https://platform.inceptionlabs.ai/docs).
|
|
6
6
|
|
|
@@ -35,11 +35,13 @@ for await (const chunk of stream) {
|
|
|
35
35
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
36
36
|
| ------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
37
|
| `inception/mercury` | 128K | | | | | | $0.25 | $1 |
|
|
38
|
+
| `inception/mercury-2` | 128K | | | | | | $0.25 | $0.75 |
|
|
38
39
|
| `inception/mercury-coder` | 128K | | | | | | $0.25 | $1 |
|
|
40
|
+
| `inception/mercury-edit` | 128K | | | | | | $0.25 | $0.75 |
|
|
39
41
|
|
|
40
|
-
## Advanced
|
|
42
|
+
## Advanced configuration
|
|
41
43
|
|
|
42
|
-
### Custom
|
|
44
|
+
### Custom headers
|
|
43
45
|
|
|
44
46
|
```typescript
|
|
45
47
|
const agent = new Agent({
|
|
@@ -56,7 +58,7 @@ const agent = new Agent({
|
|
|
56
58
|
});
|
|
57
59
|
```
|
|
58
60
|
|
|
59
|
-
### Dynamic
|
|
61
|
+
### Dynamic model selection
|
|
60
62
|
|
|
61
63
|
```typescript
|
|
62
64
|
const agent = new Agent({
|
|
@@ -65,7 +67,7 @@ const agent = new Agent({
|
|
|
65
67
|
model: ({ requestContext }) => {
|
|
66
68
|
const useAdvanced = requestContext.task === "complex";
|
|
67
69
|
return useAdvanced
|
|
68
|
-
? "inception/mercury-
|
|
70
|
+
? "inception/mercury-edit"
|
|
69
71
|
: "inception/mercury";
|
|
70
72
|
}
|
|
71
73
|
});
|
|
@@ -44,9 +44,9 @@ for await (const chunk of stream) {
|
|
|
44
44
|
| `inference/qwen/qwen-2.5-7b-vision-instruct` | 125K | | | | | | $0.20 | $0.20 |
|
|
45
45
|
| `inference/qwen/qwen3-embedding-4b` | 32K | | | | | | $0.01 | — |
|
|
46
46
|
|
|
47
|
-
## Advanced
|
|
47
|
+
## Advanced configuration
|
|
48
48
|
|
|
49
|
-
### Custom
|
|
49
|
+
### Custom headers
|
|
50
50
|
|
|
51
51
|
```typescript
|
|
52
52
|
const agent = new Agent({
|
|
@@ -63,7 +63,7 @@ const agent = new Agent({
|
|
|
63
63
|
});
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
-
### Dynamic
|
|
66
|
+
### Dynamic model selection
|
|
67
67
|
|
|
68
68
|
```typescript
|
|
69
69
|
const agent = new Agent({
|
|
@@ -52,9 +52,9 @@ for await (const chunk of stream) {
|
|
|
52
52
|
| `io-net/Qwen/Qwen3-Next-80B-A3B-Instruct` | 262K | | | | | | $0.10 | $0.80 |
|
|
53
53
|
| `io-net/zai-org/GLM-4.6` | 200K | | | | | | $0.40 | $2 |
|
|
54
54
|
|
|
55
|
-
## Advanced
|
|
55
|
+
## Advanced configuration
|
|
56
56
|
|
|
57
|
-
### Custom
|
|
57
|
+
### Custom headers
|
|
58
58
|
|
|
59
59
|
```typescript
|
|
60
60
|
const agent = new Agent({
|
|
@@ -71,7 +71,7 @@ const agent = new Agent({
|
|
|
71
71
|
});
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
### Dynamic
|
|
74
|
+
### Dynamic model selection
|
|
75
75
|
|
|
76
76
|
```typescript
|
|
77
77
|
const agent = new Agent({
|
|
@@ -96,9 +96,9 @@ for await (const chunk of stream) {
|
|
|
96
96
|
| `jiekou/zai-org/glm-4.7` | 205K | | | | | | $0.60 | $2 |
|
|
97
97
|
| `jiekou/zai-org/glm-4.7-flash` | 200K | | | | | | $0.07 | $0.40 |
|
|
98
98
|
|
|
99
|
-
## Advanced
|
|
99
|
+
## Advanced configuration
|
|
100
100
|
|
|
101
|
-
### Custom
|
|
101
|
+
### Custom headers
|
|
102
102
|
|
|
103
103
|
```typescript
|
|
104
104
|
const agent = new Agent({
|
|
@@ -115,7 +115,7 @@ const agent = new Agent({
|
|
|
115
115
|
});
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
### Dynamic
|
|
118
|
+
### Dynamic model selection
|
|
119
119
|
|
|
120
120
|
```typescript
|
|
121
121
|
const agent = new Agent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Kilo Gateway
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 265 Kilo Gateway models through Mastra's model router. Authentication is handled automatically using the `KILO_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Kilo Gateway documentation](https://kilo.ai).
|
|
6
6
|
|
|
@@ -101,7 +101,9 @@ for await (const chunk of stream) {
|
|
|
101
101
|
| `kilo/google/gemma-3n-e4b-it:free` | 8K | | | | | | — | — |
|
|
102
102
|
| `kilo/gryphe/mythomax-l2-13b` | 4K | | | | | | $0.06 | $0.06 |
|
|
103
103
|
| `kilo/inception/mercury` | 128K | | | | | | $0.25 | $1 |
|
|
104
|
+
| `kilo/inception/mercury-2` | 128K | | | | | | $0.25 | $0.75 |
|
|
104
105
|
| `kilo/inception/mercury-coder` | 128K | | | | | | $0.25 | $1 |
|
|
106
|
+
| `kilo/inception/mercury-edit` | 128K | | | | | | $0.25 | $0.75 |
|
|
105
107
|
| `kilo/kilo/auto` | 200K | | | | | | $1 | $1 |
|
|
106
108
|
| `kilo/kwaipilot/kat-coder-pro` | 256K | | | | | | $0.21 | $0.83 |
|
|
107
109
|
| `kilo/liquid/lfm-2.5-1.2b-instruct:free` | 33K | | | | | | — | — |
|
|
@@ -298,9 +300,9 @@ for await (const chunk of stream) {
|
|
|
298
300
|
| `kilo/z-ai/glm-5` | 205K | | | | | | $0.30 | $3 |
|
|
299
301
|
| `kilo/z-ai/glm-5:free` | 203K | | | | | | — | — |
|
|
300
302
|
|
|
301
|
-
## Advanced
|
|
303
|
+
## Advanced configuration
|
|
302
304
|
|
|
303
|
-
### Custom
|
|
305
|
+
### Custom headers
|
|
304
306
|
|
|
305
307
|
```typescript
|
|
306
308
|
const agent = new Agent({
|
|
@@ -317,7 +319,7 @@ const agent = new Agent({
|
|
|
317
319
|
});
|
|
318
320
|
```
|
|
319
321
|
|
|
320
|
-
### Dynamic
|
|
322
|
+
### Dynamic model selection
|
|
321
323
|
|
|
322
324
|
```typescript
|
|
323
325
|
const agent = new Agent({
|
|
@@ -37,9 +37,9 @@ for await (const chunk of stream) {
|
|
|
37
37
|
| `kimi-for-coding/k2p5` | 262K | | | | | | — | — |
|
|
38
38
|
| `kimi-for-coding/kimi-k2-thinking` | 262K | | | | | | — | — |
|
|
39
39
|
|
|
40
|
-
## Advanced
|
|
40
|
+
## Advanced configuration
|
|
41
41
|
|
|
42
|
-
### Custom
|
|
42
|
+
### Custom headers
|
|
43
43
|
|
|
44
44
|
```typescript
|
|
45
45
|
const agent = new Agent({
|
|
@@ -56,7 +56,7 @@ const agent = new Agent({
|
|
|
56
56
|
});
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
### Dynamic
|
|
59
|
+
### Dynamic model selection
|
|
60
60
|
|
|
61
61
|
```typescript
|
|
62
62
|
const agent = new Agent({
|
|
@@ -71,7 +71,7 @@ const agent = new Agent({
|
|
|
71
71
|
});
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
## Direct
|
|
74
|
+
## Direct provider installation
|
|
75
75
|
|
|
76
76
|
This provider can also be installed directly as a standalone package, which can be used instead of the Mastra model router string. View the [package documentation](https://www.npmjs.com/package/@ai-sdk/anthropic) for more details.
|
|
77
77
|
|
|
@@ -36,9 +36,9 @@ for await (const chunk of stream) {
|
|
|
36
36
|
| -------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
37
|
| `kuae-cloud-coding-plan/GLM-4.7` | 205K | | | | | | — | — |
|
|
38
38
|
|
|
39
|
-
## Advanced
|
|
39
|
+
## Advanced configuration
|
|
40
40
|
|
|
41
|
-
### Custom
|
|
41
|
+
### Custom headers
|
|
42
42
|
|
|
43
43
|
```typescript
|
|
44
44
|
const agent = new Agent({
|
|
@@ -55,7 +55,7 @@ const agent = new Agent({
|
|
|
55
55
|
});
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
### Dynamic
|
|
58
|
+
### Dynamic model selection
|
|
59
59
|
|
|
60
60
|
```typescript
|
|
61
61
|
const agent = new Agent({
|
|
@@ -42,9 +42,9 @@ for await (const chunk of stream) {
|
|
|
42
42
|
| `llama/llama-4-maverick-17b-128e-instruct-fp8` | 128K | | | | | | — | — |
|
|
43
43
|
| `llama/llama-4-scout-17b-16e-instruct-fp8` | 128K | | | | | | — | — |
|
|
44
44
|
|
|
45
|
-
## Advanced
|
|
45
|
+
## Advanced configuration
|
|
46
46
|
|
|
47
|
-
### Custom
|
|
47
|
+
### Custom headers
|
|
48
48
|
|
|
49
49
|
```typescript
|
|
50
50
|
const agent = new Agent({
|
|
@@ -61,7 +61,7 @@ const agent = new Agent({
|
|
|
61
61
|
});
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
### Dynamic
|
|
64
|
+
### Dynamic model selection
|
|
65
65
|
|
|
66
66
|
```typescript
|
|
67
67
|
const agent = new Agent({
|
|
@@ -38,9 +38,9 @@ for await (const chunk of stream) {
|
|
|
38
38
|
| `lmstudio/qwen/qwen3-30b-a3b-2507` | 262K | | | | | | — | — |
|
|
39
39
|
| `lmstudio/qwen/qwen3-coder-30b` | 262K | | | | | | — | — |
|
|
40
40
|
|
|
41
|
-
## Advanced
|
|
41
|
+
## Advanced configuration
|
|
42
42
|
|
|
43
|
-
### Custom
|
|
43
|
+
### Custom headers
|
|
44
44
|
|
|
45
45
|
```typescript
|
|
46
46
|
const agent = new Agent({
|
|
@@ -57,7 +57,7 @@ const agent = new Agent({
|
|
|
57
57
|
});
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
### Dynamic
|
|
60
|
+
### Dynamic model selection
|
|
61
61
|
|
|
62
62
|
```typescript
|
|
63
63
|
const agent = new Agent({
|
|
@@ -37,9 +37,9 @@ for await (const chunk of stream) {
|
|
|
37
37
|
| `lucidquery/lucidnova-rf1-100b` | 120K | | | | | | $2 | $5 |
|
|
38
38
|
| `lucidquery/lucidquery-nexus-coder` | 250K | | | | | | $2 | $5 |
|
|
39
39
|
|
|
40
|
-
## Advanced
|
|
40
|
+
## Advanced configuration
|
|
41
41
|
|
|
42
|
-
### Custom
|
|
42
|
+
### Custom headers
|
|
43
43
|
|
|
44
44
|
```typescript
|
|
45
45
|
const agent = new Agent({
|
|
@@ -56,7 +56,7 @@ const agent = new Agent({
|
|
|
56
56
|
});
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
### Dynamic
|
|
59
|
+
### Dynamic model selection
|
|
60
60
|
|
|
61
61
|
```typescript
|
|
62
62
|
const agent = new Agent({
|
|
@@ -54,9 +54,9 @@ for await (const chunk of stream) {
|
|
|
54
54
|
| `meganova/zai-org/GLM-4.7` | 203K | | | | | | $0.20 | $0.80 |
|
|
55
55
|
| `meganova/zai-org/GLM-5` | 203K | | | | | | $0.80 | $3 |
|
|
56
56
|
|
|
57
|
-
## Advanced
|
|
57
|
+
## Advanced configuration
|
|
58
58
|
|
|
59
|
-
### Custom
|
|
59
|
+
### Custom headers
|
|
60
60
|
|
|
61
61
|
```typescript
|
|
62
62
|
const agent = new Agent({
|
|
@@ -73,7 +73,7 @@ const agent = new Agent({
|
|
|
73
73
|
});
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
### Dynamic
|
|
76
|
+
### Dynamic model selection
|
|
77
77
|
|
|
78
78
|
```typescript
|
|
79
79
|
const agent = new Agent({
|
|
@@ -39,9 +39,9 @@ for await (const chunk of stream) {
|
|
|
39
39
|
| `minimax-cn-coding-plan/MiniMax-M2.5` | 205K | | | | | | — | — |
|
|
40
40
|
| `minimax-cn-coding-plan/MiniMax-M2.5-highspeed` | 205K | | | | | | — | — |
|
|
41
41
|
|
|
42
|
-
## Advanced
|
|
42
|
+
## Advanced configuration
|
|
43
43
|
|
|
44
|
-
### Custom
|
|
44
|
+
### Custom headers
|
|
45
45
|
|
|
46
46
|
```typescript
|
|
47
47
|
const agent = new Agent({
|
|
@@ -58,7 +58,7 @@ const agent = new Agent({
|
|
|
58
58
|
});
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
### Dynamic
|
|
61
|
+
### Dynamic model selection
|
|
62
62
|
|
|
63
63
|
```typescript
|
|
64
64
|
const agent = new Agent({
|
|
@@ -73,7 +73,7 @@ const agent = new Agent({
|
|
|
73
73
|
});
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
## Direct
|
|
76
|
+
## Direct provider installation
|
|
77
77
|
|
|
78
78
|
This provider can also be installed directly as a standalone package, which can be used instead of the Mastra model router string. View the [package documentation](https://www.npmjs.com/package/@ai-sdk/anthropic) for more details.
|
|
79
79
|
|
|
@@ -39,9 +39,9 @@ for await (const chunk of stream) {
|
|
|
39
39
|
| `minimax-cn/MiniMax-M2.5` | 205K | | | | | | $0.30 | $1 |
|
|
40
40
|
| `minimax-cn/MiniMax-M2.5-highspeed` | 205K | | | | | | $0.60 | $2 |
|
|
41
41
|
|
|
42
|
-
## Advanced
|
|
42
|
+
## Advanced configuration
|
|
43
43
|
|
|
44
|
-
### Custom
|
|
44
|
+
### Custom headers
|
|
45
45
|
|
|
46
46
|
```typescript
|
|
47
47
|
const agent = new Agent({
|
|
@@ -58,7 +58,7 @@ const agent = new Agent({
|
|
|
58
58
|
});
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
### Dynamic
|
|
61
|
+
### Dynamic model selection
|
|
62
62
|
|
|
63
63
|
```typescript
|
|
64
64
|
const agent = new Agent({
|
|
@@ -73,7 +73,7 @@ const agent = new Agent({
|
|
|
73
73
|
});
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
## Direct
|
|
76
|
+
## Direct provider installation
|
|
77
77
|
|
|
78
78
|
This provider can also be installed directly as a standalone package, which can be used instead of the Mastra model router string. View the [package documentation](https://www.npmjs.com/package/@ai-sdk/anthropic) for more details.
|
|
79
79
|
|
|
@@ -39,9 +39,9 @@ for await (const chunk of stream) {
|
|
|
39
39
|
| `minimax-coding-plan/MiniMax-M2.5` | 205K | | | | | | — | — |
|
|
40
40
|
| `minimax-coding-plan/MiniMax-M2.5-highspeed` | 205K | | | | | | — | — |
|
|
41
41
|
|
|
42
|
-
## Advanced
|
|
42
|
+
## Advanced configuration
|
|
43
43
|
|
|
44
|
-
### Custom
|
|
44
|
+
### Custom headers
|
|
45
45
|
|
|
46
46
|
```typescript
|
|
47
47
|
const agent = new Agent({
|
|
@@ -58,7 +58,7 @@ const agent = new Agent({
|
|
|
58
58
|
});
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
### Dynamic
|
|
61
|
+
### Dynamic model selection
|
|
62
62
|
|
|
63
63
|
```typescript
|
|
64
64
|
const agent = new Agent({
|
|
@@ -73,7 +73,7 @@ const agent = new Agent({
|
|
|
73
73
|
});
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
## Direct
|
|
76
|
+
## Direct provider installation
|
|
77
77
|
|
|
78
78
|
This provider can also be installed directly as a standalone package, which can be used instead of the Mastra model router string. View the [package documentation](https://www.npmjs.com/package/@ai-sdk/anthropic) for more details.
|
|
79
79
|
|