@mastra/mcp-docs-server 1.2.15-alpha.20 → 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.
- package/.docs/docs/agents/code-mode.md +1 -1
- package/.docs/docs/agents/networks.md +2 -2
- package/.docs/docs/agents/overview.md +2 -2
- package/.docs/docs/agents/using-tools.md +1 -1
- package/.docs/docs/browser/overview.md +8 -8
- package/.docs/docs/browser/recording.md +2 -2
- package/.docs/docs/capabilities/{channels/overview.md → channels.md} +70 -7
- package/.docs/docs/capabilities/subagents.md +2 -2
- package/.docs/docs/deployment/cloud-providers.md +9 -9
- package/.docs/docs/deployment/overview.md +9 -9
- package/.docs/docs/deployment/sandbox.md +3 -3
- package/.docs/docs/deployment/web-framework.md +6 -6
- package/.docs/docs/deployment/workflow-runners.md +2 -2
- package/.docs/docs/harness/agent-controller.md +2 -2
- package/.docs/docs/index.md +8 -8
- package/.docs/docs/long-running-agents/durable-agents.md +2 -2
- package/.docs/docs/long-running-agents/signal-providers.md +2 -15
- package/.docs/docs/long-running-agents/signals.md +1 -1
- package/.docs/docs/mastra-platform/database.md +2 -2
- package/.docs/docs/mastra-platform/server.md +1 -1
- package/.docs/docs/mcp/overview.md +42 -0
- package/.docs/docs/memory/memory-processors.md +5 -5
- package/.docs/docs/memory/message-history.md +1 -1
- package/.docs/docs/memory/observational-memory.md +1 -1
- package/.docs/docs/observability/integrations/exporters/mastra-storage.md +16 -16
- package/.docs/docs/observability/integrations/overview.md +3 -3
- package/.docs/docs/server/auth/fga.md +1 -1
- package/.docs/docs/server/auth/simple-auth.md +1 -1
- package/.docs/docs/server/auth.md +8 -8
- package/.docs/docs/storage/overview.md +14 -13
- package/.docs/docs/studio/observability.md +1 -1
- package/.docs/docs/workflows/overview.md +1 -1
- package/.docs/docs/workflows/snapshots.md +11 -11
- package/.docs/docs/workspace/filesystem.md +15 -15
- package/.docs/docs/workspace/sandbox.md +17 -17
- package/.docs/docs/workspace/search.md +1 -1
- package/.docs/guides/agent-frameworks/ai-sdk.md +2 -2
- package/.docs/guides/deployment/mastra-workers.md +1 -1
- package/.docs/guides/getting-started/quickstart.md +3 -3
- package/.docs/guides/index.md +8 -8
- package/.docs/guides/voice/overview.md +55 -106
- package/.docs/guides/voice/speech-to-text.md +7 -7
- package/.docs/guides/voice/text-to-speech.md +9 -10
- package/.docs/{guides/build-your-ui → integrations/agentic-ui}/ai-sdk-ui.md +2 -2
- package/.docs/{guides/build-your-ui/copilotkit/overview.md → integrations/agentic-ui/copilotkit.md} +256 -3
- package/.docs/{docs/browser → integrations/browsers}/agent-browser.md +2 -2
- package/.docs/{docs/browser → integrations/browsers}/browser-viewer.md +3 -3
- package/.docs/{docs/browser → integrations/browsers}/firecrawl.md +2 -2
- package/.docs/{docs/browser → integrations/browsers}/stagehand.md +1 -1
- package/.docs/{docs/capabilities → integrations}/channels/discord.md +2 -2
- package/.docs/integrations/channels/github.md +103 -0
- package/.docs/{docs/capabilities → integrations}/channels/imessage.md +7 -5
- package/.docs/{docs/capabilities → integrations}/channels/slack.md +4 -4
- package/.docs/{docs/capabilities → integrations}/channels/teams.md +2 -2
- package/.docs/{docs/capabilities → integrations}/channels/telegram.md +2 -2
- package/.docs/{docs/capabilities → integrations}/channels/whatsapp.md +2 -2
- package/.docs/{reference/storage/dsql.md → integrations/databases/aurora-dsql.md} +1 -1
- package/.docs/{reference/storage → integrations/databases}/clickhouse.md +2 -2
- package/.docs/{reference/storage → integrations/databases}/cloudflare-d1.md +1 -1
- package/.docs/{reference/storage/cloudflare.md → integrations/databases/cloudflare-kv.md} +1 -1
- package/.docs/{reference/storage → integrations/databases}/convex.md +1 -1
- package/.docs/{reference/storage → integrations/databases}/duckdb.md +5 -5
- package/.docs/{reference/storage → integrations/databases}/dynamodb.md +1 -1
- package/.docs/{reference/storage/lance.md → integrations/databases/lancedb.md} +1 -1
- package/.docs/{reference/storage → integrations/databases}/libsql.md +2 -2
- package/.docs/{reference/storage → integrations/databases}/mongodb.md +1 -1
- package/.docs/{reference/storage → integrations/databases}/mssql.md +1 -1
- package/.docs/integrations/databases/neon.md +220 -0
- package/.docs/{reference/storage → integrations/databases}/oracledb.md +1 -1
- package/.docs/{reference/storage → integrations/databases}/postgresql.md +1 -1
- package/.docs/{reference/storage → integrations/databases}/redis.md +1 -1
- package/.docs/{reference/storage → integrations/databases}/spanner.md +1 -1
- package/.docs/{reference/storage → integrations/databases}/upstash.md +1 -1
- package/.docs/{guides/deployment → integrations/deploy}/aws-bedrock-agentcore.md +1 -1
- package/.docs/{guides/deployment → integrations/deploy}/aws-lambda.md +1 -1
- package/.docs/{guides/deployment → integrations/deploy}/azure-app-services.md +1 -1
- package/.docs/{guides/deployment → integrations/deploy}/cloudflare.md +1 -1
- package/.docs/{guides/deployment → integrations/deploy}/digital-ocean.md +1 -1
- package/.docs/{guides/deployment → integrations/deploy}/netlify.md +1 -1
- package/.docs/{guides/deployment → integrations/deploy}/vercel.md +2 -2
- package/.docs/{reference/workspace/s3-filesystem.md → integrations/file-storage/amazon-s3.md} +5 -5
- package/.docs/{reference/workspace/archil-filesystem.md → integrations/file-storage/archil.md} +3 -3
- package/.docs/{reference/workspace/azure-blob-filesystem.md → integrations/file-storage/azure-blob.md} +2 -2
- package/.docs/{reference/workspace/gcs-filesystem.md → integrations/file-storage/google-cloud-storage.md} +5 -5
- package/.docs/{reference/workspace/mesa-filesystem.md → integrations/file-storage/mesa.md} +1 -1
- package/.docs/{reference/workspace/files-sdk-filesystem.md → integrations/file-storage/vercel-files.md} +5 -5
- package/.docs/{guides/getting-started → integrations/frameworks}/astro.md +1 -1
- package/.docs/{guides/getting-started → integrations/frameworks}/electron.md +1 -1
- package/.docs/{guides/getting-started → integrations/frameworks}/next-js.md +2 -2
- package/.docs/{guides/getting-started → integrations/frameworks}/nuxt.md +1 -1
- package/.docs/{guides/getting-started → integrations/frameworks}/sveltekit.md +1 -1
- package/.docs/{guides/getting-started → integrations/frameworks}/vite-react.md +1 -1
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/arize.md +1 -1
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/arthur.md +1 -1
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/braintrust.md +1 -1
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/confident-ai.md +1 -1
- package/.docs/integrations/observability/datadog.md +538 -0
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/laminar.md +1 -1
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/langfuse.md +1 -1
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/langsmith.md +1 -1
- package/.docs/{docs/observability/integrations/exporters/otel.md → integrations/observability/opentelemetry.md} +276 -44
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/posthog.md +1 -1
- package/.docs/{docs/observability/integrations/exporters → integrations/observability}/sentry.md +1 -1
- package/.docs/{reference/workspace/apple-container-sandbox.md → integrations/sandboxes/apple-container.md} +1 -1
- package/.docs/{reference/workspace/daytona-sandbox.md → integrations/sandboxes/daytona.md} +2 -2
- package/.docs/{reference/workspace/docker-sandbox.md → integrations/sandboxes/docker.md} +1 -1
- package/.docs/{reference/workspace/e2b-sandbox.md → integrations/sandboxes/e2b.md} +3 -3
- package/.docs/{reference/workspace/modal-sandbox.md → integrations/sandboxes/modal.md} +2 -2
- package/.docs/{reference/workspace/vercel-sandbox.md → integrations/sandboxes/vercel.md} +141 -12
- package/.docs/{reference → integrations}/tools/brightdata.md +1 -1
- package/.docs/{reference → integrations}/tools/perplexity.md +1 -1
- package/.docs/{reference → integrations}/tools/tavily.md +1 -1
- package/.docs/{reference → integrations}/voice/aws-nova-sonic.md +1 -1
- package/.docs/{reference → integrations}/voice/cloudflare.md +3 -3
- package/.docs/{reference/voice/google-gemini-live.md → integrations/voice/google.md} +305 -30
- package/.docs/{reference/voice/inworld-realtime.md → integrations/voice/inworld.md} +163 -25
- package/.docs/{reference → integrations}/voice/livekit.md +437 -34
- package/.docs/{reference/voice/openai-realtime.md → integrations/voice/openai.md} +117 -20
- package/.docs/integrations.md +147 -0
- package/.docs/models/embeddings.md +2 -2
- package/.docs/models/gateways/openrouter.md +3 -1
- package/.docs/models/gateways/vercel.md +2 -1
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/kilo.md +9 -6
- package/.docs/models/providers/opencode.md +0 -1
- package/.docs/reference/agent-controller/agent-controller-class.md +32 -1
- package/.docs/reference/agents/channels.md +2 -2
- package/.docs/reference/agents/generateLegacy.md +2 -2
- package/.docs/reference/agents/getDefaultOptions.md +1 -1
- package/.docs/reference/agents/getDefaultStreamOptions.md +1 -1
- package/.docs/reference/agents/inngest-agent.md +1 -1
- package/.docs/reference/agents/network.md +1 -1
- package/.docs/reference/ai-sdk/handle-network-stream.md +1 -1
- package/.docs/reference/ai-sdk/network-route.md +1 -1
- package/.docs/reference/auth/auth0.md +1 -1
- package/.docs/reference/auth/better-auth.md +1 -1
- package/.docs/reference/auth/clerk.md +1 -1
- package/.docs/reference/auth/firebase.md +1 -1
- package/.docs/reference/auth/google.md +1 -1
- package/.docs/reference/auth/supabase.md +1 -1
- package/.docs/reference/auth/workos.md +1 -1
- package/.docs/reference/browser/agent-browser.md +1 -1
- package/.docs/reference/browser/browser-viewer.md +1 -1
- package/.docs/reference/browser/firecrawl-browser.md +1 -1
- package/.docs/reference/browser/stagehand-browser.md +1 -1
- package/.docs/reference/channels/channel-provider.md +1 -1
- package/.docs/reference/channels/slack-provider.md +2 -2
- package/.docs/reference/cli/mastra.md +2 -2
- package/.docs/reference/configuration.md +1 -26
- package/.docs/reference/core/getStorage.md +1 -1
- package/.docs/reference/core/getVector.md +2 -2
- package/.docs/reference/core/listVectors.md +2 -2
- package/.docs/reference/core/setStorage.md +1 -1
- package/.docs/reference/file-based-agents/storage.md +1 -1
- package/.docs/reference/file-based-agents/studio.md +1 -1
- package/.docs/reference/index.md +27 -55
- package/.docs/{guides → reference}/migrations/ai-sdk-v4-to-v5.md +1 -1
- package/.docs/{guides → reference}/migrations/mastra-cloud.md +1 -1
- package/.docs/{guides → reference}/migrations/upgrade-to-v1/cli.md +1 -1
- package/.docs/{guides → reference}/migrations/upgrade-to-v1/memory.md +1 -1
- package/.docs/{guides → reference}/migrations/upgrade-to-v1/overview.md +41 -41
- package/.docs/{guides → reference}/migrations/upgrade-to-v1/tools.md +1 -1
- package/.docs/{guides → reference}/migrations/upgrade-to-v1/tracing.md +10 -10
- package/.docs/reference/observability/tracing/bridges/datadog.md +2 -2
- package/.docs/reference/observability/tracing/bridges/otel.md +2 -2
- package/.docs/reference/observability/tracing/exporters/arize.md +1 -1
- package/.docs/reference/observability/tracing/exporters/arthur.md +1 -1
- package/.docs/reference/observability/tracing/exporters/confident-ai.md +1 -1
- package/.docs/reference/observability/tracing/exporters/mastra-platform-exporter.md +12 -0
- package/.docs/reference/observability/tracing/exporters/otel.md +2 -2
- package/.docs/reference/pubsub/lease-provider.md +1 -1
- package/.docs/{guides → reference}/rag/chunking-and-embedding.md +16 -19
- package/.docs/reference/rag/database-config.md +1 -1
- package/.docs/{guides/rag/graph-rag.md → reference/rag/graph-rag-guide.md} +1 -1
- package/.docs/{guides → reference}/rag/overview.md +2 -2
- package/.docs/{guides → reference}/rag/retrieval.md +1 -1
- package/.docs/{guides → reference}/rag/vector-databases.md +1 -1
- package/.docs/reference/storage/composite.md +3 -3
- package/.docs/reference/storage/retention.md +4 -4
- package/.docs/reference/streaming/ChunkType.md +3 -3
- package/.docs/reference/streaming/agents/streamLegacy.md +3 -3
- package/.docs/reference/tools/mcp-server.md +1 -1
- package/.docs/reference/vectors/convex.md +2 -2
- package/.docs/reference/vectors/oracledb.md +2 -2
- package/.docs/reference/workers/overview.md +8 -8
- package/.docs/reference/workspace/platform-filesystem.md +2 -2
- package/.docs/reference/workspace/platform-sandbox.md +2 -2
- package/.docs/reference/workspace/process-manager.md +3 -3
- package/CHANGELOG.md +9 -0
- package/dist/index.js +1 -1
- package/dist/{src-BZcgzbk9.js → src-D-W-bx5t.js} +2 -2
- package/dist/{src-BZcgzbk9.js.map → src-D-W-bx5t.js.map} +1 -1
- package/dist/stdio.js +1 -1
- package/package.json +5 -5
- package/.docs/docs/capabilities/channels/other-adapters.md +0 -68
- package/.docs/docs/observability/integrations/bridges/datadog.md +0 -219
- package/.docs/docs/observability/integrations/bridges/otel.md +0 -234
- package/.docs/docs/observability/integrations/exporters/datadog.md +0 -321
- package/.docs/guides/build-your-ui/copilotkit/channels.md +0 -86
- package/.docs/guides/build-your-ui/copilotkit/generative-ui.md +0 -174
- package/.docs/guides/guide/chef-michel.md +0 -211
- package/.docs/guides/guide/publishing-mcp-server.md +0 -137
- package/.docs/guides/guide/slack-assistant.md +0 -193
- package/.docs/guides/guide/stock-agent.md +0 -132
- package/.docs/guides/guide/web-search.md +0 -322
- package/.docs/guides/guide/whatsapp-chat-bot.md +0 -407
- package/.docs/guides/voice/realtime-voice.md +0 -430
- package/.docs/reference/voice/google.md +0 -290
- package/.docs/reference/voice/inworld.md +0 -137
- package/.docs/reference/voice/openai.md +0 -96
- package/.docs/reference/voice/playai.md +0 -82
- package/.docs/reference/workspace/vercel-serverless.md +0 -128
- /package/.docs/{guides/concepts → docs/guides}/multi-agent-systems.md +0 -0
- /package/.docs/{guides/concepts → docs/guides}/streaming.md +0 -0
- /package/.docs/{guides/build-your-ui → integrations/agentic-ui}/assistant-ui.md +0 -0
- /package/.docs/{guides/build-your-ui → integrations/agentic-ui}/openui.md +0 -0
- /package/.docs/{docs/server → integrations}/auth/auth0.md +0 -0
- /package/.docs/{docs/server → integrations}/auth/better-auth.md +0 -0
- /package/.docs/{docs/server → integrations}/auth/clerk.md +0 -0
- /package/.docs/{docs/server → integrations}/auth/firebase.md +0 -0
- /package/.docs/{docs/server → integrations}/auth/google.md +0 -0
- /package/.docs/{docs/server → integrations}/auth/okta.md +0 -0
- /package/.docs/{docs/server → integrations}/auth/supabase.md +0 -0
- /package/.docs/{docs/server → integrations}/auth/workos.md +0 -0
- /package/.docs/{guides/deployment → integrations/deploy}/amazon-ec2.md +0 -0
- /package/.docs/{guides/deployment → integrations/deploy}/inngest.md +0 -0
- /package/.docs/{guides/deployment → integrations/deploy}/kubernetes.md +0 -0
- /package/.docs/{guides/deployment → integrations/deploy}/temporal.md +0 -0
- /package/.docs/{reference/workspace/agentfs-filesystem.md → integrations/file-storage/agentfs.md} +0 -0
- /package/.docs/{reference/workspace/google-drive-filesystem.md → integrations/file-storage/google-drive.md} +0 -0
- /package/.docs/{guides/getting-started → integrations/frameworks}/express.md +0 -0
- /package/.docs/{guides/getting-started → integrations/frameworks}/hono.md +0 -0
- /package/.docs/{guides/getting-started → integrations/frameworks}/nestjs.md +0 -0
- /package/.docs/{reference/workspace/agentcore-runtime-sandbox.md → integrations/sandboxes/agentcore.md} +0 -0
- /package/.docs/{reference/workspace/blaxel-sandbox.md → integrations/sandboxes/blaxel.md} +0 -0
- /package/.docs/{reference/workspace/railway-sandbox.md → integrations/sandboxes/railway.md} +0 -0
- /package/.docs/{guides/guide → integrations/tools}/firecrawl.md +0 -0
- /package/.docs/{reference → integrations}/voice/azure.md +0 -0
- /package/.docs/{reference → integrations}/voice/deepgram.md +0 -0
- /package/.docs/{reference → integrations}/voice/elevenlabs.md +0 -0
- /package/.docs/{reference → integrations}/voice/mistral.md +0 -0
- /package/.docs/{reference → integrations}/voice/murf.md +0 -0
- /package/.docs/{reference → integrations}/voice/sarvam.md +0 -0
- /package/.docs/{reference → integrations}/voice/speechify.md +0 -0
- /package/.docs/{reference/voice/xai-realtime.md → integrations/voice/xai.md} +0 -0
- /package/.docs/{guides/getting-started → reference}/manual-install.md +0 -0
- /package/.docs/{guides → reference}/migrations/agentnetwork.md +0 -0
- /package/.docs/{guides → reference}/migrations/network-to-supervisor.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/agent.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/client.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/deployment.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/evals.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/mastra.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/mcp.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/processors.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/rag.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/storage.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/vectors.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/voice.md +0 -0
- /package/.docs/{guides → reference}/migrations/upgrade-to-v1/workflows.md +0 -0
- /package/.docs/{guides → reference}/migrations/vnext-to-standard-apis.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# DuckDB
|
|
3
|
+
# DuckDB
|
|
4
4
|
|
|
5
5
|
[DuckDB](https://duckdb.org/) is an embedded, in-process analytical database. The `@mastra/duckdb` package provides an OLAP-backed observability store for local development, suitable for traces, logs, metrics, scores, and feedback without running an external service.
|
|
6
6
|
|
|
@@ -10,9 +10,9 @@ For vector search, see the [DuckDB vector store reference](https://mastra.ai/ref
|
|
|
10
10
|
|
|
11
11
|
Local development of observability features. DuckDB is embedded and file-based, so it doesn't require a server and starts instantly. It supports the same observability signals as ClickHouse, which makes it useful for testing dashboards and trace exploration before deploying to a production backend.
|
|
12
12
|
|
|
13
|
-
DuckDB currently implements only the `observability` domain. Pair it with another storage adapter (such as [LibSQL](https://mastra.ai/
|
|
13
|
+
DuckDB currently implements only the `observability` domain. Pair it with another storage adapter (such as [LibSQL](https://mastra.ai/integrations/databases/libsql)) for `memory` and `workflows` in a [composite storage](https://mastra.ai/reference/storage/composite) setup.
|
|
14
14
|
|
|
15
|
-
> **Warning:** DuckDB is for development and not recommended for production. It runs in-process, persists to a single local file, and doesn't work on platforms with ephemeral filesystems (such as Railway, Fly.io, Render, Heroku, or serverless containers). For production observability, use [ClickHouse](https://mastra.ai/
|
|
15
|
+
> **Warning:** DuckDB is for development and not recommended for production. It runs in-process, persists to a single local file, and doesn't work on platforms with ephemeral filesystems (such as Railway, Fly.io, Render, Heroku, or serverless containers). For production observability, use [ClickHouse](https://mastra.ai/integrations/databases/clickhouse).
|
|
16
16
|
|
|
17
17
|
## Installation
|
|
18
18
|
|
|
@@ -130,7 +130,7 @@ DuckDB currently implements one storage domain:
|
|
|
130
130
|
| `scores` | No |
|
|
131
131
|
| `agents` | No |
|
|
132
132
|
|
|
133
|
-
For a full storage solution, compose `DuckDBStore` with an adapter that covers the missing domains (most commonly [LibSQL](https://mastra.ai/
|
|
133
|
+
For a full storage solution, compose `DuckDBStore` with an adapter that covers the missing domains (most commonly [LibSQL](https://mastra.ai/integrations/databases/libsql) for local development).
|
|
134
134
|
|
|
135
135
|
## Initialization
|
|
136
136
|
|
|
@@ -151,6 +151,6 @@ DuckDB supports the `event-sourced` strategy used by `MastraStorageExporter`, wh
|
|
|
151
151
|
|
|
152
152
|
- [Storage overview](https://mastra.ai/reference/storage/overview)
|
|
153
153
|
- [Composite storage](https://mastra.ai/reference/storage/composite)
|
|
154
|
-
- [ClickHouse storage](https://mastra.ai/
|
|
154
|
+
- [ClickHouse storage](https://mastra.ai/integrations/databases/clickhouse): Production observability backend
|
|
155
155
|
- [DuckDB vector store](https://mastra.ai/reference/vectors/duckdb): Vector search using the same package
|
|
156
156
|
- [Observability overview](https://mastra.ai/docs/observability/overview)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# DynamoDB
|
|
3
|
+
# DynamoDB
|
|
4
4
|
|
|
5
5
|
The DynamoDB storage implementation provides a high-capacity and performant NoSQL database solution for Mastra, using a single-table design pattern with [ElectroDB](https://electrodb.dev/).
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# LanceDB
|
|
3
|
+
# LanceDB
|
|
4
4
|
|
|
5
5
|
The LanceDB storage implementation provides a high-performance storage solution using the LanceDB database system, which excels at handling both traditional data storage and vector operations.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# libSQL
|
|
3
|
+
# libSQL
|
|
4
4
|
|
|
5
5
|
[libSQL](https://docs.turso.tech/libsql) is an open-source, SQLite-compatible database that supports both local and remote deployments. It can be used to store message history, workflow snapshots, traces, and eval scores.
|
|
6
6
|
|
|
@@ -140,4 +140,4 @@ const thread = await memoryStore?.getThreadById({ threadId: '...' })
|
|
|
140
140
|
|
|
141
141
|
libSQL supports observability and is ideal for local development. Use the `realtime` [tracing strategy](https://mastra.ai/docs/observability/integrations/exporters/mastra-storage) for immediate visibility while debugging.
|
|
142
142
|
|
|
143
|
-
For production environments with higher trace volumes, consider using [PostgreSQL](https://mastra.ai/
|
|
143
|
+
For production environments with higher trace volumes, consider using [PostgreSQL](https://mastra.ai/integrations/databases/postgresql) or [ClickHouse via composite storage](https://mastra.ai/reference/storage/composite).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# MongoDB
|
|
3
|
+
# MongoDB
|
|
4
4
|
|
|
5
5
|
The MongoDB storage implementation provides a high-capacity storage solution using MongoDB databases with support for both document storage and vector operations.
|
|
6
6
|
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
+
|
|
3
|
+
# Neon Postgres
|
|
4
|
+
|
|
5
|
+
[Neon](https://neon.com) is a managed PostgreSQL service. Mastra connects to Neon through [`PostgresStore`](https://mastra.ai/integrations/databases/postgresql), which uses the Node.js `pg` driver. Neon doesn't require a separate Mastra storage package.
|
|
6
|
+
|
|
7
|
+
## Quickstart
|
|
8
|
+
|
|
9
|
+
Create a Neon project, then copy its [pooled connection string](https://neon.com/docs/connect/connect-from-any-app) into `DATABASE_URL`.
|
|
10
|
+
|
|
11
|
+
Install the PostgreSQL storage package:
|
|
12
|
+
|
|
13
|
+
**npm**:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install @mastra/pg@latest
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
**pnpm**:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
pnpm add @mastra/pg@latest
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**Yarn**:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
yarn add @mastra/pg@latest
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
**Bun**:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
bun add @mastra/pg@latest
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Pass the pooled connection string to `PostgresStore`:
|
|
38
|
+
|
|
39
|
+
```typescript
|
|
40
|
+
import { Mastra } from '@mastra/core/mastra'
|
|
41
|
+
import { PostgresStore } from '@mastra/pg'
|
|
42
|
+
|
|
43
|
+
export const mastra = new Mastra({
|
|
44
|
+
storage: new PostgresStore({
|
|
45
|
+
id: 'neon-storage',
|
|
46
|
+
connectionString: process.env.DATABASE_URL!,
|
|
47
|
+
}),
|
|
48
|
+
})
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
On startup, Mastra calls `storage.init()` and creates its tables and indexes in Neon.
|
|
52
|
+
|
|
53
|
+
## Set up Neon with the CLI
|
|
54
|
+
|
|
55
|
+
The Neon CLI requires Node.js 20.19 or newer.
|
|
56
|
+
|
|
57
|
+
Install the [Neon CLI](https://neon.com/docs/cli/install):
|
|
58
|
+
|
|
59
|
+
**npm**:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
npm install -g neon
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
**pnpm**:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
pnpm add -g neon
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**Yarn**:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
yarn global add neon
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
**Bun**:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
bun add --global neon
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
From your project directory, link an existing Neon project or create one:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
neon link
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
`neon link` signs you in and writes project context to `.neon`. It also pulls the current branch's environment variables. Run `neon env pull` again whenever you need to refresh them:
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
neon env pull
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
The command writes `DATABASE_URL` and `DATABASE_URL_UNPOOLED` to `.env.local` or to `.env` when that file already exists.
|
|
96
|
+
|
|
97
|
+
### Add `neon.ts`
|
|
98
|
+
|
|
99
|
+
To manage branch settings in the repository, create a [`neon.ts`](https://neon.com/docs/reference/neon-ts) file:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
neon config init
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
This installs `@neon/config` and `@neon/env` and creates a starter config. For example, the following policy expires new non-default branches after seven days:
|
|
106
|
+
|
|
107
|
+
```typescript
|
|
108
|
+
import { defineConfig } from '@neon/config/v1'
|
|
109
|
+
|
|
110
|
+
export default defineConfig({
|
|
111
|
+
branch: branch => {
|
|
112
|
+
if (branch.isDefault) {
|
|
113
|
+
return {}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
if (!branch.exists) {
|
|
117
|
+
return { ttl: '7d' }
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
return {}
|
|
121
|
+
},
|
|
122
|
+
})
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Apply the config:
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
neon deploy
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
## Install Neon agent skills
|
|
132
|
+
|
|
133
|
+
Install the [`neon` and `neon-postgres` agent skills](https://neon.com/docs/ai/agent-skills) from your project directory:
|
|
134
|
+
|
|
135
|
+
**npm**:
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
npx skills add neondatabase/agent-skills --skill neon --skill neon-postgres -y
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
**pnpm**:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
pnpm dlx skills add neondatabase/agent-skills --skill neon --skill neon-postgres -y
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
**Yarn**:
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
yarn dlx skills add neondatabase/agent-skills --skill neon --skill neon-postgres -y
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
**Bun**:
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
bun x skills add neondatabase/agent-skills --skill neon --skill neon-postgres -y
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
The skills give compatible coding agents Neon setup instructions and Postgres-specific guidance.
|
|
160
|
+
|
|
161
|
+
## Production connections
|
|
162
|
+
|
|
163
|
+
Neon provides direct and pooled connection strings:
|
|
164
|
+
|
|
165
|
+
- `DATABASE_URL` uses Neon's pooled endpoint. Use it for normal application traffic.
|
|
166
|
+
- `DATABASE_URL_UNPOOLED` connects directly to Postgres. Use it for administrative tasks or schema changes that run outside the application.
|
|
167
|
+
|
|
168
|
+
For most applications, use the pooled `DATABASE_URL` shown in the quickstart and let Mastra initialize the schema at startup. `PostgresStore` supports initialization through a transaction-pooled connection.
|
|
169
|
+
|
|
170
|
+
### Separate schema initialization
|
|
171
|
+
|
|
172
|
+
If the runtime database role shouldn't create tables or indexes, initialize the schema during deployment with the direct connection:
|
|
173
|
+
|
|
174
|
+
```typescript
|
|
175
|
+
import { PostgresStore } from '@mastra/pg'
|
|
176
|
+
|
|
177
|
+
const storage = new PostgresStore({
|
|
178
|
+
id: 'neon-storage-init',
|
|
179
|
+
connectionString: process.env.DATABASE_URL_UNPOOLED!,
|
|
180
|
+
})
|
|
181
|
+
|
|
182
|
+
try {
|
|
183
|
+
await storage.init()
|
|
184
|
+
} finally {
|
|
185
|
+
await storage.close()
|
|
186
|
+
}
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
After the schema exists, use the pooled connection at runtime and disable automatic initialization:
|
|
190
|
+
|
|
191
|
+
```typescript
|
|
192
|
+
import { Mastra } from '@mastra/core/mastra'
|
|
193
|
+
import { PostgresStore } from '@mastra/pg'
|
|
194
|
+
|
|
195
|
+
export const mastra = new Mastra({
|
|
196
|
+
storage: new PostgresStore({
|
|
197
|
+
id: 'neon-storage',
|
|
198
|
+
connectionString: process.env.DATABASE_URL!,
|
|
199
|
+
disableInit: true,
|
|
200
|
+
}),
|
|
201
|
+
})
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
See [Neon connection pooling](https://neon.com/docs/connect/connection-pooling) for details.
|
|
205
|
+
|
|
206
|
+
## Vector search
|
|
207
|
+
|
|
208
|
+
Neon supports the [`pgvector` extension](https://neon.com/docs/extensions/pgvector). Use the direct `DATABASE_URL_UNPOOLED` connection while creating the extension and indexes. After setup, configure [`PgVector`](https://mastra.ai/reference/vectors/pg) with the pooled connection for runtime queries:
|
|
209
|
+
|
|
210
|
+
```typescript
|
|
211
|
+
import { PgVector } from '@mastra/pg'
|
|
212
|
+
|
|
213
|
+
const vector = new PgVector({
|
|
214
|
+
id: 'neon-vector',
|
|
215
|
+
connectionString: process.env.DATABASE_URL!,
|
|
216
|
+
disableInit: true,
|
|
217
|
+
})
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
Setting `disableInit: true` prevents the runtime process from creating or changing the extension, tables and indexes.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# OracleDB
|
|
3
|
+
# OracleDB
|
|
4
4
|
|
|
5
5
|
The OracleDB storage provider stores Mastra application state in Oracle Database. It implements Mastra's composite storage interface, so one `OracleStore` instance can back memory, workflow snapshots, observability, scores, scorer definitions, MCP client metadata, and agent registry data.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# Redis
|
|
3
|
+
# Redis
|
|
4
4
|
|
|
5
5
|
The Redis storage implementation provides a high-performance storage solution using direct Redis connections via [`node-redis`](https://github.com/redis/node-redis) (the official Redis client for Node.js). It supports standalone Redis, and through custom client configuration, Redis Sentinel and Cluster deployments.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# Google Cloud Spanner
|
|
3
|
+
# Google Cloud Spanner
|
|
4
4
|
|
|
5
5
|
The Google Cloud Spanner storage implementation provides a horizontally high-capacity, strongly consistent storage backend for Mastra. It targets the GoogleSQL dialect of Cloud Spanner.
|
|
6
6
|
|
|
@@ -6,7 +6,7 @@ Deploy your Mastra application to [Amazon Bedrock AgentCore Runtime](https://doc
|
|
|
6
6
|
|
|
7
7
|
This guide follows the [official AgentCore TypeScript walkthrough](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-get-started-cli-typescript.html) and adapts it to call a Mastra agent from the invocation handler.
|
|
8
8
|
|
|
9
|
-
> **Note:** For a Lambda-based deployment of the full Mastra server, see the [AWS Lambda guide](https://mastra.ai/
|
|
9
|
+
> **Note:** For a Lambda-based deployment of the full Mastra server, see the [AWS Lambda guide](https://mastra.ai/integrations/deploy/aws-lambda). For a long-lived virtual machine, see the [Amazon EC2 guide](https://mastra.ai/integrations/deploy/amazon-ec2).
|
|
10
10
|
|
|
11
11
|
## Before you begin
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ You'll need:
|
|
|
15
15
|
- **[AWS CLI](https://aws.amazon.com/cli/)** installed: Run `aws configure` to authenticate
|
|
16
16
|
- **[Docker](https://www.docker.com/)** installed and running
|
|
17
17
|
|
|
18
|
-
> **Warning:** On AWS Lambda, the filesystem is ephemeral, so any local database file will be lost between invocations. If you're using [LibSQLStore](https://mastra.ai/
|
|
18
|
+
> **Warning:** On AWS Lambda, the filesystem is ephemeral, so any local database file will be lost between invocations. If you're using [LibSQLStore](https://mastra.ai/integrations/databases/libsql) with a local file, configure it to use a remote LibSQL-compatible database (for example, [Turso](https://turso.tech/)) instead.
|
|
19
19
|
|
|
20
20
|
## Create a Dockerfile
|
|
21
21
|
|
|
@@ -14,7 +14,7 @@ You'll need:
|
|
|
14
14
|
- An [Azure account](https://azure.microsoft.com/) with an active subscription
|
|
15
15
|
- A [GitHub repository](https://github.com/) containing your Mastra application
|
|
16
16
|
|
|
17
|
-
> **Warning:** On Azure App Services, the filesystem is ephemeral for some pricing tiers, so any local database file will be lost between deployments. If you're using [LibSQLStore](https://mastra.ai/
|
|
17
|
+
> **Warning:** On Azure App Services, the filesystem is ephemeral for some pricing tiers, so any local database file will be lost between deployments. If you're using [LibSQLStore](https://mastra.ai/integrations/databases/libsql) with a local file, configure it to use a remote LibSQL-compatible database (for example, [Turso](https://turso.tech/)) instead.
|
|
18
18
|
|
|
19
19
|
## Create a new app service
|
|
20
20
|
|
|
@@ -10,7 +10,7 @@ Use `@mastra/deployer-cloudflare` to deploy your Mastra server to Cloudflare Wor
|
|
|
10
10
|
|
|
11
11
|
You'll need a [Mastra application](https://mastra.ai/guides/getting-started/quickstart) and a [Cloudflare](https://cloudflare.com/) account.
|
|
12
12
|
|
|
13
|
-
> **Warning:** Cloudflare Workers use an ephemeral filesystem, so any storage you configure (including observability storage) must be hosted externally. If you're using [LibSQLStore](https://mastra.ai/
|
|
13
|
+
> **Warning:** Cloudflare Workers use an ephemeral filesystem, so any storage you configure (including observability storage) must be hosted externally. If you're using [LibSQLStore](https://mastra.ai/integrations/databases/libsql) with a file URL, switch to a remotely hosted database.
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ This guide covers Digital Ocean's App Platform and Droplets. Each of these offer
|
|
|
10
10
|
|
|
11
11
|
You'll need a [Mastra application](https://mastra.ai/guides/getting-started/quickstart) and a [Digital Ocean](https://www.digitalocean.com/) account.
|
|
12
12
|
|
|
13
|
-
The **App Platform** uses an ephemeral filesystem, so any storage you configure (including observability storage) must be hosted externally. If you're using [LibSQLStore](https://mastra.ai/
|
|
13
|
+
The **App Platform** uses an ephemeral filesystem, so any storage you configure (including observability storage) must be hosted externally. If you're using [LibSQLStore](https://mastra.ai/integrations/databases/libsql) with a file URL, switch to a remotely hosted database.
|
|
14
14
|
|
|
15
15
|
## App platform
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ Use `@mastra/deployer-netlify` to deploy your Mastra server on Netlify. The depl
|
|
|
10
10
|
|
|
11
11
|
You'll need a [Mastra application](https://mastra.ai/guides/getting-started/quickstart) and a [Netlify](https://www.netlify.com/) account.
|
|
12
12
|
|
|
13
|
-
> **Warning:** Netlify Functions use an ephemeral filesystem, so any storage you configure (including observability storage) must be hosted externally. If you're using [LibSQLStore](https://mastra.ai/
|
|
13
|
+
> **Warning:** Netlify Functions use an ephemeral filesystem, so any storage you configure (including observability storage) must be hosted externally. If you're using [LibSQLStore](https://mastra.ai/integrations/databases/libsql) with a file URL, switch to a remotely hosted database.
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ Use `@mastra/deployer-vercel` to deploy your Mastra server as serverless functio
|
|
|
10
10
|
|
|
11
11
|
You'll need a [Mastra application](https://mastra.ai/guides/getting-started/quickstart) and a [Vercel](https://vercel.com/) account.
|
|
12
12
|
|
|
13
|
-
> **Warning:** Vercel Functions use an ephemeral filesystem, so any storage you configure (including observability storage) must be hosted externally. If you're using [LibSQLStore](https://mastra.ai/
|
|
13
|
+
> **Warning:** Vercel Functions use an ephemeral filesystem, so any storage you configure (including observability storage) must be hosted externally. If you're using [LibSQLStore](https://mastra.ai/integrations/databases/libsql) with a file URL, switch to a remotely hosted database.
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
@@ -113,7 +113,7 @@ export default async function handler(req: VercelRequest, res: VercelResponse) {
|
|
|
113
113
|
}
|
|
114
114
|
```
|
|
115
115
|
|
|
116
|
-
> **Warning:** The Vercel deployer doesn't include `flush` calls. If you need this, you'll need to wrap the handler yourself to add the logic before returning the response. Alternatively, deploy to a long-running server like a [virtual machine](https://mastra.ai/
|
|
116
|
+
> **Warning:** The Vercel deployer doesn't include `flush` calls. If you need this, you'll need to wrap the handler yourself to add the logic before returning the response. Alternatively, deploy to a long-running server like a [virtual machine](https://mastra.ai/integrations/deploy/digital-ocean) where this isn't an issue.
|
|
117
117
|
|
|
118
118
|
## Related
|
|
119
119
|
|
package/.docs/{reference/workspace/s3-filesystem.md → integrations/file-storage/amazon-s3.md}
RENAMED
|
@@ -262,13 +262,13 @@ const workspace = new Workspace({
|
|
|
262
262
|
})
|
|
263
263
|
```
|
|
264
264
|
|
|
265
|
-
See [E2BSandbox reference](https://mastra.ai/
|
|
265
|
+
See [E2BSandbox reference](https://mastra.ai/integrations/sandboxes/e2b) for more details on mounting.
|
|
266
266
|
|
|
267
267
|
## Related
|
|
268
268
|
|
|
269
269
|
- [WorkspaceFilesystem interface](https://mastra.ai/reference/workspace/filesystem)
|
|
270
|
-
- [ArchilFilesystem reference](https://mastra.ai/
|
|
271
|
-
- [GCSFilesystem reference](https://mastra.ai/
|
|
272
|
-
- [AzureBlobFilesystem reference](https://mastra.ai/
|
|
273
|
-
- [E2BSandbox reference](https://mastra.ai/
|
|
270
|
+
- [ArchilFilesystem reference](https://mastra.ai/integrations/file-storage/archil)
|
|
271
|
+
- [GCSFilesystem reference](https://mastra.ai/integrations/file-storage/google-cloud-storage)
|
|
272
|
+
- [AzureBlobFilesystem reference](https://mastra.ai/integrations/file-storage/azure-blob)
|
|
273
|
+
- [E2BSandbox reference](https://mastra.ai/integrations/sandboxes/e2b)
|
|
274
274
|
- [Workspace overview](https://mastra.ai/docs/workspace/overview)
|
package/.docs/{reference/workspace/archil-filesystem.md → integrations/file-storage/archil.md}
RENAMED
|
@@ -198,7 +198,7 @@ const { url } = await filesystem.share('/reports/output.pdf', {
|
|
|
198
198
|
## Related
|
|
199
199
|
|
|
200
200
|
- [WorkspaceFilesystem interface](https://mastra.ai/reference/workspace/filesystem)
|
|
201
|
-
- [S3Filesystem reference](https://mastra.ai/
|
|
202
|
-
- [GCSFilesystem reference](https://mastra.ai/
|
|
203
|
-
- [AzureBlobFilesystem reference](https://mastra.ai/
|
|
201
|
+
- [S3Filesystem reference](https://mastra.ai/integrations/file-storage/amazon-s3)
|
|
202
|
+
- [GCSFilesystem reference](https://mastra.ai/integrations/file-storage/google-cloud-storage)
|
|
203
|
+
- [AzureBlobFilesystem reference](https://mastra.ai/integrations/file-storage/azure-blob)
|
|
204
204
|
- [Archil documentation](https://docs.archil.com)
|
|
@@ -215,6 +215,6 @@ const config = filesystem.getMountConfig()
|
|
|
215
215
|
## Related
|
|
216
216
|
|
|
217
217
|
- [WorkspaceFilesystem interface](https://mastra.ai/reference/workspace/filesystem)
|
|
218
|
-
- [S3Filesystem reference](https://mastra.ai/
|
|
219
|
-
- [GCSFilesystem reference](https://mastra.ai/
|
|
218
|
+
- [S3Filesystem reference](https://mastra.ai/integrations/file-storage/amazon-s3)
|
|
219
|
+
- [GCSFilesystem reference](https://mastra.ai/integrations/file-storage/google-cloud-storage)
|
|
220
220
|
- [Workspace overview](https://mastra.ai/docs/workspace/overview)
|
|
@@ -185,13 +185,13 @@ const workspace = new Workspace({
|
|
|
185
185
|
})
|
|
186
186
|
```
|
|
187
187
|
|
|
188
|
-
See [E2BSandbox reference](https://mastra.ai/
|
|
188
|
+
See [E2BSandbox reference](https://mastra.ai/integrations/sandboxes/e2b) for more details on mounting.
|
|
189
189
|
|
|
190
190
|
## Related
|
|
191
191
|
|
|
192
192
|
- [WorkspaceFilesystem interface](https://mastra.ai/reference/workspace/filesystem)
|
|
193
|
-
- [ArchilFilesystem reference](https://mastra.ai/
|
|
194
|
-
- [S3Filesystem reference](https://mastra.ai/
|
|
195
|
-
- [AzureBlobFilesystem reference](https://mastra.ai/
|
|
196
|
-
- [E2BSandbox reference](https://mastra.ai/
|
|
193
|
+
- [ArchilFilesystem reference](https://mastra.ai/integrations/file-storage/archil)
|
|
194
|
+
- [S3Filesystem reference](https://mastra.ai/integrations/file-storage/amazon-s3)
|
|
195
|
+
- [AzureBlobFilesystem reference](https://mastra.ai/integrations/file-storage/azure-blob)
|
|
196
|
+
- [E2BSandbox reference](https://mastra.ai/integrations/sandboxes/e2b)
|
|
197
197
|
- [Workspace overview](https://mastra.ai/docs/workspace/overview)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Stores workspace files in [Mesa](https://docs.mesa.dev/content/getting-started/introduction) repos through the standard Mastra `WorkspaceFilesystem` interface.
|
|
6
6
|
|
|
7
|
-
Use `MesaFilesystem` when agents need versioned file storage. For a local directory, use [`LocalFilesystem`](https://mastra.ai/reference/workspace/local-filesystem). For object storage, use [`S3Filesystem`](https://mastra.ai/
|
|
7
|
+
Use `MesaFilesystem` when agents need versioned file storage. For a local directory, use [`LocalFilesystem`](https://mastra.ai/reference/workspace/local-filesystem). For object storage, use [`S3Filesystem`](https://mastra.ai/integrations/file-storage/amazon-s3), [`GCSFilesystem`](https://mastra.ai/integrations/file-storage/google-cloud-storage), or [`AzureBlobFilesystem`](https://mastra.ai/integrations/file-storage/azure-blob).
|
|
8
8
|
|
|
9
9
|
> **Note:** `MesaFilesystem` runs in the Mastra process.
|
|
10
10
|
>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Stores files in any storage backend supported by [FilesSDK](https://files-sdk.dev): a unified abstraction over S3, Cloudflare R2, Google Cloud Storage, Azure Blob, Vercel Blob, MinIO, the local filesystem, and more. For interface details, see [WorkspaceFilesystem Interface](https://mastra.ai/reference/workspace/filesystem).
|
|
6
6
|
|
|
7
|
-
Use `FilesSDKFilesystem` when you want a single adapter that can target multiple storage backends with the same code. Swap the underlying driver without changing the workspace setup. If you only target one backend and want first-class options for that backend, prefer the dedicated provider (for example [`S3Filesystem`](https://mastra.ai/
|
|
7
|
+
Use `FilesSDKFilesystem` when you want a single adapter that can target multiple storage backends with the same code. Swap the underlying driver without changing the workspace setup. If you only target one backend and want first-class options for that backend, prefer the dedicated provider (for example [`S3Filesystem`](https://mastra.ai/integrations/file-storage/amazon-s3) or [`GCSFilesystem`](https://mastra.ai/integrations/file-storage/google-cloud-storage)).
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
@@ -173,7 +173,7 @@ const url = await filesystem.files.url('reports/q3.pdf')
|
|
|
173
173
|
- **`mkdir`** is a no-op. Directories exist implicitly when keys with that prefix exist.
|
|
174
174
|
- **`exists`** returns `true` only when an exact key is present as a file, or when the path is a prefix that contains at least one child key. Empty leftover directories on hierarchical adapters don't count.
|
|
175
175
|
- **`deleteFile`** throws `FileNotFoundError` when the key doesn't exist, unless `{ force: true }` is passed.
|
|
176
|
-
- **`deleteFile`** on a directory delegates to `rmdir({ recursive: true })`, matching the [`S3Filesystem`](https://mastra.ai/
|
|
176
|
+
- **`deleteFile`** on a directory delegates to `rmdir({ recursive: true })`, matching the [`S3Filesystem`](https://mastra.ai/integrations/file-storage/amazon-s3) and [`GCSFilesystem`](https://mastra.ai/integrations/file-storage/google-cloud-storage) behavior.
|
|
177
177
|
- **`moveFile`** is implemented as `copyFile` followed by `deleteFile`. It isn't **atomic**. If the source delete fails after a successful copy, the destination remains and the source isn't removed.
|
|
178
178
|
- **`appendFile`** is a read-modify-write operation. Concurrent appends to the same key may overwrite each other. This is inherent to object storage and not specific to FilesSDK.
|
|
179
179
|
- **`readdir({ recursive: true })`** emits intermediate directory entries (for example, `a/b` is emitted alongside `a/b/c.txt`).
|
|
@@ -181,8 +181,8 @@ const url = await filesystem.files.url('reports/q3.pdf')
|
|
|
181
181
|
## Related
|
|
182
182
|
|
|
183
183
|
- [WorkspaceFilesystem interface](https://mastra.ai/reference/workspace/filesystem)
|
|
184
|
-
- [S3Filesystem reference](https://mastra.ai/
|
|
185
|
-
- [GCSFilesystem reference](https://mastra.ai/
|
|
186
|
-
- [AzureBlobFilesystem reference](https://mastra.ai/
|
|
184
|
+
- [S3Filesystem reference](https://mastra.ai/integrations/file-storage/amazon-s3)
|
|
185
|
+
- [GCSFilesystem reference](https://mastra.ai/integrations/file-storage/google-cloud-storage)
|
|
186
|
+
- [AzureBlobFilesystem reference](https://mastra.ai/integrations/file-storage/azure-blob)
|
|
187
187
|
- [Workspace overview](https://mastra.ai/docs/workspace/overview)
|
|
188
188
|
- [FilesSDK documentation](https://files-sdk.dev)
|
|
@@ -396,5 +396,5 @@ From here, you can extend the project with your own tools and logic:
|
|
|
396
396
|
|
|
397
397
|
When you're ready, read more about how Mastra integrates with AI SDK UI and how to deploy your agent anywhere:
|
|
398
398
|
|
|
399
|
-
- Integrate Mastra with [AI SDK UI](https://mastra.ai/
|
|
399
|
+
- Integrate Mastra with [AI SDK UI](https://mastra.ai/integrations/agentic-ui/ai-sdk-ui)
|
|
400
400
|
- Deploy your agent [anywhere](https://mastra.ai/docs/deployment/overview)
|
|
@@ -502,5 +502,5 @@ From here, you can extend the project with your own tools and logic:
|
|
|
502
502
|
|
|
503
503
|
When you're ready, read more about how Mastra integrates with AI SDK UI and React, and how to deploy your agent anywhere:
|
|
504
504
|
|
|
505
|
-
- Integrate Mastra with [AI SDK UI](https://mastra.ai/
|
|
505
|
+
- Integrate Mastra with [AI SDK UI](https://mastra.ai/integrations/agentic-ui/ai-sdk-ui)
|
|
506
506
|
- Deploy your agent [anywhere](https://mastra.ai/docs/deployment/overview)
|
|
@@ -340,6 +340,6 @@ From here, you can extend the project with your own tools and logic:
|
|
|
340
340
|
|
|
341
341
|
When you're ready, read more about how Mastra integrates with AI SDK UI and Next.js, and how to deploy your agent anywhere, including Vercel:
|
|
342
342
|
|
|
343
|
-
- Integrate Mastra with [AI SDK UI](https://mastra.ai/
|
|
344
|
-
- Deploy your agent to [Vercel](https://mastra.ai/
|
|
343
|
+
- Integrate Mastra with [AI SDK UI](https://mastra.ai/integrations/agentic-ui/ai-sdk-ui)
|
|
344
|
+
- Deploy your agent to [Vercel](https://mastra.ai/integrations/deploy/vercel)
|
|
345
345
|
- Deploy your agent [anywhere](https://mastra.ai/docs/deployment/overview)
|
|
@@ -495,5 +495,5 @@ From here, you can extend the project with your own tools and logic:
|
|
|
495
495
|
|
|
496
496
|
When you're ready, read more about how Mastra integrates with AI SDK UI and Nuxt, and how to deploy your agent anywhere:
|
|
497
497
|
|
|
498
|
-
- Integrate Mastra with [AI SDK UI](https://mastra.ai/
|
|
498
|
+
- Integrate Mastra with [AI SDK UI](https://mastra.ai/integrations/agentic-ui/ai-sdk-ui)
|
|
499
499
|
- Deploy your agent [anywhere](https://mastra.ai/docs/deployment/overview)
|
|
@@ -293,6 +293,6 @@ From here, you can extend the project with your own tools and logic:
|
|
|
293
293
|
|
|
294
294
|
When you're ready, read more about how Mastra integrates with AI SDK UI and SvelteKit, and how to deploy your agent anywhere:
|
|
295
295
|
|
|
296
|
-
- Integrate Mastra with [AI SDK UI](https://mastra.ai/
|
|
296
|
+
- Integrate Mastra with [AI SDK UI](https://mastra.ai/integrations/agentic-ui/ai-sdk-ui)
|
|
297
297
|
- Deploy your agent [anywhere](https://mastra.ai/docs/deployment/overview)
|
|
298
298
|
- Try the [unofficial Svelte AI Elements](https://svelte-ai-elements.vercel.app/)
|
|
@@ -423,5 +423,5 @@ From here, you can extend the project with your own tools and logic:
|
|
|
423
423
|
|
|
424
424
|
When you're ready, read more about how Mastra integrates with AI SDK UI and React, and how to deploy your agent anywhere:
|
|
425
425
|
|
|
426
|
-
- Integrate Mastra with [AI SDK UI](https://mastra.ai/
|
|
426
|
+
- Integrate Mastra with [AI SDK UI](https://mastra.ai/integrations/agentic-ui/ai-sdk-ui)
|
|
427
427
|
- Deploy your agent [anywhere](https://mastra.ai/docs/deployment/overview)
|
package/.docs/{docs/observability/integrations/exporters → integrations/observability}/arize.md
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# Arize
|
|
3
|
+
# Arize
|
|
4
4
|
|
|
5
5
|
[Arize](https://arize.com/) provides observability platforms for AI applications through [Phoenix](https://phoenix.arize.com/) (open-source) and [Arize AX](https://arize.com/generative-ai/) (enterprise). The Arize exporter sends traces using OpenTelemetry and [OpenInference](https://github.com/Arize-ai/openinference/tree/main/spec) semantic conventions, compatible with any OpenTelemetry platform that supports OpenInference.
|
|
6
6
|
|
package/.docs/{docs/observability/integrations/exporters → integrations/observability}/arthur.md
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# Arthur
|
|
3
|
+
# Arthur
|
|
4
4
|
|
|
5
5
|
[Arthur](https://arthur.ai/) provides an observability and evaluation platform for AI applications through [Arthur Engine](https://github.com/arthur-ai/arthur-engine) (open-source). The Arthur exporter sends traces using OpenTelemetry and [OpenInference](https://github.com/Arize-ai/openinference/tree/main/spec) semantic conventions.
|
|
6
6
|
|