@mastra/mcp-docs-server 1.2.15 → 1.2.16-alpha.3
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/agent-approval.md +5 -5
- package/.docs/docs/agents/overview.md +4 -4
- package/.docs/docs/browser/overview.md +1 -1
- package/.docs/docs/capabilities/channels.md +5 -5
- package/.docs/docs/capabilities/subagents.md +1 -1
- package/.docs/docs/connections/overview.md +1 -1
- package/.docs/docs/datasets/overview.md +1 -1
- package/.docs/docs/deployment/cloud-providers.md +4 -2
- package/.docs/docs/deployment/mastra-server.md +1 -1
- package/.docs/docs/deployment/monorepo.md +1 -1
- package/.docs/docs/deployment/overview.md +4 -1
- package/.docs/docs/deployment/sandbox.md +1 -1
- package/.docs/docs/deployment/web-framework.md +1 -1
- package/.docs/docs/deployment/workers.md +248 -2
- package/.docs/docs/evals/overview.md +1 -1
- package/.docs/docs/evals/quick-checks.md +1 -1
- package/.docs/docs/guides/multi-agent-systems.md +1 -1
- package/.docs/docs/harness/agent-controller.md +5 -5
- package/.docs/docs/harness/overview.md +1 -1
- package/.docs/docs/index.md +3 -3
- package/.docs/docs/long-running-agents/signal-providers.md +2 -2
- package/.docs/docs/mastra-platform/deploy.md +1 -1
- package/.docs/docs/mastra-platform/observability.md +63 -18
- package/.docs/docs/mastra-platform/overview.md +1 -1
- package/.docs/docs/mcp/overview.md +1 -1
- package/.docs/docs/memory/working-memory.md +1 -1
- package/.docs/docs/observability/integrations/exporters/mastra-storage.md +2 -2
- package/.docs/docs/observability/logging.md +1 -1
- package/.docs/docs/observability/metrics/overview.md +1 -1
- package/.docs/docs/observability/overview.md +1 -5
- package/.docs/docs/observability/tracing/overview.md +3 -6
- package/.docs/docs/server/auth/workers.md +1 -1
- package/.docs/docs/server/auth.md +5 -5
- package/.docs/docs/server/mastra-client.md +1 -1
- package/.docs/docs/server/mastra-server.md +1 -1
- package/.docs/docs/storage/overview.md +7 -6
- package/.docs/docs/workflows/human-in-the-loop.md +2 -2
- package/.docs/docs/workflows/overview.md +2 -2
- package/.docs/docs/workspace/lsp.md +27 -0
- package/.docs/docs/workspace/sandbox.md +11 -12
- package/.docs/integrations/agentic-ui/ai-sdk-ui.md +1 -1
- package/.docs/integrations/agentic-ui/assistant-ui.md +1 -1
- package/.docs/integrations/agentic-ui/copilotkit.md +1 -1
- package/.docs/integrations/agentic-ui/openui.md +1 -1
- package/.docs/integrations/databases/postgresql.md +8 -8
- package/.docs/integrations/deploy/amazon-ec2.md +2 -2
- package/.docs/integrations/deploy/aws-bedrock-agentcore.md +1 -1
- package/.docs/integrations/deploy/aws-lambda.md +2 -2
- package/.docs/integrations/deploy/azure-app-services.md +2 -2
- package/.docs/integrations/deploy/cloudflare.md +2 -2
- package/.docs/integrations/deploy/digital-ocean.md +2 -2
- package/.docs/integrations/deploy/inngest.md +1 -1
- package/.docs/integrations/deploy/kubernetes.md +2 -3
- package/.docs/integrations/deploy/netlify.md +2 -2
- package/.docs/integrations/deploy/temporal.md +1 -1
- package/.docs/integrations/deploy/vercel.md +2 -2
- package/.docs/integrations/file-storage/agentfs.md +1 -1
- package/.docs/integrations/file-storage/amazon-s3.md +1 -1
- package/.docs/integrations/file-storage/archil.md +1 -1
- package/.docs/integrations/file-storage/azure-blob.md +1 -1
- package/.docs/integrations/file-storage/google-cloud-storage.md +1 -1
- package/.docs/integrations/file-storage/google-drive.md +1 -1
- package/.docs/integrations/file-storage/mesa.md +1 -1
- package/.docs/integrations/file-storage/vercel-files.md +1 -1
- package/.docs/integrations/frameworks/astro.md +1 -1
- package/.docs/integrations/frameworks/electron.md +1 -1
- package/.docs/integrations/frameworks/express.md +1 -1
- package/.docs/integrations/frameworks/hono.md +1 -1
- package/.docs/integrations/frameworks/nestjs.md +1 -1
- package/.docs/integrations/frameworks/next-js.md +1 -1
- package/.docs/integrations/frameworks/nuxt.md +1 -1
- package/.docs/integrations/frameworks/sveltekit.md +1 -1
- package/.docs/integrations/frameworks/vite-react.md +1 -1
- package/.docs/integrations/sandboxes/agentcore.md +1 -1
- package/.docs/integrations/sandboxes/apple-container.md +1 -1
- package/.docs/integrations/sandboxes/blaxel.md +1 -1
- package/.docs/integrations/sandboxes/daytona.md +1 -1
- package/.docs/integrations/sandboxes/docker.md +1 -1
- package/.docs/integrations/sandboxes/e2b.md +1 -1
- package/.docs/integrations/sandboxes/modal.md +1 -1
- package/.docs/integrations/sandboxes/railway.md +1 -1
- package/.docs/integrations/sandboxes/vercel.md +3 -1
- package/.docs/integrations/tools/firecrawl.md +2 -2
- package/.docs/integrations/voice/livekit.md +3 -3
- package/.docs/integrations.md +108 -108
- package/.docs/models/environment-variables.md +2 -0
- package/.docs/models/gateways/openrouter.md +5 -1
- package/.docs/models/gateways/vercel.md +3 -2
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/aiand.md +3 -2
- package/.docs/models/providers/digitalocean.md +3 -2
- package/.docs/models/providers/edenai.md +88 -0
- package/.docs/models/providers/hyper.md +3 -3
- package/.docs/models/providers/inceptron.md +8 -9
- package/.docs/models/providers/kilo.md +11 -6
- package/.docs/models/providers/llmgateway.md +3 -1
- package/.docs/models/providers/merge-gateway.md +262 -0
- package/.docs/models/providers/nano-gpt.md +13 -37
- package/.docs/models/providers/opencode.md +2 -2
- package/.docs/models/providers/tinfoil.md +9 -8
- package/.docs/models/providers/xai.md +2 -1
- package/.docs/models/providers.md +2 -0
- package/.docs/reference/agents/getVoice.md +1 -1
- package/.docs/reference/configuration.md +1 -1
- package/.docs/reference/index.md +5 -1
- package/.docs/reference/manual-install.md +1 -1
- package/.docs/reference/migrations/network-to-supervisor.md +1 -1
- package/.docs/reference/migrations/upgrade-to-v1/tracing.md +1 -3
- package/.docs/reference/observability/tracing/exporters/cloud-exporter.md +0 -1
- package/.docs/reference/observability/tracing/exporters/console-exporter.md +0 -1
- package/.docs/reference/observability/tracing/exporters/default-exporter.md +0 -1
- package/.docs/reference/observability/tracing/exporters/mastra-platform-exporter.md +0 -1
- package/.docs/reference/observability/tracing/exporters/mastra-storage-exporter.md +0 -1
- package/.docs/reference/observability/tracing/processors/sensitive-data-filter.md +111 -99
- package/.docs/reference/observability/tracing/span-filtering.md +1 -1
- package/.docs/reference/storage/overview.md +1 -1
- package/.docs/reference/templates/overview.md +1 -1
- package/.docs/{guides → reference}/voice/overview.md +3 -3
- package/.docs/{guides → reference}/voice/speech-to-speech.md +1 -1
- package/.docs/{guides → reference}/voice/speech-to-text.md +1 -1
- package/.docs/{guides → reference}/voice/text-to-speech.md +2 -2
- package/CHANGELOG.md +14 -0
- package/package.json +4 -4
- package/.docs/docs/observability/integrations/exporters/mastra-platform.md +0 -201
- package/.docs/docs/observability/integrations/overview.md +0 -47
- package/.docs/docs/observability/integrations/processors/sensitive-data-filter.md +0 -302
- package/.docs/guides/deployment/mastra-workers.md +0 -578
- package/.docs/guides/getting-started/quickstart.md +0 -88
- package/.docs/guides/guide/ai-recruiter.md +0 -228
- package/.docs/guides/guide/code-review-bot.md +0 -228
- package/.docs/guides/guide/coding-agent.md +0 -392
- package/.docs/guides/guide/dev-assistant.md +0 -309
- package/.docs/guides/guide/docs-manager.md +0 -240
- package/.docs/guides/guide/github-actions-pr-description.md +0 -238
- package/.docs/guides/guide/notes-mcp-server.md +0 -418
- package/.docs/guides/guide/research-assistant.md +0 -350
- package/.docs/guides/guide/research-coordinator.md +0 -418
- package/.docs/guides/guide/signal-provider.md +0 -221
- package/.docs/guides/index.md +0 -24
- /package/.docs/{reference → docs}/mastra-platform/api.md +0 -0
- /package/.docs/{guides/agent-frameworks/ai-sdk.md → reference/ai-sdk/overview.md} +0 -0
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Observability on Mastra platform
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Use `mastra init` to configure platform observability while adding Mastra to an existing application, or configure it manually in a newly created Mastra project.
|
|
5
|
+
Mastra Platform Observability collects traces, logs, metrics, scores, and feedback from Mastra applications. Use it for hosted observability without deploying Studio or Server or configuring local observability storage.
|
|
8
6
|
|
|
9
7
|
## Quickstart
|
|
10
8
|
|
|
@@ -12,7 +10,7 @@ Choose the setup path that matches your project.
|
|
|
12
10
|
|
|
13
11
|
### New project
|
|
14
12
|
|
|
15
|
-
Create a managed Mastra project
|
|
13
|
+
Create a managed Mastra project and enable Mastra Platform Observability when prompted:
|
|
16
14
|
|
|
17
15
|
**npm**:
|
|
18
16
|
|
|
@@ -38,11 +36,11 @@ yarn create mastra
|
|
|
38
36
|
bunx create-mastra
|
|
39
37
|
```
|
|
40
38
|
|
|
41
|
-
|
|
39
|
+
The create command authenticates with Mastra Platform, creates an observability project, mints an access token, and writes `MASTRA_PLATFORM_ACCESS_TOKEN` and `MASTRA_PROJECT_ID` to `.env`.
|
|
42
40
|
|
|
43
|
-
### Existing
|
|
41
|
+
### Existing project
|
|
44
42
|
|
|
45
|
-
If you
|
|
43
|
+
If you're adding Mastra to an existing application, run `mastra init` and enable Mastra Observability when prompted:
|
|
46
44
|
|
|
47
45
|
**npm**:
|
|
48
46
|
|
|
@@ -68,21 +66,33 @@ yarn dlx mastra init
|
|
|
68
66
|
bun x mastra init
|
|
69
67
|
```
|
|
70
68
|
|
|
71
|
-
The
|
|
69
|
+
The init command lets you select an existing platform project or create one. It then creates an access token and writes the credentials to `.env`.
|
|
70
|
+
|
|
71
|
+
## Configure manually
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
Use manual configuration if you skipped platform setup or automatic provisioning failed.
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
1. In [Mastra Platform](https://projects.mastra.ai), create or open a project.
|
|
76
|
+
2. Create an access token for the project's organization.
|
|
77
|
+
3. Copy the project ID from the project page.
|
|
78
|
+
4. Add both values to `.env`:
|
|
76
79
|
|
|
77
|
-
```
|
|
80
|
+
```bash
|
|
81
|
+
MASTRA_PLATFORM_ACCESS_TOKEN=<your-platform-access-token>
|
|
82
|
+
MASTRA_PROJECT_ID=<your-project-id>
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Register [`MastraPlatformExporter`](https://mastra.ai/reference/observability/tracing/exporters/mastra-platform-exporter) in your observability configuration:
|
|
86
|
+
|
|
87
|
+
```typescript
|
|
78
88
|
import { Mastra } from '@mastra/core/mastra'
|
|
79
|
-
import {
|
|
89
|
+
import { MastraPlatformExporter, Observability } from '@mastra/observability'
|
|
80
90
|
|
|
81
91
|
export const mastra = new Mastra({
|
|
82
92
|
observability: new Observability({
|
|
83
93
|
configs: {
|
|
84
94
|
default: {
|
|
85
|
-
serviceName: '
|
|
95
|
+
serviceName: 'my-service',
|
|
86
96
|
exporters: [new MastraPlatformExporter()],
|
|
87
97
|
},
|
|
88
98
|
},
|
|
@@ -90,11 +100,43 @@ export const mastra = new Mastra({
|
|
|
90
100
|
})
|
|
91
101
|
```
|
|
92
102
|
|
|
93
|
-
|
|
103
|
+
The exporter reads the access token and project ID from the environment. Keep `serviceName` stable so you can distinguish applications and deployments when filtering observability data.
|
|
104
|
+
|
|
105
|
+
`MastraPlatformExporter` sends ended spans, logs, metrics, scores, and feedback. It buffers events and sends a batch when it reaches 1,000 events or has waited five seconds. Model chunk spans aren't exported.
|
|
106
|
+
|
|
107
|
+
> **Note:** `MastraPlatformExporter` replaced `CloudExporter`. `CloudExporter` remains available for backward compatibility but is deprecated. Use `MastraPlatformExporter` for new code.
|
|
108
|
+
|
|
109
|
+
### Store data locally
|
|
110
|
+
|
|
111
|
+
Add `MastraStorageExporter` if you also want to persist observability data to your configured Mastra storage and inspect it in local Studio:
|
|
112
|
+
|
|
113
|
+
```typescript
|
|
114
|
+
import { Mastra } from '@mastra/core/mastra'
|
|
115
|
+
import { MastraPlatformExporter, MastraStorageExporter, Observability } from '@mastra/observability'
|
|
116
|
+
|
|
117
|
+
export const mastra = new Mastra({
|
|
118
|
+
observability: new Observability({
|
|
119
|
+
configs: {
|
|
120
|
+
default: {
|
|
121
|
+
serviceName: 'my-service',
|
|
122
|
+
exporters: [new MastraPlatformExporter(), new MastraStorageExporter()],
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
}),
|
|
126
|
+
})
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
See [Mastra storage exporter](https://mastra.ai/docs/observability/integrations/exporters/mastra-storage) for storage requirements and configuration.
|
|
130
|
+
|
|
131
|
+
## View observability data
|
|
132
|
+
|
|
133
|
+
Open your project in [Mastra Platform](https://projects.mastra.ai) to inspect exported traces, logs, metrics, scores, and feedback. A Studio or Server deployment isn't required.
|
|
134
|
+
|
|
135
|
+
Use a consistent `serviceName` to filter data from a specific application or deployment.
|
|
94
136
|
|
|
95
137
|
## Query observability data
|
|
96
138
|
|
|
97
|
-
|
|
139
|
+
Query hosted observability data from the terminal with the Mastra CLI:
|
|
98
140
|
|
|
99
141
|
**npm**:
|
|
100
142
|
|
|
@@ -120,8 +162,11 @@ yarn dlx mastra api trace list
|
|
|
120
162
|
bun x mastra api trace list
|
|
121
163
|
```
|
|
122
164
|
|
|
123
|
-
|
|
165
|
+
The CLI can infer platform credentials from your project environment. See the [`mastra api` CLI reference](https://mastra.ai/reference/cli/mastra) for available commands, filtering, pagination, credential resolution, and `curl` examples.
|
|
124
166
|
|
|
125
|
-
##
|
|
167
|
+
## Next steps
|
|
126
168
|
|
|
127
|
-
- 📹 [Mastra observability and Studio workshop](https://www.youtube.com/watch?v=dKO_a3RPra0)
|
|
169
|
+
- 📹 [Mastra observability and Studio workshop](https://www.youtube.com/watch?v=dKO_a3RPra0)
|
|
170
|
+
- [Configure Mastra Platform](https://mastra.ai/docs/mastra-platform/configuration)
|
|
171
|
+
- [Learn about observability](https://mastra.ai/docs/observability/overview)
|
|
172
|
+
- [Configure `MastraPlatformExporter`](https://mastra.ai/reference/observability/tracing/exporters/mastra-platform-exporter)
|
|
@@ -40,4 +40,4 @@ Once you're ready to deploy your application to production, run [`mastra deploy`
|
|
|
40
40
|
|
|
41
41
|
Follow the [Deploy](https://mastra.ai/docs/mastra-platform/deploy) docs for step-by-step instructions.
|
|
42
42
|
|
|
43
|
-
If you host your Mastra application on your own infrastructure, you can still send observability data to Mastra platform using the [MastraPlatformExporter](https://mastra.ai/docs/
|
|
43
|
+
If you host your Mastra application on your own infrastructure, you can still send observability data to Mastra platform using the [MastraPlatformExporter](https://mastra.ai/docs/mastra-platform/observability).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# MCP
|
|
3
|
+
# MCP
|
|
4
4
|
|
|
5
5
|
Mastra supports the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction), an open standard for connecting AI agents to external tools and resources.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# Working
|
|
3
|
+
# Working memory
|
|
4
4
|
|
|
5
5
|
While [message history](https://mastra.ai/docs/memory/message-history) and [semantic recall](https://mastra.ai/docs/memory/semantic-recall) help agents remember conversations, working memory allows them to maintain persistent information about users across interactions.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# Storage exporter
|
|
4
4
|
|
|
5
5
|
The `MastraStorageExporter` persists traces to your configured storage backend, making them accessible through Studio. It requires no external services.
|
|
6
6
|
|
|
@@ -242,6 +242,6 @@ new MastraStorageExporter({
|
|
|
242
242
|
## Related
|
|
243
243
|
|
|
244
244
|
- [Tracing Overview](https://mastra.ai/docs/observability/tracing/overview)
|
|
245
|
-
- [MastraPlatformExporter](https://mastra.ai/docs/
|
|
245
|
+
- [MastraPlatformExporter](https://mastra.ai/docs/mastra-platform/observability)
|
|
246
246
|
- [Composite Storage](https://mastra.ai/reference/storage/composite): Combine multiple storage providers
|
|
247
247
|
- [Storage Configuration](https://mastra.ai/docs/storage/overview)
|
|
@@ -10,7 +10,7 @@ When deploying to the Mastra platform, logs are shown in the dashboard. In self-
|
|
|
10
10
|
|
|
11
11
|
## Configuring logs with `PinoLogger`
|
|
12
12
|
|
|
13
|
-
When [initializing a new Mastra project](https://mastra.ai/
|
|
13
|
+
When [initializing a new Mastra project](https://mastra.ai/docs) using the CLI, `PinoLogger` is included by default.
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
16
|
import { Mastra } from '@mastra/core/mastra'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# Metrics
|
|
3
|
+
# Metrics
|
|
4
4
|
|
|
5
5
|
Mastra automatically emits performance and usage metrics from traced execution. There's no manual instrumentation needed. Metrics are derived from spans as they complete.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# Observability
|
|
3
|
+
# Observability
|
|
4
4
|
|
|
5
5
|
Mastra's observability system gives you visibility into every agent run, workflow step, tool call, and model interaction. Agent behavior depends on model responses, prompts, tools, memory, and workflow state, so observability helps you inspect runtime decisions from day one. It captures complementary signals that work together to help you understand what your application is doing and why.
|
|
6
6
|
|
|
@@ -10,7 +10,6 @@ Mastra's observability system gives you visibility into every agent run, workflo
|
|
|
10
10
|
- [**Logging**](https://mastra.ai/docs/observability/logging): Forwards structured log entries from your application and Mastra internals to observability storage, correlated to traces automatically.
|
|
11
11
|
- [**Metrics**](https://mastra.ai/docs/observability/metrics/overview): Extracts trace usage and cost data. No additional instrumentation is required.
|
|
12
12
|
- [**Feedback**](https://mastra.ai/docs/observability/feedback): Stores ratings, comments, corrections, and other review signals linked to traces and spans.
|
|
13
|
-
- [**Integrations**](https://mastra.ai/docs/observability/integrations/overview): Choose exporters, bridges, and span processors for Studio, hosted, or external observability workflows.
|
|
14
13
|
|
|
15
14
|
## When to use observability
|
|
16
15
|
|
|
@@ -121,8 +120,6 @@ An observability config usually contains:
|
|
|
121
120
|
- `spanOutputProcessors`: Transformations that run before spans are exported.
|
|
122
121
|
- `logging`: Log forwarding settings for observability storage.
|
|
123
122
|
|
|
124
|
-
For destinations and processors, see [Integrations overview](https://mastra.ai/docs/observability/integrations/overview).
|
|
125
|
-
|
|
126
123
|
### Maintaining Studio access
|
|
127
124
|
|
|
128
125
|
When you add external exporters, keep `MastraStorageExporter` for Studio observability and/or `MastraPlatformExporter` for hosted Mastra platform observability.
|
|
@@ -234,7 +231,6 @@ For hosted traces, logs, and metrics across projects and deploys, see [Observabi
|
|
|
234
231
|
- [Logging](https://mastra.ai/docs/observability/logging)
|
|
235
232
|
- [Metrics](https://mastra.ai/docs/observability/metrics/overview)
|
|
236
233
|
- [Feedback](https://mastra.ai/docs/observability/feedback)
|
|
237
|
-
- [Integrations overview](https://mastra.ai/docs/observability/integrations/overview)
|
|
238
234
|
- [Mastra Studio](https://mastra.ai/docs/studio/observability)
|
|
239
235
|
- [Automatic metrics reference](https://mastra.ai/reference/observability/metrics/automatic-metrics)
|
|
240
236
|
- [Mastra platform observability](https://mastra.ai/docs/mastra-platform/observability)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# Traces
|
|
4
4
|
|
|
5
5
|
Tracing is the observability signal that records how a request moves through agents, workflows, tools, and model calls. Mastra represents each operation as a span and groups related spans into a trace so you can inspect the full execution path.
|
|
6
6
|
|
|
@@ -21,7 +21,6 @@ To get started with tracing, configure observability in your Mastra instance and
|
|
|
21
21
|
|
|
22
22
|
- [Configuration](https://mastra.ai/docs/observability/overview): Base observability config and multiple configs, plus serverless flushing
|
|
23
23
|
- [Storage](https://mastra.ai/docs/observability/overview): Storage routing for traces, logs, and metrics
|
|
24
|
-
- [Integrations overview](https://mastra.ai/docs/observability/integrations/overview): Exporters, bridges, and processors
|
|
25
24
|
|
|
26
25
|
## Sampling strategies
|
|
27
26
|
|
|
@@ -333,7 +332,7 @@ const result = await agent.generate([{ role: 'user', content: 'Sensitive operati
|
|
|
333
332
|
})
|
|
334
333
|
```
|
|
335
334
|
|
|
336
|
-
For more fine-grained control over sensitive data, consider using the [Sensitive Data Filter](https://mastra.ai/
|
|
335
|
+
For more fine-grained control over sensitive data, consider using the [Sensitive Data Filter](https://mastra.ai/reference/observability/tracing/processors/sensitive-data-filter) processor, which can redact specific fields (like passwords, tokens, and keys) while preserving the rest of the input/output.
|
|
337
336
|
|
|
338
337
|
#### Child spans and metadata extraction
|
|
339
338
|
|
|
@@ -423,7 +422,7 @@ Span processors transform, filter, or enrich trace data before it's exported. Th
|
|
|
423
422
|
|
|
424
423
|
#### Built-in processors
|
|
425
424
|
|
|
426
|
-
- [Sensitive Data Filter](https://mastra.ai/
|
|
425
|
+
- [Sensitive Data Filter](https://mastra.ai/reference/observability/tracing/processors/sensitive-data-filter) redacts sensitive information. It's enabled in the default observability config.
|
|
427
426
|
|
|
428
427
|
#### Creating custom processors
|
|
429
428
|
|
|
@@ -466,8 +465,6 @@ Processors are executed in the order they're defined, allowing you to chain mult
|
|
|
466
465
|
- Normalizing data formats
|
|
467
466
|
- Enriching spans with business context
|
|
468
467
|
|
|
469
|
-
For the broader exporter, bridge, and processor model, see [Integrations overview](https://mastra.ai/docs/observability/integrations/overview).
|
|
470
|
-
|
|
471
468
|
## Span filtering
|
|
472
469
|
|
|
473
470
|
Span filtering lets you reduce noise and per-span costs before data reaches your observability platform. Configure it per observability instance, so different exporters or environments can keep different levels of detail.
|
|
@@ -132,6 +132,6 @@ Your auth provider's `authenticateToken` callback must recognize whatever creden
|
|
|
132
132
|
|
|
133
133
|
- [Auth overview](https://mastra.ai/docs/server/auth): Available auth providers and how they work
|
|
134
134
|
- [Token-based auth](https://mastra.ai/docs/server/auth/simple-auth): Token-to-user mapping authentication
|
|
135
|
-
- [Worker deployment](https://mastra.ai/
|
|
135
|
+
- [Worker deployment](https://mastra.ai/docs/deployment/workers): Set up split worker processes
|
|
136
136
|
- [Workers reference](https://mastra.ai/reference/workers/overview): Configuration details for all worker types
|
|
137
137
|
- [CLI reference](https://mastra.ai/reference/cli/mastra): `mastra worker build` and `mastra worker start`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# Auth
|
|
3
|
+
# Auth
|
|
4
4
|
|
|
5
5
|
Mastra lets you choose how you handle authentication, so you can secure access to your API and [Studio](https://mastra.ai/docs/studio/overview) using the identity system that fits your stack.
|
|
6
6
|
|
|
@@ -25,8 +25,8 @@ See [Custom API Routes](https://mastra.ai/docs/server/custom-api-routes) for con
|
|
|
25
25
|
|
|
26
26
|
### Built-in
|
|
27
27
|
|
|
28
|
-
- [Simple Auth](https://mastra.ai/docs/server/auth/simple-auth)
|
|
29
|
-
- [JSON Web Token
|
|
28
|
+
- [Simple Auth](https://mastra.ai/docs/server/auth/simple-auth)
|
|
29
|
+
- [JSON Web Token](https://mastra.ai/docs/server/auth/jwt)
|
|
30
30
|
|
|
31
31
|
### Third-party integrations
|
|
32
32
|
|
|
@@ -41,5 +41,5 @@ See [Custom API Routes](https://mastra.ai/docs/server/custom-api-routes) for con
|
|
|
41
41
|
|
|
42
42
|
### Advanced
|
|
43
43
|
|
|
44
|
-
- [Composite Auth](https://mastra.ai/docs/server/auth/composite-auth)
|
|
45
|
-
- [Custom
|
|
44
|
+
- [Composite Auth](https://mastra.ai/docs/server/auth/composite-auth)
|
|
45
|
+
- [Custom Provider](https://mastra.ai/docs/server/auth/custom-auth-provider)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# Mastra client
|
|
3
|
+
# Mastra client
|
|
4
4
|
|
|
5
5
|
The Mastra Client SDK provides a concise and type-safe interface for interacting with your [Mastra Server](https://mastra.ai/docs/server/mastra-server) from your client environment.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# Server
|
|
3
|
+
# Server
|
|
4
4
|
|
|
5
5
|
Mastra runs as an HTTP server that exposes your agents, workflows, and other functionality as API endpoints. The server handles request routing, middleware execution, authentication, and streaming responses.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# Storage
|
|
3
|
+
# Storage
|
|
4
4
|
|
|
5
5
|
Storage is the persistence layer for the Mastra runtime. It keeps memory, workflow state, observability data, eval results, schedules, and long-running agent state available after a process restarts.
|
|
6
6
|
|
|
@@ -188,25 +188,26 @@ You can also route `observability` to a dedicated analytics backend. See the [ob
|
|
|
188
188
|
|
|
189
189
|
## Supported providers
|
|
190
190
|
|
|
191
|
-
Each provider page includes installation instructions, configuration parameters, and usage examples
|
|
191
|
+
Each provider page includes installation instructions, configuration parameters, and usage examples. libSQL is the fastest path for local development because it doesn't require running a separate database server.
|
|
192
192
|
|
|
193
|
+
- [Aurora DSQL](https://mastra.ai/integrations/databases/aurora-dsql)
|
|
194
|
+
- [ClickHouse](https://mastra.ai/integrations/databases/clickhouse)
|
|
193
195
|
- [Cloudflare D1](https://mastra.ai/integrations/databases/cloudflare-d1)
|
|
194
|
-
- [Cloudflare KV
|
|
196
|
+
- [Cloudflare KV](https://mastra.ai/integrations/databases/cloudflare-kv)
|
|
195
197
|
- [Convex](https://mastra.ai/integrations/databases/convex)
|
|
198
|
+
- [DuckDB](https://mastra.ai/integrations/databases/duckdb)
|
|
196
199
|
- [DynamoDB](https://mastra.ai/integrations/databases/dynamodb)
|
|
197
200
|
- [Google Cloud Spanner](https://mastra.ai/integrations/databases/spanner)
|
|
198
201
|
- [LanceDB](https://mastra.ai/integrations/databases/lancedb)
|
|
199
202
|
- [libSQL](https://mastra.ai/integrations/databases/libsql)
|
|
200
|
-
- [Microsoft SQL Server](https://mastra.ai/integrations/databases/mssql)
|
|
201
203
|
- [MongoDB](https://mastra.ai/integrations/databases/mongodb)
|
|
204
|
+
- [MSSQL](https://mastra.ai/integrations/databases/mssql)
|
|
202
205
|
- [Neon Postgres](https://mastra.ai/integrations/databases/neon)
|
|
203
206
|
- [OracleDB](https://mastra.ai/integrations/databases/oracledb)
|
|
204
207
|
- [PostgreSQL](https://mastra.ai/integrations/databases/postgresql)
|
|
205
208
|
- [Redis](https://mastra.ai/integrations/databases/redis)
|
|
206
209
|
- [Upstash](https://mastra.ai/integrations/databases/upstash)
|
|
207
210
|
|
|
208
|
-
> **Tip:** libSQL is the fastest path for local development because it doesn't require running a separate database server.
|
|
209
|
-
|
|
210
211
|
## Next steps
|
|
211
212
|
|
|
212
213
|
- [Composite storage](https://mastra.ai/reference/storage/composite)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# Human-in-the-loop
|
|
3
|
+
# Human-in-the-loop
|
|
4
4
|
|
|
5
5
|
Some workflows need to pause for human input before continuing. When a workflow is [suspended](https://mastra.ai/docs/workflows/suspend-and-resume), it can return a message explaining why it paused and what’s needed to proceed. The workflow can then either [resume](#resuming-workflows-with-human-input) or [bail](#handling-human-rejection-with-bail) based on the input received. This approach works well for manual approvals, rejections, gated decisions, or any step that requires human oversight.
|
|
6
6
|
|
|
7
7
|
## Pausing workflows for human input
|
|
8
8
|
|
|
9
|
-
Human-in-the-loop input works much like [pausing a workflow](https://mastra.ai/docs/workflows/suspend-and-resume) using `suspend()`. The key difference is that when human input is required, you can return `suspend()` with a payload that provides context or guidance to the user on how to continue.
|
|
9
|
+
Human-in-the-loop (HITL) input works much like [pausing a workflow](https://mastra.ai/docs/workflows/suspend-and-resume) using `suspend()`. The key difference is that when human input is required, you can return `suspend()` with a payload that provides context or guidance to the user on how to continue.
|
|
10
10
|
|
|
11
11
|

|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
# Workflows
|
|
3
|
+
# Workflows
|
|
4
4
|
|
|
5
5
|
Workflows let you define complex sequences of tasks using clear, structured steps rather than relying on the reasoning of a single agent. They give you full control over how tasks are broken down and how data moves between them, plus what gets executed when. Workflows run using the built-in execution engine by default, or can be deployed to [workflow runners](https://mastra.ai/docs/deployment/workflow-runners) like Inngest for managed infrastructure.
|
|
6
6
|
|
|
@@ -539,7 +539,7 @@ Visit [Request Context](https://mastra.ai/docs/server/request-context) for more
|
|
|
539
539
|
|
|
540
540
|
## Related
|
|
541
541
|
|
|
542
|
-
For a closer look at workflows, see our [Workflow Guide](https://mastra.ai/
|
|
542
|
+
For a closer look at workflows, see our [Workflow Guide](https://mastra.ai/blog/building-an-ai-recruiter), which walks through the core concepts with a practical example.
|
|
543
543
|
|
|
544
544
|
- [Workflow State](https://mastra.ai/docs/workflows/workflow-state)
|
|
545
545
|
- [Control Flow](https://mastra.ai/docs/workflows/control-flow)
|
|
@@ -87,6 +87,7 @@ const workspace = new Workspace({
|
|
|
87
87
|
lsp: {
|
|
88
88
|
diagnosticTimeout: 4000,
|
|
89
89
|
initTimeout: 8000,
|
|
90
|
+
maxOpenClients: 4,
|
|
90
91
|
disableServers: ['eslint'],
|
|
91
92
|
binaryOverrides: {
|
|
92
93
|
typescript: '/custom/path/to/typescript-language-server --stdio',
|
|
@@ -99,10 +100,36 @@ const workspace = new Workspace({
|
|
|
99
100
|
Use custom configuration when you need to:
|
|
100
101
|
|
|
101
102
|
- Increase timeouts for large repositories
|
|
103
|
+
- Limit retained language server processes
|
|
102
104
|
- Disable specific language servers
|
|
103
105
|
- Point Mastra at custom language server binaries
|
|
104
106
|
- Add extra binary search paths in constrained environments
|
|
105
107
|
|
|
108
|
+
### Limit retained clients
|
|
109
|
+
|
|
110
|
+
Set `maxOpenClients` to a positive integer to limit the language server clients retained by a workspace. When the limit is reached, the workspace closes the least recently used client that has no active query lease. If every retained client is active, the next acquisition waits up to five seconds for a lease to be released. If no lease becomes available, `prepareQuery()` and `getDiagnostics()` return `null`, while `getDiagnosticsMulti()` omits the unavailable server.
|
|
111
|
+
|
|
112
|
+
Workspaces retain an unlimited number of clients when `maxOpenClients` is omitted. Mastra Code sets `maxOpenClients` to `4` by default.
|
|
113
|
+
|
|
114
|
+
### Release prepared queries
|
|
115
|
+
|
|
116
|
+
When you call `prepareQuery()` directly, close the file before releasing the client lease. Use a `finally` block so the client can be evicted even if the query fails:
|
|
117
|
+
|
|
118
|
+
```typescript
|
|
119
|
+
const query = await workspace.lsp?.prepareQuery(filePath)
|
|
120
|
+
|
|
121
|
+
if (query) {
|
|
122
|
+
try {
|
|
123
|
+
const hover = await query.client.queryHover(query.uri, position)
|
|
124
|
+
} finally {
|
|
125
|
+
query.client.notifyClose(filePath)
|
|
126
|
+
query.release()
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
During workspace teardown, Mastra waits up to five seconds for active leases to be released before it forces language server shutdown.
|
|
132
|
+
|
|
106
133
|
## Custom language servers
|
|
107
134
|
|
|
108
135
|
By default, Mastra includes built-in support for TypeScript, JavaScript, Python, Go, and Rust. To use LSP inspection with other languages (e.g. PHP, Ruby, Java, Kotlin, Swift, Elixir), register a custom language server via the `servers` field:
|
|
@@ -19,18 +19,17 @@ A sandbox provider executes commands in a controlled environment:
|
|
|
19
19
|
|
|
20
20
|
## Supported providers
|
|
21
21
|
|
|
22
|
-
- [
|
|
23
|
-
- [
|
|
24
|
-
- [
|
|
25
|
-
- [
|
|
26
|
-
- [
|
|
27
|
-
- [
|
|
28
|
-
- [
|
|
29
|
-
- [
|
|
30
|
-
- [
|
|
31
|
-
- [
|
|
32
|
-
- [
|
|
33
|
-
- [`VercelServerlessSandbox`](https://mastra.ai/integrations/sandboxes/vercel): Executes commands as stateless Vercel serverless functions
|
|
22
|
+
- [AgentCore](https://mastra.ai/integrations/sandboxes/agentcore)
|
|
23
|
+
- [Apple Container](https://mastra.ai/integrations/sandboxes/apple-container)
|
|
24
|
+
- [Blaxel](https://mastra.ai/integrations/sandboxes/blaxel)
|
|
25
|
+
- [Daytona](https://mastra.ai/integrations/sandboxes/daytona)
|
|
26
|
+
- [Docker](https://mastra.ai/integrations/sandboxes/docker)
|
|
27
|
+
- [E2B](https://mastra.ai/integrations/sandboxes/e2b)
|
|
28
|
+
- [LocalSandbox](https://mastra.ai/reference/workspace/local-sandbox)
|
|
29
|
+
- [Mastra](https://mastra.ai/reference/workspace/platform-sandbox)
|
|
30
|
+
- [Modal](https://mastra.ai/integrations/sandboxes/modal)
|
|
31
|
+
- [Railway](https://mastra.ai/integrations/sandboxes/railway)
|
|
32
|
+
- [Vercel](https://mastra.ai/integrations/sandboxes/vercel)
|
|
34
33
|
|
|
35
34
|
## Basic usage
|
|
36
35
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# AI SDK UI
|
|
4
4
|
|
|
5
5
|
[AI SDK UI](https://sdk.vercel.ai) is a library of React utilities and components for building AI-powered interfaces. In this guide, you'll learn how to use `@mastra/ai-sdk` to convert Mastra's output to AI SDK-compatible formats, enabling you to use its hooks and components in your frontend.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# Assistant UI
|
|
4
4
|
|
|
5
5
|
[Assistant UI](https://assistant-ui.com) is the TypeScript/React library for AI Chat. Built on shadcn/ui and Tailwind CSS, it enables developers to create beautiful, enterprise-grade chat experiences in minutes.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# CopilotKit
|
|
4
4
|
|
|
5
5
|
[CopilotKit](https://www.copilotkit.ai/) provides React components to quickly integrate customizable AI copilots into your application. Combined with Mastra, you can build AI apps with bidirectional state synchronization and interactive UIs.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# OpenUI
|
|
4
4
|
|
|
5
5
|
[OpenUI](https://openui.com) is an open standard for generative UI. It pairs a compact streaming-first language (OpenUI Lang) with a React runtime and built-in component libraries, so model output can render as structured UI as it streams.
|
|
6
6
|
|
|
@@ -521,11 +521,11 @@ const stats = await storage.db.one(`
|
|
|
521
521
|
|
|
522
522
|
PostgreSQL offers different index types optimized for specific scenarios:
|
|
523
523
|
|
|
524
|
-
| Index Type | Best For | Storage
|
|
525
|
-
| ------------------- | --------------------------------------- |
|
|
526
|
-
| **btree** (default) | Range queries, sorting, general purpose | Moderate
|
|
527
|
-
| **hash** | Equality comparisons only | Small
|
|
528
|
-
| **gin** | JSONB, arrays, full-text search | Large
|
|
529
|
-
| **gist** | Geometric data, full-text search | Moderate
|
|
530
|
-
| **spgist** | Non-balanced data, text patterns | Small
|
|
531
|
-
| **brin** | Large tables with natural ordering | Very small
|
|
524
|
+
| Index Type | Best For | Storage size | Speed |
|
|
525
|
+
| ------------------- | --------------------------------------- | ------------ | -------------------------- |
|
|
526
|
+
| **btree** (default) | Range queries, sorting, general purpose | Moderate | Fast |
|
|
527
|
+
| **hash** | Equality comparisons only | Small | Very fast for `=` |
|
|
528
|
+
| **gin** | JSONB, arrays, full-text search | Large | Fast for contains |
|
|
529
|
+
| **gist** | Geometric data, full-text search | Moderate | Fast for nearest-neighbor |
|
|
530
|
+
| **spgist** | Non-balanced data, text patterns | Small | Fast for specific patterns |
|
|
531
|
+
| **brin** | Large tables with natural ordering | Very small | Fast for ranges |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# Amazon EC2
|
|
4
4
|
|
|
5
5
|
Deploy your Mastra server to Amazon EC2. The server runs on infrastructure you manage and can support long-running agents and workflows.
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ Deploy your Mastra server to Amazon EC2. The server runs on infrastructure you m
|
|
|
10
10
|
|
|
11
11
|
You'll need:
|
|
12
12
|
|
|
13
|
-
- A [Mastra application](https://mastra.ai/
|
|
13
|
+
- A [Mastra application](https://mastra.ai/docs)
|
|
14
14
|
- An [EC2](https://aws.amazon.com/ec2/) instance (Ubuntu or Amazon Linux) with Git and Node.js 22.13.0+ installed
|
|
15
15
|
|
|
16
16
|
For production, you'll also need:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# Amazon Bedrock AgentCore
|
|
4
4
|
|
|
5
5
|
Deploy your Mastra application to [Amazon Bedrock AgentCore Runtime](https://docs.aws.amazon.com/bedrock-agentcore/) using the [AgentCore CLI](https://github.com/aws/agentcore-cli). The CLI scaffolds a bring-your-own-code (BYO) TypeScript project, builds the container with AWS CodeBuild, and provisions the runtime. A local Docker daemon isn't required for deployment.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# AWS Lambda
|
|
4
4
|
|
|
5
5
|
Deploy your Mastra application to AWS Lambda using Docker containers and the [AWS Lambda Web Adapter](https://github.com/awslabs/aws-lambda-web-adapter). This approach runs your Mastra server as a containerized Lambda function with automatic scaling.
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ Deploy your Mastra application to AWS Lambda using Docker containers and the [AW
|
|
|
10
10
|
|
|
11
11
|
You'll need:
|
|
12
12
|
|
|
13
|
-
- A [Mastra application](https://mastra.ai/
|
|
13
|
+
- A [Mastra application](https://mastra.ai/docs)
|
|
14
14
|
- An [AWS account](https://aws.amazon.com/) with permissions for Lambda, ECR, and IAM
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# Azure App Services
|
|
4
4
|
|
|
5
5
|
Deploy your Mastra applications to Azure App Services.
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ Deploy your Mastra applications to Azure App Services.
|
|
|
10
10
|
|
|
11
11
|
You'll need:
|
|
12
12
|
|
|
13
|
-
- A [Mastra application](https://mastra.ai/
|
|
13
|
+
- A [Mastra application](https://mastra.ai/docs)
|
|
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
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# Cloudflare
|
|
4
4
|
|
|
5
5
|
Use `@mastra/deployer-cloudflare` to deploy your Mastra server to Cloudflare Workers. The deployer bundles your code and generates a `wrangler.jsonc` file conforming to Cloudflare's [wrangler configuration](https://developers.cloudflare.com/workers/wrangler/configuration/), ready to deploy with no additional configuration.
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ Use `@mastra/deployer-cloudflare` to deploy your Mastra server to Cloudflare Wor
|
|
|
8
8
|
|
|
9
9
|
## Before you begin
|
|
10
10
|
|
|
11
|
-
You'll need a [Mastra application](https://mastra.ai/
|
|
11
|
+
You'll need a [Mastra application](https://mastra.ai/docs) and a [Cloudflare](https://cloudflare.com/) account.
|
|
12
12
|
|
|
13
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
|
|