@mastra/mcp-docs-server 1.2.15-alpha.19 → 1.2.15-alpha.21

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.
Files changed (279) hide show
  1. package/.docs/docs/agents/code-mode.md +1 -1
  2. package/.docs/docs/agents/networks.md +2 -2
  3. package/.docs/docs/agents/overview.md +2 -2
  4. package/.docs/docs/agents/using-tools.md +1 -1
  5. package/.docs/docs/browser/overview.md +8 -8
  6. package/.docs/docs/browser/recording.md +2 -2
  7. package/.docs/docs/capabilities/{channels/overview.md → channels.md} +70 -7
  8. package/.docs/docs/capabilities/subagents.md +2 -2
  9. package/.docs/docs/deployment/cloud-providers.md +9 -9
  10. package/.docs/docs/deployment/overview.md +9 -9
  11. package/.docs/docs/deployment/sandbox.md +3 -3
  12. package/.docs/docs/deployment/web-framework.md +6 -6
  13. package/.docs/docs/deployment/workflow-runners.md +2 -2
  14. package/.docs/docs/harness/agent-controller.md +2 -2
  15. package/.docs/docs/index.md +8 -8
  16. package/.docs/docs/long-running-agents/durable-agents.md +2 -2
  17. package/.docs/docs/long-running-agents/signal-providers.md +2 -15
  18. package/.docs/docs/long-running-agents/signals.md +1 -1
  19. package/.docs/docs/mastra-platform/database.md +2 -2
  20. package/.docs/docs/mastra-platform/deploy.md +27 -0
  21. package/.docs/docs/mastra-platform/server.md +1 -1
  22. package/.docs/docs/mastra-platform/trace-intelligence.md +9 -13
  23. package/.docs/docs/mcp/overview.md +42 -0
  24. package/.docs/docs/memory/memory-processors.md +5 -5
  25. package/.docs/docs/memory/message-history.md +1 -1
  26. package/.docs/docs/memory/observational-memory.md +1 -1
  27. package/.docs/docs/observability/integrations/exporters/mastra-storage.md +16 -16
  28. package/.docs/docs/observability/integrations/overview.md +3 -3
  29. package/.docs/docs/server/auth/fga.md +1 -1
  30. package/.docs/docs/server/auth/simple-auth.md +1 -1
  31. package/.docs/docs/server/auth.md +8 -8
  32. package/.docs/docs/server/custom-api-routes.md +35 -0
  33. package/.docs/docs/storage/overview.md +14 -13
  34. package/.docs/docs/studio/observability.md +1 -1
  35. package/.docs/docs/workflows/overview.md +1 -1
  36. package/.docs/docs/workflows/snapshots.md +11 -11
  37. package/.docs/docs/workflows/time-travel.md +2 -0
  38. package/.docs/docs/workspace/filesystem.md +15 -15
  39. package/.docs/docs/workspace/sandbox.md +17 -17
  40. package/.docs/docs/workspace/search.md +1 -1
  41. package/.docs/guides/agent-frameworks/ai-sdk.md +2 -2
  42. package/.docs/guides/deployment/mastra-workers.md +1 -1
  43. package/.docs/guides/getting-started/quickstart.md +3 -3
  44. package/.docs/guides/index.md +8 -8
  45. package/.docs/guides/voice/overview.md +55 -106
  46. package/.docs/guides/voice/speech-to-text.md +7 -7
  47. package/.docs/guides/voice/text-to-speech.md +9 -10
  48. package/.docs/{guides/build-your-ui → integrations/agentic-ui}/ai-sdk-ui.md +2 -2
  49. package/.docs/{guides/build-your-ui/copilotkit/overview.md → integrations/agentic-ui/copilotkit.md} +256 -3
  50. package/.docs/{docs/browser → integrations/browsers}/agent-browser.md +2 -2
  51. package/.docs/{docs/browser → integrations/browsers}/browser-viewer.md +3 -3
  52. package/.docs/{docs/browser → integrations/browsers}/firecrawl.md +2 -2
  53. package/.docs/{docs/browser → integrations/browsers}/stagehand.md +1 -1
  54. package/.docs/{docs/capabilities → integrations}/channels/discord.md +2 -2
  55. package/.docs/integrations/channels/github.md +103 -0
  56. package/.docs/{docs/capabilities → integrations}/channels/imessage.md +7 -5
  57. package/.docs/{docs/capabilities → integrations}/channels/slack.md +4 -4
  58. package/.docs/{docs/capabilities → integrations}/channels/teams.md +2 -2
  59. package/.docs/{docs/capabilities → integrations}/channels/telegram.md +2 -2
  60. package/.docs/{docs/capabilities → integrations}/channels/whatsapp.md +2 -2
  61. package/.docs/{reference/storage/dsql.md → integrations/databases/aurora-dsql.md} +1 -1
  62. package/.docs/{reference/storage → integrations/databases}/clickhouse.md +2 -2
  63. package/.docs/{reference/storage → integrations/databases}/cloudflare-d1.md +1 -1
  64. package/.docs/{reference/storage/cloudflare.md → integrations/databases/cloudflare-kv.md} +1 -1
  65. package/.docs/{reference/storage → integrations/databases}/convex.md +1 -1
  66. package/.docs/{reference/storage → integrations/databases}/duckdb.md +5 -5
  67. package/.docs/{reference/storage → integrations/databases}/dynamodb.md +1 -1
  68. package/.docs/{reference/storage/lance.md → integrations/databases/lancedb.md} +1 -1
  69. package/.docs/{reference/storage → integrations/databases}/libsql.md +2 -2
  70. package/.docs/{reference/storage → integrations/databases}/mongodb.md +1 -1
  71. package/.docs/{reference/storage → integrations/databases}/mssql.md +1 -1
  72. package/.docs/integrations/databases/neon.md +220 -0
  73. package/.docs/{reference/storage → integrations/databases}/oracledb.md +1 -1
  74. package/.docs/{reference/storage → integrations/databases}/postgresql.md +1 -1
  75. package/.docs/{reference/storage → integrations/databases}/redis.md +1 -1
  76. package/.docs/{reference/storage → integrations/databases}/spanner.md +1 -1
  77. package/.docs/{reference/storage → integrations/databases}/upstash.md +1 -1
  78. package/.docs/{guides/deployment → integrations/deploy}/aws-bedrock-agentcore.md +1 -1
  79. package/.docs/{guides/deployment → integrations/deploy}/aws-lambda.md +1 -1
  80. package/.docs/{guides/deployment → integrations/deploy}/azure-app-services.md +1 -1
  81. package/.docs/{guides/deployment → integrations/deploy}/cloudflare.md +1 -1
  82. package/.docs/{guides/deployment → integrations/deploy}/digital-ocean.md +1 -1
  83. package/.docs/{guides/deployment → integrations/deploy}/netlify.md +1 -1
  84. package/.docs/{guides/deployment → integrations/deploy}/vercel.md +2 -2
  85. package/.docs/{reference/workspace/s3-filesystem.md → integrations/file-storage/amazon-s3.md} +5 -5
  86. package/.docs/{reference/workspace/archil-filesystem.md → integrations/file-storage/archil.md} +3 -3
  87. package/.docs/{reference/workspace/azure-blob-filesystem.md → integrations/file-storage/azure-blob.md} +2 -2
  88. package/.docs/{reference/workspace/gcs-filesystem.md → integrations/file-storage/google-cloud-storage.md} +5 -5
  89. package/.docs/{reference/workspace/mesa-filesystem.md → integrations/file-storage/mesa.md} +1 -1
  90. package/.docs/{reference/workspace/files-sdk-filesystem.md → integrations/file-storage/vercel-files.md} +5 -5
  91. package/.docs/{guides/getting-started → integrations/frameworks}/astro.md +1 -1
  92. package/.docs/{guides/getting-started → integrations/frameworks}/electron.md +1 -1
  93. package/.docs/{guides/getting-started → integrations/frameworks}/next-js.md +2 -2
  94. package/.docs/{guides/getting-started → integrations/frameworks}/nuxt.md +1 -1
  95. package/.docs/{guides/getting-started → integrations/frameworks}/sveltekit.md +1 -1
  96. package/.docs/{guides/getting-started → integrations/frameworks}/vite-react.md +1 -1
  97. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/arize.md +1 -1
  98. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/arthur.md +1 -1
  99. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/braintrust.md +1 -1
  100. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/confident-ai.md +1 -1
  101. package/.docs/integrations/observability/datadog.md +538 -0
  102. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/laminar.md +1 -1
  103. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/langfuse.md +1 -1
  104. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/langsmith.md +1 -1
  105. package/.docs/{docs/observability/integrations/exporters/otel.md → integrations/observability/opentelemetry.md} +276 -44
  106. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/posthog.md +1 -1
  107. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/sentry.md +1 -1
  108. package/.docs/{reference/workspace/apple-container-sandbox.md → integrations/sandboxes/apple-container.md} +1 -1
  109. package/.docs/{reference/workspace/daytona-sandbox.md → integrations/sandboxes/daytona.md} +2 -2
  110. package/.docs/{reference/workspace/docker-sandbox.md → integrations/sandboxes/docker.md} +1 -1
  111. package/.docs/{reference/workspace/e2b-sandbox.md → integrations/sandboxes/e2b.md} +3 -3
  112. package/.docs/{reference/workspace/modal-sandbox.md → integrations/sandboxes/modal.md} +2 -2
  113. package/.docs/{reference/workspace/railway-sandbox.md → integrations/sandboxes/railway.md} +8 -0
  114. package/.docs/{reference/workspace/vercel-sandbox.md → integrations/sandboxes/vercel.md} +141 -12
  115. package/.docs/{reference → integrations}/tools/brightdata.md +1 -1
  116. package/.docs/{reference → integrations}/tools/perplexity.md +1 -1
  117. package/.docs/{reference → integrations}/tools/tavily.md +1 -1
  118. package/.docs/{reference → integrations}/voice/aws-nova-sonic.md +1 -1
  119. package/.docs/{reference → integrations}/voice/cloudflare.md +3 -3
  120. package/.docs/{reference/voice/google-gemini-live.md → integrations/voice/google.md} +305 -30
  121. package/.docs/{reference/voice/inworld-realtime.md → integrations/voice/inworld.md} +163 -25
  122. package/.docs/{reference → integrations}/voice/livekit.md +437 -34
  123. package/.docs/{reference/voice/openai-realtime.md → integrations/voice/openai.md} +117 -20
  124. package/.docs/integrations.md +147 -0
  125. package/.docs/models/embeddings.md +2 -2
  126. package/.docs/models/environment-variables.md +1 -0
  127. package/.docs/models/gateways/openrouter.md +4 -2
  128. package/.docs/models/gateways/vercel.md +2 -1
  129. package/.docs/models/index.md +1 -1
  130. package/.docs/models/providers/coralbricks.md +75 -0
  131. package/.docs/models/providers/evroc.md +2 -3
  132. package/.docs/models/providers/hyper.md +6 -6
  133. package/.docs/models/providers/kilo.md +7 -5
  134. package/.docs/models/providers/llmgateway.md +1 -2
  135. package/.docs/models/providers/nano-gpt.md +1 -3
  136. package/.docs/models/providers/opencode.md +0 -1
  137. package/.docs/models/providers/privatemode-ai.md +5 -4
  138. package/.docs/models/providers/snowflake-cortex.md +5 -1
  139. package/.docs/models/providers/wandb.md +2 -1
  140. package/.docs/models/providers/zenmux.md +0 -15
  141. package/.docs/models/providers.md +1 -0
  142. package/.docs/reference/agent-controller/agent-controller-class.md +32 -1
  143. package/.docs/reference/agents/channels.md +2 -2
  144. package/.docs/reference/agents/generateLegacy.md +2 -2
  145. package/.docs/reference/agents/getDefaultOptions.md +1 -1
  146. package/.docs/reference/agents/getDefaultStreamOptions.md +1 -1
  147. package/.docs/reference/agents/inngest-agent.md +1 -1
  148. package/.docs/reference/agents/network.md +1 -1
  149. package/.docs/reference/ai-sdk/handle-network-stream.md +1 -1
  150. package/.docs/reference/ai-sdk/network-route.md +1 -1
  151. package/.docs/reference/auth/auth0.md +1 -1
  152. package/.docs/reference/auth/better-auth.md +1 -1
  153. package/.docs/reference/auth/clerk.md +1 -1
  154. package/.docs/reference/auth/firebase.md +1 -1
  155. package/.docs/reference/auth/google.md +1 -1
  156. package/.docs/reference/auth/supabase.md +1 -1
  157. package/.docs/reference/auth/workos.md +1 -1
  158. package/.docs/reference/browser/agent-browser.md +1 -1
  159. package/.docs/reference/browser/browser-viewer.md +1 -1
  160. package/.docs/reference/browser/firecrawl-browser.md +1 -1
  161. package/.docs/reference/browser/stagehand-browser.md +1 -1
  162. package/.docs/reference/channels/channel-provider.md +1 -1
  163. package/.docs/reference/channels/slack-provider.md +2 -2
  164. package/.docs/reference/cli/mastra.md +2 -2
  165. package/.docs/reference/configuration.md +1 -26
  166. package/.docs/reference/core/getStorage.md +1 -1
  167. package/.docs/reference/core/getVector.md +2 -2
  168. package/.docs/reference/core/listVectors.md +2 -2
  169. package/.docs/reference/core/setStorage.md +1 -1
  170. package/.docs/reference/file-based-agents/storage.md +1 -1
  171. package/.docs/reference/file-based-agents/studio.md +1 -1
  172. package/.docs/reference/index.md +27 -55
  173. package/.docs/{guides → reference}/migrations/ai-sdk-v4-to-v5.md +1 -1
  174. package/.docs/{guides → reference}/migrations/mastra-cloud.md +1 -1
  175. package/.docs/{guides → reference}/migrations/upgrade-to-v1/cli.md +1 -1
  176. package/.docs/{guides → reference}/migrations/upgrade-to-v1/memory.md +1 -1
  177. package/.docs/{guides → reference}/migrations/upgrade-to-v1/overview.md +41 -41
  178. package/.docs/{guides → reference}/migrations/upgrade-to-v1/tools.md +1 -1
  179. package/.docs/{guides → reference}/migrations/upgrade-to-v1/tracing.md +10 -10
  180. package/.docs/reference/observability/tracing/bridges/datadog.md +2 -2
  181. package/.docs/reference/observability/tracing/bridges/otel.md +2 -2
  182. package/.docs/reference/observability/tracing/exporters/arize.md +1 -1
  183. package/.docs/reference/observability/tracing/exporters/arthur.md +1 -1
  184. package/.docs/reference/observability/tracing/exporters/confident-ai.md +1 -1
  185. package/.docs/reference/observability/tracing/exporters/mastra-platform-exporter.md +12 -0
  186. package/.docs/reference/observability/tracing/exporters/otel.md +2 -2
  187. package/.docs/reference/pubsub/lease-provider.md +1 -1
  188. package/.docs/{guides → reference}/rag/chunking-and-embedding.md +16 -19
  189. package/.docs/reference/rag/database-config.md +1 -1
  190. package/.docs/{guides/rag/graph-rag.md → reference/rag/graph-rag-guide.md} +1 -1
  191. package/.docs/{guides → reference}/rag/overview.md +2 -2
  192. package/.docs/{guides → reference}/rag/retrieval.md +1 -1
  193. package/.docs/{guides → reference}/rag/vector-databases.md +1 -1
  194. package/.docs/reference/server/create-route.md +27 -1
  195. package/.docs/reference/storage/composite.md +3 -3
  196. package/.docs/reference/storage/retention.md +4 -4
  197. package/.docs/reference/streaming/ChunkType.md +3 -3
  198. package/.docs/reference/streaming/agents/streamLegacy.md +3 -3
  199. package/.docs/reference/tools/mcp-server.md +1 -1
  200. package/.docs/reference/vectors/convex.md +2 -2
  201. package/.docs/reference/vectors/oracledb.md +2 -2
  202. package/.docs/reference/workers/overview.md +8 -8
  203. package/.docs/reference/workflows/run-methods/timeTravel.md +1 -0
  204. package/.docs/reference/workspace/platform-filesystem.md +2 -2
  205. package/.docs/reference/workspace/platform-sandbox.md +10 -2
  206. package/.docs/reference/workspace/process-manager.md +3 -3
  207. package/.docs/reference/workspace/sandbox.md +10 -0
  208. package/CHANGELOG.md +16 -0
  209. package/dist/index.js +1 -1
  210. package/dist/{src-BZcgzbk9.js → src-D-W-bx5t.js} +2 -2
  211. package/dist/{src-BZcgzbk9.js.map → src-D-W-bx5t.js.map} +1 -1
  212. package/dist/stdio.js +1 -1
  213. package/package.json +5 -5
  214. package/.docs/docs/capabilities/channels/other-adapters.md +0 -68
  215. package/.docs/docs/observability/integrations/bridges/datadog.md +0 -219
  216. package/.docs/docs/observability/integrations/bridges/otel.md +0 -234
  217. package/.docs/docs/observability/integrations/exporters/datadog.md +0 -321
  218. package/.docs/guides/build-your-ui/copilotkit/channels.md +0 -86
  219. package/.docs/guides/build-your-ui/copilotkit/generative-ui.md +0 -174
  220. package/.docs/guides/guide/chef-michel.md +0 -211
  221. package/.docs/guides/guide/publishing-mcp-server.md +0 -137
  222. package/.docs/guides/guide/slack-assistant.md +0 -193
  223. package/.docs/guides/guide/stock-agent.md +0 -132
  224. package/.docs/guides/guide/web-search.md +0 -322
  225. package/.docs/guides/guide/whatsapp-chat-bot.md +0 -407
  226. package/.docs/guides/voice/realtime-voice.md +0 -430
  227. package/.docs/reference/voice/google.md +0 -290
  228. package/.docs/reference/voice/inworld.md +0 -137
  229. package/.docs/reference/voice/openai.md +0 -96
  230. package/.docs/reference/voice/playai.md +0 -82
  231. package/.docs/reference/workspace/vercel-serverless.md +0 -128
  232. /package/.docs/{guides/concepts → docs/guides}/multi-agent-systems.md +0 -0
  233. /package/.docs/{guides/concepts → docs/guides}/streaming.md +0 -0
  234. /package/.docs/{guides/build-your-ui → integrations/agentic-ui}/assistant-ui.md +0 -0
  235. /package/.docs/{guides/build-your-ui → integrations/agentic-ui}/openui.md +0 -0
  236. /package/.docs/{docs/server → integrations}/auth/auth0.md +0 -0
  237. /package/.docs/{docs/server → integrations}/auth/better-auth.md +0 -0
  238. /package/.docs/{docs/server → integrations}/auth/clerk.md +0 -0
  239. /package/.docs/{docs/server → integrations}/auth/firebase.md +0 -0
  240. /package/.docs/{docs/server → integrations}/auth/google.md +0 -0
  241. /package/.docs/{docs/server → integrations}/auth/okta.md +0 -0
  242. /package/.docs/{docs/server → integrations}/auth/supabase.md +0 -0
  243. /package/.docs/{docs/server → integrations}/auth/workos.md +0 -0
  244. /package/.docs/{guides/deployment → integrations/deploy}/amazon-ec2.md +0 -0
  245. /package/.docs/{guides/deployment → integrations/deploy}/inngest.md +0 -0
  246. /package/.docs/{guides/deployment → integrations/deploy}/kubernetes.md +0 -0
  247. /package/.docs/{guides/deployment → integrations/deploy}/temporal.md +0 -0
  248. /package/.docs/{reference/workspace/agentfs-filesystem.md → integrations/file-storage/agentfs.md} +0 -0
  249. /package/.docs/{reference/workspace/google-drive-filesystem.md → integrations/file-storage/google-drive.md} +0 -0
  250. /package/.docs/{guides/getting-started → integrations/frameworks}/express.md +0 -0
  251. /package/.docs/{guides/getting-started → integrations/frameworks}/hono.md +0 -0
  252. /package/.docs/{guides/getting-started → integrations/frameworks}/nestjs.md +0 -0
  253. /package/.docs/{reference/workspace/agentcore-runtime-sandbox.md → integrations/sandboxes/agentcore.md} +0 -0
  254. /package/.docs/{reference/workspace/blaxel-sandbox.md → integrations/sandboxes/blaxel.md} +0 -0
  255. /package/.docs/{guides/guide → integrations/tools}/firecrawl.md +0 -0
  256. /package/.docs/{reference → integrations}/voice/azure.md +0 -0
  257. /package/.docs/{reference → integrations}/voice/deepgram.md +0 -0
  258. /package/.docs/{reference → integrations}/voice/elevenlabs.md +0 -0
  259. /package/.docs/{reference → integrations}/voice/mistral.md +0 -0
  260. /package/.docs/{reference → integrations}/voice/murf.md +0 -0
  261. /package/.docs/{reference → integrations}/voice/sarvam.md +0 -0
  262. /package/.docs/{reference → integrations}/voice/speechify.md +0 -0
  263. /package/.docs/{reference/voice/xai-realtime.md → integrations/voice/xai.md} +0 -0
  264. /package/.docs/{guides/getting-started → reference}/manual-install.md +0 -0
  265. /package/.docs/{guides → reference}/migrations/agentnetwork.md +0 -0
  266. /package/.docs/{guides → reference}/migrations/network-to-supervisor.md +0 -0
  267. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/agent.md +0 -0
  268. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/client.md +0 -0
  269. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/deployment.md +0 -0
  270. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/evals.md +0 -0
  271. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/mastra.md +0 -0
  272. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/mcp.md +0 -0
  273. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/processors.md +0 -0
  274. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/rag.md +0 -0
  275. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/storage.md +0 -0
  276. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/vectors.md +0 -0
  277. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/voice.md +0 -0
  278. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/workflows.md +0 -0
  279. /package/.docs/{guides → reference}/migrations/vnext-to-standard-apis.md +0 -0
@@ -1,10 +1,107 @@
1
1
  > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
2
 
3
- # OpenAI Realtime voice
3
+ # OpenAI
4
+
5
+ ## Voice
6
+
7
+ The OpenAIVoice class in Mastra provides text-to-speech and speech-to-text capabilities using OpenAI's models.
8
+
9
+ ### Usage example
10
+
11
+ ```typescript
12
+ import { OpenAIVoice } from '@mastra/voice-openai'
13
+
14
+ // Initialize with default configuration using environment variables
15
+ const voice = new OpenAIVoice()
16
+
17
+ // Or initialize with specific configuration
18
+ const voiceWithConfig = new OpenAIVoice({
19
+ speechModel: {
20
+ name: 'tts-1-hd',
21
+ apiKey: 'your-openai-api-key',
22
+ },
23
+ listeningModel: {
24
+ name: 'whisper-1',
25
+ apiKey: 'your-openai-api-key',
26
+ },
27
+ speaker: 'alloy', // Default voice
28
+ })
29
+
30
+ // Convert text to speech
31
+ const audioStream = await voice.speak('Hello, how can I help you?', {
32
+ speaker: 'nova', // Override default voice
33
+ speed: 1.2, // Adjust speech speed
34
+ })
35
+
36
+ // Convert speech to text
37
+ const text = await voice.listen(audioStream, {
38
+ filetype: 'mp3',
39
+ })
40
+ ```
41
+
42
+ ### Configuration
43
+
44
+ #### Constructor options
45
+
46
+ **speechModel** (`OpenAIConfig`): Configuration for text-to-speech synthesis. (Default: `{ name: 'tts-1' }`)
47
+
48
+ **speechModel.name** (`'tts-1' | 'tts-1-hd' | 'whisper-1'`): Model name. Use 'tts-1-hd' for higher quality audio.
49
+
50
+ **speechModel.apiKey** (`string`): OpenAI API key. Falls back to OPENAI\_API\_KEY environment variable.
51
+
52
+ **listeningModel** (`OpenAIConfig`): Configuration for speech-to-text recognition. (Default: `{ name: 'whisper-1' }`)
53
+
54
+ **listeningModel.name** (`'tts-1' | 'tts-1-hd' | 'whisper-1'`): Model name. Use 'tts-1-hd' for higher quality audio.
55
+
56
+ **listeningModel.apiKey** (`string`): OpenAI API key. Falls back to OPENAI\_API\_KEY environment variable.
57
+
58
+ **speaker** (`OpenAIVoiceId`): Default voice ID for speech synthesis. (Default: `'alloy'`)
59
+
60
+ ### Methods
61
+
62
+ #### `speak()`
63
+
64
+ Converts text to speech using OpenAI's text-to-speech models.
65
+
66
+ **input** (`string | NodeJS.ReadableStream`): Text or text stream to convert to speech.
67
+
68
+ **options** (`Options`): Configuration options.
69
+
70
+ **options.speaker** (`OpenAIVoiceId`): Voice ID to use for speech synthesis.
71
+
72
+ **options.speed** (`number`): Speech speed multiplier.
73
+
74
+ Returns: `Promise<NodeJS.ReadableStream>`
75
+
76
+ #### `listen()`
77
+
78
+ Transcribes audio using OpenAI's Whisper model.
79
+
80
+ **audioStream** (`NodeJS.ReadableStream`): Audio stream to transcribe.
81
+
82
+ **options** (`Options`): Configuration options.
83
+
84
+ **options.filetype** (`string`): Audio format of the input stream.
85
+
86
+ Returns: `Promise<string>`
87
+
88
+ #### `getSpeakers()`
89
+
90
+ Returns an array of available voice options, where each node contains:
91
+
92
+ **voiceId** (`string`): Unique identifier for the voice
93
+
94
+ ### Notes
95
+
96
+ - API keys can be provided via constructor options or the `OPENAI_API_KEY` environment variable
97
+ - The `tts-1-hd` model provides higher quality audio but may have slower processing times
98
+ - Speech recognition supports multiple audio formats including mp3, wav, and webm
99
+
100
+ ## Realtime
4
101
 
5
102
  The OpenAIRealtimeVoice class provides real-time voice interaction capabilities using OpenAI's WebSocket-based API. It supports real time speech to speech, voice activity detection, and event-based audio streaming.
6
103
 
7
- ## Usage example
104
+ ### Usage example
8
105
 
9
106
  ```typescript
10
107
  import { OpenAIRealtimeVoice } from '@mastra/voice-openai-realtime'
@@ -55,9 +152,9 @@ await voice.send(microphoneStream)
55
152
  voice.connect()
56
153
  ```
57
154
 
58
- ## Configuration
155
+ ### Configuration
59
156
 
60
- ### Constructor options
157
+ #### Constructor options
61
158
 
62
159
  **model** (`string`): The model ID to use for real-time voice interactions. (Default: `'gpt-5.1-realtime-preview-2024-12-17'`)
63
160
 
@@ -65,7 +162,7 @@ voice.connect()
65
162
 
66
163
  **speaker** (`string`): Default voice ID for speech synthesis. (Default: `'alloy'`)
67
164
 
68
- ### Voice Activity Detection (VAD) Configuration
165
+ #### Voice Activity Detection (VAD) Configuration
69
166
 
70
167
  **type** (`string`): Type of VAD to use. Server-side VAD provides better accuracy. (Default: `'server_vad'`)
71
168
 
@@ -75,15 +172,15 @@ voice.connect()
75
172
 
76
173
  **silence\_duration\_ms** (`number`): Milliseconds of silence before ending a turn. (Default: `1000`)
77
174
 
78
- ## Methods
175
+ ### Methods
79
176
 
80
- ### `connect()`
177
+ #### `connect()`
81
178
 
82
179
  Establishes a connection to the OpenAI Realtime service. Must be called before using speak, listen, or send functions.
83
180
 
84
181
  **returns** (`Promise<void>`): Promise that resolves when the connection is established.
85
182
 
86
- ### `speak()`
183
+ #### `speak()`
87
184
 
88
185
  Emits a speaking event using the configured voice model. Can accept either a string or a readable stream as input.
89
186
 
@@ -95,7 +192,7 @@ Emits a speaking event using the configured voice model. Can accept either a str
95
192
 
96
193
  Returns: `Promise<void>`
97
194
 
98
- ### `listen()`
195
+ #### `listen()`
99
196
 
100
197
  Processes audio input for speech recognition. Takes a readable stream of audio data and emits a 'listening' event with the transcribed text.
101
198
 
@@ -103,7 +200,7 @@ Processes audio input for speech recognition. Takes a readable stream of audio d
103
200
 
104
201
  Returns: `Promise<void>`
105
202
 
106
- ### `send()`
203
+ #### `send()`
107
204
 
108
205
  Streams audio data in real-time to the OpenAI service for continuous audio streaming scenarios like live microphone input.
109
206
 
@@ -111,7 +208,7 @@ Streams audio data in real-time to the OpenAI service for continuous audio strea
111
208
 
112
209
  Returns: `Promise<void>`
113
210
 
114
- ### `updateConfig()`
211
+ #### `updateConfig()`
115
212
 
116
213
  Updates the session configuration for the voice instance. This can modify voice settings and turn detection. It can also modify other parameters.
117
214
 
@@ -119,7 +216,7 @@ Updates the session configuration for the voice instance. This can modify voice
119
216
 
120
217
  Returns: `void`
121
218
 
122
- ### `addTools()`
219
+ #### `addTools()`
123
220
 
124
221
  Adds a set of tools to the voice instance. Tools allow the model to perform additional actions during conversations. When OpenAIRealtimeVoice is added to an Agent, any tools configured for the Agent will automatically be available to the voice interface.
125
222
 
@@ -127,19 +224,19 @@ Adds a set of tools to the voice instance. Tools allow the model to perform addi
127
224
 
128
225
  Returns: `void`
129
226
 
130
- ### `close()`
227
+ #### `close()`
131
228
 
132
229
  Disconnects from the OpenAI Realtime session and cleans up resources. Should be called when you're done with the voice instance.
133
230
 
134
231
  Returns: `void`
135
232
 
136
- ### `getSpeakers()`
233
+ #### `getSpeakers()`
137
234
 
138
235
  Returns a list of available voice speakers.
139
236
 
140
237
  Returns: `Promise<Array<{ voiceId: string; [key: string]: any }>>`
141
238
 
142
- ### `on()`
239
+ #### `on()`
143
240
 
144
241
  Registers an event listener for voice events.
145
242
 
@@ -149,7 +246,7 @@ Registers an event listener for voice events.
149
246
 
150
247
  Returns: `void`
151
248
 
152
- ### `off()`
249
+ #### `off()`
153
250
 
154
251
  Removes a previously registered event listener.
155
252
 
@@ -159,7 +256,7 @@ Removes a previously registered event listener.
159
256
 
160
257
  Returns: `void`
161
258
 
162
- ## Events
259
+ ### Events
163
260
 
164
261
  The OpenAIRealtimeVoice class emits the following events:
165
262
 
@@ -169,7 +266,7 @@ The OpenAIRealtimeVoice class emits the following events:
169
266
 
170
267
  **error** (`event`): Emitted when an error occurs. Callback receives the error object.
171
268
 
172
- ### OpenAI Realtime Events
269
+ #### OpenAI Realtime Events
173
270
 
174
271
  You can also listen to [OpenAI Realtime utility events](https://github.com/openai/openai-realtime-api-beta#reference-client-utility-events) by prefixing with 'openAIRealtime:':
175
272
 
@@ -183,7 +280,7 @@ You can also listen to [OpenAI Realtime utility events](https://github.com/opena
183
280
 
184
281
  **openAIRealtime:conversation.item.completed** (`event`): Emitted when an item in the conversation is completed.
185
282
 
186
- ## Available voices
283
+ ### Available voices
187
284
 
188
285
  The following voice options are available:
189
286
 
@@ -196,7 +293,7 @@ The following voice options are available:
196
293
  - `shimmer`: Bright and energetic
197
294
  - `verse`: Versatile and expressive
198
295
 
199
- ## Notes
296
+ ### Notes
200
297
 
201
298
  - API keys can be provided via constructor options or the `OPENAI_API_KEY` environment variable
202
299
  - The OpenAI Realtime Voice API uses WebSockets for real-time communication
@@ -0,0 +1,147 @@
1
+ > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
+
3
+ # Integrations
4
+
5
+ Search integrations...
6
+
7
+ ## Channels
8
+
9
+ - [![](https://cdn.simpleicons.org/discord?viewbox=auto\&size=28)Discord](https://mastra.ai/integrations/channels/discord)
10
+ - [![](https://cdn.simpleicons.org/github/black/white?viewbox=auto\&size=28)GitHub](https://mastra.ai/integrations/channels/github)
11
+ - [![](https://cdn.simpleicons.org/imessage?viewbox=auto\&size=28)iMessage](https://mastra.ai/integrations/channels/imessage)
12
+ - [![](https://svgl.app/library/microsoft-teams.svg)Microsoft Teams](https://mastra.ai/integrations/channels/teams)
13
+ - [![](https://svgl.app/library/slack.svg)Slack](https://mastra.ai/integrations/channels/slack)
14
+ - [![](https://cdn.simpleicons.org/telegram?viewbox=auto\&size=28)Telegram](https://mastra.ai/integrations/channels/telegram)
15
+ - [![](https://cdn.simpleicons.org/whatsapp?viewbox=auto\&size=28)WhatsApp](https://mastra.ai/integrations/channels/whatsapp)
16
+
17
+ ## Frameworks
18
+
19
+ - [![](https://cdn.simpleicons.org/astro?viewbox=auto\&size=28)Astro](https://mastra.ai/integrations/frameworks/astro)
20
+ - [![](https://cdn.simpleicons.org/electron?viewbox=auto\&size=28)Electron](https://mastra.ai/integrations/frameworks/electron)
21
+ - [![](https://cdn.simpleicons.org/express/black/white?viewbox=auto\&size=28)Express](https://mastra.ai/integrations/frameworks/express)
22
+ - [![](https://cdn.simpleicons.org/hono?viewbox=auto\&size=28)Hono](https://mastra.ai/integrations/frameworks/hono)
23
+ - [![](https://cdn.simpleicons.org/nestjs?viewbox=auto\&size=28)NestJS](https://mastra.ai/integrations/frameworks/nestjs)
24
+ - [![](https://cdn.simpleicons.org/nextdotjs/black/white?viewbox=auto\&size=28)Next.js](https://mastra.ai/integrations/frameworks/next-js)
25
+ - [![](https://cdn.simpleicons.org/nuxt?viewbox=auto\&size=28)Nuxt](https://mastra.ai/integrations/frameworks/nuxt)
26
+ - [![](https://cdn.simpleicons.org/vite?viewbox=auto\&size=28)React + Vite](https://mastra.ai/integrations/frameworks/vite-react)
27
+ - [![](https://cdn.simpleicons.org/svelte?viewbox=auto\&size=28)SvelteKit](https://mastra.ai/integrations/frameworks/sveltekit)
28
+
29
+ ## Agentic UI
30
+
31
+ - [![](https://cdn.simpleicons.org/vercel/black/white?viewbox=auto\&size=28)AI SDK UI](https://mastra.ai/integrations/agentic-ui/ai-sdk-ui)
32
+ - [![](/img/integrations/assistant-ui.svg)Assistant UI](https://mastra.ai/integrations/agentic-ui/assistant-ui)
33
+ - [![](/img/integrations/copilotkit.svg)CopilotKit](https://mastra.ai/integrations/agentic-ui/copilotkit)
34
+ - [![](/img/integrations/openui.svg)OpenUI](https://mastra.ai/integrations/agentic-ui/openui)
35
+
36
+ ## Sandboxes
37
+
38
+ - [![](https://svgl.app/library/aws_light.svg)![](https://svgl.app/library/aws_dark.svg)AgentCore](https://mastra.ai/integrations/sandboxes/agentcore)
39
+ - [![](https://cdn.simpleicons.org/apple/black/white?viewbox=auto\&size=28)Apple Container](https://mastra.ai/integrations/sandboxes/apple-container)
40
+ - [![](/img/integrations/blaxel.svg)Blaxel](https://mastra.ai/integrations/sandboxes/blaxel)
41
+ - [![](/img/integrations/daytona.svg)Daytona](https://mastra.ai/integrations/sandboxes/daytona)
42
+ - [![](https://cdn.simpleicons.org/docker?viewbox=auto\&size=28)Docker](https://mastra.ai/integrations/sandboxes/docker)
43
+ - [![](/img/integrations/e2b.svg)E2B](https://mastra.ai/integrations/sandboxes/e2b)
44
+ - [![](https://cdn.simpleicons.org/modal?viewbox=auto\&size=28)Modal](https://mastra.ai/integrations/sandboxes/modal)
45
+ - [![](https://cdn.simpleicons.org/railway/black/white?viewbox=auto\&size=28)Railway](https://mastra.ai/integrations/sandboxes/railway)
46
+ - [![](https://cdn.simpleicons.org/vercel/black/white?viewbox=auto\&size=28)Vercel](https://mastra.ai/integrations/sandboxes/vercel)
47
+
48
+ ## Observability
49
+
50
+ - [![](/img/integrations/arize.svg)Arize](https://mastra.ai/integrations/observability/arize)
51
+ - [![](/img/integrations/arthur.svg)Arthur](https://mastra.ai/integrations/observability/arthur)
52
+ - [![](https://cdn.simpleicons.org/braintrust/black/white?viewbox=auto\&size=28)Braintrust](https://mastra.ai/integrations/observability/braintrust)
53
+ - [![](/img/integrations/confident-ai.svg)Confident AI](https://mastra.ai/integrations/observability/confident-ai)
54
+ - [![](https://cdn.simpleicons.org/datadog?viewbox=auto\&size=28)Datadog](https://mastra.ai/integrations/observability/datadog)
55
+ - [![](/img/integrations/laminar.svg)Laminar](https://mastra.ai/integrations/observability/laminar)
56
+ - [![](/img/integrations/langfuse.svg)Langfuse](https://mastra.ai/integrations/observability/langfuse)
57
+ - [![](https://cdn.simpleicons.org/langchaincorporate/black/white?viewbox=auto\&size=28)LangSmith](https://mastra.ai/integrations/observability/langsmith)
58
+ - [![](https://cdn.simpleicons.org/opentelemetry/black/white?viewbox=auto\&size=28)OpenTelemetry](https://mastra.ai/integrations/observability/opentelemetry)
59
+ - [![](https://cdn.simpleicons.org/posthog/black/white?viewbox=auto\&size=28)PostHog](https://mastra.ai/integrations/observability/posthog)
60
+ - [![](https://cdn.simpleicons.org/sentry/362d59/white?viewbox=auto\&size=28)Sentry](https://mastra.ai/integrations/observability/sentry)
61
+
62
+ ## Databases
63
+
64
+ - [![](https://svgl.app/library/aws_light.svg)![](https://svgl.app/library/aws_dark.svg)Aurora DSQL](https://mastra.ai/integrations/databases/aurora-dsql)
65
+ - [![](https://cdn.simpleicons.org/clickhouse?viewbox=auto\&size=28)ClickHouse](https://mastra.ai/integrations/databases/clickhouse)
66
+ - [![](https://cdn.simpleicons.org/cloudflare?viewbox=auto\&size=28)Cloudflare D1](https://mastra.ai/integrations/databases/cloudflare-d1)
67
+ - [![](https://cdn.simpleicons.org/cloudflare?viewbox=auto\&size=28)Cloudflare KV](https://mastra.ai/integrations/databases/cloudflare-kv)
68
+ - [![](https://cdn.simpleicons.org/convex?viewbox=auto\&size=28)Convex](https://mastra.ai/integrations/databases/convex)
69
+ - [![](https://cdn.simpleicons.org/duckdb?viewbox=auto\&size=28)DuckDB](https://mastra.ai/integrations/databases/duckdb)
70
+ - [![](https://svgl.app/library/aws_light.svg)![](https://svgl.app/library/aws_dark.svg)DynamoDB](https://mastra.ai/integrations/databases/dynamodb)
71
+ - [![](https://cdn.simpleicons.org/googlecloudspanner?viewbox=auto\&size=28)Google Cloud Spanner](https://mastra.ai/integrations/databases/spanner)
72
+ - [![](/img/integrations/lancedb.svg)LanceDB](https://mastra.ai/integrations/databases/lancedb)
73
+ - [![](/img/integrations/libsql.svg)libSQL](https://mastra.ai/integrations/databases/libsql)
74
+ - [![](https://cdn.simpleicons.org/mongodb?viewbox=auto\&size=28)MongoDB](https://mastra.ai/integrations/databases/mongodb)
75
+ - [![](https://svgl.app/library/microsoft.svg)MSSQL](https://mastra.ai/integrations/databases/mssql)
76
+ - [![](https://cdn.simpleicons.org/neon?viewbox=auto\&size=28)Neon Postgres](https://mastra.ai/integrations/databases/neon)
77
+ - [![](/img/integrations/oracle.svg)OracleDB](https://mastra.ai/integrations/databases/oracledb)
78
+ - [![](https://cdn.simpleicons.org/postgresql?viewbox=auto\&size=28)PostgreSQL](https://mastra.ai/integrations/databases/postgresql)
79
+ - [![](https://cdn.simpleicons.org/redis?viewbox=auto\&size=28)Redis](https://mastra.ai/integrations/databases/redis)
80
+ - [![](https://cdn.simpleicons.org/upstash?viewbox=auto\&size=28)Upstash](https://mastra.ai/integrations/databases/upstash)
81
+
82
+ ## Deploy
83
+
84
+ - [![](https://svgl.app/library/aws_light.svg)![](https://svgl.app/library/aws_dark.svg)Amazon Bedrock AgentCore](https://mastra.ai/integrations/deploy/aws-bedrock-agentcore)
85
+ - [![](https://svgl.app/library/aws_light.svg)![](https://svgl.app/library/aws_dark.svg)Amazon EC2](https://mastra.ai/integrations/deploy/amazon-ec2)
86
+ - [![](https://svgl.app/library/aws_light.svg)![](https://svgl.app/library/aws_dark.svg)AWS Lambda](https://mastra.ai/integrations/deploy/aws-lambda)
87
+ - [![](https://svgl.app/library/azure.svg)Azure App Services](https://mastra.ai/integrations/deploy/azure-app-services)
88
+ - [![](https://cdn.simpleicons.org/cloudflare?viewbox=auto\&size=28)Cloudflare](https://mastra.ai/integrations/deploy/cloudflare)
89
+ - [![](https://cdn.simpleicons.org/digitalocean?viewbox=auto\&size=28)Digital Ocean](https://mastra.ai/integrations/deploy/digital-ocean)
90
+ - [![](/img/integrations/inngest.svg)Inngest](https://mastra.ai/integrations/deploy/inngest)
91
+ - [![](https://cdn.simpleicons.org/kubernetes?viewbox=auto\&size=28)Kubernetes](https://mastra.ai/integrations/deploy/kubernetes)
92
+ - [![](https://cdn.simpleicons.org/netlify?viewbox=auto\&size=28)Netlify](https://mastra.ai/integrations/deploy/netlify)
93
+ - [![](https://cdn.simpleicons.org/temporal/black/white?viewbox=auto\&size=28)Temporal](https://mastra.ai/integrations/deploy/temporal)
94
+ - [![](https://cdn.simpleicons.org/vercel/black/white?viewbox=auto\&size=28)Vercel](https://mastra.ai/integrations/deploy/vercel)
95
+
96
+ ## Tools
97
+
98
+ - [![](/img/integrations/bright-data.svg)Bright Data](https://mastra.ai/integrations/tools/brightdata)
99
+ - [![](/img/integrations/firecrawl.svg)Firecrawl](https://mastra.ai/integrations/tools/firecrawl)
100
+ - [![](https://cdn.simpleicons.org/perplexity?viewbox=auto\&size=28)Perplexity](https://mastra.ai/integrations/tools/perplexity)
101
+ - [![](/img/integrations/tavily.svg)Tavily](https://mastra.ai/integrations/tools/tavily)
102
+
103
+ ## Voice
104
+
105
+ - [![](https://svgl.app/library/aws_light.svg)![](https://svgl.app/library/aws_dark.svg)AWS Nova Sonic](https://mastra.ai/integrations/voice/aws-nova-sonic)
106
+ - [![](https://svgl.app/library/azure.svg)Azure](https://mastra.ai/integrations/voice/azure)
107
+ - [![](https://cdn.simpleicons.org/cloudflare?viewbox=auto\&size=28)Cloudflare](https://mastra.ai/integrations/voice/cloudflare)
108
+ - [![](https://cdn.simpleicons.org/deepgram?viewbox=auto\&size=28)Deepgram](https://mastra.ai/integrations/voice/deepgram)
109
+ - [![](https://cdn.simpleicons.org/elevenlabs/black/white?viewbox=auto\&size=28)ElevenLabs](https://mastra.ai/integrations/voice/elevenlabs)
110
+ - [![](https://svgl.app/library/google.svg)Google](https://mastra.ai/integrations/voice/google)
111
+ - [![](/img/integrations/inworld.svg)Inworld](https://mastra.ai/integrations/voice/inworld)
112
+ - [![](https://cdn.simpleicons.org/livekit/black/white?viewbox=auto\&size=28)LiveKit](https://mastra.ai/integrations/voice/livekit)
113
+ - [![](https://cdn.simpleicons.org/mistralai?viewbox=auto\&size=28)Mistral](https://mastra.ai/integrations/voice/mistral)
114
+ - [![](/img/integrations/murf.svg)Murf](https://mastra.ai/integrations/voice/murf)
115
+ - [![](https://svgl.app/library/openai.svg)OpenAI](https://mastra.ai/integrations/voice/openai)
116
+ - [![](/img/integrations/sarvam.svg)Sarvam](https://mastra.ai/integrations/voice/sarvam)
117
+ - [![](/img/integrations/speechify.svg)Speechify](https://mastra.ai/integrations/voice/speechify)
118
+ - [![](https://svgl.app/library/xai_light.svg)![](https://svgl.app/library/xai_dark.svg)xAI](https://mastra.ai/integrations/voice/xai)
119
+
120
+ ## Auth
121
+
122
+ - [![](https://cdn.simpleicons.org/auth0?viewbox=auto\&size=28)Auth0](https://mastra.ai/integrations/auth/auth0)
123
+ - [![](https://cdn.simpleicons.org/betterauth/black/white?viewbox=auto\&size=28)Better Auth](https://mastra.ai/integrations/auth/better-auth)
124
+ - [![](https://cdn.simpleicons.org/clerk?viewbox=auto\&size=28)Clerk](https://mastra.ai/integrations/auth/clerk)
125
+ - [![](https://cdn.simpleicons.org/firebase?viewbox=auto\&size=28)Firebase](https://mastra.ai/integrations/auth/firebase)
126
+ - [![](https://svgl.app/library/google.svg)Google](https://mastra.ai/integrations/auth/google)
127
+ - [![](https://cdn.simpleicons.org/okta?viewbox=auto\&size=28)Okta](https://mastra.ai/integrations/auth/okta)
128
+ - [![](https://cdn.simpleicons.org/supabase?viewbox=auto\&size=28)Supabase](https://mastra.ai/integrations/auth/supabase)
129
+ - [![](https://svgl.app/library/workos.svg)WorkOS](https://mastra.ai/integrations/auth/workos)
130
+
131
+ ## Browsers
132
+
133
+ - [![](https://cdn.simpleicons.org/vercel/black/white?viewbox=auto\&size=28)AgentBrowser](https://mastra.ai/integrations/browsers/agent-browser)
134
+ - [![](/img/integrations/mastra.svg)BrowserViewer](https://mastra.ai/integrations/browsers/browser-viewer)
135
+ - [![](/img/integrations/firecrawl.svg)Firecrawl](https://mastra.ai/integrations/browsers/firecrawl)
136
+ - [![](/img/integrations/stagehand.svg)Stagehand](https://mastra.ai/integrations/browsers/stagehand)
137
+
138
+ ## File storage
139
+
140
+ - [![](https://cdn.simpleicons.org/turso?viewbox=auto\&size=28)AgentFS](https://mastra.ai/integrations/file-storage/agentfs)
141
+ - [![](https://svgl.app/library/aws_light.svg)![](https://svgl.app/library/aws_dark.svg)Amazon S3](https://mastra.ai/integrations/file-storage/amazon-s3)
142
+ - [![](/img/integrations/archil.svg)Archil](https://mastra.ai/integrations/file-storage/archil)
143
+ - [![](https://svgl.app/library/azure.svg)Azure Blob](https://mastra.ai/integrations/file-storage/azure-blob)
144
+ - [![](https://svgl.app/library/google-cloud.svg)Google Cloud Storage](https://mastra.ai/integrations/file-storage/google-cloud-storage)
145
+ - [![](https://svgl.app/library/drive.svg)Google Drive](https://mastra.ai/integrations/file-storage/google-drive)
146
+ - [![](/img/integrations/mesa.svg)Mesa](https://mastra.ai/integrations/file-storage/mesa)
147
+ - [![](https://cdn.simpleicons.org/vercel/black/white?viewbox=auto\&size=28)Vercel Files](https://mastra.ai/integrations/file-storage/vercel-files)
@@ -277,5 +277,5 @@ try {
277
277
  ## Next Steps
278
278
 
279
279
  - [Memory & Semantic Recall](https://mastra.ai/docs/memory/semantic-recall): Use embeddings for agent memory
280
- - [RAG & Chunking](https://mastra.ai/guides/rag/chunking-and-embedding): Build retrieval-augmented generation systems
281
- - [Vector Databases](https://mastra.ai/guides/rag/vector-databases): Store and query embeddings
280
+ - [RAG & Chunking](https://mastra.ai/reference/rag/chunking-and-embedding): Build retrieval-augmented generation systems
281
+ - [Vector Databases](https://mastra.ai/reference/rag/vector-databases): Store and query embeddings
@@ -35,6 +35,7 @@ List of required environment variables for each model provider and gateway suppo
35
35
  | [ClinePass](https://mastra.ai/models/providers/cline-pass) | `cline-pass/*` | `CLINE_API_KEY` |
36
36
  | [CloudFerro Sherlock](https://mastra.ai/models/providers/cloudferro-sherlock) | `cloudferro-sherlock/*` | `CLOUDFERRO_SHERLOCK_API_KEY` |
37
37
  | [Cloudflare Workers AI](https://mastra.ai/models/providers/cloudflare-workers-ai) | `cloudflare-workers-ai/*` | `CLOUDFLARE_ACCOUNT_ID`, `CLOUDFLARE_API_KEY` |
38
+ | [CoralBricks](https://mastra.ai/models/providers/coralbricks) | `coralbricks/*` | `CORAL_API_KEY` |
38
39
  | [Cortecs](https://mastra.ai/models/providers/cortecs) | `cortecs/*` | `CORTECS_API_KEY` |
39
40
  | [CrofAI](https://mastra.ai/models/providers/crof) | `crof/*` | `CROF_API_KEY` |
40
41
  | [CrossModel](https://mastra.ai/models/providers/crossmodel) | `crossmodel/*` | `CROSSMODEL_API_KEY` |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![OpenRouter logo](https://models.dev/logos/openrouter.svg)OpenRouter
4
4
 
5
- OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 339 models through Mastra's model router.
5
+ OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 341 models through Mastra's model router.
6
6
 
7
7
  Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
8
8
 
@@ -155,6 +155,7 @@ ANTHROPIC_API_KEY=ant-...
155
155
  | `meta-llama/llama-4-maverick` |
156
156
  | `meta-llama/llama-4-scout` |
157
157
  | `meta-llama/llama-guard-4-12b` |
158
+ | `meta/muse-glimmer-30b` |
158
159
  | `meta/muse-spark-1.1` |
159
160
  | `meta/muse-spark-1.2` |
160
161
  | `microsoft/phi-4` |
@@ -240,7 +241,6 @@ ANTHROPIC_API_KEY=ant-...
240
241
  | `openai/gpt-5.2-chat` |
241
242
  | `openai/gpt-5.2-codex` |
242
243
  | `openai/gpt-5.2-pro` |
243
- | `openai/gpt-5.3-chat` |
244
244
  | `openai/gpt-5.3-codex` |
245
245
  | `openai/gpt-5.4` |
246
246
  | `openai/gpt-5.4-image-2` |
@@ -339,6 +339,7 @@ ANTHROPIC_API_KEY=ant-...
339
339
  | `relace/relace-apply-3` |
340
340
  | `relace/relace-search` |
341
341
  | `sakana/fugu-ultra` |
342
+ | `sakana/sakana-namazu` |
342
343
  | `sao10k/l3-lunaris-8b` |
343
344
  | `sao10k/l3.1-euryale-70b` |
344
345
  | `sao10k/l3.3-euryale-70b` |
@@ -355,6 +356,7 @@ ANTHROPIC_API_KEY=ant-...
355
356
  | `thinkingmachines/inkling-small` |
356
357
  | `undi95/remm-slerp-l2-13b` |
357
358
  | `upstage/solar-pro-3` |
359
+ | `upstage/solar-pro4` |
358
360
  | `writer/palmyra-x5` |
359
361
  | `x-ai/grok-4.20` |
360
362
  | `x-ai/grok-4.20-multi-agent` |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![Vercel logo](https://models.dev/logos/vercel.svg)Vercel
4
4
 
5
- Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 322 models through Mastra's model router.
5
+ Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 323 models through Mastra's model router.
6
6
 
7
7
  Learn more in the [Vercel documentation](https://ai-sdk.dev/providers/ai-sdk-providers).
8
8
 
@@ -187,6 +187,7 @@ ANTHROPIC_API_KEY=ant-...
187
187
  | `meta/llama-3.3-70b` |
188
188
  | `meta/llama-4-maverick` |
189
189
  | `meta/llama-4-scout` |
190
+ | `meta/muse-glimmer-30b` |
190
191
  | `meta/muse-spark-1.1` |
191
192
  | `meta/muse-spark-1.2` |
192
193
  | `meta/muse-spark-1.2-contributor` |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Model Providers
4
4
 
5
- Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 5456 models from 168 providers through a single API.
5
+ Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 5466 models from 169 providers through a single API.
6
6
 
7
7
  ## Features
8
8
 
@@ -0,0 +1,75 @@
1
+ > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
+
3
+ # ![CoralBricks logo](https://models.dev/logos/coralbricks.svg)CoralBricks
4
+
5
+ Access 3 CoralBricks models through Mastra's model router. Authentication is handled automatically using the `CORAL_API_KEY` environment variable.
6
+
7
+ Learn more in the [CoralBricks documentation](https://www.coralbricks.ai/docs).
8
+
9
+ ```bash
10
+ CORAL_API_KEY=your-api-key
11
+ ```
12
+
13
+ ```typescript
14
+ import { Agent } from "@mastra/core/agent";
15
+
16
+ const agent = new Agent({
17
+ id: "my-agent",
18
+ name: "My Agent",
19
+ instructions: "You are a helpful assistant",
20
+ model: "coralbricks/glm-5.2-fp4"
21
+ });
22
+
23
+ // Generate a response
24
+ const response = await agent.generate("Hello!");
25
+
26
+ // Stream a response
27
+ const stream = await agent.stream("Tell me a story");
28
+ for await (const chunk of stream) {
29
+ console.log(chunk);
30
+ }
31
+ ```
32
+
33
+ > **Note:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [CoralBricks documentation](https://www.coralbricks.ai/docs) for details.
34
+
35
+ ## Models
36
+
37
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
+ | -------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
+ | `coralbricks/glm-5.2-fp4` | 1.0M | | | | | | $1 | $4 |
40
+ | `coralbricks/gpt-oss-120b` | 131K | | | | | | $0.12 | $0.60 |
41
+ | `coralbricks/kimi-k3` | 1.0M | | | | | | $3 | $15 |
42
+
43
+ ## Advanced configuration
44
+
45
+ ### Custom headers
46
+
47
+ ```typescript
48
+ const agent = new Agent({
49
+ id: "custom-agent",
50
+ name: "custom-agent",
51
+ model: {
52
+ url: "https://inference.coralbricks.ai/v1",
53
+ id: "coralbricks/glm-5.2-fp4",
54
+ apiKey: process.env.CORAL_API_KEY,
55
+ headers: {
56
+ "X-Custom-Header": "value"
57
+ }
58
+ }
59
+ });
60
+ ```
61
+
62
+ ### Dynamic model selection
63
+
64
+ ```typescript
65
+ const agent = new Agent({
66
+ id: "dynamic-agent",
67
+ name: "Dynamic Agent",
68
+ model: ({ requestContext }) => {
69
+ const useAdvanced = requestContext.task === "complex";
70
+ return useAdvanced
71
+ ? "coralbricks/kimi-k3"
72
+ : "coralbricks/glm-5.2-fp4";
73
+ }
74
+ });
75
+ ```
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![evroc logo](https://models.dev/logos/evroc.svg)evroc
4
4
 
5
- Access 16 evroc models through Mastra's model router. Authentication is handled automatically using the `EVROC_API_KEY` environment variable.
5
+ Access 15 evroc models through Mastra's model router. Authentication is handled automatically using the `EVROC_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [evroc documentation](https://docs.evroc.com/products/think/overview.html).
8
8
 
@@ -49,9 +49,8 @@ for await (const chunk of stream) {
49
49
  | `evroc/openai/whisper-large-v3-turbo` | 448 | | | | | | $0.00 | $0.00 |
50
50
  | `evroc/Qwen/Qwen3-Embedding-8B` | 41K | | | | | | $0.12 | $0.12 |
51
51
  | `evroc/Qwen/Qwen3-Reranker-4B` | 32K | | | | | | $0.06 | — |
52
- | `evroc/Qwen/Qwen3-VL-30B-A3B-Instruct` | 100K | | | | | | $0.23 | $0.92 |
53
52
  | `evroc/Qwen/Qwen3.6-35B-A3B-FP8` | 262K | | | | | | $0.34 | $1 |
54
- | `evroc/zai-org/GLM-5.2` | 1.0M | | | | | | $1 | $6 |
53
+ | `evroc/zai-org/GLM-5.2` | 524K | | | | | | $1 | $6 |
55
54
 
56
55
  ## Advanced configuration
57
56
 
@@ -39,19 +39,19 @@ for await (const chunk of stream) {
39
39
  | `hyper/deepseek-v4-flash` | 1.0M | | | | | | $0.20 | $0.40 |
40
40
  | `hyper/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.15 | $0.30 |
41
41
  | `hyper/deepseek-v4-pro` | 1.0M | | | | | | $2 | $5 |
42
- | `hyper/gemma-4-26b-a4b-it` | 256K | | | | | | $0.12 | $0.42 |
42
+ | `hyper/gemma-4-26b-a4b-it` | 256K | | | | | | $0.12 | $0.41 |
43
43
  | `hyper/glm-5.1` | 203K | | | | | | $2 | $5 |
44
44
  | `hyper/glm-5.2` | 1.0M | | | | | | $1 | $4 |
45
- | `hyper/gpt-oss-120b` | 131K | | | | | | $0.18 | $0.71 |
46
- | `hyper/kimi-k2.5` | 262K | | | | | | $0.55 | $3 |
45
+ | `hyper/gpt-oss-120b` | 131K | | | | | | $0.19 | $0.73 |
46
+ | `hyper/kimi-k2.5` | 262K | | | | | | $0.56 | $3 |
47
47
  | `hyper/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
48
48
  | `hyper/kimi-k2.7-code` | 256K | | | | | | $0.95 | $4 |
49
49
  | `hyper/kimi-k3` | 1.0M | | | | | | $3 | $16 |
50
- | `hyper/llama-3.3-70b-instruct` | 128K | | | | | | $0.61 | $1 |
50
+ | `hyper/llama-3.3-70b-instruct` | 128K | | | | | | $0.60 | $0.74 |
51
51
  | `hyper/llama-4-maverick-17b-128e-instruct-fp8` | 430K | | | | | | $0.27 | $0.90 |
52
- | `hyper/minimax-m2.7` | 262K | | | | | | $0.44 | $2 |
52
+ | `hyper/minimax-m2.7` | 262K | | | | | | $0.48 | $2 |
53
53
  | `hyper/minimax-m3` | 512K | | | | | | $0.33 | $1 |
54
- | `hyper/qwen3-coder-480b-a35b-instruct-int4-mixed-ar` | 106K | | | | | | $0.57 | $2 |
54
+ | `hyper/qwen3-coder-480b-a35b-instruct-int4-mixed-ar` | 106K | | | | | | $0.45 | $2 |
55
55
  | `hyper/qwen3-next-80b-a3b-instruct` | 262K | | | | | | $0.12 | $1 |
56
56
  | `hyper/qwen3.6-flash` | 1.0M | | | | | | $1 | $4 |
57
57
  | `hyper/qwen3.6-max` | 256K | | | | | | $2 | $12 |